From 6aa221391a21cb8197c0a8c71784ecb1d313547e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 12 Oct 2020 17:35:21 +0800 Subject: [PATCH] bill --- business/model/bill.go | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/business/model/bill.go b/business/model/bill.go index 8b5379070..5813f33e0 100644 --- a/business/model/bill.go +++ b/business/model/bill.go @@ -1 +1,24 @@ package model + +//账单收入表 +type BillIncome struct { + ModelIDCUL + + BillID int64 `orm:"bill_id" json:"billID"` //账单ID + +} + +//账单支出表 +type BillExpend struct { + ModelIDCUL + + BillID int64 `orm:"bill_id" json:"billID"` //账单ID +} + +//用户账单表 +type UserBill struct { + ModelIDCUL + + BillID int64 `orm:"bill_id" json:"billID"` //账单ID + UserID string `orm:"user_id" json:"userID"` //用户ID +}