roadie/RoadieLibrary/Data/NamedEntityBase.cs
Steven Hildreth 341267cacc WIP
2018-11-03 16:21:36 -05: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; }
}
}