This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.

21 lines
542 B
C#

using System.ComponentModel.DataAnnotations.Schema;
namespace Oqtane.Models
{
public class User
{
public int UserId { get; set; }
public string Username { get; set; }
public string DisplayName { get; set; }
public string Roles { get; set; }
public bool IsSuperUser { get; set; }
[NotMapped]
public string Password { get; set; }
[NotMapped]
public bool IsAuthenticated { get; set; }
[NotMapped]
public bool IsPersistent { get; set; }
}
}