| | |
| | | import jakarta.persistence.Column; |
| | | import jakarta.persistence.Entity; |
| | | import lombok.Data; |
| | | import org.hibernate.annotations.Table; |
| | | import jakarta.persistence.Table; |
| | | import org.hibernate.annotations.Comment; |
| | | |
| | | /** |
| | | * @author wjli |
| | |
| | | **/ |
| | | @Data |
| | | @Entity |
| | | @Table(appliesTo = "business_customer", comment = "客商信息") |
| | | @Table(name = "business_customer") |
| | | @Comment("客商信息") |
| | | public class BusinessCustomer extends BaseModel<BusinessCustomer> { |
| | | |
| | | @Schema(description = "'统一社会信用代码'") |
| | | @Schema(description = "统一社会信用代码") |
| | | @Column(columnDefinition = "VARCHAR(30) comment '统一社会信用代码'") |
| | | private String creditCode; |
| | | |
| | |
| | | private String status; |
| | | |
| | | @Schema(description = "行业Id") |
| | | @Column(columnDefinition = "VARCHAR(50) comment '行业'") |
| | | @Column(columnDefinition = "VARCHAR(50) comment '行业Id'") |
| | | private String industryId; |
| | | |
| | | @Schema(description = "行业") |
| | |
| | | @Column(columnDefinition = "bigint comment '所属区域Id'") |
| | | private Long areaId; |
| | | |
| | | @Schema(description = "所属区域") |
| | | @Column(columnDefinition = "bigint comment '所属区域'") |
| | | private Long areaName; |
| | | |
| | | } |