using System; using System.ComponentModel.DataAnnotations; using MySql.Data.MySqlClient; using Newtonsoft.Json; namespace SteelcaseESM.Models { /*Class that models the necessary information needed to allow for a user to login, as well as where to send the user afterwards */ public class LoginViewModel { public int Id { get; set; } public string Username { get; set; } [DataType(DataType.Password)] public string Password { get; set; } public string ReturnUrl { get; set; } = "/"; } }