package com.ghy.system.domain;

import com.ghy.common.annotation.Excel;
import com.ghy.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * @author clunt
 * 系统消息(急报功能)
 */
@Data
public class SysNews extends BaseEntity {

    @Excel(name = "消息id", cellType = Excel.ColumnType.NUMERIC)
    private Long newsId;

    @Excel(name = "消息主题", cellType = Excel.ColumnType.STRING)
    private String title;

    @Excel(name = "消息内容", cellType = Excel.ColumnType.STRING)
    private String content;

    @Excel(name = "发送人", cellType = Excel.ColumnType.NUMERIC)
    private Long from;

    @Excel(name = "接收人", cellType = Excel.ColumnType.NUMERIC)
    private Long to;

    @Excel(name = "状态", cellType = Excel.ColumnType.NUMERIC)
    private Integer status;

}
