package com.jeesharp.business.modules.mall.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.LocalDateTime;

/**
 * 商品发布模板列表行 VO。
 *
 * @author jeesharp
 * @since 2026-05-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "商品发布模板列表")
public class MallProductTemplateListVO extends BaseListVO {

    @Schema(description = "模板名称")
    private String templateName;

    @Schema(description = "模板编码")
    private String templateCode;

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

    @Schema(description = "状态")
    private Integer status;

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

    /**
     * 已绑定本模板的类目层级名称汇总（自顶向下「 / 」拼接；多个类目以「；」分隔），列表接口填充。
     */
    @Schema(description = "已绑定类目的层级名称")
    private String linkedCategoryPaths;
}
