Files
arenax-server/internal/model/storeDesktopSetting.go

29 lines
1.0 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package model
import "github.com/gogf/gf/v2/frame/g"
type StoreDesktopSettings struct {
g.Meta `orm:"table:store_desktop_settings"`
StoreId int64 `json:"storeId" orm:"store_id" description:""` //
TopComponentVisible int `json:"topComponentVisible" orm:"top_component_visible" description:"1显示2 隐藏"` // 1显示2 隐藏
RightComponentVisible int `json:"rightComponentVisible" orm:"right_component_visible" description:"1显示2 隐藏"` // 1显示2 隐藏
}
type StoreGetDesktopSettingIn struct {
OperatorId int64
OperatorRole string
StoreId int64
}
type StoreGetDesktopSettingOut struct {
StoreDesktopSettings
}
type SaveDesktopSettingIn struct {
StoreId int64 `json:"storeId"`
TopComponentVisible int `json:"topComponentVisible"` // 1显示2 隐藏
RightComponentVisible int `json:"rightComponentVisible"` // 1显示2 隐藏
}
type SaveDesktopSettingOut struct {
Success bool
}