This commit is contained in:
@@ -3,15 +3,19 @@ using System.ComponentModel.DataAnnotations;
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public class RequestTrial
|
||||
public class RequestTrial
|
||||
{
|
||||
public RequestTrial()
|
||||
{
|
||||
[Required]
|
||||
public Guid DbId { get; set; }
|
||||
[Required, EmailAddress]
|
||||
public string Email { get; set; }
|
||||
[Required]
|
||||
public string Company { get; set; }
|
||||
[Required]
|
||||
public string Contact { get; set; }
|
||||
DbId = Guid.Empty;//default this because it's coming from the client without a dbid as the server will set it before forwarding it on
|
||||
}
|
||||
[Required]
|
||||
public Guid DbId { get; set; }
|
||||
[Required, EmailAddress]
|
||||
public string Email { get; set; }
|
||||
[Required]
|
||||
public string Company { get; set; }
|
||||
[Required]
|
||||
public string Contact { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user