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;
    private String closeDesc;
    private Long user;
    private Long level1;
    private Long level2;
    private Long level3;
    private String userName;
    private Date modifyTime;
    private String ds;

    @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;
    }

    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;
    }

    public String getCloseDesc() {
        return closeDesc;
    }

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

    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;
    }

    @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 + '\'' +
                '}';
    }
}
