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

namespace OpenAuth.App.FormScheme.Response
{
    public class FormComponentNewModel
    {
        /// <summary>
        /// 组件类型
        /// </summary>
        public string Component { get; set; }
        /// <summary>
        /// 组件下属类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 标识
        /// </summary>
        public string Field { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Label { get; set; }
        /// <summary>
        /// 绑定表
        /// </summary>
        public ComponentPropsModel ComponentProps { get; set; }
        /// <summary>
        /// 单据编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 排序字段
        /// </summary>
        public string OrderId { get; set; }
        /// <summary>
        /// 是否倒叙
        /// </summary>
        public bool isDESC { get; set; }
        /// <summary>
        /// 数据字段类型
        /// </summary>
        public string CsType { get; set; }

        //public ItemProps itemProps { get; set; }

        /// <summary>
        /// 子组件列表
        /// </summary>
        public List<FormComponentNewModel> children { get; set; }
        /// <summary>
        /// 子表组件列表
        /// </summary>
        public List<FormComponentNewModel> Columns { get; set; }
    }

    //public class ItemProps
    //{
    //    public bool required { get; set; }
    //}
}
