- big refactor.
This commit is contained in:
14
legacy/jd/models/order.go
Normal file
14
legacy/jd/models/order.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package models
|
||||
|
||||
type Jdorder struct {
|
||||
ID int `orm:"column(id)" json:"-"`
|
||||
Code string `orm:"size(2);null" json:"code"`
|
||||
Msg string `orm:"size(100);null" json:"msg"`
|
||||
Data string `orm:"type(text)" json:"-"`
|
||||
Data4Json map[string]interface{} `orm:"-" json:"data"`
|
||||
Success bool `orm:"null" json:"success"`
|
||||
JdOrderID int64 `orm:"unique;size(19);column(jdorderid);null" json:"jdOrderId"`
|
||||
CityName string `orm:"size(20);column(cityname)" json:"cityName"`
|
||||
OrderStatus int `orm:"column(orderstatus);null" json:"orderStatus"`
|
||||
OrderStatusTime string `orm:"size(50);column(orderstatustime);null" json:"orderStatusTime"`
|
||||
}
|
||||
Reference in New Issue
Block a user