appraise.go 406 B

123456789101112131415161718
  1. package model
  2. type Appraise struct {
  3. Id int64 `db:"id"`
  4. GoodsId int64 `db:"goods_id"`
  5. BuyerId int64 `db:"buyer_id"`
  6. Time int64 `db:"time"`
  7. Content string `db:"content"`
  8. Star int `db:"star"`
  9. }
  10. type AppraiseJson struct {
  11. GoodsId int64 `json:"goodsId"`
  12. BuyerId int64 `json:"buyerId"`
  13. Time int64 `json:"time"`
  14. Content string `json:"content"`
  15. Star int `json:"star"`
  16. }