This commit is contained in:
2023-04-21 19:34:11 +00:00
parent a296bc9b4f
commit 8f2ab38ba2
3 changed files with 24 additions and 4 deletions

View File

@@ -15,8 +15,13 @@ namespace Sockeye.Models
[Required]
public string Name { get; set; }
public bool Active { get; set; }
public decimal InitialPrice { get; set; } = 0;
public decimal RenewPrice { get; set; } = 0;
[Required]
public ProductGroup PGroup {get;set;}
public ProductGroup PGroup { get; set; }
public long VendorId { get; set; }
public TimeSpan LicenseInterval { get; set; }
public TimeSpan MaintInterval { get; set; }

View File

@@ -19,8 +19,7 @@ namespace Sockeye.Models
public bool Active { get; set; }
[Required]
public long ProductId { get; set; }
[NotMapped]
public string ProductViz { get; set; }
[Required]
public DateTime ExpireDate { get; set; }
[Required]
@@ -30,6 +29,16 @@ namespace Sockeye.Models
[Required]
public DateTime OriginalOrderDate { get; set; }
public bool Renewal { get; set; }
[NotMapped]
public decimal RenewPriceViz { get; set; } = 0;
[NotMapped]
public decimal InitialPriceViz { get; set; } = 0;
[NotMapped]
public string ProductViz { get; set; }
public List<string> Tags { get; set; } = new List<string>();