roadie/Roadie.Api.Library/Data/NamedEntityBase.cs
2018-12-26 13:39:13 -06:00

31 lines
No EOL
847 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Roadie.Library.Data
{
public abstract class NamedEntityBase : EntityBase
{
[Column("alternateNames", TypeName = "text")]
[MaxLength(65535)]
public string AlternateNames { get; set; }
[MaxLength(250)]
[Column("name")]
public string Name { get; set; }
[Column("sortName")]
[MaxLength(250)]
public string SortName { get; set; }
[Column("tags", TypeName = "text")]
[MaxLength(65535)]
public string Tags { get; set; }
[Column("thumbnail", TypeName = "blob")]
public byte[] Thumbnail { get; set; }
[Column("urls", TypeName = "text")]
[MaxLength(65535)]
public string URLs { get; set; }
}
}