- add ShopName and BillTitle in StoreBill

This commit is contained in:
gazebo
2019-02-14 12:03:31 +08:00
parent 446dc061fa
commit 46fc0aac5f
2 changed files with 14 additions and 9 deletions

View File

@@ -3,11 +3,13 @@ package legacymodel
import "time"
type StoreBill struct {
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"`
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"`
ShopName string `orm:"size(30)" json:"shopName"`
BillTitle string `orm:"size(255)" json:"billTitle"`
}
func (t *StoreBill) TableName() string {