feat(store): separate login phone from public contactPhone
Store.phone stays login/boss; contactPhone is C-end dial. Public store APIs keep phone compat via publicDial mapping. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1248,7 +1248,10 @@ model Store {
|
||||
partnerAccountId BigInt @map("partner_account_id") @db.UnsignedBigInt
|
||||
categoryId BigInt? @map("category_id") @db.UnsignedBigInt
|
||||
name String @db.VarChar(128)
|
||||
/// 门店主账号登录手机号(老板);与 StoreAccount.phone 对齐
|
||||
phone String @db.VarChar(20)
|
||||
/// 对外联系电话(店长等);C 端拨号展示用;空则回退 phone
|
||||
contactPhone String? @map("contact_phone") @db.VarChar(20)
|
||||
province String @db.VarChar(32)
|
||||
cityName String @map("city_name") @db.VarChar(32)
|
||||
district String @db.VarChar(32)
|
||||
|
||||
Reference in New Issue
Block a user