Reminder.java 2.95 KB
Newer Older
manxiaoqiang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package common.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.util.Date;

/**
 * Created by mxq on 2017/12/26.
 */
@Entity
public class Reminder {
    private Long id;
    private Long accountId;
    private String email;
    private String platform;
    private Boolean remindStatus;
18
    private String closeDesc;
manxiaoqiang committed
19
    private Long user;
manxiaoqiang committed
20 21 22
    private Long level1;
    private Long level2;
    private Long level3;
23
    private String userName;
manxiaoqiang committed
24
    private Date modifyTime;
25
    private String ds;
manxiaoqiang committed
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83

    @Id
    @GeneratedValue
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public Boolean getRemindStatus() {
        return remindStatus;
    }

    public void setRemindStatus(Boolean remindStatus) {
        this.remindStatus = remindStatus;
    }

    public Long getUser() {
        return user;
    }

    public void setUser(Long user) {
        this.user = user;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99

    public String getDs() {
        return ds;
    }

    public void setDs(String ds) {
        this.ds = ds;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
100 101 102 103 104 105 106 107 108

    public String getCloseDesc() {
        return closeDesc;
    }

    public void setCloseDesc(String closeDesc) {
        this.closeDesc = closeDesc;
    }

manxiaoqiang committed
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
    public Long getLevel1() {
        return level1;
    }

    public void setLevel1(Long level1) {
        this.level1 = level1;
    }

    public Long getLevel2() {
        return level2;
    }

    public void setLevel2(Long level2) {
        this.level2 = level2;
    }

    public Long getLevel3() {
        return level3;
    }

    public void setLevel3(Long level3) {
        this.level3 = level3;
    }

133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
    @Override
    public String toString() {
        return "Reminder{" +
                "id=" + id +
                ", accountId=" + accountId +
                ", email='" + email + '\'' +
                ", platform='" + platform + '\'' +
                ", remindStatus=" + remindStatus +
                ", closeDesc='" + closeDesc + '\'' +
                ", user=" + user +
                ", userName='" + userName + '\'' +
                ", modifyTime=" + modifyTime +
                ", ds='" + ds + '\'' +
                '}';
    }
manxiaoqiang committed
148
}