6
0

base_user.go 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package model
  5. import (
  6. "github.com/gogf/gf/os/gtime"
  7. "lims_adapter/model/internal"
  8. )
  9. // BaseUser is the golang structure for table base_user.
  10. type BaseUser internal.BaseUser
  11. // Fill with you ideas below.
  12. type UserQualification struct {
  13. Id int `orm:"Id,primary" json:"id"` //
  14. UserName string `orm:"UserName" json:"userName"` // 用户登录名
  15. RealName string `orm:"RealName" json:"realName"` // 用户名
  16. Qualification int `orm:"Qualification" json:"qualification"` // 资格 1普通资格 2资深资格
  17. Mobile string `orm:"Mobile" json:"mobile"` // 手机号
  18. AuthorizeTime *gtime.Time `orm:"AuthorizeTime" json:"authorizeTime"` // 授权时间
  19. }
  20. type UserInfoReq struct {
  21. PageNun int `json:"pageNum"`
  22. PageSize int `json:"pageSize"`
  23. Enabled int `json:"enabled"`
  24. InstrumentId int `json:"instrument_id"`
  25. DepartmentId int `json:"department_id"`
  26. ReqType int `json:"req_type"` // 请求类型 1:预约资格 2:优先预约权
  27. }
  28. type UserInfoRsp struct {
  29. Records []BaseUser `json:"records"`
  30. Total int `json:"total"'`
  31. }