package com.codvision.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 系统通知
 * </p>
 *
 * @author lingee
 * @since 2023-12-01
 */
@Data
@TableName("tbl_sys_notice")
@ApiModel(value = "SysNotice", description = "系统通知")
public class SysNotice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("通知标题")
    private String title;

    @ApiModelProperty("通知内容")
    private String content;

    @ApiModelProperty("标签id")
    private Short tagId;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("状态：0待发送，1已发送")
    private Integer status;

    @ApiModelProperty("可见范围：0部分公开，1全部可见")
    private Integer scope;

    @ApiModelProperty("类型：0通知，1公告")
    private Integer type;

    @ApiModelProperty("封面照片")
    private String pic;

    @ApiModelProperty("创建人用户id")
    private Integer createUid;


}
