4 天以前 06321d70dd7617fdc7d475b190e629143fec3263
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package cn.iocoder.yudao.module.mes.controller.admin.pro.batch.vo;
 
import cn.idev.excel.annotation.ExcelProperty;
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 io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
@Schema(description = "管理后台 - MES 生产批次人员配置 Response VO")
@Data
public class MesProBatchWorkerRespVO {
 
    @Schema(description = "编号", example = "1024")
    private Long id;
 
    @Schema(description = "生产批次编号", example = "1024")
    private Long batchId;
 
    @Schema(description = "生产人员用户编号", example = "1")
    private Long userId;
 
    @Schema(description = "生产人员昵称")
    @ExcelProperty("人员")
    private String userName;
 
    @Schema(description = "岗位类型(字典 mes_pro_batch_worker_type)", example = "10")
    @ExcelProperty(value = "岗位类型", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.MES_PRO_BATCH_WORKER_TYPE)
    private Integer workerType;
 
    @Schema(description = "备注")
    private String remark;
 
}