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

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @Author haoxuyang
 * @Date 2024/10/11 11:41
 */
@Data
@Schema(description = "公告列表响应参数VO")
public class NoticeListVO {
    @Schema(description = "公告ID")
    private Long id;

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

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

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建",hidden = true)
    private Date createTime;

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

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

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

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


}
