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

    @Schema(description = "子样配置ID", example = "27079")
    private Long configSubSampleId;

    @Schema(description = "分样与检测方法配置ID", example = "30543")
    private Long configSubSampleParentMethodId;

    @Schema(description = "任务数", example = "27414")
    private Integer taskCount;

    @Schema(description = "结果处理方式,automatic-自动报出(不超差)，manual-手动报出，modify-允许修改")
    private String resultTreatmentWay;

    @Schema(description = "判定方法,default-默认，other-其他（扩展）")
    private String assessmentMethod;

    @Schema(description = "计算方法,calculateAverageValue-平均值，来自T_CFG_RUL的编码")
    private String calculateMethod;

    @Schema(description = "映射检测信息配置")
    private String configInfomation;

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

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

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

}