package org.jeecg.modules.eam.vo;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.experimental.Accessors;
|
import org.jeecg.common.aspect.annotation.Dict;
|
import org.jeecg.modules.eam.entity.EamProcessParameters;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
import java.io.Serializable;
|
|
@Data
|
@Accessors(chain = true)
|
public class ProcessParametersVo implements Serializable {
|
|
/**主键*/
|
@TableId(type = IdType.ASSIGN_ID)
|
@ApiModelProperty(value = "主键")
|
private String id;
|
/**参数编码*/
|
@Excel(name = "参数编码", width = 25)
|
@ApiModelProperty(value = "参数编码")
|
private String parameterCode;
|
/**参数名称*/
|
@Excel(name = "参数名称", width = 25)
|
@ApiModelProperty(value = "参数名称")
|
private String parameterName;
|
/**参数分类*/
|
@Excel(name = "参数分类", width = 15, dicCode = "process_parameters_category")
|
@ApiModelProperty(value = "参数分类")
|
@Dict(dicCode = "process_parameters_category")
|
private String parameterCategory;
|
/**计量单位*/
|
@Excel(name = "计量单位", width = 15)
|
@ApiModelProperty(value = "计量单位")
|
private String parameterUnit;
|
/**参数范围*/
|
@Excel(name = "参数范围", width = 15)
|
@ApiModelProperty(value = "参数范围")
|
private String parameterPeriod;
|
|
public ProcessParametersVo(EamProcessParameters eamProcessParameters) {
|
this.id = eamProcessParameters.getId();
|
this.parameterCode = eamProcessParameters.getParameterCode();
|
this.parameterName = eamProcessParameters.getParameterName();
|
this.parameterCategory = eamProcessParameters.getParameterCategory();
|
this.parameterUnit = eamProcessParameters.getParameterUnit();
|
}
|
}
|