| 12345678910111213141516171819202122232425262728293031323334353637 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. Fill this file as you wish.
- // ==========================================================================
- package model
- import (
- "lims_adapter/model"
- "lims_adapter/model/access/internal"
- )
- // DeviceLockRelate is the golang structure for table device_lock_relate.
- type DeviceLockRelate internal.DeviceLockRelate
- // Fill with you ideas below.
- type DeviceLockRelateListReq struct {
- Page *model.Page `json:"page"`
- OrderBy *model.OrderBy `json:"orderBy"`
- DeviceId string `json:"deviceId"` // 锁设备ID(原始MacID)
- LockId string `json:"lockId"` // 门禁ID
- LockName string `json:"lockName"` // 门禁名称
- PlatformType *int `json:"platformType"` // 设备平台类型 0 大数华创 1 海康威视
- PlatformConfigId string `json:"platformConfigId"` // 设备平台配置Id
- }
- type DeviceLockRelateAddReq struct {
- DeviceId string `json:"deviceId" v:"required#请输入锁设备ID"` // 锁设备ID(原始MacID)
- LockId string `json:"lockId" v:"required#请输入门禁ID"` // 门禁ID
- LockName string `json:"lockName" v:"required#请输入门禁名称"` // 门禁名称
- PlatformType int `json:"platformType" v:"required#请输入设备平台类型"` // 设备平台类型 0 大数华创 1 海康威视
- PlatformConfigId string `json:"platformConfigId"` // 设备平台配置Id
- }
- type DeviceLockRelateUpdateReq struct {
- Id int `json:"id" v:"required#请输入Id"`
- LockName string `json:"lockName"` // 门禁名称
- }
|