using Siger.Middlelayer.Common.Helpers;

namespace Siger.Middlelayer.Repository.Entities
{
    /// <summary>
    /// siger_project_machine_attribution Entity Model
    /// </summary>   
    public class siger_project_machine_attribution : ConfigEntityBase
    {
        public siger_project_machine_attribution()
        {
            createtime = UnixTimeHelper.GetNow();
        }
        /// <summary>
        /// 项目 id 与 _project id 对应
        /// </summary>
        public int projectid { get; set; }
        public int machine { get; set; }
        public int parent { get; set; }
        /// <summary>
        /// 设备属性（1设备2子系统3部件）
        /// </summary>
        public int attribution { get; set; }
        public string name { get; set; }
        public int station { get; set; }
        public int createtime { get; set; }
        public int creator { get; set; }
        /// <summary>
        /// 备件id
        /// </summary>
        public int sparepart_id { get; set; }
    }
}
