2018-11-02 21:04:49 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
|
namespace Roadie.Library.Data
|
|
|
|
{
|
|
|
|
[Table("label")]
|
|
|
|
public partial class Label : BeginAndEndNamedEntityBase
|
|
|
|
{
|
|
|
|
[Column("discogsId")]
|
|
|
|
[MaxLength(50)]
|
|
|
|
public string DiscogsId { get; set; }
|
|
|
|
|
2018-11-04 20:33:37 +00:00
|
|
|
[Column("imageUrl")]
|
|
|
|
[MaxLength(500)]
|
|
|
|
public string ImageUrl { get; set; }
|
|
|
|
|
2018-11-02 21:04:49 +00:00
|
|
|
[Column("musicBrainzId")]
|
|
|
|
[MaxLength(100)]
|
|
|
|
public string MusicBrainzId { get; set; }
|
|
|
|
|
|
|
|
[Column("profile", TypeName = "text")]
|
|
|
|
[MaxLength(65535)]
|
|
|
|
public string Profile { get; set; }
|
|
|
|
|
2018-12-04 23:26:27 +00:00
|
|
|
[Column("artistCount")]
|
2018-12-15 04:19:52 +00:00
|
|
|
public int? ArtistCount { get; set; }
|
2018-12-04 23:26:27 +00:00
|
|
|
|
|
|
|
[Column("releaseCount")]
|
2018-12-15 04:19:52 +00:00
|
|
|
public int? ReleaseCount { get; set; }
|
2018-12-04 23:26:27 +00:00
|
|
|
|
|
|
|
[Column("trackCount")]
|
2018-12-15 04:19:52 +00:00
|
|
|
public int? TrackCount { get; set; }
|
2018-12-04 23:26:27 +00:00
|
|
|
|
2018-11-02 21:04:49 +00:00
|
|
|
public List<ReleaseLabel> ReleaseLabels { get; set; }
|
|
|
|
}
|
|
|
|
}
|