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

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