6
0

device_lock_relate.go 1.7 KB

123456789101112131415161718192021222324252627
  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. // DeviceLockRelate is the golang structure for table device_lock_relate.
  9. type DeviceLockRelate struct {
  10. Id int `orm:"Id,primary" json:"id"` // Id
  11. DeviceId string `orm:"DeviceId" json:"deviceId"` // 锁设备ID(原始MacID)
  12. LockId string `orm:"LockId" json:"lockId"` // 门禁ID
  13. LockName string `orm:"LockName" json:"lockName"` // 门禁名称
  14. PlatformType int `orm:"PlatformType" json:"platformType"` // 设备平台类型 0 大数华创 1 海康威视
  15. PlatformConfigId string `orm:"PlatformConfigId" json:"platformConfigId"` // 设备平台配置Id
  16. LastTime *gtime.Time `orm:"LastTime" json:"lastTime"` // 最后通信时间
  17. CreatedById int `orm:"CreatedById" json:"createdById"` // 创建人ID
  18. UpdatedById int `orm:"UpdatedById" json:"updatedById"` // 更新人ID
  19. CreatedBy string `orm:"CreatedBy" json:"createdBy"` // 创建人
  20. UpdatedBy string `orm:"UpdatedBy" json:"updatedBy"` // 更新人
  21. CreatedAt *gtime.Time `orm:"CreatedAt" json:"createdAt"` // 创建时间
  22. UpdatedAt *gtime.Time `orm:"UpdatedAt" json:"updatedAt"` // 更新时间
  23. DeletedAt *gtime.Time `orm:"DeletedAt" json:"deletedAt"` // 删除时间
  24. }