Changeset 0c37625 for src/main/java/it/finki/charitable/entities
- Timestamp:
- 10/07/21 20:22:23 (3 years ago)
- Branches:
- master
- Children:
- ee0e297
- Parents:
- 276a8b6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/charitable/entities/ReportPost.java
r276a8b6 r0c37625 2 2 3 3 import javax.persistence.*; 4 import java.time.LocalDate; 4 5 import java.util.ArrayList; 5 6 import java.util.List; … … 32 33 private List<Reason> reasons = new ArrayList<>(); 33 34 35 private int numReports = 0; 36 34 37 public Long getId() { 35 38 return id; … … 55 58 this.reasons = reasons; 56 59 } 60 61 public int getNumReports() { 62 return numReports; 63 } 64 65 public void setNumReports(int numReports) { 66 this.numReports = numReports; 67 } 57 68 }
Note:
See TracChangeset
for help on using the changeset viewer.