Files
jx-callback/business/legacyorder/jxordersku.go
gazebo 479ce46200 - fixed a bug in defsch.init, replace LoadOrder with GetOrder.
- dynamic table name for legacy order related table.
2018-07-23 17:30:22 +08:00

24 lines
950 B
Go

package legacyorder
import "git.rosy.net.cn/jx-callback/globals"
type Jxordersku2 struct {
Id int `orm:"column(id);auto"`
VenderId int8 `orm:"column(vender_id);null"`
OrderId int64 `orm:"column(order_id);null"`
JxSkuId int `orm:"column(jx_sku_id);null"`
SkuName string `orm:"column(sku_name);size(200);null"`
JxStoreId int `orm:"column(jx_store_id);null"`
SkuPrice int `orm:"column(sku_price);null"`
SkuCount int `orm:"column(sku_count);null"`
IsGift int8 `orm:"column(is_gift);null"`
PromotionType int `orm:"column(promotion_type);null"`
SkuPlatDiscount int `orm:"column(sku_plat_discount);null"`
SkuVenderDiscount int `orm:"column(sku_vender_discount);null"`
SkuImg string `orm:"column(sku_img);size(120);null"`
}
func (t *Jxordersku2) TableName() string {
return globals.JxorderskuTableName
}