commit version
This commit is contained in:
parent
cdb9a26d2c
commit
55e407d951
15 changed files with 614 additions and 41 deletions
|
|
@ -22,10 +22,10 @@ namespace isnd.Data.Catalog
|
|||
public PackageAction Action { get; set; }
|
||||
|
||||
[Required]
|
||||
public string PackageId { get; set; }
|
||||
[ForeignKey("PackageId")]
|
||||
public string PackageVersionId { get; set; }
|
||||
[ForeignKey("PackageVersionId")]
|
||||
|
||||
public virtual Package Package{ get; set; }
|
||||
public virtual PackageVersion PackageVersion{ get; set; }
|
||||
public string CommitId { get => Id.ToString(); }
|
||||
public DateTime CommitTimeStamp { get => TimeStamp; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,8 +23,17 @@ namespace isnd.Data.Catalog
|
|||
[JsonProperty("@type")]
|
||||
public string RefType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The NuGet Id
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
[JsonProperty("nuget:id")]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The NuGet version
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
|
||||
[JsonProperty("nuget:version")]
|
||||
public string Version { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue