mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-24 01:29:48 +02:00
fix
This commit is contained in:
9
info/models/CategoryModel.lua
Normal file
9
info/models/CategoryModel.lua
Normal file
@ -0,0 +1,9 @@
|
||||
CategoryModel = BaseModel:extends{
|
||||
registry = {},
|
||||
name = "cv_cat",
|
||||
fields = {
|
||||
publish = "NUMERIC",
|
||||
name = "TEXT",
|
||||
pid = "NUMERIC"
|
||||
}
|
||||
}
|
13
info/models/SectionsModel.lua
Normal file
13
info/models/SectionsModel.lua
Normal file
@ -0,0 +1,13 @@
|
||||
SectionsModel = BaseModel:extends{
|
||||
name = "cv_sections",
|
||||
fields = {
|
||||
title = "TEXT",
|
||||
start = "NUMERIC",
|
||||
location = "TEXT",
|
||||
["end"] = "NUMERIC",
|
||||
content = "TEXT",
|
||||
subtitle = "TEXT",
|
||||
publish = "NUMERIC",
|
||||
cid = "NUMERIC",
|
||||
}
|
||||
}
|
12
info/models/UserModel.lua
Normal file
12
info/models/UserModel.lua
Normal file
@ -0,0 +1,12 @@
|
||||
UserModel = BaseModel:extends{
|
||||
registry = {},
|
||||
name = "user",
|
||||
fields = {
|
||||
address = "TEXT",
|
||||
Phone = "TEXT",
|
||||
shortbiblio = "TEXT",
|
||||
fullname = "TEXT",
|
||||
email = "TEXT",
|
||||
url = "TEXT"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user