package com.jeesharp.business.modules.setting.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 小程序「通知公告」单条数据，字段对齐 C 端 {@code NoticeAnnouncement} 展示。
 *
 * @author jeesharp
 * @since 2026-05-12
 */
@Data
@Schema(description = "通知公告-小程序条目")
public class NoticeAnnouncementItemVO {

    @Schema(description = "主键")
    private String id;

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

    @Schema(description = "摘要")
    private String summary;

    @Schema(description = "正文（列表接口可为空）")
    private String content;

    @Schema(description = "封面图URL")
    private String coverImage;

    @Schema(description = "发布时间展示串 yyyy-MM-dd HH:mm")
    private String publishTime;

    @Schema(description = "发布方（无则空）")
    private String publisher;

    @Schema(description = "是否置顶：0-否 1-是（sort_no≥99990 或角标含「置顶」视为置顶）")
    private Integer isTop;
}
