using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseAnnotations;

namespace Umbraco.Core.Models.Rdbms
{
    [TableName("cmsTaskType")]
    [PrimaryKey("id")]
    [ExplicitColumns]
    internal class TaskTypeDto
    {
        [Column("id")]
        [PrimaryKeyColumn]
        public byte Id { get; set; }

        [Column("alias")]
        [Index(IndexTypes.NonClustered)]
        public string Alias { get; set; }
    }
}