This commit is contained in:
苏尹岚
2020-10-13 14:38:11 +08:00
parent 2ab79d949a
commit 1932dbf8a8
2 changed files with 2690 additions and 3239 deletions

View File

@@ -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