| 123456789101112131415161718192021222324252627 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
- // ==========================================================================
- package internal
- import (
- "github.com/gogf/gf/os/gtime"
- )
- // DeviceLockRelate is the golang structure for table device_lock_relate.
- type DeviceLockRelate struct {
- Id int `orm:"Id,primary" json:"id"` // Id
- DeviceId string `orm:"DeviceId" json:"deviceId"` // 锁设备ID(原始MacID)
- LockId string `orm:"LockId" json:"lockId"` // 门禁ID
- LockName string `orm:"LockName" json:"lockName"` // 门禁名称
- PlatformType int `orm:"PlatformType" json:"platformType"` // 设备平台类型 0 大数华创 1 海康威视
- PlatformConfigId string `orm:"PlatformConfigId" json:"platformConfigId"` // 设备平台配置Id
- LastTime *gtime.Time `orm:"LastTime" json:"lastTime"` // 最后通信时间
- CreatedById int `orm:"CreatedById" json:"createdById"` // 创建人ID
- UpdatedById int `orm:"UpdatedById" json:"updatedById"` // 更新人ID
- CreatedBy string `orm:"CreatedBy" json:"createdBy"` // 创建人
- UpdatedBy string `orm:"UpdatedBy" json:"updatedBy"` // 更新人
- CreatedAt *gtime.Time `orm:"CreatedAt" json:"createdAt"` // 创建时间
- UpdatedAt *gtime.Time `orm:"UpdatedAt" json:"updatedAt"` // 更新时间
- DeletedAt *gtime.Time `orm:"DeletedAt" json:"deletedAt"` // 删除时间
- }
|