liu
昨天 381e02b9eccbe953b31d09f2af1c2ce77c816140
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
package cn.iocoder.yudao.module.mes.controller.admin.pro.feedback.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.util.List;
import cn.iocoder.yudao.module.mes.service.pro.feedback.dto.MesFeedbackParamSnapshot;
 
import java.math.BigDecimal;
 
@Schema(description = "管理后台 - MES 快速报工 Request VO")
@Data
public class MesProFeedbackQuickCreateReqVO {
 
    @Schema(description = "任务ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "101")
    @NotNull(message = "任务ID不能为空")
    private Long taskId;
 
    @Schema(description = "本次报工数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "50")
    @NotNull(message = "报工数量不能为空")
    private BigDecimal feedbackQuantity;
 
    @Schema(description = "合格品数量(非质检工序必填)", example = "48")
    private BigDecimal qualifiedQuantity;
 
    @Schema(description = "不良品数量", example = "2")
    private BigDecimal unqualifiedQuantity;
 
    @Schema(description = "备注", example = "快速报工")
    private String remark;
 
    /** 当前报工填写的参数,使用任务冻结的模板明细编号。 */
    private List<MesFeedbackParamSnapshot.Value> paramValues;
}