李白
2026-05-29 3a102b246b592e5e1dd34d6de07a8191de90a8e1
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
117
118
119
120
121
122
123
124
125
126
127
128
129
package com.by4cloud.platformx.business.entity;
 
import com.by4cloud.platformx.common.data.mybatis.BaseModel;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Data;
import jakarta.persistence.Table;
import org.hibernate.annotations.Comment;
 
/**
 * @author wjli
 * @description
 * @date 2026/4/29 10:51
 **/
@Data
@Entity
@Table(name = "business_customer")
@Comment("客商信息")
public class BusinessCustomer extends BaseModel<BusinessCustomer> {
 
    @Schema(description = "统一社会信用代码")
    @Column(columnDefinition = "VARCHAR(30) comment '统一社会信用代码'")
    private String creditCode;
 
    @Schema(description = "企业名称")
    @Column(columnDefinition = "VARCHAR(100) comment '企业名称'")
    private String companyName;
 
//    @Schema(description = "公司类型")
//    @Column(columnDefinition = "VARCHAR(50) comment '公司类型'")
//    private String companyType;
 
    @Schema(description = "法定代表人")
    @Column(columnDefinition = "VARCHAR(20) comment '法定代表人'")
    private String legalPerson;
 
/*    @Schema(description = "注册资本")
    @Column(columnDefinition = "VARCHAR(30) comment '注册资本'")
    private String registeredCapital;
 
    @Schema(description = "成立日期")
    @Column(columnDefinition = "VARCHAR(20) comment '成立日期'")
    private String establishDate;
 
    @Schema(description = "注册地址")
    @Column(columnDefinition = "VARCHAR(200) comment '注册地址'")
    private String address;
 
    @Schema(description = "经营范围")
    @Column(columnDefinition = "TEXT comment '经营范围'")
    private String businessScope;
 
    @Schema(description = "登记机关")
    @Column(columnDefinition = "VARCHAR(50) comment '登记机关'")
    private String registerOrg;
 
    @Schema(description = "签发日期")
    @Column(columnDefinition = "VARCHAR(20) comment '签发日期'")
    private String issueDate;*/
 
/*    @Schema(description = "状态")
    @Column(columnDefinition = "VARCHAR(20) default '正常' comment '状态'")
    private String status;*/
 
    @Schema(description = "行业Id")
    @Column(columnDefinition = "VARCHAR(50) comment '行业Id'")
    private String industryId;
 
    @Schema(description = "行业")
    @Column(columnDefinition = "VARCHAR(50) comment '行业'")
    private String industry;
 
   // 煤炭、有色、黑色、电力、其它、氧化铝、化工、水泥、船运
 
    @Schema(description = "开户银行")
    @Column(columnDefinition = "VARCHAR(20) comment '开户银行'")
    private String bankName;
 
    @Schema(description = "银行账号")
    @Column(columnDefinition = "VARCHAR(50) comment '银行账号'")
    private String bankAccount;
 
    @Schema(description = "联系电话")
    @Column(columnDefinition = "VARCHAR(20) comment '联系电话'")
    private String contactPhone;
 
/*    @Schema(description = "邮箱")
    @Column(columnDefinition = "VARCHAR(50) comment '邮箱'")
    private String email;*/
 
    @Schema(description = "省")
    @Column(columnDefinition = "VARCHAR(50) comment '省'")
    private String province;
 
//    @Schema(description = "市")
//    @Column(columnDefinition = "VARCHAR(50) comment '市'")
//    private String city;
//
//    @Schema(description = "区")
//    @Column(columnDefinition = "VARCHAR(50) comment '区'")
//    private String district;
 
    @Schema(description = "所属区域Id")
    @Column(columnDefinition = "bigint comment '所属区域Id'")
    private Long areaId;
 
    @Schema(description = "所属区域")
    @Column(columnDefinition = "bigint comment '所属区域'")
    private Long areaName;
 
    @Schema(description = "市场类型Id")
    @Column(columnDefinition = "bigint comment '市场类型Id'")
    private Long classId;
 
    @Schema(description = "市场类型")
    @Column(columnDefinition = "bigint comment '市场类型'")
    private Long className;
 
    @Schema(description = "出口服务属性")
    @Column(columnDefinition = "bigint comment '出口服务属性'")
    private Long exportServiceAttr;
 
    @Schema(description = "销售模式")
    @Column(columnDefinition = "bigint comment '销售模式'")
    private Long salesModel;
 
 
}