-
Notifications
You must be signed in to change notification settings - Fork 35
DB foundation_store
wuda0112 edited this page Dec 27, 2020
·
2 revisions
| column name | definition |
|---|---|
| store_core_id | BIGINT UNSIGNED NOT NULL AUTO_INCREMENT |
| store_id | BIGINT UNSIGNED NOT NULL COMMENT 'store id。一定和【group_core.group_id】相等,因为【store is a group】。' |
| type | TINYINT UNSIGNED NOT NULL COMMENT '店铺类型' |
| state | TINYINT UNSIGNED NOT NULL COMMENT '店铺状态' |
| create_time | DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP |
| create_user_id | BIGINT UNSIGNED NOT NULL |
| last_modify_time | DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP |
| last_modify_user_id | BIGINT UNSIGNED NOT NULL |
| is_deleted | BIGINT UNSIGNED NOT NULL DEFAULT 0 |
| column name | definition |
|---|---|
| store_general_id | BIGINT UNSIGNED NOT NULL AUTO_INCREMENT |
| store_id | BIGINT UNSIGNED NOT NULL COMMENT '主键' |
| store_name | VARCHAR (45) NOT NULL COMMENT '店铺名称' |
| create_time | DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP |
| create_user_id | BIGINT UNSIGNED NOT NULL |
| last_modify_time | DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP |
| last_modify_user_id | BIGINT UNSIGNED NOT NULL |
| is_deleted | BIGINT UNSIGNED NOT NULL DEFAULT 0 |
架构
数据库设计
约定
基础工具
DataType模块
Property模块
权限模块