Files
raven/server/AyaNova/models/dto/RequestTrial.cs

24 lines
667 B
C#

using System;
using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models
{
public class RequestTrial
{
public RequestTrial()
{
DbId = "-";//default this because it's coming from the client without a dbid as the server will set it before forwarding it on
}
[Required]
public string DbId { get; set; }
[Required]
public bool Perpetual { get; set; }
[Required, EmailAddress]
public string Email { get; set; }
[Required]
public string Company { get; set; }
[Required]
public string Contact { get; set; }
}
}