using JNPF.DependencyInjection; namespace JNPF.Systems.Entitys.Dto.Module; /// /// 功能导出基类. /// [SuppressSniffer] public class ModuleExportBase { /// /// id. /// public string id { get; set; } /// /// 名称. /// public string fullName { get; set; } /// /// 标识. /// public int? enabledMark { get; set; } /// /// 编码. /// public string enCode { get; set; } /// /// 菜单id. /// public string moduleId { get; set; } /// /// 属性. /// public string propertyJson { get; set; } /// /// 排序. /// public long? sortCode { get; set; } /// /// 创建时间. /// public DateTime? creatorTime { get; set; } /// /// 创建人. /// public string creatorUserId { get; set; } /// /// 修改时间. /// public DateTime? lastModifyTime { get; set; } /// /// 修改人. /// public string lastModifyUserId { get; set; } /// /// 删除标识. /// public int? deleteMark { get; set; } /// /// 删除时间. /// public DateTime? deleteTime { get; set; } /// /// 删除人. /// public string deleteUserId { get; set; } /// /// 备注. /// public string description { get; set; } } /// /// 功能导出输入. /// [SuppressSniffer] public class ModuleExportInput : ModuleExportBase { /// /// 权限. /// public List authorizeEntityList { get; set; } /// /// 按钮. /// public List buttonEntityList { get; set; } /// /// 列表. /// public List columnEntityList { get; set; } /// /// 表单. /// public List formEntityList { get; set; } /// /// 数据权限方案. /// public List schemeEntityList { get; set; } /// /// 分类. /// public string category { get; set; } /// /// 图标. /// public string icon { get; set; } /// /// 按钮. /// public int? isButtonAuthorize { get; set; } /// /// 列表. /// public int? isColumnAuthorize { get; set; } /// /// 权限. /// public int? isDataAuthorize { get; set; } /// /// 表单. /// public int? isFormAuthorize { get; set; } /// /// 连接. /// public string linkTarget { get; set; } /// /// 父id. /// public string parentId { get; set; } = "0"; /// /// 类型. /// public int? type { get; set; } /// /// 地址. /// public string urlAddress { get; set; } /// /// 系统id. /// public string systemId { get; set; } } /// /// 权限方案. /// [SuppressSniffer] public class AuthorizeEntityListItem : ModuleExportBase { /// /// 条件明细. /// public string conditionSymbol { get; set; } /// /// 条件. /// public string conditionSymbolJson { get; set; } /// /// 条件内容. /// public string conditionText { get; set; } /// /// 类型. /// public string type { get; set; } /// /// 规则(0:主表,1:副表). /// public int? fieldRule { get; set; } /// /// 表名. /// public string bindTable { get; set; } /// /// 子表关联字段. /// public string childTableKey { get; set; } } /// /// 按钮. /// [SuppressSniffer] public class ButtonEntityListItem : ModuleExportBase { /// /// 图标. /// public string icon { get; set; } /// /// 父id. /// public string parentId { get; set; } /// /// 连接地址. /// public string urlAddress { get; set; } } /// /// 列表列. /// [SuppressSniffer] public class ColumnEntityListItem : ModuleExportBase { /// /// 表. /// public string bindTable { get; set; } /// /// 表名称. /// public string bindTableName { get; set; } /// /// 规则(0:主表,1:副表). /// public int? fieldRule { get; set; } /// /// 子表关联字段. /// public string childTableKey { get; set; } } /// /// 权限资源. /// [SuppressSniffer] public class SchemeEntityListItem : ModuleExportBase { /// /// 条件json. /// public string conditionJson { get; set; } /// /// 条件文本. /// public string conditionText { get; set; } } /// /// 表单. /// [SuppressSniffer] public class FromEntityListItem : ModuleExportBase { /// /// 父id. /// public string parentId { get; set; } /// /// 规则(0:主表,1:副表). /// public int? fieldRule { get; set; } /// /// 表名. /// public string bindTable { get; set; } /// /// 子表关联字段. /// public string childTableKey { get; set; } }