roadie/Roadie.Api.Library/Data/CollectionMissing.cs
2019-07-03 11:21:29 -05:00

23 lines
No EOL
723 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Roadie.Library.Data
{
[Table("collectionMissing")]
public class CollectionMissing
{
[Column("artist")] [MaxLength(1000)] public string Artist { get; set; }
[Column("collectionId")] public int CollectionId { get; set; }
[Column("id")]
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
[Column("isArtistFound")] public bool IsArtistFound { get; set; }
[Column("position")] public int Position { get; set; }
[Column("release")] [MaxLength(1000)] public string Release { get; set; }
}
}