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

    @Schema(description = "检测项目业务ID", example = "4202")
    private Long businessAssayProjectDataId;

    @Schema(description = "检测方法分析项目参数配置表ID", example = "9808")
    private Long configAssayMethodProjectParameterId;

    @Schema(description = "参数ID,字典表【T_DIC_PRM】", example = "22549")
    private Long dictionaryParameterId;

    @Schema(description = "值")
    private String value;

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

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

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

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

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

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

}