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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

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

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

    @Schema(description = "委托类型,委托登记-entrust_registration、检验委托-entrust_inspection", example = "2")
    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 codeField;

    @Schema(description = "是否编制部门报告,1-是，0-否")
    private Integer isGenerateDocument;

    @Schema(description = "表单设计器模板key")
    private String dataTemplateKey;

    @Schema(description = "扩展配置")
    private String externalConfig;

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

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

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


}