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

import com.jeesharp.framework.pojo.vo.BaseListVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 宫格介绍文章列表行 VO（后台）。
 *
 * @author jeesharp
 * @since 2026-05-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "宫格介绍文章列表行")
public class HomeGridIntroListVO extends BaseListVO {

    @Schema(description = "首页宫格主键")
    private String quickGridId;

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

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

    @Schema(description = "分类")
    private String category;

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

    @Schema(description = "发布日期")
    private LocalDate publishDate;

    @Schema(description = "状态：0-草稿 1-已发布 2-已下线")
    private Integer status;

    @Schema(description = "状态名称")
    private String statusName;

    @Schema(description = "排序号")
    private Integer sortNo;

    @Schema(description = "布局：0-标准模式 1-仅内容展示")
    private Integer layout;

    @Schema(description = "布局名称")
    private String layoutName;

    @Schema(description = "创建时间")
    private LocalDateTime createDate;
}
