package com.erp.dataimport.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.List;

/**
 * 创建模板请求
 */
@Data
public class CreateTemplateRequest {

    @NotBlank(message = "模板名称不能为空")
    private String templateName;

    @NotBlank(message = "模板编码不能为空")
    private String templateCode;

    @NotBlank(message = "业务类型不能为空")
    private String bizType;

    private String description;

    private List<ImportTemplateDTO.ColumnDefinition> columns;

    private Boolean isDefault = false;

    private Long tenantId;

    private Long creatorId;

    private String creatorName;
}
