using Siger.Middlelayer.Common.FieldEnum;
using System.ComponentModel.DataAnnotations.Schema;

namespace Siger.Middlelayer.TlmRepository.Entities
{
    /// <summary>
    /// 刀具刀柄附件类型表
    /// </summary>
    public class siger_project_toollife_category: TlmEntityBase
    {
        public string code { get; set; }

        public string name { get; set; }

        public int parent { get; set; }
        public int category { get; set; }

        [NotMapped]
        public TlmSettingCategory categorys { get { return (TlmSettingCategory)category; }set { category = (int)value; } }
    }
}
