record_history.go 2.6 KB

123456789101112131415161718192021222324252627282930313233
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
  3. // ==========================================================================
  4. package internal
  5. import (
  6. "github.com/gogf/gf/os/gtime"
  7. )
  8. // RecordHistory is the golang structure for table record_history.
  9. type RecordHistory struct {
  10. Id int `orm:"Id,primary" json:"id"` // Id
  11. ProjectSourse string `orm:"ProjectSourse" json:"projectSourse"` // 项目来源,所属系统 mcs、biobank、lims
  12. ProjectAccount string `orm:"ProjectAccount" json:"projectAccount"` // 开锁人员账号
  13. ProjectAccountName string `orm:"ProjectAccountName" json:"projectAccountName"` // 指令发送发送对象 人脸识别智能锁、智能锁,历史原因字段有误
  14. SendTo string `orm:"SendTo" json:"sendTo"` // 发送账号名称 历史原因字段有误
  15. DataItem string `orm:"DataItem" json:"dataItem"` // 设备类型 31:扫码智能锁, 33:人脸识别智能锁
  16. Message string `orm:"Message" json:"message"` // 消息 发送消息内容
  17. IsSend int `orm:"IsSend" json:"isSend"` // 是否发送成功 0成功,1失败,2未发送
  18. DeviceId string `orm:"DeviceId" json:"deviceId"` // 设备id
  19. DeviceName string `orm:"DeviceName" json:"deviceName"` // 设备名
  20. ChannelCode string `orm:"ChannelCode" json:"channelCode"` // 传感器编号(门禁ID)
  21. ChannelName string `orm:"ChannelName" json:"channelName"` // 传感器名(门禁名称)
  22. CreateOn *gtime.Time `orm:"CreateOn" json:"createOn"` // 开锁时间
  23. CreatedById int `orm:"CreatedById" json:"createdById"` // 创建人ID
  24. UpdatedById int `orm:"UpdatedById" json:"updatedById"` // 更新人ID
  25. CreatedBy string `orm:"CreatedBy" json:"createdBy"` // 创建人
  26. UpdatedBy string `orm:"UpdatedBy" json:"updatedBy"` // 更新人
  27. CreatedAt *gtime.Time `orm:"CreatedAt" json:"createdAt"` // 创建时间
  28. UpdatedAt *gtime.Time `orm:"UpdatedAt" json:"updatedAt"` // 更新时间
  29. DeletedAt *gtime.Time `orm:"DeletedAt" json:"deletedAt"` // 删除时间
  30. }