2024-08-26 09:16:33 +00:00
|
|
|
|
package model
|
|
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
// gen:qs
|
|
|
|
|
//
|
|
|
|
|
//go:generate goqueryset -in privilege_member.go
|
|
|
|
|
type PrivilegeMember struct {
|
|
|
|
|
Model
|
|
|
|
|
Uid uint32 `json:"uid" gorm:"column:uid;unique_index"` // 用户id
|
|
|
|
|
Tel string `json:"tel"` // 电话
|
|
|
|
|
StoreId uint64 `json:"store_id"` // 门店id
|
|
|
|
|
MemberLevel uint32 `json:"member_level"` // 当前会员等级:1-普通用户,6-尊享会员
|
|
|
|
|
MemberExpire *time.Time `json:"member_expire"` // 会员到期时间
|
|
|
|
|
OpenMemberTime *time.Time `json:"open_member_time"` // 开通会员时间
|
|
|
|
|
ExtendStatus uint32 `json:"extend_status"` // 延保状态:0-非会员, 1-已过期,2-待激活、3-已激活
|
|
|
|
|
HostCode string `json:"host_code"` // 主机编码
|
|
|
|
|
Images string `json:"images"` // 图片凭证
|
|
|
|
|
AuditorId uint32 `json:"auditor_id" gorm:"index"` // 审核人id
|
2024-09-14 09:37:22 +00:00
|
|
|
|
AuditorName string `json:"auditor_name"` // 审核人姓名
|
2024-08-26 09:16:33 +00:00
|
|
|
|
AuditTime *time.Time `json:"audit_time"` // 审核时间
|
|
|
|
|
}
|