32 lines
727 B
C#
32 lines
727 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using zero.Core.Entities;
|
|
|
|
namespace zero.Web.Models
|
|
{
|
|
public class UserEditModel : EditModel
|
|
{
|
|
public string Name { get; set; }
|
|
|
|
public bool IsSuper { get; set; }
|
|
|
|
public string Email { get; set; }
|
|
|
|
public bool IsEmailConfirmed { get; set; }
|
|
|
|
public string AvatarId { get; set; }
|
|
|
|
public string LanguageId { get; set; }
|
|
|
|
public List<string> Roles { get; set; } = new List<string>();
|
|
|
|
public List<IUserClaim> Claims { get; set; } = new List<IUserClaim>();
|
|
|
|
public DateTimeOffset? LockoutEnd { get; set; }
|
|
|
|
public bool IsLockedOut { get; set; }
|
|
|
|
public IList<Culture> SupportedCultures { get; set; } = new List<Culture>();
|
|
}
|
|
}
|