package com.zt.plat.module.qms.business.config.controller.vo;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;

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

@Schema(description = "管理后台 - 检验委托来源配置 Request VO")
@Data
public class ConfigEntrustSourceReqVO {

    @Schema(description = "委托类型,委托登记-entrust_registration、检验委托-entrust_inspection", example = "1")
    private String entrustType;

    @Schema(description = "委托来源名称,西南铜委托、商检委托、内部委托、抽查委托、内审委托、生产委托", example = "赵六")
    private String name;

    @Schema(description = "委托来源Key")
    private String key;

    @Schema(description = "数据集Key,T_DAT_COLT_FLD")
    private String dataCollectionKey;

    @Schema(description = "委托单模版Key")
    private String configReportTemplateKey;

    @Schema(description = "委托单号规则")
    private String codeRule;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "备注")
    private String remark;

}
