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;
|
|
}
|