a form model

This commit is contained in:
Paul Schneider 2016-11-16 10:17:24 +01:00
commit dfa034afcf
5 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1,17 @@
using System.ComponentModel.DataAnnotations;
namespace Yavsc.Model.Forms.Validation
{
public class Method
{
[Key]
public string Name {get; set; }
/// <summary>
/// TODO localisation ...
/// </summary>
/// <returns></returns>
[Required]
public string ErrorMessage { get; set; }
}
}