feat(User): Erforderliche Eigenschaften für Formular hinzugefügt
This commit is contained in:
parent
abc3bb7652
commit
446aeb00b1
@ -13,7 +13,7 @@ namespace EnvelopeGenerator.Domain.Entities
|
|||||||
[Column("GUID")]
|
[Column("GUID")]
|
||||||
[Key]
|
[Key]
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||||
public int Id { get; set; }
|
public int Id { get; set; } = 0;
|
||||||
|
|
||||||
[StringLength(50)]
|
[StringLength(50)]
|
||||||
[Column("ADDED_WHO")]
|
[Column("ADDED_WHO")]
|
||||||
@ -95,5 +95,19 @@ namespace EnvelopeGenerator.Domain.Entities
|
|||||||
[Column("DELETED_WHO")]
|
[Column("DELETED_WHO")]
|
||||||
[StringLength(50)]
|
[StringLength(50)]
|
||||||
public string DeletedWho { get; set; }
|
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user