Ignore:
Timestamp:
10/07/21 20:22:23 (3 years ago)
Author:
NikolaCenevski <cenevskinikola@…>
Branches:
master
Children:
ee0e297
Parents:
276a8b6
Message:

Moderator pagination

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/charitable/entities/ReportPost.java

    r276a8b6 r0c37625  
    22
    33import javax.persistence.*;
     4import java.time.LocalDate;
    45import java.util.ArrayList;
    56import java.util.List;
     
    3233    private List<Reason> reasons = new ArrayList<>();
    3334
     35    private int numReports = 0;
     36
    3437    public Long getId() {
    3538        return id;
     
    5558        this.reasons = reasons;
    5659    }
     60
     61    public int getNumReports() {
     62        return numReports;
     63    }
     64
     65    public void setNumReports(int numReports) {
     66        this.numReports = numReports;
     67    }
    5768}
Note: See TracChangeset for help on using the changeset viewer.