notice_set_model.go 1.2 KB

123456789101112131415161718192021222324252627
  1. package model
  2. type RequestListFilter struct {
  3. SearchValue string
  4. }
  5. type ResposeNoticeSetRecords struct {
  6. Records []NoticeSetRecords `json:"records"` //记录列表
  7. Current int `json:"current"` //当前分页
  8. Size int `json:"size"` //每页数量
  9. Total int `json:"total"` //总数
  10. Pages int `json:"pages"` //总页数
  11. }
  12. //返回结果
  13. type NoticeSetRecords struct {
  14. ID string `json:"id"`
  15. Rtype int `json:"rtype,omitempty"`
  16. DeviceId int `json:"deviceId,omitempty"`
  17. DeviceType int `json:"deviceType,omitempty"`
  18. RtypeName string `json:"showName,omitempty"`
  19. DevUserNoticeModesName string `json:"devUserNoticeModesName,omitempty"`
  20. BusinessNoticeModesName string `json:"businessNoticeModesName,omitempty"`
  21. DevUserIdsName string `json:"devUserIdsName,omitempty"`
  22. BusinessUserIdsName string `json:"businessUserIdsName,omitempty"`
  23. Children []NoticeSetRecords `json:"children,omitempty"`
  24. }