hire-a-senior / backend

0 stars 2 forks source link

"reports" table #140

Open Mert18 opened 1 year ago

Mert18 commented 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.