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

import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 分析项目与参数
 */
@Data
public class BusinessAssayProjectAndParameterRespVO implements Serializable {

	private static final long serialVersionUID = 2468650244768205378L;

	/** id主键 **/
    private Long id;
    
    /** 业务数据id 如：T_BSN_ASY_PRJ_DAT表，则为BSN_ASY_TSK_DAT_ID，T_BSN_ASY_PRM_DAT表，则为BSN_ASY_PRJ_DAT_ID **/
    private Long bizId;
    
    /** 元素或参数字典id **/
    private Long dicId;
    
    /** 元素或参数字典key **/
    private String dicKey;
    
    /** 元素或参数名称 **/
    @Schema(description = "元素或参数名称")
    private String name;
    
    @Schema(description = "元素或参数显示名称")
    private String showName;
    
    @Schema(description = "数据类型,【字典】【jy_sample_data_type】string-字符串，int-整数，decimal-小数,date-日期，datetime-时间")
    private String dataType;
    
    @Schema(description = "小数位数")
    private Integer decimalPosition;

    @Schema(description = "有效数字位")
    private Integer effectiveDigit;
    
    /** 元素或参数单位 **/
    @Schema(description = "元素或参数单位")
    private String unit;
    
    /** 结果值 **/
    @Schema(description = "结果值")
    private String value;

    /** 符号,=、>、<、等 **/
    @Schema(description = "符号,=、>、<、等")
    private String symbol;
    
    @Schema(description = "是否允许为空")
    private Integer isNull; 
    
    /** 计算公式 **/
    @Schema(description = "计算公式")
    private String formula;

    /** 元素或参数配置参数编号 **/
    @Schema(description = "元素或参数配置参数编号")
    private Integer paramNo;
    
    /** 类型（project：元素，parameter：参数） **/
    @Schema(description = "类型（project：元素，parameter：参数）")
    private String type;
    
    @Schema(description = "填写方式")
    private String fillingWay;
    
    @Schema(description = "参数分组_ID")
    private Long groupDictionaryBusinessId;

    @Schema(description = "参数分组_Key")
    private String groupDictionaryBusinessKey;

    @Schema(description = "参数分组_Name")
    private String groupDictionaryBusinessName;
}
