This commit is contained in:
2020-06-23 18:20:51 +00:00
parent 854f1c153a
commit 12fbe66bd9
6 changed files with 20 additions and 20 deletions

View File

@@ -7,6 +7,6 @@ namespace AyaNova.Models
{
public long Id { get; set; }
public string Key { get; set; }
public Guid DbId { get; set; }
public string DbId { get; set; }
}
}

View File

@@ -11,11 +11,9 @@ namespace AyaNova.Models
{
[Required]
[Key]
public Guid Id { get; set; }
public string Id { get; set; }
public int Schema { get; set; }
//ef core requires this
public SchemaVersion() { }

View File

@@ -7,10 +7,10 @@ namespace AyaNova.Models
{
public RequestTrial()
{
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
DbId = string.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; }
public string DbId { get; set; }
[Required, EmailAddress]
public string Email { get; set; }
[Required]