ソースを参照

添加 SysTableColUser结构体

huangyh 6 年 前
コミット
21775ce773
1 ファイル変更36 行追加0 行削除
  1. 36 0
      models/SysTableColUser_gen.go

+ 36 - 0
models/SysTableColUser_gen.go

@@ -0,0 +1,36 @@
+
+package models
+import (
+	//__import_packages__
+)
+
+type SysTableColUser struct {
+	//主键
+	Id   string     `xorm:"'id' varchar(36) pk   notnull "json:"id"` 
+	//编码
+	Code   string     `xorm:"'code' varchar(200)   notnull "json:"code"` 
+	//值
+	Value   string     `xorm:"'value' text   notnull "json:"value"` 
+	//用户id
+	UserId   string     `xorm:"'user_id' varchar(36)   notnull "json:"user_id"` 
+	//创建人
+	CreateBy   string     `xorm:"'create_by' varchar(36)   notnull "json:"create_by"` 
+	//创建时间
+	CreateTime   LocalTime     `xorm:"'create_time'   notnull "json:"create_time"` 
+	//最后更新人
+	LastUpdateBy   string     `xorm:"'last_update_by' varchar(36)   notnull "json:"last_update_by"` 
+	//最后更新时间
+	LastUpdateTime   int64     `xorm:"'last_update_time'   notnull "json:"last_update_time"` 
+	//是否删除 1:删除   0:正常
+	DelFlag   int32     `xorm:"'del_flag'   notnull "json:"del_flag"` 
+
+}
+
+func (t *SysTableColUser) TableName() string {
+	return "sys_table_col_user"
+}
+
+func init() {
+    AddTableName("sys_table_col_user")
+	RegisterModel(new(SysTableColUser))
+}