package com.xiaoniu.system.platformsettings.notice.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 活动公告
 * </p>
 *
 * @author haoxuyang
 * @since 2024-10-11 11:30:35
 */
@Getter
@Setter
@TableName("tb_notice")
@Schema(name = "TbNotice", description = "通知公告信息表")
public class TbNotice implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "公告ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "标题")
    private String noticeTitle;

    @Schema(description = "展示图")
    private String noticeImage;

    @Schema(description = "通知类型")
    private Integer noticeType;

    @Schema(description = "类型（门店类型大类）")
    private String type;

    @Schema(description = "简介")
    private String noticeIntro;

    @Schema(description = "浏览量")
    private Integer viewCount;

    @Schema(description = "公告内容")
    private String noticeContent;

    @Schema(description = "目标用户（多个用,分隔）")
    private String targetUsers;

    @Schema(description = "状态（1-显示，2-隐藏）")
    private Integer status;

    @Schema(description = "删除标记（0-正常，2-删除）")
    private Integer delFlag;

    @Schema(description = "创建者")
    private String createBy;

    @Schema(description = "创建",hidden = true)
    private Date createTime;

    @Schema(description = "更新者")
    private String updateBy;

    @Schema(description = "更新时间",hidden = true)
    private Date updateTime;

    @Schema(description = "备注")
    private String remark;
}
