-
Notifications
You must be signed in to change notification settings - Fork 351
/
views.go
63 lines (54 loc) · 1.13 KB
/
views.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
62
63
package db
//trade & order => views
type ViewTrade struct {
PayAt int64
Uid int64
Id int64
Type int
Money int
RealMoney int
ProductCount int
Status int
OrderId string
ComsumerId string
AppId string
ChannelId string
OrderPlatform string
ChannelOrderId string
Currency string
RoleId string
ServerName string
ProductId string
ProductName string
RoleName string
PayPlatform string
}
func (v *ViewTrade) TableName() string {
return "view_trade"
}
// trade & register & user => views
type ViewChannelApp struct {
Id int64
Type byte
Status byte
Uid int64
CreatedAt int64
RegisterAt int64
FirstRechargeAt int64
RealMoney int
RegisterType int
Os string
Imei string
OrderId string
AppId string
Model string
ServerId string
ProductId string
OrderPlatform string
PayPlatform string
PassportChannelId string
PaymentChannelId string
}
func (v *ViewChannelApp) TableName() string {
return "view_channel_app"
}