Dockerized again...

This commit is contained in:
lumijiez
2025-06-03 20:49:39 +03:00
parent 6a675ac111
commit 735f419cd7
22 changed files with 690 additions and 5770 deletions

View File

@@ -1,16 +0,0 @@
using Microsoft.AspNetCore.Identity;
namespace Imprink.Domain.Entities.Users;
public class ApplicationRole : IdentityRole
{
public string Description { get; set; } = null!;
public DateTime CreatedAt { get; set; }
public bool IsActive { get; set; }
public ApplicationRole()
{}
public ApplicationRole(string roleName) : base(roleName)
{}
}

View File

@@ -1,18 +0,0 @@
using Imprink.Domain.Entities.Orders;
using Microsoft.AspNetCore.Identity;
namespace Imprink.Domain.Entities.Users;
public sealed class ApplicationUser : IdentityUser
{
public required string FirstName { get; set; }
public required string LastName { get; set; }
public DateTime? DateOfBirth { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime LastLoginAt { get; set; }
public bool IsActive { get; set; }
public string? ProfileImageUrl { get; set; }
public ICollection<Address> Addresses { get; set; } = new List<Address>();
public ICollection<Order> Orders { get; set; } = new List<Order>();
}