mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 15:37:23 +01:00
* 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>
22 lines
744 B
C#
22 lines
744 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace MareSynchronosShared.Models;
|
|
|
|
public class UserDefaultPreferredPermission
|
|
{
|
|
[Key]
|
|
[MaxLength(10)]
|
|
[ForeignKey("User")]
|
|
public string UserUID { get; set; }
|
|
public User User { get; set; }
|
|
|
|
public bool DisableIndividualAnimations { get; set; } = false;
|
|
public bool DisableIndividualSounds { get; set; } = false;
|
|
public bool DisableIndividualVFX { get; set; } = false;
|
|
public bool DisableGroupAnimations { get; set; } = false;
|
|
public bool DisableGroupSounds { get; set; } = false;
|
|
public bool DisableGroupVFX { get; set; } = false;
|
|
public bool IndividualIsSticky { get; set; } = false;
|
|
}
|
|
|