Changeset 6f91f99 in Git for src/main/java/com/wediscussmovies/project/querymodels/DiscussionLikesQM.java
- Timestamp:
- 02/09/22 15:46:58 (3 years ago)
- Branches:
- main
- Children:
- 8f1b7e9
- Parents:
- 967b414
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/querymodels/DiscussionLikesQM.java
r967b414 r6f91f99 6 6 7 7 @Data 8 public class DiscussionLikes {8 public class DiscussionLikesQM { 9 9 private Integer discussionId; 10 10 private Long likes; 11 11 12 public DiscussionLikes (Integer discussionId, Long likes) {12 public DiscussionLikesQM(Integer discussionId, Long likes) { 13 13 this.discussionId = discussionId; 14 14 this.likes = likes; 15 15 } 16 16 17 public DiscussionLikes () {17 public DiscussionLikesQM() { 18 18 } 19 19 … … 22 22 if (this == o) return true; 23 23 if (o == null || getClass() != o.getClass()) return false; 24 DiscussionLikes that = (DiscussionLikes) o;24 DiscussionLikesQM that = (DiscussionLikesQM) o; 25 25 return Objects.equals(discussionId, that.discussionId) && Objects.equals(likes, that.likes); 26 26 }
Note:
See TracChangeset
for help on using the changeset viewer.