using APT.BaseData.Domain.Enums; using APT.Infrastructure.Core; using APT.Infrastructure.Utility; using System; using System.Collections.Generic; using System.ComponentModel; namespace APT.BaseData.Domain.Entities { [Description("页面编辑配置表")] [Redis("PAGE_FORM_ID", "ID", "CODE")] [APT.Infrastructure.Api.RootOrg] [IgnoreT4] public partial class T_PF_PAGE_EDIT : TreeEntityBase { public T_PF_PAGE_EDIT() { this.SEND_TYPE = (int)SendTypeEnum.POST; this.QUERY_SEND_TYPE = (int)SendTypeEnum.POST; this.CODE_RULE_TYPE = 0; this.EDIT_PAGE_ENTITY_ORG_TYPE = 0; this.SHOW_CHECK = false; this.DEFAULT_PAGE_SIZE = 10; } /// /// 窗体ID /// public Guid? PAGE_FORM_ID { get; set; } /// 编码 public string CODE { get; set; } /// /// 数据库表名称 /// [Description("数据库表名称")] public string EDIT_NAME { get; set; } /// /// 显示名称 /// [Description("显示名称")] public string LABEL_NAME { get; set; } /// /// 访问路径:URL路径,如:/Production/WorkOrder/DispatchStaff /// [Description("保存URL路径")] public string API_URL { get; set; } [Description("提交时是否包含导航数据")] public bool IS_CONTAINS_NAV { get; set; } /// /// 发送方式 /// [Description("保存发送方式")] public int SEND_TYPE { get; set; } [Description("宽度:从表使用")] public int WIDTH { get; set; } [Description("高度:从表使用")] public int HEIGTH { get; set; } /// /// 查询的API地址 /// [Description("查询的API地址")] public string QUERY_API_URL { get; set; } /// /// 发送方式 /// [Description("查询发送方式")] public int QUERY_SEND_TYPE { get; set; } /// /// 查询的API地址 /// [Description("批量查询API地址")] public string BATCH_QUERY_API { get; set; } /// /// 批量更新API地址 /// [Description("批量更新API地址")] public string BATCH_UPDATE_API { get; set; } /// /// 子表关联字段 /// [Description("关联字段")] public string RELATION_FIELD { get; set; } /// /// 导航属性 /// [Description("导航属性")] public string NAV_PROPERTY { get; set; } /// /// 是否明细表必填 即表身需要一笔记录 /// [Description("是否明细表必填")] public bool IS_DETAIL_REQUIRED { get; set; } /// /// 编号字段名称 /// [Description("编号字段名称")] public string CODE_FIELD_NAME { get; set; } /// /// 编码规则类型 /// [Description("编码规则类型")] [EnumName(" PFCodeRuleType")] public int? CODE_RULE_TYPE { get; set; } /// /// 排序字段 /// [Description("子表样式条件")] public string NAV_ROW_CLASS_FILTER { get; set; } /// /// 排序字段 /// [Description("排序字段")] public string SORT_FIELDS { get; set; } /// /// 排序方式 /// [Description("排序方式")] public string SORT_ORDERS { get; set; } [Description("自定义参数")] /// 自定义参数 参数名称=参数值 多个参数时以||分割 public string CUSTOM_PARAMS { get; set; } /// /// 如无配置项,则默认显示,如配置则需要匹配条件则显示,多个或条件用|分隔,如: subtablename,fieldname,opration,value|subtablename,fieldname,opration,value /// [Description("子表显示条件")] public string SUB_TABLE_CONDITION { get; set; } /// [Description("父节点复制字段")] public string PARENT_COPY_FIELD { get; set; } /// /// 发送方式 /// [Description("子节点赋值字段")] public string CHILD_SET_FIELD { get; set; } /// /// /// 顺序 /// [Description("顺序")] public int NUM { get; set; } /// /// 审核单据时是否可新增行 /// public bool IS_PERMIT_ADD_ROW { get; set; } /// 审核单据时是否可删除行 public bool IS_PERMIT_DEL_ROW { get; set; } /// /// 实体组织类型 /// [EnumName("PFEntityOrgTypeEnum")] public int? EDIT_PAGE_ENTITY_ORG_TYPE { get; set; } /// /// 是否禁用表身新增按钮 /// public bool IS_SUB_ADD_BTN_DISABLED { get; set; } /// /// 是否禁用表身删除按钮 /// public bool IS_SUB_DELETE_BTN_DISABLED { get; set; } /// /// 是否分页 默认不分页,需要分页自己配置 /// public bool IS_PAGE { get; set; } /// /// 默认分页条数 /// public int DEFAULT_PAGE_SIZE { get; set; } /// /// 是否显示选择列 /// public bool? SHOW_CHECK { get; set; } public Guid? PARAM_SCHEME_ID { get; set; } /// /// 导航属性,字段列表 /// [Description("导航属性:字段列表")] public virtual ICollection Nav_Columns { get; set; } /// /// 导航属性,区域列表 /// [Description("导航属性:区域列表")] public virtual ICollection Nav_Panels { get; set; } /// /// 窗体 /// public virtual T_PF_FORM Nav_PageForm { get; set; } public virtual T_PF_PARAM_SCHEME Nav_ParamScheme { get; set; } [Description("源ID")] public Guid? SRC_ID { get; set; } /// /// 是否显示序号 /// [Description("是否显示序号")] public bool IS_SHOWROWNO { get; set; } } }