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

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
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 BusinessSampleEntrustDetailReqVO {

    @Schema(description = "检验委托登记ID", example = "17352")
    private Long businessSampleEntrustRegistrationId;

    @Schema(description = "主样业务ID", example = "9560")
    private Long businessBaseSampleId;

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

    @Schema(description = "样品类型ID,字典表：【T_DIC_SMP_TP】西南铜委托样、商检委托样、内部委托样、抽查委托样、内审委托样等", example = "5244")
    private Long sampleTypeDictionaryBusinessId;

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

    @Schema(description = "样品编号")
    private String sampleCode;

    @Schema(description = "批次编号,西南铜的产品批号")
    private String entrustBatchCode;

    @Schema(description = "委托样品组编号")
    private String entrustGroupCode;

    @Schema(description = "双杯样标识,针对双杯样标记")
    private String entrustDualFlag;

    @Schema(description = "委托样品名称", example = "李四")
    private String entrustSampleName;

    @Schema(description = "委托样品编号")
    private String entrustSampleCode;

    @Schema(description = "委托样品量")
    private String entrustSampleQuantity;

    @Schema(description = "委托样品量单位")
    private String entrustSampleQuantityUnit;

    @Schema(description = "分析级别")
    private Integer assayLevel;

    @Schema(description = "检测项目")
    private String assayProject;

    @Schema(description = "预报结果")
    private String forecastResult;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "是否称重,1-启用，0-不启用")
    private Integer isWeighing;

    @Schema(description = "样品流转信息")
    private String sampleFlowInfomation;

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

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

    @Schema(description = "乐观锁", example = "18310")
    private Integer updateCount;

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

}