roadie/Roadie.Api.Library/Data/Label.cs

43 lines
1.1 KiB
C#
Raw Normal View History

2019-02-03 17:50:17 +00:00
using Roadie.Library.Enums;
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; }
2019-02-03 17:50:17 +00:00
public Label()
{
this.Status = Statuses.Ok;
}
2018-11-02 21:04:49 +00:00
}
}