package com.example.erp.entity.sd; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.example.erp.entity.mm.FinishedGoodsInventory; import lombok.Data; import java.time.LocalDate; @Data @TableName("`order`") public class Order { @TableId(type = IdType.AUTO) private Long id; private String orderId; private String project; private Integer customerId; private String customerName; private String orderType; private String orderClassify; private String icon; private String packType; private String deliveryDate; private String batch; private Integer calculateType; private Integer salesmanId; private String salesman; private String alType; private Double money; private String contractId; private String customerBatch; private String contacts; private String contactNumber; private String deliveryAddress; private Double otherMoney; private String otherMoneyRemarks; private String processingNote; private String otherRemarks; private Double area; private Long quantity; private String perimeter; private String verifierId; private String verifier; private String creatorId; private String creator; private Integer createOrder; private Integer processReview; private Integer orderReview; private Integer productionOrder; private Integer processingCard; private Integer warehousing; private Integer delivery; private LocalDate createTime; private LocalDate updateTime; @TableField(value = "customer_id") private Customer customer; @TableField(select = false) private FinishedGoodsInventory finishedGoodsInventory; }