mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
115
116
package com.panzhihua.service_community.model.dos;
 
import java.io.Serializable;
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.*;
 
import lombok.Data;
 
/**
 * @auther lyq
 * @create 2021-04-14 15:04:16
 * @describe 用户收货地址表实体类
 */
 
@Data
@TableName("com_shop_user_address")
public class ComShopUserAddressDO implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
 
    /**
     * 用户id
     */
    private Long userId;
 
    /**
     * 收货人名称
     */
    private String name;
 
    /**
     * 收货人手机号
     */
    private String phone;
 
    /**
     * 收货人省份编码
     */
    private String provinceCode;
 
    /**
     * 收货人省份名称
     */
    private String provinceName;
 
    /**
     * 收货人城市编码
     */
    private String cityCode;
 
    /**
     * 收货人城市名称
     */
    private String cityName;
 
    /**
     * 收货人区县编码
     */
    private String districtCode;
 
    /**
     * 收货人区县名称
     */
    private String districtName;
 
    /**
     * 收货人详细地址
     */
    private String detailAddress;
 
    /**
     * 是否是默认地址(1.是 2.否)
     */
    private Integer isDefault;
 
    /**
     * 是否已删除(1.是 2.否)
     */
    private Integer deleteStatus;
 
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;
 
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.UPDATE)
    private Date updateAt;
 
    @Override
    public String toString() {
        return "ComShopUserAddressDO{" + "id=" + id + ", userId=" + userId + ", name=" + name + ", phone=" + phone
            + ", provinceCode=" + provinceCode + ", provinceName=" + provinceName + ", cityCode=" + cityCode
            + ", cityName=" + cityName + ", districtCode=" + districtCode + ", districtName=" + districtName
            + ", detailAddress=" + detailAddress + ", isDefault=" + isDefault + ", createAt=" + createAt + ", updateAt="
            + updateAt + "}";
    }
 
    /**
     * 是否是默认地址(1.是 2.否)
     */
    public interface isDefault {
        int yes = 1;
        int no = 2;
    }
}