新增查询门店会员

This commit is contained in:
chy
2025-07-04 16:47:45 +08:00
parent f0b13086dd
commit 7f23097976
39 changed files with 844 additions and 176 deletions

View File

@ -0,0 +1,27 @@
package model
import "github.com/gogf/gf/v2/os/gtime"
type StoreMemberLevels struct {
Id int64 `json:"id" orm:"id" description:"主键ID"` // 主键ID
StoreId int64 `json:"storeId" orm:"store_id" description:"所属门店ID"` // 所属门店ID
LevelId int `json:"levelId" orm:"level_id" description:"会员等级ID如0表示临时卡"` // 会员等级ID如0表示临时卡
LevelName string `json:"levelName" orm:"level_name" description:"等级名称"` // 等级名称
Level int `json:"level" orm:"level" description:"等级顺序,值越大等级越高"` // 等级顺序,值越大等级越高
OlType int `json:"olType" orm:"ol_type" description:"在线类型例如1=线上)"` // 在线类型例如1=线上)
Status int `json:"status" orm:"status" description:"状态1=启用2=禁用"` // 状态1=启用2=禁用
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:"软删除时间戳"` // 软删除时间戳
}
type StoreMemberLevelsListIn struct {
Page int
Size int
StoreId int64
}
type StoreMemberLevelsListOut struct {
List []StoreMemberLevels
Total int
}