Migrate from User to Account domain concept
Renames core domain entities and services from "User" to "Account" Refactors project-wide namespaces, classes, and database tables to use "Account" terminology Updates related components, services, and database schema to reflect new domain naming Standardizes naming conventions across authentication and organization setup features
This commit is contained in:
parent
e5e7c1c19f
commit
88812177a9
29 changed files with 288 additions and 298 deletions
29
Core/Entities/Accounts/Account.cs
Normal file
29
Core/Entities/Accounts/Account.cs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
namespace PlanTempus.Core.Entities.Accounts
|
||||
{
|
||||
public class Account
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string PasswordHash { get; set; }
|
||||
public string SecurityStamp { get; set; }
|
||||
public bool EmailConfirmed { get; set; }
|
||||
public DateTime CreatedDate { get; set; }
|
||||
public DateTime? LastLoginDate { get; set; }
|
||||
}
|
||||
|
||||
public class Organization
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string ConnectionString { get; set; }
|
||||
public DateTime CreatedDate { get; set; }
|
||||
public int CreatedBy { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
}
|
||||
|
||||
public class AccountOrganization
|
||||
{
|
||||
public int AccountId { get; set; }
|
||||
public int OrganizationId { get; set; }
|
||||
public DateTime CreatedDate { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue