mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-27 11:09:48 +02:00
working silk mvc framework
This commit is contained in:
8
apps/models/PostModel.lua
Normal file
8
apps/models/PostModel.lua
Normal file
@ -0,0 +1,8 @@
|
||||
PostModel = BaseModel:extends{
|
||||
registry = {},
|
||||
name = "post",
|
||||
fields = {
|
||||
cid = "NUMERIC",
|
||||
content = "TEXT"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user