* add jwt expiry * update api * merge * start rework permissions * ok so in theory this compiles * make it work I guess * reuse some permissions * fix intermediate connectivity issues * fixes * whatever * some fixes I guess * fix some stuff * idk some random fixes I guess * change some defaults * update nuget * adjust order of operations * adjust deletion of account * remove todo --------- Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
20 lines
556 B
C#
20 lines
556 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace MareSynchronosShared.Models;
|
|
|
|
public class Group
|
|
{
|
|
[Key]
|
|
[MaxLength(20)]
|
|
public string GID { get; set; }
|
|
public string OwnerUID { get; set; }
|
|
public User Owner { get; set; }
|
|
[MaxLength(50)]
|
|
public string Alias { get; set; }
|
|
public bool InvitesEnabled { get; set; }
|
|
public string HashedPassword { get; set; }
|
|
public bool PreferDisableSounds { get; set; }
|
|
public bool PreferDisableAnimations { get; set; }
|
|
public bool PreferDisableVFX { get; set; }
|
|
}
|