This commit is contained in:
2023-01-09 02:03:14 +00:00
parent 146d17a865
commit 37b0cfa54d
6 changed files with 43 additions and 33 deletions

View File

@@ -17,6 +17,7 @@ namespace Sockeye.Models
public DateTime Created { get; set; }
public bool Active { get; set; }//active licenses can be fetched by customer, inactive means still putting together or it's been kiboshed
public bool NotificationSent { get; set; }
public long? CustomerId { get; set; }
[NotMapped]
public string CustomerViz { get; set; }
@@ -32,13 +33,15 @@ namespace Sockeye.Models
public DateTime? LicenseExpire { get; set; }
public DateTime MaintenanceExpire { get; set; }
public bool TrialMode { get; set; } = false;//v8 indicates it was requested by user as trial request or manually created as a trial request in UI
//v8 dto props
[NotMapped]
public int? CustomerUsers { get; set; }//v8 - subscription only
[NotMapped]
public int? MaxDataGB { get; set; }//v8 - subscription only
[NotMapped]
public bool TrialMode { get; set; } = false;//v8 indicates it was requested by user as trial request or manually created as a trial request in UI
//shared dto props
[NotMapped]
public int Users { get; set; }//v7 scheduled users, v8 internal users

View File

@@ -29,9 +29,9 @@ namespace Sockeye.Models
public DateTime? Processed { get; set; }
public TrialRequestStatus Status { get; set; } = TrialRequestStatus.New;
public string RejectReason { get; set; }
public string Key { get; set; }
public DateTime? FetchedOn { get; set; }
public bool Perpetual { get; set; } = false;
public long? KeyId { get; set; }
[Required]
public ProductGroup PGroup { get; set; }
public List<string> Tags { get; set; }
//workaround for notification