| | |
| | | package com.example.erp.entity.sd; |
| | | |
| | | import com.alibaba.excel.annotation.ExcelProperty; |
| | | 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 java.time.LocalDate; |
| | | |
| | | @Data |
| | | @TableName("`order`") |
| | | @TableName("sd.`order`") |
| | | public class Order { |
| | | @TableId(type = IdType.AUTO) |
| | | |
| | | @ExcelProperty("id") |
| | | private Long id; |
| | | @ExcelProperty("订单编号") |
| | | private String orderId; |
| | | @ExcelProperty("项目名称") |
| | | private String project; |
| | | private String customerId; |
| | | private Integer customerId; |
| | | private String customerName; |
| | | private String orderType; |
| | | private String orderClassify; |
| | |
| | | private String deliveryDate; |
| | | private String batch; |
| | | private Integer calculateType; |
| | | private String salesmanId; |
| | | private Integer salesmanId; |
| | | private String salesman; |
| | | private String alType; |
| | | private Double money; |
| | |
| | | private String otherRemarks; |
| | | private Double area; |
| | | private Long quantity; |
| | | private String perimeter; |
| | | private Double perimeter; |
| | | private String verifierId; |
| | | private String verifier; |
| | | private String creatorId; |
| | |
| | | private Integer delivery; |
| | | private LocalDate createTime; |
| | | private LocalDate updateTime; |
| | | @TableField(select = false,exist = false) |
| | | private Integer goodsQuantity; |
| | | |
| | | @TableField(value = "customer_id") |
| | | private Customer customer; |
| | | @TableField(select = false) |
| | | private FinishedGoodsInventory finishedGoodsInventory; |
| | | |
| | | } |