Commit c880414cf39d3c0505454fe0956cb5b5482eba3e

Authored by zhangmeiyang
1 parent 694924fe

refactor(domain): 修改BaseCustomer类字段访问权限

- 将所有受保护的字段改为私有字段
- 保持字段注解和转换器配置不变
- 确保与金蝶系统数据映射的一致性
tax-central/src/main/java/com/diligrp/tax/central/domain/document/kingdee/BaseCustomer.java
... ... @@ -17,7 +17,7 @@ public abstract class BaseCustomer extends BaseDocument {
17 17 /**
18 18 * 系统数据 ID
19 19 */
20   - protected String systemDataId;
  20 + private String systemDataId;
21 21 // /**
22 22 // * 结算货币(FTRADINGCURRID)
23 23 // */
... ... @@ -27,70 +27,70 @@ public abstract class BaseCustomer extends BaseDocument {
27 27 * 客户 ID(FCUSTID)
28 28 */
29 29 @Converter(value = StringConverter.class, targetField = "FCUSTID")
30   - protected String customerId;
  30 + private String customerId;
31 31 /**
32 32 * 客户编号
33 33 */
34 34 @Converter(value = StringConverter.class, targetField = "FNumber")
35   - protected String customerCode;
  35 + private String customerCode;
36 36 /**
37 37 * 客户姓名(FName)
38 38 */
39 39 @Converter(value = StringConverter.class, targetField = "FName")
40   - protected String customerName;
  40 + private String customerName;
41 41 /**
42 42 * 客户简称(FShortName)
43 43 */
44 44 @Converter(value = StringConverter.class, targetField = "FShortName")
45   - protected String customerShortName;
  45 + private String customerShortName;
46 46 /**
47 47 * 客户发票抬头(FINVOICETITLE)
48 48 */
49 49 @Converter(value = StringConverter.class, targetField = "FINVOICETITLE")
50   - protected String customerInvoiceTitle;
  50 + private String customerInvoiceTitle;
51 51 /**
52 52 * 法人姓名(FLegalPerson)
53 53 */
54 54 @Converter(value = StringConverter.class, targetField = "FLegalPerson")
55   - protected String legalPerson;
  55 + private String legalPerson;
56 56 /**
57 57 * 证件号(FSOCIALCRECODE)
58 58 */
59 59 @Converter(value = StringConverter.class, targetField = "FSOCIALCRECODE")
60   - protected String idNumber;
  60 + private String idNumber;
61 61 /**
62 62 * 国家(FCOUNTRY)
63 63 */
64 64 @Converter(value = CustomerCountryConverter.class, targetField = "FCOUNTRY")
65   - protected String country;
  65 + private String country;
66 66 /**
67 67 * 区域组织(FPROVINCIAL)
68 68 */
69 69 @Converter(value = CustomerProvincialConverter.class, targetField = "FPROVINCIAL")
70   - protected String provincial;
  70 + private String provincial;
71 71 /**
72 72 * 地址(FADDRESS)
73 73 */
74 74 @Converter(value = StringConverter.class, targetField = "FADDRESS")
75   - protected String address;
  75 + private String address;
76 76 /**
77 77 * 注册地址(FRegisterAddress)
78 78 */
79 79 @Converter(value = StringConverter.class, targetField = "FRegisterAddress")
80   - protected String registerAddress;
  80 + private String registerAddress;
81 81 /**
82 82 * 客户分组-配置数据(FGroup)
83 83 */
84 84 @Converter(value = CustomerGroupConverter.class, targetField = "FGroup")
85   - protected String customerGroup;
  85 + private String customerGroup;
86 86 /**
87 87 * 创建组织(FCreateOrgId)
88 88 */
89 89 @Converter(value = CustomerCreateOrgConverter.class, targetField = "FCreateOrgId")
90   - protected String customerCreateOrg;
  90 + private String customerCreateOrg;
91 91 /**
92 92 * 使用组织
93 93 */
94 94 @Converter(value = CustomerUseOrgConverter.class, targetField = "FUseOrgId")
95   - protected String customerUseOrg;
  95 + private String customerUseOrg;
96 96 }
... ...