[Required(ErrorMessage = "Password is required.")] [StringLength(12)] [Column(TypeName = "char")] public string Password { get; set; }