c
This commit is contained in:
@@ -4,9 +4,9 @@ package model
|
||||
type BillIncome struct {
|
||||
ModelIDCUL
|
||||
|
||||
BillID int64 `orm:"bill_id" json:"billID"` //账单ID
|
||||
Type int `json:"type"` //收入类型
|
||||
IncomePrice int `json:"incomePrice"` //收入金额
|
||||
BillID int64 `orm:"column(bill_id)" json:"billID"` //账单ID
|
||||
Type int `json:"type"` //收入类型
|
||||
IncomePrice int `json:"incomePrice"` //收入金额
|
||||
}
|
||||
|
||||
func (v *BillIncome) TableIndex() [][]string {
|
||||
@@ -20,9 +20,9 @@ func (v *BillIncome) TableIndex() [][]string {
|
||||
type BillExpend struct {
|
||||
ModelIDCUL
|
||||
|
||||
BillID int64 `orm:"bill_id" json:"billID"` //账单ID
|
||||
Type int `json:"type"` //支出类型
|
||||
ExpendPrice int `json:"expendPrice"` //支出金额
|
||||
BillID int64 `orm:"column(bill_id)" json:"billID"` //账单ID
|
||||
Type int `json:"type"` //支出类型
|
||||
ExpendPrice int `json:"expendPrice"` //支出金额
|
||||
}
|
||||
|
||||
func (v *BillExpend) TableIndex() [][]string {
|
||||
@@ -36,9 +36,9 @@ func (v *BillExpend) TableIndex() [][]string {
|
||||
type UserBill struct {
|
||||
ModelIDCUL
|
||||
|
||||
BillID int64 `orm:"bill_id" json:"billID"` //账单ID
|
||||
UserID string `orm:"user_id" json:"userID"` //用户ID
|
||||
AccountBalance int `json:"accountBalance"` //账户余额
|
||||
BillID int64 `orm:"column(bill_id)" json:"billID"` //账单ID
|
||||
UserID string `orm:"column(user_id)" json:"userID"` //用户ID
|
||||
AccountBalance int `json:"accountBalance"` //账户余额
|
||||
}
|
||||
|
||||
func (v *UserBill) TableIndex() [][]string {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user