Split creators out of identity
This commit is contained in:
@@ -1,22 +1,15 @@
|
||||
using Hutopy.Infrastructure.Identity.OwnedEntities;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
||||
namespace Hutopy.Infrastructure.Identity;
|
||||
|
||||
public class ApplicationUser : IdentityUser
|
||||
{
|
||||
public string? Alias { get; set; }
|
||||
public required string FirstName { get; set; }
|
||||
public required string LastName { get; set; }
|
||||
public string? CreatorAlias { get; set; }
|
||||
public string Occupation { get; set; } = string.Empty;
|
||||
public string BirthDate { get; set; } = string.Empty;
|
||||
public string Country { get; set; } = string.Empty;
|
||||
public string City { get; set; } = string.Empty;
|
||||
public string Address { get; set; } = string.Empty;
|
||||
public string About { get; set; } = string.Empty;
|
||||
public string Description { get; set; } = string.Empty;
|
||||
public SocialNetworks SocialNetworks { get; set; } = new();
|
||||
public ProfileColors ProfileColors { get; set; } = new();
|
||||
public StoredDataUrls StoredDataUrls { get; set; } = new();
|
||||
public class ApplicationUser : IdentityUser<Guid>
|
||||
{
|
||||
[MaxLength(255)] public string? Alias { get; set; }
|
||||
[MaxLength(255)] public string? FirstName { get; set; }
|
||||
[MaxLength(255)] public string? LastName { get; set; }
|
||||
[MaxLength(255)] public string? Occupation { get; set; }
|
||||
[MaxLength(255)] public string? BirthDate { get; set; }
|
||||
[MaxLength(255)] public string? Address { get; set; }
|
||||
[MaxLength(255)] public string? PortraitUrl { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user