|
|
@@ -1 +1,30 @@
|
|
|
package datamodels
|
|
|
+
|
|
|
+import "time"
|
|
|
+
|
|
|
+type App struct {
|
|
|
+ AppId int64 `json:"appId" xorm:"'app_id' bigint pk comment('主键ID') "`
|
|
|
+ AppCatId int64 `json:"appCatId" xorm:"'app_cat_id' bigint pk comment('主键ID') "`
|
|
|
+ AppTitle string `json:"appTitle" xorm:"'app_title' varchar(127) comment('名称') "`
|
|
|
+ AppCode string `json:"appCode" xorm:"'app_code' varchar(127) comment('编码') "`
|
|
|
+ AppParam string `json:"appParam" xorm:"'app_param' varchar(127) comment('Param') "`
|
|
|
+ AppUrl string `json:"appUrl" xorm:"'app_url' varchar(511) comment('Url') "`
|
|
|
+ AppLog string `json:"appLogo" xorm:"'app_logo' varchar(255) comment('Url') "`
|
|
|
+ Status int64 `json:"status" xorm:"'status' bigint comment('Status') "`
|
|
|
+ IfStore int64 `json:"ifStore" xorm:"'if_store' bigint comment('Status') "`
|
|
|
+ AppKey string `json:"appKey" xorm:"'app_key' varchar(255) comment('Url') "`
|
|
|
+ AppSecret string `json:"appSecret" xorm:"'app_secret' varchar(255) comment('Url') "`
|
|
|
+ AppDesc string `json:"appDesc" xorm:"'app_desc' varchar(50) comment('描述') "`
|
|
|
+ IsFixed int64 `json:"isFixed" xorm:"'is_fixed' int comment('是否可修改') "`
|
|
|
+ CreatedBy int64 `json:"createdBy" xorm:"'created_by'"`
|
|
|
+ CreatedAt time.Time `json:"createdAt" xorm:"'created_at'"`
|
|
|
+ UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by'"`
|
|
|
+ UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at'"`
|
|
|
+ DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'"`
|
|
|
+ DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by'"`
|
|
|
+ DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at'"`
|
|
|
+}
|
|
|
+
|
|
|
+func (t *App) TableName() string {
|
|
|
+ return "app"
|
|
|
+}
|