package easydo.technology.model;

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

import java.util.List;

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

    // 非数据库字段
    @NotTableField
    private List<OutsourcingPlanDetail> childrenList;
    @NotTableField
    private SaleOrder saleOrder;
}
