Retail_manager/RMWPFInterfaceLibrary/Models/LoggedInUserModel.cs

29 lines
732 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RMWPFInterfaceLibrary.Models
{
public class LoggedInUserModel : ILoggedInUserModel
{
public string Token { get; set; }
public string Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string EmailAddress { get; set; }
public DateTime CreatedDate { get; set; }
2022-07-27 16:41:36 +02:00
public void LogOffUser()
{
Token = "";
Id = "";
FirstName = "";
LastName = "";
EmailAddress = "";
CreatedDate = DateTime.MinValue;
}
}
}