package com.bs.system.domain;

import com.bs.common.annotation.Excel;
import com.bs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

/**
 * 通知公告对象 sys_notice
 *
 * @author bs
 * @date 2023-08-06
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_notice")
@Data
public class SysNotice extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 公告ID */
    @TableId(value = "notice_id",type = IdType.AUTO)
    @ApiModelProperty(value = "公告ID")
    private Long noticeId;

    /** 公告标题 */

    @Excel(name = "公告标题")
    @ApiModelProperty(value = "公告标题")
    private String noticeTitle;

    /** 公告类型sys_notice_type字典（1通知 2公告） */

    @Excel(name = "公告类型sys_notice_type字典", readConverterExp = "1=通知,2=公告")
    @ApiModelProperty(value = "公告类型sys_notice_type字典（1通知 2公告）")
    private String noticeType;

    /** 公告内容 */

    @Excel(name = "公告内容")
    @ApiModelProperty(value = "公告内容")
    private String noticeContent;

    /** 公告状态（0正常 1关闭） */

    @Excel(name = "公告状态", readConverterExp = "0=正常,1=关闭")
    @ApiModelProperty(value = "公告状态（0正常 1关闭）")
    private String status;

    /** 阅读状态（0未阅读 1已阅读） */

    @Excel(name = "阅读状态", readConverterExp = "0=未阅读,1=已阅读")
    @ApiModelProperty(value = "阅读状态（0未阅读 1已阅读）")
    private String readStatus;

    /** 查看人 */

    @Excel(name = "查看人")
    @ApiModelProperty(value = "查看人")
    private Long readUser;

    /** 备注 */

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;




}

