Products fix

This commit is contained in:
Loretta 2024-07-03 14:58:48 +02:00
parent 8614b4f753
commit e887c8a8ff
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ namespace TIAM.Models.Dtos.Users
{
public class UserModelDtoDetail : AcUserModelDtoDetailBase<UserDtoDetail, Profile, Company, UserToCompany, Address>, IProductsRelation, IUserModelDtoMinBase, IProfileForeignKey
{
public List<UserProductMapping> UserProductMappings { get; set; }
public List<Product> Products { get; set; }
public List<UserProductMapping> UserProductMappings { get; set; } = [];
public List<Product> Products { get; set; } = [];
[NotMapped]
[JsonIgnore]