group correctly and cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace Printbase.Domain.Entities;
|
||||
namespace Printbase.Domain.Entities.Users;
|
||||
|
||||
public class Address : EntityBase
|
||||
{
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
||||
namespace Printbase.Domain.Entities.Users;
|
||||
|
||||
public class ApplicationRole : IdentityRole
|
||||
{
|
||||
public string Description { get; set; }
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Printbase.Domain.Entities.Orders;
|
||||
|
||||
namespace Printbase.Domain.Entities.Users;
|
||||
|
||||
public class ApplicationUser : IdentityUser
|
||||
public sealed class ApplicationUser : IdentityUser
|
||||
{
|
||||
public string FirstName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
@@ -12,6 +13,6 @@ public class ApplicationUser : IdentityUser
|
||||
public bool IsActive { get; set; }
|
||||
public string ProfileImageUrl { get; set; }
|
||||
|
||||
public virtual ICollection<Address> Addresses { get; set; } = new List<Address>();
|
||||
public virtual ICollection<Order> Orders { get; set; } = new List<Order>();
|
||||
public ICollection<Address> Addresses { get; set; } = new List<Address>();
|
||||
public ICollection<Order> Orders { get; set; } = new List<Order>();
|
||||
}
|
||||
Reference in New Issue
Block a user