mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 17:07:22 +01:00
server ban update, remove reporting
This commit is contained in:
parent
c1f28cadd5
commit
713d054ccb
28 changed files with 2130 additions and 272 deletions
|
|
@ -10,6 +10,7 @@ public class Auth
|
|||
|
||||
public string UserUID { get; set; }
|
||||
public User User { get; set; }
|
||||
public bool MarkForBan { get; set; }
|
||||
public bool IsBanned { get; set; }
|
||||
public string? PrimaryUserUID { get; set; }
|
||||
public User? PrimaryUser { get; set; }
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace MareSynchronosShared.Models;
|
||||
|
||||
public class UserProfileDataReport
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public int Id { get; set; }
|
||||
|
||||
public DateTime ReportDate { get; set; }
|
||||
public User ReportedUser { get; set; }
|
||||
|
||||
[ForeignKey(nameof(ReportedUser))]
|
||||
public string ReportedUserUID { get; set; }
|
||||
|
||||
public User ReportingUser { get; set; }
|
||||
|
||||
[ForeignKey(nameof(ReportingUser))]
|
||||
public string ReportingUserUID { get; set; }
|
||||
|
||||
public string ReportReason { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue