using JNPF.DependencyInjection; namespace JNPF.VisualDev.Engine.Model.CodeGen; /// /// 前端生成配置模型. /// [SuppressSniffer] public class FrontEndGenConfigModel { /// /// 命名空间. /// public string NameSpace { get; set; } /// /// 类型名称. /// public string ClassName { get; set; } /// /// 表单. /// public string FormRef { get; set; } /// /// 表单模型. /// public string FormModel { get; set; } /// /// 尺寸. /// public string Size { get; set; } /// /// 布局方式-文本定位. /// public string LabelPosition { get; set; } /// /// 布局方式-文本宽度. /// public int LabelWidth { get; set; } /// /// 表单规则. /// public string FormRules { get; set; } /// /// 列表布局 /// 1-普通列表,2-左侧树形+普通表格,3-分组表格,4-行内编辑. /// public int Type { get; set; } /// /// 左侧树绑定字段. /// public string TreeRelation { get; set; } /// /// 左侧树标题. /// public string TreeTitle { get; set; } /// /// 左侧树数据源绑定字段. /// public string TreePropsValue { get; set; } /// /// 左侧树数据来源. /// public string TreeDataSource { get; set; } /// /// 树数据字典. /// public string TreeDictionary { get; set; } /// /// 数据接口. /// public string TreePropsUrl { get; set; } /// /// 子级字段. /// public string TreePropsChildren { get; set; } /// /// 显示字段. /// public string TreePropsLabel { get; set; } /// /// 左侧树是否存在查询内. /// public bool IsExistQuery { get; set; } /// /// 是否分页. /// public bool HasPage { get; set; } /// /// 表单列表. /// public List FormList { get; set; } /// /// 弹窗类型. /// public string PopupType { get; set; } /// /// 主键. /// public string PrimaryKey { get; set; } /// /// 表单主键. /// public string FormPrimaryKey { get; set; } /// /// 查询列设计. /// public List SearchColumnDesign { get; set; } /// /// 头部按钮设计. /// public List TopButtonDesign { get; set; } /// /// 头部按钮设计. /// public List ColumnButtonDesign { get; set; } /// /// 列表设计. /// public List ColumnDesign { get; set; } /// /// 列表主表控件Option. /// public List OptionsList { get; set; } /// /// 表单全部控件. /// public List FormAllContols { get; set; } /// /// 是否有批量删除. /// public bool IsBatchRemoveDel { get; set; } /// /// 是否有导出. /// public bool IsDownload { get; set; } /// /// 是否有删除. /// public bool IsRemoveDel { get; set; } /// /// 是否有详情. /// public bool IsDetail { get; set; } /// /// 是否有编辑. /// public bool IsEdit { get; set; } /// /// 是否有排序. /// public bool IsSort { get; set; } /// /// 是否有新增. /// public bool IsAdd { get; set; } /// /// 是否有导入. /// public bool IsUpload { get; set; } /// /// 是否开启按钮权限. /// public bool UseBtnPermission { get; set; } /// /// 是否开启列表权限. /// public bool UseColumnPermission { get; set; } /// /// 是否开启表单权限. /// public bool UseFormPermission { get; set; } /// /// 提交按钮文本. /// public string CancelButtonText { get; set; } /// /// 确认按钮文本. /// public string ConfirmButtonText { get; set; } /// /// 普通弹窗表单宽度. /// public string GeneralWidth { get; set; } /// /// 全屏弹窗表单宽度. /// public string FullScreenWidth { get; set; } /// /// drawer宽度. /// public string DrawerWidth { get; set; } /// /// 表单样式. /// public string FormStyle { get; set; } /// /// 是否合计. /// public bool IsSummary { get; set; } /// /// 分页大小. /// public int PageSize { get; set; } /// /// 排序方式. /// public string Sort { get; set; } /// /// 是否开启打印. /// public bool HasPrintBtn { get; set; } /// /// 打印按钮文本. /// public string PrintButtonText { get; set; } /// /// 打印模板ID. /// public string PrintId { get; set; } /// /// 是否子表数据传递. /// public bool IsChildDataTransfer { get; set; } /// /// 是否子表查询. /// public bool IsChildTableQuery { get; set; } /// /// 是否子表显示. /// public bool IsChildTableShow { get; set; } /// /// 是否列展示字段. /// public string ColumnList { get; set; } /// /// 高级查询. /// public bool HasSuperQuery { get; set; } /// /// 列选项. /// public string ColumnOptions { get; set; } /// /// 是否行内编辑. /// public bool IsInlineEditor { get; set; } /// /// 列表类型. /// public int IndexDataType { get; set; } /// /// 分组字段名. /// public string GroupField { get; set; } /// /// 分组显示字段名.. /// public string GroupShowField { get; set; } /// /// 自增长策略. /// public int PrimaryKeyPolicy { get; set; } /// /// 是否关联表单. /// public bool IsRelationForm { get; set; } /// /// 子表样式 /// 1-分组展示,2-折叠展示. /// public int ChildTableStyle { get; set; } /// /// 是否冻结. /// public bool IsFixed { get; set; } }