deliver_bill.go 935 B

12345678910111213141516171819202122232425
  1. package entity
  2. type DeliverBill struct {
  3. DeliverUserId int `db:"deliver_user_id" json:"deliver_user_id"`
  4. Fee int `db:"fee" json:"fee"`
  5. Type string `db:"type" json:"type"`
  6. CreatedAt string `db:"created_at" json:"created_at"`
  7. }
  8. type DeliverAccount struct {
  9. DeliverUserId int `db:"deliver_user_id" json:"deliver_user_id"`
  10. Remain int `db:"remain" json:"remain"`
  11. Withdrawed int `db:"withdrawed" json:"withdrawed"`
  12. ValidWithdraw int `db:"valid_withdraw" json:"valid_withdraw"`
  13. Score int `db:"score" json:"score"`
  14. ScoreCash int `db:"score_cash" json:"score_cash"`
  15. ScoreCashed int `db:"score_cashed" json:"score_cashed"`
  16. }
  17. type DeliverScoreBill struct {
  18. DeliverUserId int `db:"deliver_user_id" json:"deliver_user_id"`
  19. Score int `db:"score" json:"score"`
  20. Type string `db:"type" json:"type"`
  21. CreatedAt string `db:"created_at" json:"created_at"`
  22. }