新增查询门店会员
This commit is contained in:
27
internal/model/StoreMemberlevel.go
Normal file
27
internal/model/StoreMemberlevel.go
Normal 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
|
||||
}
|
||||
21
internal/model/do/store_areas.go
Normal file
21
internal/model/do/store_areas.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"
|
||||
)
|
||||
|
||||
// StoreAreas is the golang structure of table store_areas for DAO operations like Where/Data.
|
||||
type StoreAreas struct {
|
||||
g.Meta `orm:"table:store_areas, do:true"`
|
||||
Id interface{} // 区域ID
|
||||
StoreId interface{} // 所属门店ID
|
||||
AreaName interface{} // 区域名称
|
||||
CreatedAt *gtime.Time //
|
||||
UpdatedAt *gtime.Time //
|
||||
DeletedAt *gtime.Time //
|
||||
}
|
||||
23
internal/model/do/store_clients.go
Normal file
23
internal/model/do/store_clients.go
Normal file
@ -0,0 +1,23 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// StoreClients is the golang structure of table store_clients for DAO operations like Where/Data.
|
||||
type StoreClients struct {
|
||||
g.Meta `orm:"table:store_clients, do:true"`
|
||||
Id interface{} // 客户机ID
|
||||
StoreId interface{} // 所属门店ID
|
||||
ClientName interface{} // 客户机名称
|
||||
Status interface{} // 状态:1=空闲,2=禁用,3=上机中等
|
||||
AreaId interface{} // 所属区域ID
|
||||
CreatedAt *gtime.Time //
|
||||
UpdatedAt *gtime.Time //
|
||||
DeletedAt *gtime.Time //
|
||||
}
|
||||
25
internal/model/do/store_member_levels.go
Normal file
25
internal/model/do/store_member_levels.go
Normal file
@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// StoreMemberLevels is the golang structure of table store_member_levels for DAO operations like Where/Data.
|
||||
type StoreMemberLevels struct {
|
||||
g.Meta `orm:"table:store_member_levels, do:true"`
|
||||
Id interface{} // 主键ID
|
||||
StoreId interface{} // 所属门店ID
|
||||
LevelId interface{} // 会员等级ID(如0表示临时卡)
|
||||
LevelName interface{} // 等级名称
|
||||
Level interface{} // 等级顺序,值越大等级越高
|
||||
OlType interface{} // 在线类型(例如:1=线上)
|
||||
Status interface{} // 状态:1=启用,2=禁用
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
19
internal/model/entity/store_areas.go
Normal file
19
internal/model/entity/store_areas.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"
|
||||
)
|
||||
|
||||
// StoreAreas is the golang structure for table store_areas.
|
||||
type StoreAreas struct {
|
||||
Id int64 `json:"id" orm:"id" description:"区域ID"` // 区域ID
|
||||
StoreId int64 `json:"storeId" orm:"store_id" description:"所属门店ID"` // 所属门店ID
|
||||
AreaName string `json:"areaName" orm:"area_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:""` //
|
||||
}
|
||||
21
internal/model/entity/store_clients.go
Normal file
21
internal/model/entity/store_clients.go
Normal file
@ -0,0 +1,21 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// StoreClients is the golang structure for table store_clients.
|
||||
type StoreClients struct {
|
||||
Id int64 `json:"id" orm:"id" description:"客户机ID"` // 客户机ID
|
||||
StoreId int64 `json:"storeId" orm:"store_id" description:"所属门店ID"` // 所属门店ID
|
||||
ClientName string `json:"clientName" orm:"client_name" description:"客户机名称"` // 客户机名称
|
||||
Status int `json:"status" orm:"status" description:"状态:1=空闲,2=禁用,3=上机中等"` // 状态:1=空闲,2=禁用,3=上机中等
|
||||
AreaId int64 `json:"areaId" orm:"area_id" description:"所属区域ID"` // 所属区域ID
|
||||
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:""` //
|
||||
}
|
||||
23
internal/model/entity/store_member_levels.go
Normal file
23
internal/model/entity/store_member_levels.go
Normal file
@ -0,0 +1,23 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// StoreMemberLevels is the golang structure for table store_member_levels.
|
||||
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:"软删除时间戳"` // 软删除时间戳
|
||||
}
|
||||
Reference in New Issue
Block a user