This commit is contained in:
2018-09-04 17:00:16 +00:00
parent f1ce2baa63
commit a15e02db54
10 changed files with 70 additions and 16 deletions

View File

@@ -14,8 +14,8 @@ namespace AyaNova.Models
[Required]
public long OwnerId { get; set; }
[Required]
public string Name { get; set; }//max 35 characters ascii set
[Required, MaxLength(255)]
public string Name { get; set; }//max 255 characters ascii set
}
}