package easydo.technology.model;

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

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class ProductBom extends CommonModel{
    private String id;
    private String materialCode;
    private String materialName;
    private String createTime;
    private Long createId;
    private String status;
    private String remark;
    private String bomCode;
    private String parentId;
    private BigDecimal quantity;
    private String tenantId;
    private Long updateId;
    private String updateTime;
    private String routeId;

    @NotTableField
    private String routeName;
    @NotTableField
    private String inspectProgramId;
    @NotTableField
    private String inspectProgramName;
    @NotTableField
    private ProductMaterial material;
    @NotTableField
    private List<WarehouseMaterial> warehouseMaterialList;
    @NotTableField
    private List<ProductBom> childrenList;
    @NotTableField
    private Boolean isHaveChildren = false;
}
