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

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

    @Schema(description = "父级ID", example = "25043")
    private Long parentId;

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

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

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

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

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

    @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;

}