-
Notifications
You must be signed in to change notification settings - Fork 9
/
CardOpenInfo.go
61 lines (60 loc) · 3.22 KB
/
CardOpenInfo.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package alsc
// CardOpenInfo
type CardOpenInfo struct {
// 资产账户列表
Accounts []AccountOpenInfo `json:"accounts,omitempty" xml:"accounts>account_open_info,omitempty"`
// 激活操作人ID
ActiveOperatorId string `json:"active_operator_id,omitempty" xml:"active_operator_id,omitempty"`
// 激活操作人名
ActiveOperatorName string `json:"active_operator_name,omitempty" xml:"active_operator_name,omitempty"`
// 激活门店ID
ActiveShopId string `json:"active_shop_id,omitempty" xml:"active_shop_id,omitempty"`
// 激活时间
ActiveTime string `json:"active_time,omitempty" xml:"active_time,omitempty"`
// 是否主动购买(是则赠送开卡礼包)
Buy bool `json:"buy,omitempty" xml:"buy,omitempty"`
// 卡实例ID
CardId string `json:"card_id,omitempty" xml:"card_id,omitempty"`
// 卡模板ID
CardTemplateId string `json:"card_template_id,omitempty" xml:"card_template_id,omitempty"`
// 卡类型
CardType string `json:"card_type,omitempty" xml:"card_type,omitempty"`
// 创建人
CreateBy string `json:"create_by,omitempty" xml:"create_by,omitempty"`
// 顾客id
CustomerId string `json:"customer_id,omitempty" xml:"customer_id,omitempty"`
// 逻辑删除
Deleted bool `json:"deleted,omitempty" xml:"deleted,omitempty"`
// 有效期结束时间
ExpireEnd string `json:"expire_end,omitempty" xml:"expire_end,omitempty"`
// 有效期起始时间
ExpireStart string `json:"expire_start,omitempty" xml:"expire_start,omitempty"`
// 创建时间
GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
// 修改时间
GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
// 开卡操作人ID
OpenOperatorId string `json:"open_operator_id,omitempty" xml:"open_operator_id,omitempty"`
// 开卡操作人名
OpenOperatorName string `json:"open_operator_name,omitempty" xml:"open_operator_name,omitempty"`
// 开卡门店ID
OpenShopId string `json:"open_shop_id,omitempty" xml:"open_shop_id,omitempty"`
// 开卡门店名称
OpenShopName string `json:"open_shop_name,omitempty" xml:"open_shop_name,omitempty"`
// 开卡时间
OpenTime string `json:"open_time,omitempty" xml:"open_time,omitempty"`
// 操作员id
OperatorId string `json:"operator_id,omitempty" xml:"operator_id,omitempty"`
// 运营计划ID
OptPlanId string `json:"opt_plan_id,omitempty" xml:"opt_plan_id,omitempty"`
// 关联的物理卡列表
PhysicalCards []PhysicalCardOpenInfo `json:"physical_cards,omitempty" xml:"physical_cards>physical_card_open_info,omitempty"`
// 会员计划ID
PlanId string `json:"plan_id,omitempty" xml:"plan_id,omitempty"`
// SOLD("SOLD", "已出售"), ACTIVED("ACTIVED", "已激活"), STOP("STOP", "已停用"), INVALID("INVALID", "已作废"), EXPIRED("EXPIRED", "已过期"), REFUND("REFUND", "已退卡")
Status string `json:"status,omitempty" xml:"status,omitempty"`
// 修改人
UpdateBy string `json:"update_by,omitempty" xml:"update_by,omitempty"`
// 扩展信息
ExtInfo *Extinfo `json:"ext_info,omitempty" xml:"ext_info,omitempty"`
}