package cn.iocoder.yudao.module.mes.controller.admin.pro.task.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - MES 生产任务投料 Response VO")
|
@Data
|
public class MesProTaskIssueRespVO {
|
|
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
private Long id;
|
|
@Schema(description = "生产任务编号", example = "1")
|
private Long taskId;
|
|
@Schema(description = "生产工单编号", example = "1")
|
private Long workOrderId;
|
|
@Schema(description = "工作站编号", example = "1")
|
private Long workstationId;
|
|
@Schema(description = "来源单据类型", example = "MATERIAL_ISSUE")
|
private String sourceDocType;
|
|
@Schema(description = "来源单据编号", example = "1")
|
private Long sourceDocId;
|
|
@Schema(description = "来源单据行编号", example = "1")
|
private Long sourceLineId;
|
|
@Schema(description = "来源单据编码", example = "DOC-001")
|
private String sourceDocCode;
|
|
@Schema(description = "投料批次", example = "BATCH-001")
|
private String batchCode;
|
|
@Schema(description = "产品物料编号", example = "100")
|
private Long itemId;
|
|
@Schema(description = "产品编码", example = "P-001")
|
private String itemCode;
|
|
@Schema(description = "产品名称", example = "电路板")
|
private String itemName;
|
|
@Schema(description = "规格型号", example = "100x200mm")
|
private String itemSpecification;
|
|
@Schema(description = "单位编号", example = "1")
|
private Long unitMeasureId;
|
|
@Schema(description = "单位名称", example = "个")
|
private String unitMeasureName;
|
|
@Schema(description = "总投料数量", example = "100.00")
|
private BigDecimal issuedQuantity;
|
|
@Schema(description = "当前可用数量", example = "80.00")
|
private BigDecimal availableQuantity;
|
|
@Schema(description = "当前使用数量", example = "20.00")
|
private BigDecimal usedQuantity;
|
|
@Schema(description = "备注", example = "备注")
|
private String remark;
|
|
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
private LocalDateTime createTime;
|
|
}
|