This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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() { }
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user