feat(entity): 添加企业别名字段到多个实体类

- 在 CreditAdministrativeLicense 实体中添加 companyAlias 字段
- 在 CreditBranch 实体中添加 companyAlias 字段
- 在 CreditCompetitor 实体中添加 companyAlias 字段
- 在 CreditCustomer 实体中添加 companyAlias 字段
- 在 CreditExternal 实体中添加 companyAlias 字段
- 在 CreditHistoricalLegalPerson 实体中添加 companyAlias 字段
- 在 CreditNearbyCompany 实体中添加 companyAlias 字段
- 在 CreditRiskRelation 实体中添加 companyAlias 字段
- 在 CreditSupplier 实体中添加 companyAlias 字段
- 在 CreditSuspectedRelationship 实体中添加 companyAlias 字段
- 在 CreditUser 实体中添加 companyAlias 字段
This commit is contained in:
2026-03-15 14:06:31 +08:00
parent 7c1af7c207
commit f783aaa242
11 changed files with 33 additions and 0 deletions

View File

@@ -71,6 +71,9 @@ public class CreditAdministrativeLicense implements Serializable {
@Schema(description = "企业ID") @Schema(description = "企业ID")
private Integer companyId; private Integer companyId;
@Schema(description = "企业别名")
private String companyAlias;
@Schema(description = "主体企业") @Schema(description = "主体企业")
@TableField(exist = false) @TableField(exist = false)
private String companyName; private String companyName;

View File

@@ -55,6 +55,9 @@ public class CreditBranch implements Serializable {
@Schema(description = "企业ID") @Schema(description = "企业ID")
private Integer companyId; private Integer companyId;
@Schema(description = "企业别名")
private String companyAlias;
@Schema(description = "主题企业") @Schema(description = "主题企业")
@TableField(exist = false) @TableField(exist = false)
private String companyName; private String companyName;

View File

@@ -57,6 +57,9 @@ public class CreditCompetitor implements Serializable {
@Schema(description = "企业ID") @Schema(description = "企业ID")
private Integer companyId; private Integer companyId;
@Schema(description = "企业别名")
private String companyAlias;
@Schema(description = "企业名称") @Schema(description = "企业名称")
@TableField(exist = false) @TableField(exist = false)
private String companyName; private String companyName;

View File

@@ -51,6 +51,9 @@ public class CreditCustomer implements Serializable {
@Schema(description = "企业ID") @Schema(description = "企业ID")
private Integer companyId; private Integer companyId;
@Schema(description = "企业别名")
private String companyAlias;
@Schema(description = "企业名称") @Schema(description = "企业名称")
@TableField(exist = false) @TableField(exist = false)
private String companyName; private String companyName;

View File

@@ -78,6 +78,9 @@ public class CreditExternal implements Serializable {
@Schema(description = "企业ID") @Schema(description = "企业ID")
private Integer companyId; private Integer companyId;
@Schema(description = "企业别名")
private String companyAlias;
@Schema(description = "企业名称") @Schema(description = "企业名称")
@TableField(exist = false) @TableField(exist = false)
private String companyName; private String companyName;

View File

@@ -49,6 +49,9 @@ public class CreditHistoricalLegalPerson implements Serializable {
@Schema(description = "企业ID") @Schema(description = "企业ID")
private Integer companyId; private Integer companyId;
@Schema(description = "企业别名")
private String companyAlias;
@Schema(description = "主体企业") @Schema(description = "主体企业")
@TableField(exist = false) @TableField(exist = false)
private String companyName; private String companyName;

View File

@@ -79,6 +79,9 @@ public class CreditNearbyCompany implements Serializable {
@Schema(description = "企业ID") @Schema(description = "企业ID")
private Integer companyId; private Integer companyId;
@Schema(description = "企业别名")
private String companyAlias;
@Schema(description = "主体企业") @Schema(description = "主体企业")
@TableField(exist = false) @TableField(exist = false)
private String companyName; private String companyName;

View File

@@ -50,6 +50,9 @@ public class CreditRiskRelation implements Serializable {
@Schema(description = "企业ID") @Schema(description = "企业ID")
private Integer companyId; private Integer companyId;
@Schema(description = "企业别名")
private String companyAlias;
@Schema(description = "企业名称") @Schema(description = "企业名称")
@TableField(exist = false) @TableField(exist = false)
private String companyName; private String companyName;

View File

@@ -51,6 +51,9 @@ public class CreditSupplier implements Serializable {
@Schema(description = "企业ID") @Schema(description = "企业ID")
private Integer companyId; private Integer companyId;
@Schema(description = "企业别名")
private String companyAlias;
@Schema(description = "企业名称") @Schema(description = "企业名称")
@TableField(exist = false) @TableField(exist = false)
private String companyName; private String companyName;

View File

@@ -64,6 +64,9 @@ public class CreditSuspectedRelationship implements Serializable {
@Schema(description = "企业ID") @Schema(description = "企业ID")
private Integer companyId; private Integer companyId;
@Schema(description = "企业别名")
private String companyAlias;
@Schema(description = "主体企业") @Schema(description = "主体企业")
@TableField(exist = false) @TableField(exist = false)
private String companyName; private String companyName;

View File

@@ -81,6 +81,9 @@ public class CreditUser implements Serializable {
@Schema(description = "企业ID") @Schema(description = "企业ID")
private Integer companyId; private Integer companyId;
@Schema(description = "企业别名")
private String companyAlias;
@Schema(description = "企业名称") @Schema(description = "企业名称")
@TableField(exist = false) @TableField(exist = false)
private String companyName; private String companyName;