diff --git a/TIAM.Entities/Users/IUser.cs b/TIAM.Entities/Users/IUser.cs index be979b7a..18a204f9 100644 --- a/TIAM.Entities/Users/IUser.cs +++ b/TIAM.Entities/Users/IUser.cs @@ -8,6 +8,7 @@ namespace TIAM.Entities.Users; public interface IUser : IAcUser, IUserDto, IUserBase { + public string? ConfirmToken { get; set; } public List Products { get; } //public ServiceProvider ServiceProvider { get; set; } diff --git a/TIAM.Entities/Users/User.cs b/TIAM.Entities/Users/User.cs index e87f542a..3249bf1d 100644 --- a/TIAM.Entities/Users/User.cs +++ b/TIAM.Entities/Users/User.cs @@ -10,10 +10,12 @@ namespace TIAM.Entities.Users [Table("Users")] public class User : AcUser, IUser, IUserDtoDetail { - public virtual List Products { get; set; } = new(); + public string? ConfirmToken { get; set; } + + public virtual List Products { get; set; } = []; //public virtual ServiceProvider ServiceProvider { get; set; } = new(); - public virtual List UserProductMappings { get; set; } = new(); + public virtual List UserProductMappings { get; set; } = []; public User() { } public User(string email, string password) : this(Guid.NewGuid(), email, password) { }