settle_account_bill.go 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package model
  5. import (
  6. "lims_adapter/model/account/internal"
  7. )
  8. // SettleAccountBill is the golang structure for table settle_account_bill.
  9. type SettleAccountBill internal.SettleAccountBill
  10. // Fill with you ideas below.
  11. type SettleAccountBillReq struct {
  12. MainUserId int `json:"mainUserId"`
  13. Status string `json:"status"`
  14. StartDate string `json:"startDate"`
  15. EndDate string `json:"endDate"`
  16. SettleDate string `json:"settleDate"`
  17. SettleUser string `json:"settleUser"`
  18. MainUser string `json:"mainUser"`
  19. IsSelf string `json:"isSelf"` // 1 查看全部;其他 查看自己
  20. }
  21. type AccountBillSettleReq struct {
  22. BillId int `json:"billId"`
  23. AccountId int `json:"accountId"`
  24. Amount float64 `json:"amount"`
  25. }
  26. type AccountBillConfirmReq struct {
  27. BillId int `json:"billId"`
  28. }
  29. type BillInfo struct {
  30. SettleAccountBill
  31. TotalAmount float64 `orm:"TotalAmount" json:"total_amount"` // 计费总额
  32. }