- financial/GetStoreBills

This commit is contained in:
gazebo
2018-10-24 11:45:37 +08:00
parent 5811d3cb68
commit 7b6c9fd73a
4 changed files with 40 additions and 5 deletions

View File

@@ -3,11 +3,11 @@ package legacymodel
import "time"
type StoreBill struct {
Id int `orm:"column(id);auto"`
Date time.Time `orm:"column(date);type(datetime)"`
Url string `orm:"column(url);size(255)"`
StoreId int `orm:"column(store_id)"`
BillName string `orm:"column(bill_name);size(30)"`
Id int `orm:"column(id);auto" json:"id"`
Date time.Time `orm:"column(date);type(datetime)" json:"date"`
Url string `orm:"column(url);size(255)" json:"url"`
StoreId int `orm:"column(store_id)" json:"storeId"`
BillName string `orm:"column(bill_name);size(30)" json:"billName"`
}
func (t *StoreBill) TableName() string {