mirror of
https://github.com/sphildreth/roadie
synced 2024-11-14 00:17:12 +00:00
31 lines
No EOL
847 B
C#
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; }
|
|
}
|
|
} |