1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-01-01 03:48:20 +01:00
antd-web-apps/apps/silk/BaseModel.lua

21 lines
308 B
Lua
Raw Normal View History

2018-08-21 15:16:36 +02:00
-- 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