diff --git a/server/models/License.cs b/server/models/License.cs index 8d34ebd..de1f85d 100644 --- a/server/models/License.cs +++ b/server/models/License.cs @@ -15,7 +15,7 @@ namespace Sockeye.Models public long Id { get; set; } public uint Concurrency { get; set; } - public DateTime Created { get; set; } + public DateTime Created { get; set; } = DateTime.UtcNow; public bool Active { get; set; }//active licenses will be notified immediately on save and 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; } @@ -42,8 +42,8 @@ namespace Sockeye.Models public int? CustomerUsers { get; set; }//v8 - subscription only [NotMapped] public int? MaxDataGB { get; set; }//v8 - subscription only - - + + //shared dto props [NotMapped] public int Users { get; set; }//v7 scheduled users, v8 internal users