using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DevExpress.XtraBars.Ribbon.Drawing; namespace WinformGeneralDeveloperFrame { public class ControlInfo { /// /// 表名 /// public string tableName { set; get; } /// /// 数据库字段名称 /// public string dataBaseFieldName { set; get; } /// /// 数据库字段类型 /// public string dataBaseFieldType { set; get; } /// /// 数据库字段说明 /// public string dataBaseFieldDDesr { set; get; } /// /// c#字段类型 /// public string CSharpFieldType { set; get; } /// /// C#字段名称 /// public string CSharpFieldName { set; get; } /// /// 控件类型 /// public string controlType { set; get; } /// /// 控件labelname /// public string controlLabelName { set; get; } /// /// 控件name /// public string controlName { set; get; } /// /// 是否可见 /// public bool isVisible { set; get; } = true; /// /// 是否可编辑 /// public bool isEdit { set; get; } = true; /// /// 是否可为空 /// public bool isNull { set; get; } /// ///是否主键 /// public bool isKey { set; get; } /// /// 是否自增字段 /// public bool isIdentity{ set; get; } /// /// 是否搜索列 /// public bool isSearch { set; get; } = true; /// /// 数据源Name /// public string DataTableName { set; get; } /// /// 是否为空检验 /// public bool isCheck { set; get; } = true; } }