package com.casic.br.model;

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

@Entity
public class LocaleMessageBean {
    @Id(autoincrement = true)
    private Long id;//主键自增

    @Unique
    private String messageId;
    private String userId;
    private String title;
    private String content;
    private String messageTime;
    private String isRead;//0-未读，1-已读

    @Generated(hash = 22572871)
    public LocaleMessageBean(Long id, String messageId, String userId, String title,
                             String content, String messageTime, String isRead) {
        this.id = id;
        this.messageId = messageId;
        this.userId = userId;
        this.title = title;
        this.content = content;
        this.messageTime = messageTime;
        this.isRead = isRead;
    }

    @Generated(hash = 1114477439)
    public LocaleMessageBean() {
    }

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

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

    public String getMessageId() {
        return this.messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    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 getMessageTime() {
        return this.messageTime;
    }

    public void setMessageTime(String messageTime) {
        this.messageTime = messageTime;
    }

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

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