mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 22:17:22 +01:00
add mare profiles
This commit is contained in:
parent
2cfd005fed
commit
7b0ac34623
24 changed files with 2313 additions and 379 deletions
|
|
@ -0,0 +1,20 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace MareSynchronosShared.Models;
|
||||
|
||||
public class UserProfileData
|
||||
{
|
||||
public string Base64ProfileImage { get; set; }
|
||||
public bool FlaggedForReport { get; set; }
|
||||
public bool IsNSFW { get; set; }
|
||||
public bool ProfileDisabled { get; set; }
|
||||
public User User { get; set; }
|
||||
|
||||
public string UserDescription { get; set; }
|
||||
|
||||
[Required]
|
||||
[Key]
|
||||
[ForeignKey(nameof(User))]
|
||||
public string UserUID { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue