yavsc/Yavsc.Server/Models/Forms/Validation/Method.cs

17 lines
368 B
C#
Raw Normal View History

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; }
}
}