roadie/Roadie.Api.Library/Data/CollectionRelease.cs

19 lines
552 B
C#
Raw Normal View History

2018-11-02 21:04:49 +00:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Roadie.Library.Data
{
[Table("collectionrelease")]
2019-07-03 16:21:29 +00:00
public class CollectionRelease : EntityBase
2018-11-02 21:04:49 +00:00
{
public Collection Collection { get; set; }
2019-07-03 16:21:29 +00:00
[Column("collectionId")] [Required] public int CollectionId { get; set; }
2018-11-02 21:04:49 +00:00
2019-07-03 16:21:29 +00:00
[Column("listNumber")] public int ListNumber { get; set; }
2018-11-02 21:04:49 +00:00
public Release Release { get; set; }
2019-07-03 16:21:29 +00:00
[Column("releaseId")] [Required] public int ReleaseId { get; set; }
2018-11-02 21:04:49 +00:00
}
}