guoyujie
1 天以前 c4b9a339caff12e95f61c3d5dc950aafcc8c566c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
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 lombok.Data;
 
import java.time.LocalDate;
 
@Data
@TableName("sd.`order`")
public class Order {
    @TableId(type = IdType.AUTO)
    @ExcelProperty("id")
    private Long id;
    @ExcelProperty("订单编号")
    private String orderId;
    @ExcelProperty("项目名称")
    private String project;
    @ExcelProperty("客户编号")
    private Integer customerId;
    @ExcelProperty("客户名称")
    private String customerName;
    @ExcelProperty("订单类型")
    private String orderType;
    @ExcelProperty("订单分类")
    private String orderClassify;
    @ExcelProperty("商标")
    private String icon;
    @ExcelProperty("包装方式")
    private String packType;
    @ExcelProperty("发货时间")
    private LocalDate deliveryDate;
    @ExcelProperty("批次")
    private String batch;
    @ExcelProperty("计算方式")
    private Integer calculateType;
    @ExcelProperty("销售人员id")
    private Integer salesmanId;
    @ExcelProperty("销售员")
    private String salesman;
    @ExcelProperty("铝条方式")
    private String alType;
    @ExcelProperty("金额")
    private Double money;
    @ExcelProperty("合同编号")
    private String contractId;
    @ExcelProperty("客户批次")
    private String customerBatch;
    @ExcelProperty("联系人")
    private String contacts;
    @ExcelProperty("联系电话")
    private String contactNumber;
    @ExcelProperty("发货地址")
    private String deliveryAddress;
    @ExcelProperty("其他金额")
    private Double otherMoney;
    @ExcelProperty("其他金额备注")
    private String otherMoneyRemarks;
    @ExcelProperty("加工要求")
    private String processingNote;
    @ExcelProperty("其他备注")
    private String otherRemarks;
    @ExcelProperty("面积")
    private Double area;
    @ExcelProperty("订单总数")
    private Long quantity;
    @ExcelProperty("订单周长")
    private Double perimeter;
    @ExcelProperty("审核人id")
    private String verifierId;
    @ExcelProperty("审核人")
    private String verifier;
    @ExcelProperty("创建人id")
    private String creatorId;
    @ExcelProperty("创建人")
    private String creator;
    @ExcelProperty("下单")
    private Integer createOrder;
    @ExcelProperty("工艺审核")
    private Integer processReview;
    @ExcelProperty("订单审核")
    private Integer orderReview;
    @ExcelProperty("生产订单")
    private Integer productionOrder;
    @ExcelProperty("流程卡")
    private Integer processingCard;
    @ExcelProperty("入库")
    private Integer warehousing;
    @ExcelProperty("发货")
    private Integer delivery;
    @ExcelProperty("打印次数")
    private Integer printingNumber;
    @ExcelProperty("创建日期")
    @TableField(update = "false")
    private LocalDate createTime;
    @ExcelProperty("修改日期")
    private LocalDate updateTime;
    @ExcelProperty("修改版本号")
    private Integer version;
    @TableField(select = false,exist = false)
    private Integer goodsQuantity;
    @TableField(select = false,exist = false)
    private String timeOut;
 
    @TableField(value = "customer_id")
    private Customer  customer;
    @TableField(select = false)
    private FinishedGoodsInventory finishedGoodsInventory;
 
}