You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
849 B

4 years ago
package order
import (
"github.com/golangkit/formatime"
)
type GoodsExpress struct {
ID uint `gorm:"column:id;primary_key" json:"goodsDetailId"`
OrderID uint `gorm:"column:order_id;" json:"orderId"`
ExpressTime formatime.Second `gorm:"column:express_time" json:"expressTime"`
ExpressCompName string `gorm:"column:express_comp_name" json:"expressCompName"`
ExpressCompCode string `gorm:"column:express_comp_code" json:"expressCompCode"`
ExpressNo string `gorm:"column:express_no" json:"expressNo"`
OrderGoodsID uint `gorm:"column:order_goods_id" `
MainPhotoURL string `gorm:"-"`
}
// TableName sets the insert table name for this struct type
func (r *GoodsExpress) TableName() string {
return "recook_order_goods_express"
}