roadie/Roadie.Api.Library/Data/ReleaseGenre.cs
2018-12-26 13:39:13 -06:00

26 lines
No EOL
623 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Roadie.Library.Data
{
[Table("releaseGenreTable")]
public partial class ReleaseGenre
{
public Genre Genre { get; set; }
[Column("genreId")]
[Required]
public int? GenreId { get; set; }
[Column("id")]
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public Release Release { get; set; }
[Column("releaseId")]
[Required]
public int ReleaseId { get; set; }
}
}