package cn.iocoder.yudao.module.mes.controller.admin.pro.process.vo.param;
|
|
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
|
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
import cn.idev.excel.annotation.ExcelProperty;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
@Schema(description = "管理后台 - MES 工序工艺参数绑定 Response VO")
|
@Data
|
@ExcelIgnoreUnannotated
|
public class MesProProcessParamRespVO {
|
|
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
@ExcelProperty("编号")
|
private Long id;
|
|
@Schema(description = "工序编号", example = "1")
|
private Long processId;
|
|
@Schema(description = "工艺参数编号", example = "1")
|
private Long processParamId;
|
|
@Schema(description = "参数编码", example = "PP2024001")
|
@ExcelProperty("参数编码")
|
private String paramCode;
|
|
@Schema(description = "参数名称", example = "温度")
|
@ExcelProperty("参数名称")
|
private String paramName;
|
|
@Schema(description = "参数类型", example = "2")
|
@ExcelProperty(value = "参数类型", converter = DictConvert.class)
|
@DictFormat(DictTypeConstants.MES_PD_PROCESS_PARAM_TYPE)
|
private Integer paramType;
|
|
@Schema(description = "计量单位编号", example = "1")
|
private Long unitMeasureId;
|
|
@Schema(description = "计量单位名称", example = "℃")
|
@ExcelProperty("单位")
|
private String unitMeasureName;
|
|
@Schema(description = "是否必填", example = "true")
|
@ExcelProperty("是否必填")
|
private Boolean required;
|
|
@Schema(description = "排序", example = "1")
|
private Integer sort;
|
|
@Schema(description = "备注", example = "备注")
|
@ExcelProperty("备注")
|
private String remark;
|
|
}
|