This commit is contained in:
Paul Schneider 2021-08-23 03:21:08 +01:00
commit cdb9a26d2c
16 changed files with 301 additions and 59 deletions

View file

@ -1,11 +1,13 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using isnd.Data.Catalog;
using Newtonsoft.Json;
namespace isnd.Data
{
public class Package
public class Package : IObject
{
[Key][Required]
public string Id { get; set; }
@ -17,11 +19,15 @@ namespace isnd.Data
[StringLength(1024)]
public string Description { get; set; }
public bool Public { get ; set;}
[JsonIgnore]
virtual public ApplicationUser Owner { get; set; }
[JsonIgnore]
public virtual List<PackageVersion> Versions { get; set; }
public string CommitId { get; set; }
public DateTime CommitTimeStamp { get; set; }
}
}