2026-01-09 22:14:46 +01:00
|
|
|
namespace PlanTempus.Core.Entities.Accounts
|
2025-01-21 23:26:05 +01:00
|
|
|
{
|
2026-01-09 22:14:46 +01:00
|
|
|
public class Account
|
2025-01-21 23:26:05 +01:00
|
|
|
{
|
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-14 20:14:01 +01:00
|
|
|
public class Organization
|
2025-01-21 23:26:05 +01:00
|
|
|
{
|
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-09 22:14:46 +01:00
|
|
|
public class AccountOrganization
|
2025-01-21 23:26:05 +01:00
|
|
|
{
|
2026-01-09 22:14:46 +01:00
|
|
|
public int AccountId { get; set; }
|
2025-02-14 20:14:01 +01:00
|
|
|
public int OrganizationId { get; set; }
|
2025-01-21 23:26:05 +01:00
|
|
|
public DateTime CreatedDate { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|