package entity import "gopkg.in/guregu/null.v3" type OrderProduct struct { OrderId string `db:"order_id"` ProductId int `db:"product_id"` ProductName string `db:"product_name"` ProductPrice int `db:"price"` Picture string `db:"picture"` IsTip null.Int `db:"is_tip"` Quantity int `db:"quantity"` TipContent null.String `db:"tip_content"` IsJinyin int `db:"is_jiyin"` SaleMode int `db:"sale_mode"` DiscountSwitch string `db:"discount_switch"` StockSwitch string `db:"stock_switch"` Searchs string `db:"searchs"` }