Source

main / Source / WebService / Web.Admin / ViewModel / UserViewModel.cs

Full commit
using System.ComponentModel.DataAnnotations;

namespace DataUp.Web.Admin.ViewModel
{
    public class UserViewModel
    {
        [Required(AllowEmptyStrings = false, ErrorMessage = "UserName is Required")]
        [DataType(DataType.Text)]
        public string UserName { get; set; }

        [Required(AllowEmptyStrings = false, ErrorMessage = "Password is Required")]
        [DataType(DataType.Text)]
        public string Password { get; set; }
    }
}