liding
昨天 befc0e5606ab7c913dda0346152a4150d0ee5f79
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
package com.ruoyi.basic.entity;
 
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.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.MyBaseEntity;
import lombok.Data;
 
/**
 * 实体类
 *
 * @author ruoyi
 * @date 2025-06-03
 */
@Data
@TableName("customer")
public class Customer extends MyBaseEntity {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 客户唯一标识,主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 客户名称,不能为空
     */
    @Excel(name = "客户名称")
    @TableField(value = "customer_name")
    private String customerName;
    /**
     * 纳税人识别号,中国大陆为统一社会信用代码,不能为空
     */
    @Excel(name = "纳税人识别号")
    @TableField(value = "taxpayer_id")
    private String taxpayerId;
    /**
     * 经营地址所在省份的地区ID,默认0
     */
    @TableField(value = "business_province_id")
    private Long businessProvinceId;
    /**
     * 经营地址所在城市的地区ID,默认0
     */
    @TableField(value = "business_city_id")
    private Long businessCityId;
    /**
     * 经营地址所在区县的地区ID,默认0
     */
    @TableField(value = "business_district_id")
    private Long businessDistrictId;
    /**
     * 经营详细地址,默认空字符串
     */
    @Excel(name = "经营详细地址")
    @TableField(value = "business_address")
    private String businessAddress;
    /**
     * 银行账户号码,默认空字符串
     */
    @Excel(name = "银行账户")
    @TableField(value = "bank_account")
    private String bankAccount;
    /**
     * 开户银行名称,默认空字符串
     */
    @Excel(name = "开户行")
    @TableField(value = "bank_name")
    private String bankName;
    /**
     * 客户联系人姓名,默认空字符串
     */
    @Excel(name = "联系人")
    @TableField(value = "contact_person")
    private String contactPerson;
    /**
     * 联系人电话号码,默认空字符串
     */
    @Excel(name = "联系人电话")
    @TableField(value = "contact_phone")
    private String contactPhone;
    /**
     * 联系地址所在省份的地区ID,默认0
     */
    @TableField(value = "province_id")
    private Long provinceId;
    /**
     * 联系地址所在城市的地区ID,默认0
     */
    @TableField(value = "city_id")
    private Long cityId;
    /**
     * 联系地址所在区县的地区ID,默认0
     */
    @TableField(value = "district_id")
    private Long districtId;
    /**
     * 联系详细地址,默认空字符串
     */
    @Excel(name = "联系详细地址")
    @TableField(value = "contact_address")
    private String contactAddress;
}