plat_user_address.md
1.91 KB
plat_user_address
平台用户地址表
- Rows (estimated): 0
- Data size: 16.0 KB
- Engine: InnoDB
- Collation: utf8mb3_general_ci
- Created: 2026-04-27 18:54:56
- Updated:
Columns
| # | Name | Type | Null | Key | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| 1 | iIncreaseId |
int |
NO | PRI | auto_increment | 主键(自增序列) | |
| 2 | tCreateTime |
datetime |
NO | 创建时间 | |||
| 3 | tModifyTime |
datetime |
NO | MUL | 修改时间 | ||
| 4 | sUserId |
varchar(35) |
NO | MUL | 用户编号 | ||
| 5 | sAddressId |
varchar(35) |
NO | UNI | 地址编号(P_ADR开头) | ||
| 6 | iProvinceId |
mediumint |
YES | 省编码 | |||
| 7 | iCityId |
mediumint |
YES | 市编码 | |||
| 8 | iAreaId |
mediumint |
YES | 区编码 | |||
| 9 | iStreetId |
mediumint |
YES | 街道编码 | |||
| 10 | sAddress |
varchar(255) |
NO | 详细地址 | |||
| 11 | sPostalCode |
varchar(6) |
NO | 邮编 | |||
| 12 | sMobile |
varchar(20) |
NO | 手机号 | |||
| 13 | sPhone |
varchar(30) |
NO | 电话 | |||
| 14 | iIsDefault |
tinyint |
NO | 0 | 是否是默认地址(0:不是,1:是) | ||
| 15 | iIsDefaultSend |
tinyint |
NO | 0 | 是否是默认发货地址(0:不是,1:是) | ||
| 16 | iIsDefaultRecv |
tinyint |
NO | 0 | 是否是默认收货地址(0:不是,1:是) | ||
| 17 | sRecvName |
varchar(20) |
NO | 收货人 |
Indexes
| Name | Unique | Type | Columns |
|---|---|---|---|
PLAT_USER_ADDRESS_IDX1 |
BTREE | sUserId |
|
PLAT_USER_ADDRESS_IDX2 |
BTREE | tModifyTime |
|
PLAT_USER_ADDRESS_UNQ1 |
✓ | BTREE | sAddressId |
PRIMARY |
✓ | BTREE | iIncreaseId |
Narrative
No human-written narrative yet — when this table is exercised by a vertical slice, link from there back to this page.