using Siger.Middlelayer.Share.ModuleEnum;
using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.QmsRepository.Entities
{
    public class SigerProjectKpiItem: QmsEntityBase
    {
        /// <summary>
        /// 部门ID :siger_project_section.id
        /// </summary>
        public int Section { get; set; }
        /// <summary>
        /// 父级Id
        /// </summary>
        public int ParentId { get; set; }

        /// <summary>
        /// 指标周期
        /// </summary>
        public KpiCycleEnum KpiCycle { get; set; }
        /// <summary>
        /// KPI项目
        /// </summary>
        public string Item { get; set; }
        /// <summary>
        /// 目标值
        /// </summary>
        public double TargetVal { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 条件 0:大于 1 ：小于
        /// </summary>
        public int Condition { get; set; }
        /// <summary>
        /// 大屏位置---废弃
        /// </summary>
        public int Position { get; set; }
        /// <summary>
        /// 大屏背景颜色---废弃
        /// </summary>
        public string Color { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int Creater { get; set; }

        public DateTime CreateTime { get; set; }

    }
}
