mirror of
https://github.com/tiger1103/gfast.git
synced 2026-09-21 10:12:59 +00:00
在线用户强退,删除数据库表前缀
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/gogf/gf/database/gdb"
|
||||
)
|
||||
|
||||
// Entity is the golang structure for table qxkj_sys_dict_data.
|
||||
// Entity is the golang structure for table sys_dict_data.
|
||||
type Entity struct {
|
||||
DictCode int64 `orm:"dict_code,primary" json:"dict_code"` // 字典编码
|
||||
DictSort int `orm:"dict_sort" json:"dict_sort"` // 字典排序
|
||||
|
||||
@@ -11,15 +11,15 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// arModel is a active record design model for table qxkj_sys_dict_data operations.
|
||||
// arModel is a active record design model for table sys_dict_data operations.
|
||||
type arModel struct {
|
||||
M *gdb.Model
|
||||
}
|
||||
|
||||
var (
|
||||
// Table is the table name of qxkj_sys_dict_data.
|
||||
Table = "qxkj_sys_dict_data"
|
||||
// Model is the model object of qxkj_sys_dict_data.
|
||||
// Table is the table name of sys_dict_data.
|
||||
Table = "sys_dict_data"
|
||||
// Model is the model object of sys_dict_data.
|
||||
Model = &arModel{g.DB("default").Table(Table).Safe()}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user