mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-12-29 02:38:22 +01:00
21 lines
308 B
Lua
21 lines
308 B
Lua
-- This is the base model class
|
|
require("OOP")
|
|
require("sqlite")
|
|
-- create class
|
|
BaseModel = Object:extends{registry = {}, name = ""}
|
|
|
|
function BaseModel:initialize()
|
|
end
|
|
|
|
function BaseModel:create()
|
|
end
|
|
|
|
function BaseModel:update()
|
|
end
|
|
|
|
function BaseModel:delete()
|
|
end
|
|
|
|
|
|
function BaseModel:findAll(cond)
|
|
end |