record_history.go 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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"
  8. "lims_adapter/model/access/internal"
  9. )
  10. // RecordHistory is the golang structure for table record_history.
  11. type RecordHistory internal.RecordHistory
  12. // Fill with you ideas below.
  13. type RecordHistoryListReq struct {
  14. Page *model.Page `json:"page"`
  15. OrderBy *model.OrderBy `json:"orderBy"`
  16. ProjectSourse string `json:"projectSourse"` // 项目来源,所属系统 mcs、biobank、lims
  17. ProjectAccount string `json:"projectAccount"` // 开锁人员账号
  18. ProjectAccountName string `json:"projectAccountName"` // 指令发送发送对象 人脸识别智能锁、智能锁,历史原因字段有误
  19. SendTo string `json:"sendTo"` // 发送账号名称 历史原因字段有误
  20. DataItem string `json:"dataItem"` // 设备类型 31:扫码智能锁, 33:人脸识别智能锁
  21. IsSend *int `json:"isSend"` // 是否发送成功 0成功,1失败,2未发送
  22. DeviceId string `json:"deviceId"` // 设备id
  23. DeviceName string `json:"deviceName"` // 设备名
  24. ChannelCode string `json:"channelCode"` // 传感器编号(门禁ID)
  25. ChannelName string `json:"channelName"` // 传感器名(门禁名称)
  26. CreateOnStart *gtime.Time `json:"createOnStart"` // 开锁时间
  27. CreateOnEnd *gtime.Time `json:"createOnEnd"` // 开锁时间
  28. }
  29. type RecordHistoryAddReq struct {
  30. ProjectSourse string `json:"projectSourse"` // 项目来源,所属系统 mcs、biobank、lims
  31. ProjectAccount string `json:"projectAccount"` // 开锁人员账号
  32. ProjectAccountName string `json:"projectAccountName"` // 指令发送发送对象 人脸识别智能锁、智能锁,历史原因字段有误
  33. SendTo string `json:"sendTo"` // 发送账号名称 历史原因字段有误
  34. DataItem string `json:"dataItem"` // 设备类型 31:扫码智能锁, 33:人脸识别智能锁
  35. Message string `json:"message"` // 消息 发送消息内容
  36. IsSend int `json:"isSend"` // 是否发送成功 0成功,1失败,2未发送
  37. DeviceId string `json:"deviceId"` // 设备id
  38. DeviceName string `json:"deviceName"` // 设备名
  39. ChannelCode string `json:"channelCode"` // 传感器编号(门禁ID)
  40. ChannelName string `json:"channelName"` // 传感器名(门禁名称)
  41. CreateOn *gtime.Time `json:"createOn"` // 开锁时间
  42. }
  43. type IdsReq struct {
  44. Id []int `json:"id" v:"required#请输入Id"`
  45. }
  46. type IdReq struct {
  47. Id int `json:"id" v:"required#请输入Id"`
  48. }