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

    @Schema(description = "分样配置ID", example = "14933")
    private Long configSubSampleParentId;

    @Schema(description = "检测方法配置ID", example = "24094")
    private Long configAssayMethodId;

    @Schema(description = "是否默认使用,1-启用，0-不启用")
    private Integer isDefaultUse;

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

    @Schema(description = "计算方法,average-平均值，other-其他（扩展）")
    private String calculateMethod;

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

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

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

}