package easydo.technology.model;

import easydo.technology.annotation.Minio;
import easydo.technology.annotation.NotTableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@Minio
public class ProductOrder extends CommonModel {
    private String id;
    private String planId;
    private String code;
    private String name;
    private String beginDate;
    private String endDate;
    private String finishDate;
    private String status;
    private String saleOrderId;
    private String remark;
    private String createTime;
    private String updateTime;
    private Long createId;
    private String tenantId;
    private Long updateId;
    private String priority;

    @NotTableField
    private ProductPlan productPlan;
    @NotTableField
    private List<ProductOrderBom> bomList;
    @NotTableField
    private List<ProductOrderDevice> deviceList;
    @NotTableField
    private Boolean canDispatch;
}
