UpdateMaterialInspectStatusDto.java 1.12 KB
package com.huaheng.api.mes.domain;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class UpdateMaterialInspectStatusDto implements Serializable {

    private static final long serialVersionUID = -6948170133315497294L;

    /**
     * 盛具数量
     */
    @NotNull(message = "盛具数量不能为空")
    @JSONField(name = "containerQty")
    private Integer vehicleQty;

    /**
     * 物料编码
     */
    @NotBlank(message = "物料编码不能为空")
    private String materialCode;

    /**
     * 工序号
     */
    private String flowCode;

    /**
     * 工单号
     */
    @NotBlank(message = "工单号不能为空")
    private String orderCode;

    /**
     * 质检状态 1:正常 2:不合格 3:所检 4:军检
     */
    @NotNull(message = "物料质检状态不能为空")
    @JSONField(name = "materialStatus")
    private Integer materialInspectStatus;

    /**
     * 更新后的物料质检状态
     */
    private Integer changeStatus;
}