package com.zcloud.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author chenxinying
 * @Desc (BusNotice)实体
 * @Date 2024-03-28 16:29:47
 */
@Data
@TableName("bus_notice")
public class BusNoticeEntity implements Serializable {
    private static final long serialVersionUID = 506942544507268032L;
    @TableId
    private String noticeId;
    //用户名
    @ApiModelProperty(value = "用户名")
    private String userName;
    //发布人
    @ApiModelProperty(value = "发布人")
    private String creator;
    //发布时间
    @ApiModelProperty(value = "发布时间")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    //公告简介
    @ApiModelProperty(value = "公告简介")
    private String synopsis;
    //公告内容
    @ApiModelProperty(value = "公告内容")
    private String content;
    @TableField(fill = FieldFill.INSERT)
    private Integer isDelete;
    //是否置顶（0否1是）
    @ApiModelProperty(value = "是否置顶（0否1是）")
    private Integer isTop;
    //企业id
    @ApiModelProperty(value = "企业id")
    private String customerinfoId;
    //是否全显
    @ApiModelProperty(value = "是否全显")
    private String isAll;
    //是否发布，0否1是
    @ApiModelProperty(value = "是否发布，0否1是")
    private Integer status;

    //通知总数
    @ApiModelProperty(value = "通知总数")
    @TableField(exist=false)
    private Integer allCount;
    //已读数
    @ApiModelProperty(value = "已读数")
    @TableField(exist=false)
    private Integer readedCount;
}

