mirror of
https://github.com/sphildreth/roadie
synced 2024-11-26 14:10:21 +00:00
40 lines
No EOL
1.1 KiB
C#
40 lines
No EOL
1.1 KiB
C#
using Roadie.Library.Enums;
|
|
using System;
|
|
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; }
|
|
|
|
[Column("collectionType")]
|
|
public CollectionType? CollectionType { get; set; }
|
|
|
|
[Column("description")]
|
|
[MaxLength(4000)]
|
|
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; }
|
|
|
|
public ICollection<CollectionRelease> Releases { get; set; }
|
|
|
|
}
|
|
} |