XiaoRuby
2023-08-11 7b09f233bde70508f6db7e08e983e9a2c4bb3e99
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
package com.yuanchu.mom.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.util.Date;
import java.io.Serializable;
 
/**
 * 回单表(Receipt)表实体类
 *
 * @author zss
 * @since 2023-08-11 10:08:55
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Builder
@TableName("receipt")
public class Receipt implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * id
     **/
    @TableId(type = IdType.AUTO)
    private Integer id;
 
    /**
     * 订单编号
     **/
    private String orderCode;
 
    /**
     * 合同编号(客户订单号)
     **/
    private String customerCode;
 
    /**
     * 客户名称
     **/
    private String proname;
 
    /**
     * 到货地址
     **/
    private String adress;
 
    /**
     * 到货联系人
     **/
    private String name;
 
    /**
     * 手机号
     **/
    private String phone;
 
    /**
     * 押运单编号
     **/
    private String escortCode;
 
    /**
     * 发货日期
     **/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date deliverTime;
 
    /**
     * 发货人
     **/
    private String userName;
 
    /**
     * 状态0:待回单;1:已回单
     **/
    private Integer type;
 
    @ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
    private Integer state;
 
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
 
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
 
    /**
     * 回单照片url
     **/
    private String url;
}