- SendFilesToStores
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type WeiXins struct {
|
||||
ID int `orm:"column(id)" json:"id"`
|
||||
JxStoreID int `orm:"column(jxstoreid)" json:"storeID"`
|
||||
@@ -56,3 +58,21 @@ type JxBadComments struct {
|
||||
func (*JxBadComments) TableName() string {
|
||||
return "jx_bad_comments"
|
||||
}
|
||||
|
||||
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)"`
|
||||
}
|
||||
|
||||
func (t *StoreBill) TableName() string {
|
||||
return "store_bill"
|
||||
}
|
||||
|
||||
func (*StoreBill) TableIndex() [][]string {
|
||||
return [][]string{
|
||||
[]string{"StoreId", "Date"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user