mirror of
https://github.com/sphildreth/roadie
synced 2024-11-22 20:23:16 +00:00
19 lines
No EOL
552 B
C#
19 lines
No EOL
552 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Roadie.Library.Data
|
|
{
|
|
[Table("collectionrelease")]
|
|
public class CollectionRelease : EntityBase
|
|
{
|
|
public Collection Collection { get; set; }
|
|
|
|
[Column("collectionId")] [Required] public int CollectionId { get; set; }
|
|
|
|
[Column("listNumber")] public int ListNumber { get; set; }
|
|
|
|
public Release Release { get; set; }
|
|
|
|
[Column("releaseId")] [Required] public int ReleaseId { get; set; }
|
|
}
|
|
} |