1234567891011121314151617 |
- -- 要求码
- local root = class("sharecode", require("base.baseModule"))
- function root:ctor(sharecode)
- root.super.ctor(self, sharecode, "sharecode", "sharecode", true, false)
- self.sharecode = sharecode
- end
- function root:mysql_get_init_columns()
- return {
- sharecode = "varchar(20) NOT NULL COMMENT '邀请码'",
- uid = "bigint(20) unsigned NOT NULL COMMENT '用户ID'"
- }
- end
- return root
|