
namespace Siger.Middlelayer.QmsRepository.Entities
{
    /// <summary>
    /// 
    /// </summary>   
    public class siger_qms_inspection_standard : QmsEntityBase
    {
        public int productid { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string productcode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int sectionid { get; set; }

        /// <summary>
        /// 项次
        /// </summary>
        public int seq { get; set; }

        /// <summary>
        /// 项目
        /// </summary>
        public string item { get; set; }

        /// <summary>
        /// 项目
        /// </summary>
        public string item_en { get; set; }

        /// <summary>
        /// 标准
        /// </summary>
        public string standard { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string unit { get; set; }

        /// <summary>
        /// 最大值
        /// </summary>
        public double max_value { get; set; }

        /// <summary>
        /// 最小值
        /// </summary>
        public double min_value { get; set; }

        /// <summary>
        /// 不良代码
        /// </summary>
        public string unhealthy_code { get; set; }

        /// <summary>
        /// 不良描述
        /// </summary>
        public string unhealthy_desc { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int create_time { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int create_mid { get; set; }

        /// <summary>
        /// 维护人
        /// </summary>
        public int update_mid { get; set; }

        /// <summary>
        /// 维护时间
        /// </summary>
        public int update_time { get; set; }

        /// <summary>
        /// 数据类型 1 打钩 2填值
        /// </summary>
        public int value_type { get; set; }

        /// <summary>
        /// 不良ID
        /// </summary>
        public int unhealthy_id { get; set; }

        /// <summary>
        /// 是否在监测0->未在监测 1->在监测
        /// </summary>
        public int inspection { get; set; }

        /// <summary>
        /// 1->单值 2->最大值最小值
        /// </summary>
        public int value_category { get; set; }

        /// <summary>
        /// 极差
        /// </summary>
        public double range { get; set; }

        /// <summary>
        /// 1->人工检验 2->送检检验
        /// </summary>
        public int standard_type { get; set; }

        /// <summary>
        /// 检验类型 多选
        /// </summary>
        public string checktype { get; set; }

        /// <summary>
        /// 控制上限
        /// </summary>
        public double? ucl { get; set; }
        /// <summary>
        /// 控制下限
        /// </summary>
        public double? lcl { get; set; }

        /// <summary>
        /// 是否触发安灯0不触发 1触发
        /// </summary>
        public int trigger_andon { get; set; }

        public string image { get; set; }
    }
}
