2016-11-16 10:17:24 +01:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
2017-01-16 01:20:39 +01:00
|
|
|
|
namespace Yavsc.Models.Forms.Validation
|
2016-11-16 10:17:24 +01:00
|
|
|
|
{
|
|
|
|
|
|
public class Method
|
|
|
|
|
|
{
|
|
|
|
|
|
[Key]
|
|
|
|
|
|
public string Name {get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// TODO localisation ...
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
[Required]
|
|
|
|
|
|
public string ErrorMessage { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|