Add project files.

This commit is contained in:
2023-04-29 09:17:17 +03:00
commit 62178f1f32
493 changed files with 45863 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
namespace MyOffice.Data.Models.Users;
using Account;
public class User
{
public Guid Id { get; set; }
public string UserName { get; set; } = null!;
public string Email { get; set; } = null!;
public string PasswordHash { get; set; } = null!;
public string? FirstName { get; set; }
public string? LastName { get; set; }
public string? FullName { get; set; }
public string? Phone { get; set; }
public bool IsEmailConfirmed { get; set; }
public IEnumerable<UserExternal>? UserClaims { get; set; }
public IEnumerable<Currency>? Currencies { get; set; }
}
@@ -0,0 +1,12 @@
namespace MyOffice.Data.Models.Users;
public class UserExternal
{
public int Id { get; set; }
public DateTime CreatedOn { get; set; }
public Guid UserId { get; set; }
public User User { get; set; } = null!;
public string ExternalId { get; set; } = null!;
public string Email { get; set; } = null!;
public string Provider { get; set; } = null!;
}