SceneTrendVo.java 512 B

1234567891011121314151617181920
  1. package com.fdkankan.manage.vo.response;
  2. import lombok.AllArgsConstructor;
  3. import lombok.Data;
  4. import lombok.NoArgsConstructor;
  5. @Data
  6. @NoArgsConstructor
  7. public class SceneTrendVo {
  8. private String groupKey;
  9. private Long userCount;
  10. private Long sceneCount;
  11. public SceneTrendVo(String groupKey, Long userCount, Long sceneCount) {
  12. this.groupKey = groupKey;
  13. this.userCount = userCount == null ? 0L :userCount;
  14. this.sceneCount = sceneCount == null ? 0L :sceneCount;
  15. }
  16. }