Ignore:
Timestamp:
02/10/22 13:28:00 (3 years ago)
Author:
Test <matonikolov77@…>
Branches:
main
Children:
980eeda
Parents:
6f91f99
Message:

Changed DiscussionRepository and DiscussionServiceImpl for fetching likes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/wediscussmovies/project/querymodels/DiscussionLikesQM.java

    r6f91f99 r8f1b7e9  
    11package com.wediscussmovies.project.querymodels;
    22
     3import com.wediscussmovies.project.model.Movie;
     4import com.wediscussmovies.project.model.Person;
     5import com.wediscussmovies.project.model.User;
     6import lombok.AllArgsConstructor;
    37import lombok.Data;
     8import lombok.NoArgsConstructor;
    49
     10import java.time.LocalDate;
     11import java.util.Date;
    512import java.util.Objects;
    613
    714@Data
     15@AllArgsConstructor
     16@NoArgsConstructor
    817public class DiscussionLikesQM {
     18
    919    private Integer discussionId;
    1020    private Long likes;
    11 
    12     public DiscussionLikesQM(Integer discussionId, Long likes) {
    13         this.discussionId = discussionId;
    14         this.likes = likes;
    15     }
    16 
    17     public DiscussionLikesQM() {
    18     }
    1921
    2022    @Override
Note: See TracChangeset for help on using the changeset viewer.