roadie/RoadieLibrary/Data/ArtistGenre.cs
Steven Hildreth 341267cacc WIP
2018-11-03 16:21:36 -05:00

25 lines
No EOL
555 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Roadie.Library.Data
{
[Table("artistGenreTable")]
public partial class ArtistGenre
{
public Artist Artist { get; set; }
[Column("artistId")]
[Required]
public int ArtistId { get; set; }
public Genre Genre { get; set; }
[Column("genreId")]
[Required]
public int? GenreId { get; set; }
[Column("id")]
[Key]
public int Id { get; set; }
}
}