feat(域模型v2): game表——聚合根,1:1world
This commit is contained in:
parent
269e6467ab
commit
ade3b4be1e
60
models/game.json
Normal file
60
models/game.json
Normal file
@ -0,0 +1,60 @@
|
||||
{
|
||||
"summary": [
|
||||
{
|
||||
"name": "game",
|
||||
"title": "游戏表(聚合根)",
|
||||
"primary": [
|
||||
"id"
|
||||
]
|
||||
}
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"name": "id",
|
||||
"title": "游戏ID",
|
||||
"type": "str",
|
||||
"length": 32,
|
||||
"nullable": "no"
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
"title": "游戏名称",
|
||||
"type": "str",
|
||||
"length": 255,
|
||||
"nullable": "no"
|
||||
},
|
||||
{
|
||||
"name": "code",
|
||||
"title": "游戏编码",
|
||||
"type": "str",
|
||||
"length": 64
|
||||
},
|
||||
{
|
||||
"name": "description",
|
||||
"title": "游戏描述",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"name": "icon",
|
||||
"title": "图标",
|
||||
"type": "str",
|
||||
"length": 64
|
||||
},
|
||||
{
|
||||
"name": "status",
|
||||
"title": "draft/published/archived",
|
||||
"type": "str",
|
||||
"length": 16
|
||||
},
|
||||
{
|
||||
"name": "created_at",
|
||||
"title": "创建时间",
|
||||
"type": "timestamp"
|
||||
},
|
||||
{
|
||||
"name": "updated_at",
|
||||
"title": "更新时间",
|
||||
"type": "timestamp"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user