This commit is contained in:
2020-06-12 19:45:53 +00:00
parent f66096e875
commit 490423a708
2 changed files with 17 additions and 12 deletions

View File

@@ -16,16 +16,18 @@ namespace rockfishCore.Models
public partial class TrialRequest
{
public enum TrialRequestStatus{
NotSet=0,
Approved=1,
Rejected=2
public enum TrialRequestStatus
{
NotSet = 0,
Approved = 1,
Rejected = 2
}
public TrialRequest()
{
DtRequested=DateUtil.NowAsEpoch();
EmailValidated=false;
Status=TrialRequestStatus.NotSet;
DtRequested = DateUtil.NowAsEpoch();
EmailValidated = false;
Status = TrialRequestStatus.NotSet;
EmailConfirmCode = "?";
}
public long Id { get; set; }
public Guid DbId { get; set; }
@@ -33,7 +35,7 @@ namespace rockfishCore.Models
public string ContactName { get; set; }
public string Notes { get; set; }
public string Email { get; set; }
public string EmailConfirmCode {get;set;}
public string EmailConfirmCode { get; set; }
public bool EmailValidated { get; set; }
public long? DtRequested { get; set; }
public long? DtProcessed { get; set; }