using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace MileageTraker.Web.ViewModels.User { public class UserDetailsViewModel { public string Username { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string[] Roles { get; set; } [DisplayFormat(DataFormatString = @"{0:MM/dd/yyyy}")] public DateTime LastActivityDate { get; set; } [DisplayFormat(DataFormatString = @"{0:MM/dd/yyyy}")] public DateTime CreateDate { get; set; } public bool IsLockedOut { get; set; } [DisplayFormat(DataFormatString = @"{0:MM/dd/yyyy}")] public DateTime LastLockoutDate { get; set; } } }