| 123456789101112131415161718192021222324252627282930313233343536 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
- // ==========================================================================
- package internal
- import (
- "github.com/gogf/gf/os/gtime"
- )
- // DeviceTask is the golang structure for table device_task.
- type DeviceTask struct {
- Id int `orm:"Id,primary" json:"id"` // Id
- TaskType int `orm:"TaskType" json:"taskType"` // 任务类型 0人员删除,1人员注册,2照片注册,3访问时段设置
- DeviceId string `orm:"DeviceId" json:"deviceId"` // 锁设备ID(原始MacID)
- EquipmentName string `orm:"EquipmentName" json:"equipmentName"` // 设备名称
- PersonId int `orm:"PersonId" json:"personId"` // 人员ID
- PersonName string `orm:"PersonName" json:"personName"` // 人员名
- IdCard string `orm:"IdCard" json:"idCard"` // 人员Id卡号
- Url string `orm:"Url" json:"url"` // 人脸照片URL
- AccessDate *gtime.Time `orm:"AccessDate" json:"accessDate"` // 访问权限设置执行日期,只更新当天的访问时段限制
- AccessTime string `orm:"AccessTime" json:"accessTime"` // 访问权限时段 年月日时分秒-年月日年月日时分秒
- TaskSequence int `orm:"TaskSequence" json:"taskSequence"` // 任务顺序,某些任务会有执行顺序,需按顺序执行
- ExecuteStatus int `orm:"ExecuteStatus" json:"executeStatus"` // 执行状态 0未执行,1已执行
- ExecuteResult int `orm:"ExecuteResult" json:"executeResult"` // 执行结果 0失败,1成功
- ExecuteInfo string `orm:"ExecuteInfo" json:"executeInfo"` // 执行结果扩展信息
- ExecuteTime string `orm:"ExecuteTime" json:"executeTime"` // 执行时间
- TaskFrequency int `orm:"TaskFrequency" json:"taskFrequency"` // 重试次数 缺省值为0
- 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"` // 删除时间
- }
|