roadie/RoadieLibrary/Data/Label.cs

28 lines
750 B
C#
Raw Normal View History

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; }
public List<ReleaseLabel> ReleaseLabels { get; set; }
}
}