Package idatt2106.group3.backend.Model
Class Report
- java.lang.Object
-
- idatt2106.group3.backend.Model.Report
-
@Entity public class Report extends java.lang.Object
Entity class for storing information about a report with reportId as primary key
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
User
getReportedUser()
long
getReportId()
User
getReportWriter()
void
setDescription(java.lang.String description)
void
setReportedUser(User reportedUser)
void
setReportId(long reportId)
void
setReportWriter(User reportWriter)
java.lang.String
toString()
-
-
-
Method Detail
-
getReportId
public long getReportId()
-
setReportId
public void setReportId(long reportId)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getReportWriter
public User getReportWriter()
-
setReportWriter
public void setReportWriter(User reportWriter)
-
getReportedUser
public User getReportedUser()
-
setReportedUser
public void setReportedUser(User reportedUser)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-