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

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

/**
 * 商品发布模板明细展示 VO。
 *
 * @author jeesharp
 * @since 2026-05-15
 */
@Data
@Schema(description = "模板明细")
public class MallProductTemplateItemVO {

    @Schema(description = "明细ID")
    private String id;

    @Schema(description = "模板ID")
    private String templateId;

    @Schema(description = "行类型：1-规格 2-属性")
    private Integer itemType;

    @Schema(description = "规格ID")
    private String specId;

    @Schema(description = "属性键")
    private String attrKey;

    @Schema(description = "属性展示名")
    private String attrName;

    @Schema(description = "录入方式：1-文本 2-数字 3-单选 4-多选 5-日期")
    private Integer inputType;

    @Schema(description = "可选项 JSON")
    private String optionsJson;

    @Schema(description = "是否必填")
    private Integer requiredFlag;

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