feat(customers): 增加商户编号并补齐生日提醒信息

录入、列表和导入导出带上商户编号。生日提醒展示与录入一致的商户资料,旧阴历生日仍按农历提醒。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-11 14:55:24 +08:00
co-authored by Cursor
parent d981e53330
commit c81962b732
15 changed files with 214 additions and 172 deletions
+1
View File
@@ -17,6 +17,7 @@ datasource db {
model Customer {
id Int @id @default(autoincrement())
customerName String? @default("") @map("customer_name")
customerNo String? @map("customer_no") @db.Text // 商户编号,数字与字母,区分大小写,不限位数
contacts String? // 联系人
contactsPhone String? @default("") @map("contacts_phone") // 联系人手机号
balanceUser String? @map("balance_user") // 结算人