mirror of
https://github.com/sphildreth/roadie
synced 2024-11-10 06:44:12 +00:00
25 lines
No EOL
672 B
C#
25 lines
No EOL
672 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Roadie.Library.Data
|
|
{
|
|
[Table("releaselabel")]
|
|
public class ReleaseLabel : BeginAndEndEntityBase
|
|
{
|
|
[Column("catalogNumber")]
|
|
public string CatalogNumber { get; set; }
|
|
|
|
[ForeignKey(nameof(LabelId))]
|
|
[InverseProperty("ReleaseLabels")]
|
|
public virtual Label Label { get; set; }
|
|
|
|
[Column("labelId")]
|
|
public int LabelId { get; set; }
|
|
|
|
[ForeignKey(nameof(ReleaseId))]
|
|
[InverseProperty("Labels")]
|
|
public virtual Release Release { get; set; }
|
|
|
|
[Column("releaseId")]
|
|
public int ReleaseId { get; set; }
|
|
}
|
|
} |