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

    @Schema(description = "指派单ID", example = "11066")
    private Long businessAssayTaskId;

    @Schema(description = "标准样元素配置ID", example = "15889")
    private Long configStandardSampleProjectId;

    @Schema(description = "检测项目ID,字典表：【T_DIC_PRJ】", example = "32665")
    private Long dictionaryProjectId;

    @Schema(description = "检测项目名称,字典表：【UNT】", example = "李四")
    private String dictionaryProjectName;

    @Schema(description = "检测项目单位")
    private String dictionaryProjectUnit;

    @Schema(description = "标准值")
    private String standardValue;

    @Schema(description = "允差值")
    private String toleraanceValue;

    @Schema(description = "质控样值")
    private String qualityControlValue;

    @Schema(description = "数据类型,【字典】【jy_sample_data_type】string-字符串，int-整数，decimal-小数,date-日期，datetime-时间", example = "2")
    private String dataType;

    @Schema(description = "小数位")
    private Integer decimalPosition;

    @Schema(description = "排序号")
    private Integer sortNo;

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

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

    @Schema(description = "乐观锁", example = "14124")
    private Integer updateCount;

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

}