1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-24 01:29:48 +02:00
This commit is contained in:
Xuan Sang LE
2018-08-23 11:43:42 +02:00
parent b07da22b52
commit 5f5c165f0b
13 changed files with 166 additions and 5 deletions

View File

@ -0,0 +1,9 @@
CategoryModel = BaseModel:extends{
registry = {},
name = "cv_cat",
fields = {
publish = "NUMERIC",
name = "TEXT",
pid = "NUMERIC"
}
}

View 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
View File

@ -0,0 +1,12 @@
UserModel = BaseModel:extends{
registry = {},
name = "user",
fields = {
address = "TEXT",
Phone = "TEXT",
shortbiblio = "TEXT",
fullname = "TEXT",
email = "TEXT",
url = "TEXT"
}
}