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

    @Schema(description = "交接单编号")
    private String code;

    @Schema(description = "交接单名称", example = "芋艿")
    private String name;

    @Schema(description = "交接单模板ID", example = "29613")
    private Long configReportTemplateId;

    @Schema(description = "交接单模板key")
    private String configReportTemplateKey;

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

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

    @Schema(description = "操作类型,【字典】【jy_sample_handover_biz type】归库、调拨、下架、销毁", example = "2")
    private String operationType;

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

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

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

    @Schema(description = "流程模型Key")
    private String modelKey;

    @Schema(description = "流程流水号")
    private String flowSerialNumber;

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

}