28 lines
655 B
C#
28 lines
655 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Tesses.CMS
|
|
{
|
|
public class LoggedInUserAccount
|
|
{
|
|
[JsonProperty("logged_in")]
|
|
public bool LoggedIn {get;set;}=false;
|
|
|
|
[JsonProperty("username")]
|
|
public string UserName {get;set;}="";
|
|
|
|
[JsonProperty("proper_name")]
|
|
public string ProperName {get;set;}="";
|
|
|
|
[JsonProperty("is_admin")]
|
|
public bool IsAdmin {get;set;}=false;
|
|
|
|
[JsonProperty("is_invited")]
|
|
public bool IsInvited {get;set;}=false;
|
|
|
|
[JsonProperty("is_verified")]
|
|
public bool IsVerified {get;set;}=false;
|
|
}
|
|
|
|
} |