This commit is contained in:
Paul Schneider 2021-06-21 23:38:05 +01:00
commit b8809deaa1
12 changed files with 625 additions and 182 deletions

View file

@ -1,5 +1,6 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace nuget_host.Data
{
@ -23,8 +24,11 @@ namespace nuget_host.Data
public string FullString { get; set; }
public bool IsPrerelease { get; set; }
public virtual Package Package { get; set; }
[StringLength(256)]
public string Type { get; set; }
[JsonIgnore]
public virtual Package Package { get; set; }
}
}