2018-11-02 16:04:49 -05:00
|
|
|
|
using Roadie.Library.Enums;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
|
|
|
namespace Roadie.Library.Data
|
|
|
|
|
{
|
|
|
|
|
[Table("collection")]
|
|
|
|
|
public partial class Collection : NamedEntityBase
|
|
|
|
|
{
|
|
|
|
|
[Column("collectionCount")]
|
|
|
|
|
public int CollectionCount { get; set; }
|
|
|
|
|
|
2018-11-02 16:11:11 -05:00
|
|
|
|
[Column("collectionType")]
|
|
|
|
|
public CollectionType? CollectionType { get; set; }
|
|
|
|
|
|
2018-11-02 16:04:49 -05:00
|
|
|
|
[Column("description")]
|
|
|
|
|
[MaxLength(1000)]
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("edition")]
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
public string Edition { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("listInCSV", TypeName = "text")]
|
|
|
|
|
[MaxLength(65535)]
|
|
|
|
|
public string ListInCSV { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("listInCSVFormat")]
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
public string ListInCSVFormat { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("maintainerId")]
|
|
|
|
|
public int MaintainerId { get; set; }
|
|
|
|
|
|
2018-11-02 16:11:11 -05:00
|
|
|
|
public ICollection<CollectionRelease> Releases { get; set; }
|
|
|
|
|
|
2018-11-02 16:04:49 -05:00
|
|
|
|
}
|
|
|
|
|
}
|