6
0

device_lock_relate.go 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package model
  5. import (
  6. "lims_adapter/model"
  7. "lims_adapter/model/access/internal"
  8. )
  9. // DeviceLockRelate is the golang structure for table device_lock_relate.
  10. type DeviceLockRelate internal.DeviceLockRelate
  11. // Fill with you ideas below.
  12. type DeviceLockRelateListReq struct {
  13. Page *model.Page `json:"page"`
  14. OrderBy *model.OrderBy `json:"orderBy"`
  15. DeviceId string `json:"deviceId"` // 锁设备ID(原始MacID)
  16. LockId string `json:"lockId"` // 门禁ID
  17. LockName string `json:"lockName"` // 门禁名称
  18. PlatformType *int `json:"platformType"` // 设备平台类型 0 大数华创 1 海康威视
  19. PlatformConfigId string `json:"platformConfigId"` // 设备平台配置Id
  20. }
  21. type DeviceLockRelateAddReq struct {
  22. DeviceId string `json:"deviceId" v:"required#请输入锁设备ID"` // 锁设备ID(原始MacID)
  23. LockId string `json:"lockId" v:"required#请输入门禁ID"` // 门禁ID
  24. LockName string `json:"lockName" v:"required#请输入门禁名称"` // 门禁名称
  25. PlatformType int `json:"platformType" v:"required#请输入设备平台类型"` // 设备平台类型 0 大数华创 1 海康威视
  26. PlatformConfigId string `json:"platformConfigId"` // 设备平台配置Id
  27. }
  28. type DeviceLockRelateUpdateReq struct {
  29. Id int `json:"id" v:"required#请输入Id"`
  30. LockName string `json:"lockName"` // 门禁名称
  31. }