| | |
| | | package cn.iocoder.yudao.module.mes.controller.admin.pro.process.vo; |
| | | |
| | | import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat; |
| | | import cn.iocoder.yudao.framework.excel.core.convert.DictConvert; |
| | | import cn.iocoder.yudao.module.system.enums.DictTypeConstants; |
| | | import cn.idev.excel.annotation.ExcelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | |
| | | @Data |
| | | public class MesProProcessRespVO { |
| | | |
| | | @ExcelProperty("编号") |
| | | @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | private Long id; |
| | | |
| | | @ExcelProperty("工序编码") |
| | | @Schema(description = "工序编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "PROCESS001") |
| | | private String code; |
| | | |
| | | @ExcelProperty("工序名称") |
| | | @Schema(description = "工序名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "下料工序") |
| | | private String name; |
| | | |
| | | @ExcelProperty("工艺要求") |
| | | @Schema(description = "工艺要求", example = "按照图纸尺寸进行切割") |
| | | private String attention; |
| | | |
| | | @ExcelProperty(value = "状态", converter = DictConvert.class) |
| | | @DictFormat(DictTypeConstants.COMMON_STATUS) |
| | | @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0") |
| | | private Integer status; |
| | | |
| | | @ExcelProperty("备注") |
| | | @Schema(description = "备注", example = "金属板材下料") |
| | | private String remark; |
| | | |
| | | @ExcelProperty("创建时间") |
| | | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | private LocalDateTime createTime; |
| | | |