BuildFeed/Models/ViewModel/LoginUser.cs

23 lines
522 B
C#
Raw Normal View History

2014-10-11 06:57:02 +08:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace BuildFeed.Models.ViewModel
{
public class LoginUser
{
[Required]
[DisplayName("Username")]
public string UserName { get; set; }
[Required]
[DisplayName("Password")]
public string Password { get; set; }
[DisplayName("Remember me")]
public bool RememberMe { get; set; }
}
}