refacto(EGUser): rename FormUser
This commit is contained in:
21
EnvelopeGenerator.Domain/Entities/FormUser.cs
Normal file
21
EnvelopeGenerator.Domain/Entities/FormUser.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using DigitalData.UserManager.Domain.Entities;
|
||||
|
||||
namespace EnvelopeGenerator.Domain.Entities
|
||||
{
|
||||
[Table("TBDD_USER", Schema = "dbo")]
|
||||
public class FormUser : User
|
||||
{
|
||||
[NotMapped]
|
||||
public bool HasAccess { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public bool IsAdmin { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public bool GhostModeActive { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string FullName => $"{Prename} {Name}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user