mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
ce013eae49
+ InvitesRepository + AdminsRepository + rework jwt
16 lines
455 B
C#
16 lines
455 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Govor.Core.Models;
|
|
|
|
public class User
|
|
{
|
|
public Guid Id {get; set;}
|
|
public string Username {get; set;}
|
|
public string Description {get; set;}
|
|
public string PasswordHash {get; set;}
|
|
public Guid IconId {get; set;}
|
|
public DateOnly CreatedOn {get; set;}
|
|
public DateTime WasOnline {get; set;}
|
|
public Guid InviteId {get; set;}
|
|
public Invitation? Invite { get; set; }
|
|
} |