package com.zt.plat.module.qms.business.config.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 检测方法参数配置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ConfigAssayMethodParameterRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12031")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "检测方法ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29823")
    @ExcelProperty("检测方法ID")
    private Long configAssayMethodId;

    @Schema(description = "参数名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("参数名称")
    private String parameterName;

    @Schema(description = "参数简称", example = "张三")
    @ExcelProperty("参数简称")
    private String shortName;

    @Schema(description = "参数序号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("参数序号")
    private Integer no;

    @Schema(description = "键值")
    @ExcelProperty("键值")
    private String key;

    @Schema(description = "单位ID,UNT表", example = "31081")
    private Long unitId;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "填写方式,字典表【T_DIC_BSN】人工录入,天平采集,计算", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("填写方式,字典表【T_DIC_BSN】人工录入,天平采集,计算")
    private String fillingWay;

    @Schema(description = "数据类型,【字典】【jy_sample_data_type】字符串，整数，小数,日期，时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("数据类型,【字典】【jy_sample_data_type】字符串，整数，小数,日期，时间")
    private String dataType;

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

    @Schema(description = "默认值")
    @ExcelProperty("默认值")
    private String defaultValue;

    @Schema(description = "是否允许为空", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否允许为空")
    private Integer isNull;

    @Schema(description = "pc界面是否显示", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("pc界面是否显示")
    private Integer isShow;

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

    @Schema(description = "参数分组_ID,字典表【T_DIC_BSN】参数分组", example = "14680")
    @ExcelProperty("参数分组_ID,字典表【T_DIC_BSN】参数分组")
    private Long dictionaryBusinessId;

    @Schema(description = "参数分组_Key,字典表【T_DIC_BSN】参数分组")
    @ExcelProperty("参数分组_Key,字典表【T_DIC_BSN】参数分组")
    private String dictionaryBusinessKey;

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

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

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

    @Schema(description = "版本", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("版本")
    private Integer version;

}