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
29 lines
873 B
C#
29 lines
873 B
C#
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; }
|
|
}
|
|
}
|