File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,12 @@ type Plan struct {
29
29
DisplayName string `xorm:"varchar(100)" json:"displayName"`
30
30
Description string `xorm:"varchar(100)" json:"description"`
31
31
32
- PricePerMonth float64 `json:"pricePerMonth"`
33
- PricePerYear float64 `json:"pricePerYear"`
34
- Currency string `xorm:"varchar(100)" json:"currency"`
35
- IsEnabled bool `json:"isEnabled"`
32
+ Price float64 `json:"price"`
33
+ Currency string `xorm:"varchar(100)" json:"currency"`
34
+ Period string `xorm:"varchar(100)" json:"period"`
35
+ Product string `xorm:"varchar(100)" json:"product"`
36
+ PaymentProviders []string `xorm:"varchar(100)" json:"paymentProviders"` // payment providers for related product
37
+ IsEnabled bool `json:"isEnabled"`
36
38
37
39
Role string `xorm:"varchar(100)" json:"role"`
38
40
Options []string `xorm:"-" json:"options"`
You can’t perform that action at this time.
0 commit comments