奖励类型新增门店相关 id
This commit is contained in:
@ -20,4 +20,5 @@ type RewardTypes struct {
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间
|
||||
StoreId interface{} // 门店 id
|
||||
}
|
||||
|
||||
@ -21,4 +21,5 @@ type Roles struct {
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
IsDeletable interface{} // 是否可删除:0=不可删除,1=可删除
|
||||
StoreId interface{} // 门店ID
|
||||
}
|
||||
|
||||
@ -26,4 +26,5 @@ type StoreAdmins struct {
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
RoleId interface{} // 角色ID
|
||||
StoreRoleId interface{} // 门店角色ID
|
||||
}
|
||||
|
||||
24
internal/model/do/store_desktop_settings.go
Normal file
24
internal/model/do/store_desktop_settings.go
Normal file
@ -0,0 +1,24 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// StoreDesktopSettings is the golang structure of table store_desktop_settings for DAO operations like Where/Data.
|
||||
type StoreDesktopSettings struct {
|
||||
g.Meta `orm:"table:store_desktop_settings, do:true"`
|
||||
Id interface{} // 主键ID
|
||||
StoreId interface{} // 门店ID
|
||||
BackgroundUrl interface{} // 桌面背景图片URL
|
||||
Resolution interface{} // 分辨率,例如1920x1080
|
||||
IsTopWidgetVisible interface{} // 顶部组件是否显示:FALSE=隐藏,TRUE=显示
|
||||
IsRightWidgetVisible interface{} // 右侧组件是否显示:FALSE=隐藏,TRUE=显示
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
21
internal/model/do/store_roles.go
Normal file
21
internal/model/do/store_roles.go
Normal file
@ -0,0 +1,21 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// StoreRoles is the golang structure of table store_roles for DAO operations like Where/Data.
|
||||
type StoreRoles struct {
|
||||
g.Meta `orm:"table:store_roles, do:true"`
|
||||
Id interface{} // 门店角色ID
|
||||
StoreId interface{} // 所属门店ID
|
||||
Name interface{} // 门店角色名称
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
@ -18,4 +18,5 @@ type RewardTypes struct {
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间"` // 软删除时间
|
||||
StoreId int64 `json:"storeId" orm:"store_id" description:"门店 id"` // 门店 id
|
||||
}
|
||||
|
||||
@ -19,4 +19,5 @@ type Roles struct {
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳
|
||||
IsDeletable bool `json:"isDeletable" orm:"is_deletable" description:"是否可删除:0=不可删除,1=可删除"` // 是否可删除:0=不可删除,1=可删除
|
||||
StoreId int64 `json:"storeId" orm:"store_id" description:"门店ID"` // 门店ID
|
||||
}
|
||||
|
||||
@ -24,4 +24,5 @@ type StoreAdmins struct {
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳
|
||||
RoleId int64 `json:"roleId" orm:"role_id" description:"角色ID"` // 角色ID
|
||||
StoreRoleId int64 `json:"storeRoleId" orm:"store_role_id" description:"门店角色ID"` // 门店角色ID
|
||||
}
|
||||
|
||||
22
internal/model/entity/store_desktop_settings.go
Normal file
22
internal/model/entity/store_desktop_settings.go
Normal file
@ -0,0 +1,22 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// StoreDesktopSettings is the golang structure for table store_desktop_settings.
|
||||
type StoreDesktopSettings struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||||
StoreId int64 `json:"storeId" orm:"store_id" description:"门店ID"` // 门店ID
|
||||
BackgroundUrl string `json:"backgroundUrl" orm:"background_url" description:"桌面背景图片URL"` // 桌面背景图片URL
|
||||
Resolution string `json:"resolution" orm:"resolution" description:"分辨率,例如1920x1080"` // 分辨率,例如1920x1080
|
||||
IsTopWidgetVisible int `json:"isTopWidgetVisible" orm:"is_top_widget_visible" description:"顶部组件是否显示:FALSE=隐藏,TRUE=显示"` // 顶部组件是否显示:FALSE=隐藏,TRUE=显示
|
||||
IsRightWidgetVisible int `json:"isRightWidgetVisible" orm:"is_right_widget_visible" description:"右侧组件是否显示:FALSE=隐藏,TRUE=显示"` // 右侧组件是否显示:FALSE=隐藏,TRUE=显示
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳
|
||||
}
|
||||
19
internal/model/entity/store_roles.go
Normal file
19
internal/model/entity/store_roles.go
Normal file
@ -0,0 +1,19 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// StoreRoles is the golang structure for table store_roles.
|
||||
type StoreRoles struct {
|
||||
Id int64 `json:"id" orm:"id" description:"门店角色ID"` // 门店角色ID
|
||||
StoreId int64 `json:"storeId" orm:"store_id" description:"所属门店ID"` // 所属门店ID
|
||||
Name string `json:"name" orm:"name" description:"门店角色名称"` // 门店角色名称
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳
|
||||
}
|
||||
@ -15,10 +15,14 @@ type RewardType struct {
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
//StoreId int `json:"storeId" dc:"门店ID" orm:"store_id"`
|
||||
StoreName string `json:"storeName" dc:"门店名称" orm:"store_name"`
|
||||
}
|
||||
type RewardTypeIn struct {
|
||||
Page int
|
||||
Size int
|
||||
Page int
|
||||
Size int
|
||||
RoleName string
|
||||
OperatorId int
|
||||
}
|
||||
|
||||
type RewardTypeOut struct {
|
||||
@ -31,6 +35,7 @@ type CreateRewardTypeIn struct {
|
||||
Code string
|
||||
Description string
|
||||
Status int
|
||||
StoreId int
|
||||
}
|
||||
|
||||
type CreateRewardTypeOut struct {
|
||||
@ -44,6 +49,7 @@ type UpdateRewardTypeIn struct {
|
||||
Code string
|
||||
Description string
|
||||
Status int
|
||||
StoreId int
|
||||
}
|
||||
|
||||
// UpdateRewardTypeOut 更新奖励类型返回参数
|
||||
|
||||
Reference in New Issue
Block a user