Skip to content

Instantly share code, notes, and snippets.

@morsdyce
Created November 3, 2012 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morsdyce/4006776 to your computer and use it in GitHub Desktop.
Save morsdyce/4006776 to your computer and use it in GitHub Desktop.
public class LogOnModel
{
[Required]
[DisplayName("User name")]
public string UserName { get; set; }
[Required]
[DataType(DataType.Password)]
[DisplayName("Password")]
public string Password { get; set; }
[DisplayName("Remember me?")]
public bool RememberMe { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment