package cn.estsh.i3plus.ext.mes.pcn.pojo.model;

import cn.estsh.i3plus.pojo.mes.model.MesProductionAssemblyModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class MesReworkTaskRequestModel {

    /**
     * 替换装配件id，逗号隔开
     */
    private String assemblyIds;
    /**
     * 条码
     */
    private String sn;
    /**
     * 条码
     */
    private String custSn;

    /**
     * 返工单
     */
    private String reworkOrder;
    /**
     * 零件号
     */
    private String partNo;
    /**
     *
     */
    private String assemblyPartNo;
    /**
     *
     */
    private String organizeCode;

    private Integer assemblyPartStatus;

    private String detailIds;

    private Integer isOrigSn;

    @ApiModelProperty("返工数量")
    private Double reworkedQty;

    @ApiModelProperty("报废数量")
    private Double scrapQty;

    /**20 返工  30 报废 */
    @ApiModelProperty("类型")
    private Integer type;

    @ApiModelProperty("操作人")
    private String userName;

    @ApiModelProperty("ids")
    private Long[] ids;

    @ApiModelProperty("装配拆解List")
    private List<MesProductionAssemblyModel> assemblyModelList;

    @ApiModelProperty("生产线类型")
    private Integer centerType;

}
