36 lines
952 B
C#
36 lines
952 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace Core.Entities.Users
|
|||
|
|
{
|
|||
|
|
public class User
|
|||
|
|
{
|
|||
|
|
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 Tenant
|
|||
|
|
{
|
|||
|
|
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 UserTenant
|
|||
|
|
{
|
|||
|
|
public int UserId { get; set; }
|
|||
|
|
public int TenantId { get; set; }
|
|||
|
|
public DateTime CreatedDate { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|