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

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

import java.time.LocalDateTime;

/**
 * 首页宫格详情 VO（后台）。
 *
 * @author jeesharp
 * @since 2026-05-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "首页宫格详情")
public class HomeQuickGridVO extends BaseInfoVO {

    @Schema(description = "业务编号")
    private String navCode;

    @Schema(description = "展示名称")
    private String title;

    @Schema(description = "图标 URL")
    private String iconUrl;

    @Schema(description = "小程序页面路径")
    private String linkPath;

    @Schema(description = "宫格介绍跳转：1-介绍列表 2-介绍详情")
    private Integer introJumpType;

    @Schema(description = "介绍跳转方式名称")
    private String introJumpTypeName;

    @Schema(description = "详情模式：小程序详情页完整路径")
    private String introDetailLinkPath;

    @Schema(description = "详情模式：绑定介绍文章主键")
    private String introDetailArticleId;

    @Schema(description = "介绍列表布局")
    private Integer introListLayout;

    @Schema(description = "介绍列表布局名称")
    private String introListLayoutName;

    @Schema(description = "频道布局顶部轮播 JSON")
    private String introBannerJson;

    @Schema(description = "频道布局 Tab 标签 JSON")
    private String introTabLabels;

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

    @Schema(description = "状态：0-禁用 1-启用")
    private Integer status;

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

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

    @Schema(description = "更新时间")
    private LocalDateTime updateDate;
}
