package com.shkj.wms.bo;

import com.shkj.wms.domain.BaseBarcodesIn;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class BillTaskAddbo implements Serializable {
    private static final long serialVersionUID=1L;
    /**
     * 治具编号
     */
    private Long containerCode;
    private String containerCodes;
    private String containeckUpObjrCode;

    /**
     * 是否异常
     */
    private String isRepair;

    /**
     * PLC
     */
    private String plcId;

    /**
     * 起始点位
     */
    private String startPoint;

    /**
     * 任务类型
     */
    private String taskType;

    /**
     * 物料条码明细
     */
    @Valid
    @NotEmpty(message = "物料条码明细不得为空")
    private List<BasinBarcodeInAddBo> barcodesList;
}
