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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import java.math.BigDecimal;
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 BusinessHandoverRecordSubPageReqVO extends PageParam {

    @Schema(description = "分样子样ID", example = "15157")
    private Long businessSubSampleId;

    @Schema(description = "样品流程配置ID", example = "9154")
    private Long configSampleFlowId;

    @Schema(description = "样品流程节点KEY")
    private String sampleFlowNodeKey;

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

    @Schema(description = "样品重量")
    private BigDecimal sampleWeight;

    @Schema(description = "天平编号")
    private String balanceCode;

    @Schema(description = "操作时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] operationTime;

    @Schema(description = "操作人")
    private String operator;

    @Schema(description = "操作人ID", example = "19708")
    private Long operatorId;

    @Schema(description = "送样人")
    private String sendSampleOperator;

    @Schema(description = "收样人")
    private String receiveSampleOperator;

    @Schema(description = "上一个交接记录ID", example = "5605")
    private Long upSampleRecordId;

    @Schema(description = "下一个交接记录ID", example = "31634")
    private Long nextSampleRecordId;

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

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

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

    //==============扩展字段================
    
    private Long deptId;

    @Schema(description = "分析编号")
    private String sampleAssayCode;

    @Schema(description = "归库编号")
    private String sampleReturnCode;
    
    @Schema(description = "样品名称")
    private String sampleName;
}