Open Mert18 opened 1 year ago
Accounts should be able to report someone for inappropriate behaviors & actions.
"report" instance may have fields such as "id", "reason", "description", "reporterId", "reporteeId".
"Reason" class may be an enum by its own, including instances of: ABUSE, FAKE, ... and OTHER.
Task includes writing model, repository, service and controller layers. "USER" and "ADMIN" roles should be able to create reports.
Accounts should be able to report someone for inappropriate behaviors & actions.
"report" instance may have fields such as "id", "reason", "description", "reporterId", "reporteeId".
"Reason" class may be an enum by its own, including instances of: ABUSE, FAKE, ... and OTHER.
Task includes writing model, repository, service and controller layers. "USER" and "ADMIN" roles should be able to create reports.