roadie/Roadie.Api.Library/Data/Image.cs
Steven Hildreth f385c8f6fc resolves #29
2019-11-03 21:19:04 -06:00

26 lines
No EOL
884 B
C#

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Roadie.Library.Data
{
[Obsolete("Only here for transition. Will be removed in future release. Use Library.Imaging.Image")]
[Table("image")]
public partial class Image : EntityBase
{
public Artist Artist { get; set; }
[Column("artistId")] public int? ArtistId { get; set; }
[Column("image", TypeName = "mediumblob")]
public byte[] Bytes { get; set; }
[Column("caption")] [MaxLength(100)] public string Caption { get; set; }
public Release Release { get; set; }
[Column("releaseId")] public int? ReleaseId { get; set; }
[Column("signature")] [MaxLength(50)] public string Signature { get; set; }
[Column("url")] [MaxLength(500)] public string Url { get; set; }
}
}