6
0

base_account.go 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. // BaseAccount is the golang structure for table base_account.
  9. type BaseAccount internal.BaseAccount
  10. // Fill with you ideas below.
  11. type BaseAccountResp struct {
  12. Id int `orm:"Id,primary" json:"id"` // 主键
  13. Account string `orm:"Account" json:"account"` // 账户
  14. AccountName string `orm:"AccountName" json:"accountName"` // 账户名称
  15. Surplus int `orm:"Surplus" json:"surplus"` // 账户余额
  16. Available int `orm:"Available" json:"available"` // 可用余额
  17. Limit int `orm:"Limit" json:"limit"` // 使用限额
  18. Advance int `orm:"Advance" json:"advance"` // 优先级
  19. UserId int `orm:"UserId" json:"userId"` // 使用人Id
  20. RealName string `orm:"RealName" json:"realName"`
  21. }
  22. type AccountReq struct {
  23. PageNun int `json:"pageNum"`
  24. PageSize int `json:"pageSize"`
  25. Account string `json:"account"`
  26. AccountName string `json:"accountName"`
  27. RealName string `json:"realName"`
  28. }
  29. type BaseAccountRsp struct {
  30. Records []BaseAccountResp `json:"records"`
  31. Total int `json:"total"'`
  32. }