feat(customers): 区分注名称与经营名称,商户编号改为选填

新增必填商户经营名称,原商户名称改为注名称;列表/导出/导入与生日提醒同步展示。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-22 13:29:55 +08:00
co-authored by Cursor
parent 9c24ab95c5
commit e8d4df463e
13 changed files with 95 additions and 34 deletions
+2 -1
View File
@@ -16,7 +16,8 @@ datasource db {
/// 客户(系统核心,~1.4 万行)
model Customer {
id Int @id @default(autoincrement())
customerName String? @default("") @map("customer_name")
customerName String? @default("") @map("customer_name") // 商户注名称
businessName String? @map("business_name") // 商户经营名称
customerNo String? @map("customer_no") @db.Text // 商户编号,数字与字母,区分大小写,不限位数
contacts String? // 联系人
contactsPhone String? @default("") @map("contacts_phone") // 联系人手机号