package cn.lihongjie.coal.coalParameterDef.dto;

import cn.lihongjie.coal.base.dto.OrgCommonDto;
import cn.lihongjie.coal.common.DictCode;
import cn.lihongjie.coal.pojoProcessor.DictTranslate;

import lombok.Data;

import org.hibernate.annotations.Comment;

@Data
public class CoalParameterDefDto extends OrgCommonDto {

    @Comment("上级名称")
    private String parentName;

    @Comment("类型 0 手动输入 1 自动计算")
    private String inputType;

    @DictTranslate(dictKey =  DictCode.COALPARAMETER_INPUTTYPE)
    private String inputTypeName;

    @Comment("计算公式")
    private String formula;
}
