feat: 实现文件类型枚举的本地化支持

新增文件类型枚举的本地化功能,包括供应商、项目、公司、合同和客户文件类型。添加了相关的SQL表结构、Repository、Service、ViewModel和StringConverter实现。同时更新了文档说明如何创建和使用枚举类型的本地化功能。

修改了客户文件类型的相关代码,统一使用CustomerFileTypeLocalVo替代原有的CompanyCustomerFileTypeLocal,优化了代码结构和一致性。添加了文件类型枚举的缓存支持,提高了性能。

更新了create_enum.md文档,详细说明了文件类型枚举本地化的实现方式和相关组件清单。
This commit is contained in:
2025-09-23 22:34:59 +08:00
parent 4b8c1d4038
commit 57fbae90c5
27 changed files with 633 additions and 42 deletions

View File

@@ -3,3 +3,5 @@ ui.vendor.type=Type
ui.vendor.description=Description
ui.customer.title=[{0}] {1} Customer
ui.customer.type=Type
ui.customer.description=Description

View File

@@ -3,3 +3,5 @@ ui.vendor.type=类型
ui.vendor.description=描述
ui.customer.title=[{0}] {1} 客户
ui.customer.type=类型
ui.customer.description=描述