package com.casic.dcms.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * @author : Pengxh
 * @time : 2021/4/15 10:03
 * @email : 290677893@qq.com
 * <p>
 * 推送消息本地持久化，便于用户查看过往的消息
 **/

@Entity
public class NoticeBean {
    @Id(autoincrement = true)
    private Long id;//主键ID

    private String userAccount;//登录账户
    private String caseId;//案卷id
    private String title;//案卷标题
    private String content;//案卷简介
    private String pushDate;//推送时间
    private String type;//推送类型
    private String isRead;//0-已读；1-未读

    @Generated(hash = 1022814061)
    public NoticeBean(Long id, String userAccount, String caseId, String title,
                      String content, String pushDate, String type, String isRead) {
        this.id = id;
        this.userAccount = userAccount;
        this.caseId = caseId;
        this.title = title;
        this.content = content;
        this.pushDate = pushDate;
        this.type = type;
        this.isRead = isRead;
    }

    @Generated(hash = 303198189)
    public NoticeBean() {
    }

    public Long getId() {
        return this.id;
    }

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

    public String getUserAccount() {
        return this.userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getCaseId() {
        return this.caseId;
    }

    public void setCaseId(String caseId) {
        this.caseId = caseId;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPushDate() {
        return this.pushDate;
    }

    public void setPushDate(String pushDate) {
        this.pushDate = pushDate;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getIsRead() {
        return this.isRead;
    }

    public void setIsRead(String isRead) {
        this.isRead = isRead;
    }
}
