using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace wispro.sp.entity
{
    public class InputField
    {
        public int Id { get; set; }
        /// <summary>
        /// 栏位名称
        /// </summary>
        public string FieldName { get; set; }

        /// <summary>
        /// 栏位类型
        /// </summary>
        public string FieldType { get; set; }


        /// <summary>
        /// 对应绩效事项的值
        /// </summary>
        public string MapObjectField { get; set; }

        /// <summary>
        /// 映射绩效事件的Label值
        /// MapObjectField属性对应的是列表属性时使用
        /// </summary>
        public string MapObjectFieldLabel { get; set; }

        public virtual AppealType AppealType { get; set; }

        /// <summary>
        /// 申诉类型
        /// </summary>
        public int AppealTypeId { get; set; }

        /// <summary>
        /// 申诉状态
        /// </summary>
        public int AppealState { get; set; }

        /// <summary>
        /// 是否可以多选
        /// </summary>
        public bool CanMuliSelect { get; set; }

        
        /// <summary>
        /// 可选择的值
        /// </summary>
        public virtual List<SelectValue> SelectValues { get; set; }

        public int? MaxSize { get; set; }

        /// <summary>
        /// 映射栏位保存到映射对象的条件
        /// 为null时及时保存
        /// 条件规则为：步骤:栏位:值
        /// 表示在那个步骤的栏位==值时保存
        /// </summary>
        public string MapSaveCondition { get; set; }
    }
   
}
