Removed constructors from EGUser class and introduced a new static class EGUserExtensions with a ToEGUser extension method to facilitate the conversion from User to EGUser. Updated namespace imports to include DigitalData.UserManager.Domain.Entities.
23 lines
552 B
C#
23 lines
552 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using DigitalData.UserManager.Domain.Entities;
|
|
|
|
namespace EnvelopeGenerator.Domain.Entities
|
|
{
|
|
[Table("TBDD_USER", Schema = "dbo")]
|
|
public class EGUser : User
|
|
{
|
|
#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
|
|
}
|
|
} |