using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kingo.Plugin.DataLoad.Model
{
    /// 
    /// 检查规则对应的表字段实体
    /// 
    public class RuleColumnEntity
    {
        /// 
        /// 列名
        /// 
        public string ColumnName { get; set; }
        /// 
        /// 字段说明
        /// 
        public string AliasName { get; set; }
        /// 
        /// 字段是否可为空
        /// 
        public bool AllowDBNull { get; set; }
        /// 
        /// 值是否唯一
        /// 
        public bool IsUnique { get; set; }
        /// 
        /// 是否做非法字符检查 true:检查  false:不检查
        /// 
        public bool IllegalityCheck { get; set; }
        /// 
        /// 字段类型
        /// 
        public string DataType { get; set; }
        /// 
        /// 字段长度
        /// 
        public int MaxLength { get; set; }
        /// 
        /// 字段精度
        /// 
        public int Precision { get; set; }
        /// 
        /// 值域
        /// 
        public string Range { get; set; }
        /// 
        /// 字典
        /// 
        public string DIC { get; set; }
        /// 
        /// 当前字段值是否应该是椭球面积 true:是  false:不是
        /// 
        public bool IsEllipsoidArea { get; set; }
        /// 
        /// 是否是扩展字段
        /// 
        public bool ExtendField
        { get; set; }
        /// 
        /// 字段显示标注说明
        /// 
        public string ToolTip { get; set; }
        /// 
        /// 字段名显示约束条件
        /// 
        public string Pic { get; set; }
    }
}