package com.zt.plat.module.qms.resource.material.controller.vo;

import com.zt.plat.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
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 MaterialStandardSolutionPageReqVO extends PageParam {

    @Schema(description = "分类或大类id", example = "438")
    private Long productId;

    @Schema(description = "配置申请明细ID", example = "438")
    private Long detailId;

    @Schema(description = "物料实例id", example = "14530")
    private Long infomationId;

    @Schema(description = "配置人")
    private String makeUser;

    @Schema(description = "配置人id", example = "5428")
    private Long makeUserId;

    @Schema(description = "配置日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] makeDate;

    @Schema(description = "总体积")
    private String volumeTotal;

    @Schema(description = "配置记录")
    private String makeRecord;

    @Schema(description = "有效期")
    private Integer due;

    @Schema(description = "到期日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] dueDate;

    @Schema(description = "滴定管编号")
    private String buretteNo;

    @Schema(description = "浓度")
    private String concentration;

    @Schema(description = "滴定度")
    private String titer;

    @Schema(description = "标定流程类型", example = "2")
    private Long standardFlowType;

    @Schema(description = "标定状态")
    private String standardFlow;

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

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

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

}