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-27 20:10:53 +02:00
parent 30762988cf
commit 48ad3a30da
14 changed files with 43 additions and 34 deletions

View File

@ -1,4 +1,4 @@
CategoryModel = BaseModel:extends{
BaseModel:subclass("CategoryModel",{
registry = {},
name = "cv_cat",
fields = {
@ -6,4 +6,4 @@ CategoryModel = BaseModel:extends{
name = "TEXT",
pid = "NUMERIC"
}
}
})

View File

@ -1,4 +1,4 @@
SectionsModel = BaseModel:extends{
BaseModel:subclass("SectionsModel",{
name = "cv_sections",
fields = {
title = "TEXT",
@ -10,4 +10,4 @@ SectionsModel = BaseModel:extends{
publish = "NUMERIC",
cid = "NUMERIC",
}
}
})

View File

@ -1,4 +1,4 @@
UserModel = BaseModel:extends{
BaseModel:subclass("UserModel",{
registry = {},
name = "user",
fields = {
@ -9,4 +9,4 @@ UserModel = BaseModel:extends{
email = "TEXT",
url = "TEXT"
}
}
})