Crunchy
2025-06-14 b2f31607cbe26d721cd7514b619162b3e355b1aa
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
package com.wms_admin.server.entity;
 
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
 
import java.util.Date;
import java.util.List;
 
/**
 * <p>
 *
 * </p>
 *
 * @author 江苏鵷雏网络科技有限公司
 * @since 2023-05-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="information对象", description="")
public class OrderInformation {
    private static final long serialVersionUID = 1L;
 
    /**
     * EasyExcel使用:导出时忽略该字段
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "产品数据库ID", hidden = true)
    private Integer id;
 
    @ApiModelProperty(value = "订单号", example = "4156134564", required = true)
    private String orderNumber;
 
    @ApiModelProperty(value = "客户订单号", example = "132456789412", required = true)
    private String customerOrderNumber;
 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone="GMT+8") // 后台给前端做时间格式化
    @ApiModelProperty(value = "出库时间", example = "2023-7-12", required = true)
    private String createTime;
 
    @ApiModelProperty(value = "客户名称", example = "懒洋洋", required = true)
    private String customerName;
 
    @ApiModelProperty(value = "发货人", example = "灰太狼", required = true)
    private String consignor;
 
    @ApiModelProperty(value = "到货地址", example = "江苏省南通", required = true)
    private String arrivalAddress;
 
    @ApiModelProperty(value = "收货联系人", example = "老王", required = true)
    private String receivingContact;
 
 
    @ApiModelProperty(value = "手机号", example = "132456789412", required = true)
    private String cellPhoneNumber;
 
    @ApiModelProperty(value = "产品名称", hidden = true)
    @TableField(exist = false) // 数据库添加忽略
    private String productName;
 
    @ApiModelProperty(value = "产品型号", hidden = true)
    @TableField(exist = false) // 数据库添加忽略
    private String productModel;
 
    @ApiModelProperty(value = "单位", hidden = true)
    @TableField(exist = false) // 数据库添加忽略
    private String productUnit;
 
    @ApiModelProperty(value = "发货数量", hidden = true)
    @TableField(exist = false) // 数据库添加忽略
    private String outQuantity;
 
    @ApiModelProperty(value = "出库人", example = "小黑", required = true)
    @TableField(exist = false) // 数据库添加忽略
    String outPerson;
 
    @ApiModelProperty(value = "出库人", example = "1383610772488192", required = true)
    @TableField(exist = false) // 数据库添加忽略
    List<String> listCode;
}