2011-02-11 05:21:31 +00:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using Portoa.Validation.DataAnnotations;
|
|
|
|
|
|
|
|
namespace VideoGameQuotes.Web.Models {
|
2011-03-01 00:11:17 +00:00
|
|
|
public class ContactModel : ICaptchaModel {
|
2011-02-11 05:21:31 +00:00
|
|
|
[Required]
|
|
|
|
public string Name { get; set; }
|
|
|
|
[Email]
|
|
|
|
public string Email { get; set; }
|
|
|
|
[Required]
|
|
|
|
public string Message { get; set; }
|
|
|
|
[Required]
|
|
|
|
public string CaptchaAnswer { get; set; }
|
|
|
|
[Required]
|
|
|
|
public string HashedCaptchaAnswer { get; set; }
|
|
|
|
|
|
|
|
public string UnhashedCaptchaAnswer { get; set; }
|
|
|
|
}
|
|
|
|
}
|