Catalog packages
This commit is contained in:
parent
d8bfdc293d
commit
b7dae240cd
10 changed files with 413 additions and 41 deletions
|
|
@ -26,7 +26,7 @@ namespace isnd.Data.Catalog
|
|||
public PackageAction Action { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string CommitId { get => Id.ToString(); }
|
||||
public string CommitId { get => Id.ToString(); }
|
||||
|
||||
[NotMapped]
|
||||
public DateTime CommitTimeStamp { get => TimeStamp; }
|
||||
|
|
|
|||
|
|
@ -38,10 +38,14 @@ namespace isnd.Data.Catalog
|
|||
|
||||
[JsonProperty("nuget:version")]
|
||||
public string Version { get; set; }
|
||||
|
||||
[JsonProperty("commitId")]
|
||||
public string CommitId { get; set; }
|
||||
|
||||
[ForeignKey("CommitId")]
|
||||
[ForeignKey("CommitId"), JsonIgnore]
|
||||
public virtual Commit LastCommit { get; set; }
|
||||
|
||||
[JsonProperty("commitTimeStamp")]
|
||||
public DateTime CommitTimeStamp { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue