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 ConfigSubSamplePageReqVO extends PageParam {

    @Schema(description = "样品大类ID", example = "15082")
    private Long baseSampleId;

    @Schema(description = "主样配置ID", example = "1906")
    private Long configBaseSampleId;

    @Schema(description = "分样配置ID", example = "13652")
    private Long configSubSampleParentId;

    @Schema(description = "样品类型ID", example = "28450")
    private Long dictionaryBusinessId;

    @Schema(description = "子样流程Key,样品流转流程key")
    private String flowKey;

    @Schema(description = "是否生成新的归库简码,1-是，0-否")
    private Integer isGenerateSimpleCode;

    @Schema(description = "简码规则")
    private String simpleCodeRule;

    @Schema(description = "编码规则")
    private String codeRule;

    @Schema(description = "是否打印")
    private Integer isPrint;

    @Schema(description = "样品标签打印模版")
    private String printTemplate;

    @Schema(description = "样品标签打印份数")
    private Integer codePrintQuantity;

    @Schema(description = "复检节点")
    private String recheckFlowNodeKey;

    @Schema(description = "样品名称", example = "芋艿")
    private String sampleName;

    @Schema(description = "样品保存天数")
    private Integer sampleSaveDay;

    @Schema(description = "样品库编码,样品最终归属样品库，来自T_CFG_WRH_LOC，仓库类型是样品库")
    private String configWarehouseLocationCode;

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

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

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

    @Schema(description = "版本")
    private Integer version;

}