fix
This commit is contained in:
parent
24ae96df0c
commit
d7c33c451b
|
|
@ -8,6 +8,7 @@ namespace TIAM.Entities.Users;
|
|||
|
||||
public interface IUser : IAcUser<Profile, Company, UserToCompany, Address>, IUserDto<Profile, Company, UserToCompany>, IUserBase
|
||||
{
|
||||
public string? ConfirmToken { get; set; }
|
||||
public List<Product> Products { get; }
|
||||
|
||||
//public ServiceProvider ServiceProvider { get; set; }
|
||||
|
|
|
|||
|
|
@ -10,10 +10,12 @@ namespace TIAM.Entities.Users
|
|||
[Table("Users")]
|
||||
public class User : AcUser<Profile, Company, UserToCompany, Address>, IUser, IUserDtoDetail
|
||||
{
|
||||
public virtual List<Product> Products { get; set; } = new();
|
||||
public string? ConfirmToken { get; set; }
|
||||
|
||||
public virtual List<Product> Products { get; set; } = [];
|
||||
|
||||
//public virtual ServiceProvider ServiceProvider { get; set; } = new();
|
||||
public virtual List<UserProductMapping> UserProductMappings { get; set; } = new();
|
||||
public virtual List<UserProductMapping> UserProductMappings { get; set; } = [];
|
||||
|
||||
public User() { }
|
||||
public User(string email, string password) : this(Guid.NewGuid(), email, password) { }
|
||||
|
|
|
|||
Loading…
Reference in New Issue