李白
9 小时以前 127ab1d4d0a7fe3e4fc6dd81845e5a9c5327a5a2
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
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 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;
 
}