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