package com.ximai.mes.pro.domain.vo;

import com.ximai.mes.md.vo.MdWorkunitVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 生产任务对象 ProTaskQuery
 *
 * @date 2022-05-15
 */
@ApiModel("生产任务查询")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProTaskQuery {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编排单号")
    private String arrangeCode;

    @ApiModelProperty("生产工单编号")
    private String workorderCode;

    @ApiModelProperty("作业单元ID")
    private Long workunitId;

    @ApiModelProperty("任务ID")
    private Long taskId;

    @ApiModelProperty("当前可加工，1:是 0:否")
    private Integer allowProduce;

    @ApiModelProperty("是否外委确认，1:是 0:否")
    private Integer outsourced;

    @ApiModelProperty("作业单元ID组合")
    private List<Long> workunitIdList;
}
