feat(User): Erforderliche Eigenschaften für Formular hinzugefügt

This commit is contained in:
Developer 02 2025-05-21 11:50:58 +02:00
parent abc3bb7652
commit 446aeb00b1

View File

@ -13,7 +13,7 @@ namespace EnvelopeGenerator.Domain.Entities
[Column("GUID")]
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public int Id { get; set; } = 0;
[StringLength(50)]
[Column("ADDED_WHO")]
@ -95,5 +95,19 @@ namespace EnvelopeGenerator.Domain.Entities
[Column("DELETED_WHO")]
[StringLength(50)]
public string DeletedWho { get; set; }
#region FORM_APP
[NotMapped]
public bool HasAccess { get; set; }
[NotMapped]
public bool IsAdmin { get; set; }
[NotMapped]
public bool GhostModeActive { get; set; }
[NotMapped]
public string FullName => $"{Prename} {Name}";
#endregion
}
}