mirror of
https://github.com/CannedNet/CannedNet.git
synced 2026-10-25 23:18:54 -07:00
22 lines
490 B
C#
22 lines
490 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace CannedNet.Admin.Models;
|
|
|
|
public class AdminUser
|
|
{
|
|
[JsonPropertyName("id")]
|
|
public int Id { get; set; }
|
|
|
|
[JsonPropertyName("username")]
|
|
public string Username { get; set; } = "";
|
|
|
|
[JsonPropertyName("passwordHash")]
|
|
public string PasswordHash { get; set; } = "";
|
|
|
|
[JsonPropertyName("isOwner")]
|
|
public bool IsOwner { get; set; }
|
|
|
|
[JsonPropertyName("createdAt")]
|
|
public DateTime CreatedAt { get; set; }
|
|
}
|