diff --git a/Api/.vs/Dilon/DesignTimeBuild/.dtbcache.v2 b/Api/.vs/Dilon/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..6c675d0 Binary files /dev/null and b/Api/.vs/Dilon/DesignTimeBuild/.dtbcache.v2 differ diff --git a/Api/.vs/Dilon/v16/.suo b/Api/.vs/Dilon/v16/.suo new file mode 100644 index 0000000..8c6ce7f Binary files /dev/null and b/Api/.vs/Dilon/v16/.suo differ diff --git a/Api/Dilon.Application/Dilon.Application.csproj b/Api/Ewide.Application/Dilon.Application.csproj similarity index 100% rename from Api/Dilon.Application/Dilon.Application.csproj rename to Api/Ewide.Application/Dilon.Application.csproj diff --git a/Api/Dilon.Application/Dilon.Application.xml b/Api/Ewide.Application/Dilon.Application.xml similarity index 96% rename from Api/Dilon.Application/Dilon.Application.xml rename to Api/Ewide.Application/Dilon.Application.xml index 9a23c7a..8d4dcd3 100644 --- a/Api/Dilon.Application/Dilon.Application.xml +++ b/Api/Ewide.Application/Dilon.Application.xml @@ -1,69 +1,69 @@ - - - - Dilon.Application - - - - - 代码生成实体测试(EF) - - - - - 名称 - - - - - 昵称 - - - - - 生日 - - - - - 年龄 - - - - - SqlSugar实体 - - - - - 雪花Id - - - - - 名称 - - - - - 年龄 - - - - - 创建时间 - - - - - 业务服务及集成SqlSugar用法事例 - - - - - 测试方法 - - - - - + + + + Dilon.Application + + + + + 代码生成实体测试(EF) + + + + + 名称 + + + + + 昵称 + + + + + 生日 + + + + + 年龄 + + + + + SqlSugar实体 + + + + + 雪花Id + + + + + 名称 + + + + + 年龄 + + + + + 创建时间 + + + + + 业务服务及集成SqlSugar用法事例 + + + + + 测试方法 + + + + + diff --git a/Api/Dilon.Application/Entity/CodeGenTest.cs b/Api/Ewide.Application/Entity/CodeGenTest.cs similarity index 96% rename from Api/Dilon.Application/Entity/CodeGenTest.cs rename to Api/Ewide.Application/Entity/CodeGenTest.cs index 601062c..8e5d37b 100644 --- a/Api/Dilon.Application/Entity/CodeGenTest.cs +++ b/Api/Ewide.Application/Entity/CodeGenTest.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Application +namespace Ewide.Application { /// /// 代码生成实体测试(EF) diff --git a/Api/Dilon.Application/Entity/README.md b/Api/Ewide.Application/Entity/README.md similarity index 100% rename from Api/Dilon.Application/Entity/README.md rename to Api/Ewide.Application/Entity/README.md diff --git a/Api/Dilon.Application/Entity/Test.cs b/Api/Ewide.Application/Entity/Test.cs similarity index 96% rename from Api/Dilon.Application/Entity/Test.cs rename to Api/Ewide.Application/Entity/Test.cs index 9f15c34..58e75d4 100644 --- a/Api/Dilon.Application/Entity/Test.cs +++ b/Api/Ewide.Application/Entity/Test.cs @@ -1,7 +1,7 @@ using SqlSugar; using System; -namespace Dilon.Application +namespace Ewide.Application { /// /// SqlSugar实体 diff --git a/Api/Dilon.Application/README.md b/Api/Ewide.Application/README.md similarity index 100% rename from Api/Dilon.Application/README.md rename to Api/Ewide.Application/README.md diff --git a/Api/Dilon.Application/Service/ITestService.cs b/Api/Ewide.Application/Service/ITestService.cs similarity index 72% rename from Api/Dilon.Application/Service/ITestService.cs rename to Api/Ewide.Application/Service/ITestService.cs index 9183a46..117eb4e 100644 --- a/Api/Dilon.Application/Service/ITestService.cs +++ b/Api/Ewide.Application/Service/ITestService.cs @@ -1,4 +1,4 @@ -namespace Dilon.Application +namespace Ewide.Application { public interface ITestService { diff --git a/Api/Dilon.Application/Service/TestService.cs b/Api/Ewide.Application/Service/TestService.cs similarity index 98% rename from Api/Dilon.Application/Service/TestService.cs rename to Api/Ewide.Application/Service/TestService.cs index ef260bd..5e082f2 100644 --- a/Api/Dilon.Application/Service/TestService.cs +++ b/Api/Ewide.Application/Service/TestService.cs @@ -9,7 +9,7 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Application +namespace Ewide.Application { /// /// 业务服务及集成SqlSugar用法事例 diff --git a/Api/Dilon.Application/Startup.cs b/Api/Ewide.Application/Startup.cs similarity index 97% rename from Api/Dilon.Application/Startup.cs rename to Api/Ewide.Application/Startup.cs index d3b6b4b..5442a5a 100644 --- a/Api/Dilon.Application/Startup.cs +++ b/Api/Ewide.Application/Startup.cs @@ -3,7 +3,7 @@ using Microsoft.Extensions.DependencyInjection; using SqlSugar; using System.Linq; -namespace Dilon.Application +namespace Ewide.Application { public class Startup : AppStartup { diff --git a/Api/Dilon.Application/applicationsettings.json b/Api/Ewide.Application/applicationsettings.json similarity index 100% rename from Api/Dilon.Application/applicationsettings.json rename to Api/Ewide.Application/applicationsettings.json diff --git a/Api/Dilon.Core/Cache/CacheOptions.cs b/Api/Ewide.Core/Cache/CacheOptions.cs similarity index 96% rename from Api/Dilon.Core/Cache/CacheOptions.cs rename to Api/Ewide.Core/Cache/CacheOptions.cs index a270fa5..76d8f05 100644 --- a/Api/Dilon.Core/Cache/CacheOptions.cs +++ b/Api/Ewide.Core/Cache/CacheOptions.cs @@ -1,6 +1,6 @@ using Furion.ConfigurableOptions; -namespace Dilon.Core +namespace Ewide.Core { /// /// 缓存配置 diff --git a/Api/Dilon.Core/Cache/ICache.cs b/Api/Ewide.Core/Cache/ICache.cs similarity index 99% rename from Api/Dilon.Core/Cache/ICache.cs rename to Api/Ewide.Core/Cache/ICache.cs index e96f065..2122c3e 100644 --- a/Api/Dilon.Core/Cache/ICache.cs +++ b/Api/Ewide.Core/Cache/ICache.cs @@ -1,7 +1,7 @@ using System; using System.Threading.Tasks; -namespace Dilon.Core +namespace Ewide.Core { /// /// 缓存接口 diff --git a/Api/Dilon.Core/Cache/MemoryCache.cs b/Api/Ewide.Core/Cache/MemoryCache.cs similarity index 99% rename from Api/Dilon.Core/Cache/MemoryCache.cs rename to Api/Ewide.Core/Cache/MemoryCache.cs index 66383ad..5e9c623 100644 --- a/Api/Dilon.Core/Cache/MemoryCache.cs +++ b/Api/Ewide.Core/Cache/MemoryCache.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; using Furion.DependencyInjection; using Microsoft.Extensions.Caching.Memory; -namespace Dilon.Core +namespace Ewide.Core { /// /// 内存缓存 diff --git a/Api/Dilon.Core/Cache/RedisCache.cs b/Api/Ewide.Core/Cache/RedisCache.cs similarity index 99% rename from Api/Dilon.Core/Cache/RedisCache.cs rename to Api/Ewide.Core/Cache/RedisCache.cs index 00ca5b1..0803ff9 100644 --- a/Api/Dilon.Core/Cache/RedisCache.cs +++ b/Api/Ewide.Core/Cache/RedisCache.cs @@ -4,7 +4,7 @@ using System; using System.Text.RegularExpressions; using System.Threading.Tasks; -namespace Dilon.Core +namespace Ewide.Core { /// /// Redis缓存 diff --git a/Api/Dilon.Core/Captcha/ClickWord/ClickWordCaptcha.cs b/Api/Ewide.Core/Captcha/ClickWord/ClickWordCaptcha.cs similarity index 99% rename from Api/Dilon.Core/Captcha/ClickWord/ClickWordCaptcha.cs rename to Api/Ewide.Core/Captcha/ClickWord/ClickWordCaptcha.cs index 7140ff1..de95096 100644 --- a/Api/Dilon.Core/Captcha/ClickWord/ClickWordCaptcha.cs +++ b/Api/Ewide.Core/Captcha/ClickWord/ClickWordCaptcha.cs @@ -10,7 +10,7 @@ using System.Drawing.Imaging; using System.IO; using System.Linq; -namespace Dilon.Core +namespace Ewide.Core { /// /// 点选验证码 diff --git a/Api/Dilon.Core/Captcha/ClickWord/ClickWordCaptchaInput.cs b/Api/Ewide.Core/Captcha/ClickWord/ClickWordCaptchaInput.cs similarity index 97% rename from Api/Dilon.Core/Captcha/ClickWord/ClickWordCaptchaInput.cs rename to Api/Ewide.Core/Captcha/ClickWord/ClickWordCaptchaInput.cs index fa230cc..e906355 100644 --- a/Api/Dilon.Core/Captcha/ClickWord/ClickWordCaptchaInput.cs +++ b/Api/Ewide.Core/Captcha/ClickWord/ClickWordCaptchaInput.cs @@ -1,7 +1,7 @@ using Furion.DependencyInjection; using System.ComponentModel.DataAnnotations; -namespace Dilon.Core +namespace Ewide.Core { /// /// 点击验证码输入参数 diff --git a/Api/Dilon.Core/Captcha/ClickWord/ClickWordCaptchaResult.cs b/Api/Ewide.Core/Captcha/ClickWord/ClickWordCaptchaResult.cs similarity index 98% rename from Api/Dilon.Core/Captcha/ClickWord/ClickWordCaptchaResult.cs rename to Api/Ewide.Core/Captcha/ClickWord/ClickWordCaptchaResult.cs index c4d6f73..dba7cc1 100644 --- a/Api/Dilon.Core/Captcha/ClickWord/ClickWordCaptchaResult.cs +++ b/Api/Ewide.Core/Captcha/ClickWord/ClickWordCaptchaResult.cs @@ -1,7 +1,7 @@ using Furion.DependencyInjection; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 验证码输出参数 diff --git a/Api/Dilon.Core/Captcha/ClickWord/IClickWordCaptcha.cs b/Api/Ewide.Core/Captcha/ClickWord/IClickWordCaptcha.cs similarity index 90% rename from Api/Dilon.Core/Captcha/ClickWord/IClickWordCaptcha.cs rename to Api/Ewide.Core/Captcha/ClickWord/IClickWordCaptcha.cs index 6e8f353..13336c0 100644 --- a/Api/Dilon.Core/Captcha/ClickWord/IClickWordCaptcha.cs +++ b/Api/Ewide.Core/Captcha/ClickWord/IClickWordCaptcha.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core +namespace Ewide.Core { public interface IClickWordCaptcha { diff --git a/Api/Dilon.Core/Captcha/General/GeneralCaptcha.cs b/Api/Ewide.Core/Captcha/General/GeneralCaptcha.cs similarity index 99% rename from Api/Dilon.Core/Captcha/General/GeneralCaptcha.cs rename to Api/Ewide.Core/Captcha/General/GeneralCaptcha.cs index eeeb9dd..f120df3 100644 --- a/Api/Dilon.Core/Captcha/General/GeneralCaptcha.cs +++ b/Api/Ewide.Core/Captcha/General/GeneralCaptcha.cs @@ -7,7 +7,7 @@ using System.Drawing.Imaging; using System.IO; using System.Text; -namespace Dilon.Core +namespace Ewide.Core { /// /// 常规验证码 diff --git a/Api/Dilon.Core/Captcha/General/GeneralCaptchaInput.cs b/Api/Ewide.Core/Captcha/General/GeneralCaptchaInput.cs similarity index 97% rename from Api/Dilon.Core/Captcha/General/GeneralCaptchaInput.cs rename to Api/Ewide.Core/Captcha/General/GeneralCaptchaInput.cs index eb7f6a3..e9cf8b0 100644 --- a/Api/Dilon.Core/Captcha/General/GeneralCaptchaInput.cs +++ b/Api/Ewide.Core/Captcha/General/GeneralCaptchaInput.cs @@ -1,7 +1,7 @@ using Furion.DependencyInjection; using System.ComponentModel.DataAnnotations; -namespace Dilon.Core +namespace Ewide.Core { /// /// 常规验证码输入 diff --git a/Api/Dilon.Core/Captcha/General/IGeneralCaptcha.cs b/Api/Ewide.Core/Captcha/General/IGeneralCaptcha.cs similarity index 86% rename from Api/Dilon.Core/Captcha/General/IGeneralCaptcha.cs rename to Api/Ewide.Core/Captcha/General/IGeneralCaptcha.cs index f3ad0fd..36affe1 100644 --- a/Api/Dilon.Core/Captcha/General/IGeneralCaptcha.cs +++ b/Api/Ewide.Core/Captcha/General/IGeneralCaptcha.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core +namespace Ewide.Core { public interface IGeneralCaptcha { diff --git a/Api/Dilon.Core/Const/ClaimConst.cs b/Api/Ewide.Core/Const/ClaimConst.cs similarity index 95% rename from Api/Dilon.Core/Const/ClaimConst.cs rename to Api/Ewide.Core/Const/ClaimConst.cs index 0bda0cb..09c802d 100644 --- a/Api/Dilon.Core/Const/ClaimConst.cs +++ b/Api/Ewide.Core/Const/ClaimConst.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core +namespace Ewide.Core { public class ClaimConst { diff --git a/Api/Dilon.Core/Const/CommonConst.cs b/Api/Ewide.Core/Const/CommonConst.cs similarity index 97% rename from Api/Dilon.Core/Const/CommonConst.cs rename to Api/Ewide.Core/Const/CommonConst.cs index 7b304b4..46315f3 100644 --- a/Api/Dilon.Core/Const/CommonConst.cs +++ b/Api/Ewide.Core/Const/CommonConst.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core +namespace Ewide.Core { public class CommonConst { diff --git a/Api/Dilon.Core/Dilon.Core.csproj b/Api/Ewide.Core/Dilon.Core.csproj similarity index 100% rename from Api/Dilon.Core/Dilon.Core.csproj rename to Api/Ewide.Core/Dilon.Core.csproj diff --git a/Api/Dilon.Core/Dilon.Core.xml b/Api/Ewide.Core/Dilon.Core.xml similarity index 97% rename from Api/Dilon.Core/Dilon.Core.xml rename to Api/Ewide.Core/Dilon.Core.xml index ec8ab68..0d47e65 100644 --- a/Api/Dilon.Core/Dilon.Core.xml +++ b/Api/Ewide.Core/Dilon.Core.xml @@ -1,6997 +1,6997 @@ - - - - Dilon.Core - - - - - 缓存配置 - - - - - 缓存类型 - - - - - Redis配置 - - - - - 内存缓存 - - - - - Redis缓存 - - - - - 缓存接口 - - - - - 用于在 key 存在时删除 key - - 键 - - - - 用于在 key 存在时删除 key - - 键 - - - - - 用于在 key 模板存在时删除 - - key模板 - - - - - 检查给定 key 是否存在 - - 键 - - - - - 检查给定 key 是否存在 - - 键 - - - - - 获取指定 key 的值 - - 键 - - - - - 获取指定 key 的值 - - byte[] 或其他类型 - 键 - - - - - 获取指定 key 的值 - - 键 - - - - - 获取指定 key 的值 - - byte[] 或其他类型 - 键 - - - - - 设置指定 key 的值,所有写入参数object都支持string | byte[] | 数值 | 对象 - - 键 - 值 - - - - 设置指定 key 的值,所有写入参数object都支持string | byte[] | 数值 | 对象 - - 键 - 值 - 有效期 - - - - 设置指定 key 的值,所有写入参数object都支持string | byte[] | 数值 | 对象 - - 键 - 值 - - - - - 设置指定 key 的值,所有写入参数object都支持string | byte[] | 数值 | 对象 - - 键 - 值 - 有效期 - - - - - 内存缓存 - - - - - Redis缓存 - - - - - 点选验证码 - - - - - 生成验证码图片 - - - - - - - - - 转换为相对于图片的百分比单位 - - 图片宽高 - 相对于图片的绝对尺寸 - (int:xPercent, int:yPercent) - - - - 加载字体 - - 字体文件路径,包含字体文件名和后缀名 - 大小 - 字形(常规/粗体/斜体/粗斜体) - - - - 随机绘制字符串 - - - - - - - 验证码验证 - - - - - - - 记录正确位置 - - - - - 点击验证码输入参数 - - - - - 验证码类型 - - - - - 坐标点集合 - - - - - Token - - - - - 验证码输出参数 - - - - - 常规验证码 - - - - - 生成验证码图片 - - - - - - - 验证码验证 - - - - - - - 常规验证码输入 - - - - - 验证码类型 - - - - - 验证码字符 - - - - - Token - - - - - 用户Id - - - - - 账号 - - - - - 名称 - - - - - 是否超级管理 - - - - - 默认密码 - - - - - 用户缓存 - - - - - 菜单缓存 - - - - - 权限缓存 - - - - - 数据范围缓存 - - - - - 验证码缓存 - - - - - 自定义实体基类 - - - - - 主键Id - - - - - 创建时间 - - - - - 更新时间 - - - - - 创建者Id - - - - - 创建者名称 - - - - - 修改者Id - - - - - 修改者名称 - - - - - 软删除 - - - - - 系统应用表 - - - - - 名称 - - - - - 编码 - - - - - 图标 - - - - - 图标颜色 - - - - - 是否默认激活(Y-是,N-否),只能有一个系统默认激活 - 用户登录后默认展示此系统菜单 - - - - - 状态(字典 0正常 1停用 2删除) - - - - - 排序 - - - - - 代码生成表 - - - - - 作者姓名 - - - - - 是否移除表前缀 - - - - - 生成方式 - - - - - 数据库表名 - - - - - 命名空间 - - - - - 业务名 - - - - - 代码生成字段配置表 - - - - - 代码生成主表ID - - - - - 数据库字段名 - - - - - 字段描述 - - - - - .NET数据类型 - - - - - 作用类型(字典) - - - - - 字典code - - - - - 列表是否缩进(字典) - - - - - 是否必填(字典) - - - - - 是否是查询条件 - - - - - 查询方式 - - - - - 列表显示 - - - - - 增改 - - - - - 主外键 - - - - - 数据库中类型(物理类型) - - - - - 是否通用字段 - - - - - 参数配置表 - - - - - 名称 - - - - - 编码 - - - - - 属性值 - - - - - 是否是系统参数(Y-是,N-否) - - - - - 备注 - - - - - 状态(字典 0正常 1停用 2删除) - - - - - 常量所属分类的编码,来自于“常量的分类”字典 - - - - - 监听实体更改之后 - - - - - - - - - - 字典值表 - - - - - 字典类型Id - - - - - 值 - - - - - 编码 - - - - - 排序 - - - - - 备注 - - - - - 状态(字典 0正常 1停用 2删除) - - - - - 所属类型 - - - - - 字典类型表 - - - - - 名称 - - - - - 编码 - - - - - 排序 - - - - - 备注 - - - - - 状态(字典 0正常 1停用 2删除) - - - - - 字典数据 - - - - - 员工表 - - - - - 用户Id - - - - - 工号 - - - - - 机构Id - - - - - 机构名称 - - - - - 多对多(职位) - - - - - 多对多中间表(员工-职位) - - - - - 多对多配置关系 - - - - - - - - 员工附属机构职位表 - - - - - 员工Id - - - - - 一对一引用(员工) - - - - - 机构Id - - - - - 一对一引用(机构) - - - - - 职位Id - - - - - 一对一引用(职位) - - - - - 员工职位表 - - - - - 员工Id - - - - - 一对一引用(员工) - - - - - 职位Id - - - - - 一对一引用(职位) - - - - - 文件信息表 - - - - - 文件存储位置(1:阿里云,2:腾讯云,3:minio,4:本地) - - - - - 文件仓库 - - - - - 文件名称(上传时候的文件名) - - - - - 文件后缀 - - - - - 文件大小kb - - - - - 文件大小信息,计算后的 - - - - - 存储到bucket的名称(文件唯一标识id) - - - - - 存储路径 - - - - - 系统操作/审计日志表 - - - - - 表名 - - - - - 列名 - - - - - 新值 - - - - - 旧值 - - - - - 操作时间 - - - - - 操作人Id - - - - - 操作人名称 - - - - - 操作方式:新增、更新、删除 - - - - - 操作日志表 - - - - - 名称 - - - - - 操作类型(0其他 1增加 2删除 3编辑)(见LogAnnotionOpTypeEnum) - - - - - 是否执行成功(Y-是,N-否) - - - - - 具体消息 - - - - - IP - - - - - 地址 - - - - - 浏览器 - - - - - 操作系统 - - - - - 请求地址 - - - - - 类名称 - - - - - 方法名称 - - - - - 请求方式(GET POST PUT DELETE) - - - - - 请求参数 - - - - - 返回结果 - - - - - 耗时(毫秒) - - - - - 操作时间 - - - - - 操作人 - - - - - 访问日志表 - - - - - 名称 - - - - - 是否执行成功(Y-是,N-否) - - - - - 具体消息 - - - - - IP - - - - - 地址 - - - - - 浏览器 - - - - - 操作系统 - - - - - 访问类型(字典 1登入 2登出) - - - - - 访问时间 - - - - - 访问人 - - - - - 菜单表 - - - - - 父Id - - - - - 父Ids - - - - - 名称 - - - - - 编码 - - - - - 菜单类型(字典 0目录 1菜单 2按钮) - - - - - 图标 - - - - - 路由地址 - - - - - 组件地址 - - - - - 权限标识 - - - - - 应用分类(应用编码) - - - - - 打开方式(字典 0无 1组件 2内链 3外链) - - - - - 是否可见(Y-是,N-否) - - - - - 内链地址 - - - - - 重定向地址 - - - - - 权重(字典 1系统权重 2业务权重) - - - - - 排序 - - - - - 备注 - - - - - 状态(字典 0正常 1停用 2删除) - - - - - 多对多(角色) - - - - - 多对多中间表(用户角色) - - - - - 通知公告表 - - - - - 标题 - - - - - 内容 - - - - - 类型(字典 1通知 2公告) - - - - - 发布人Id - - - - - 发布人姓名 - - - - - 发布机构Id - - - - - 发布机构名称 - - - - - 发布时间 - - - - - 撤回时间 - - - - - 状态(字典 0草稿 1发布 2撤回 3删除) - - - - - 通知公告用户表 - - - - - 通知公告Id - - - - - 用户Id - - - - - 阅读时间 - - - - - 状态(字典 0未读 1已读) - - - - - Oauth登录用户表 - - - - - 第三方平台的用户唯一Id - - - - - 用户授权的token - - - - - 昵称 - - - - - 头像 - - - - - 性别 - - - - - 电话 - - - - - 邮箱 - - - - - 位置 - - - - - 用户网址 - - - - - 所在公司 - - - - - 用户来源 - - - - - 用户备注(各平台中的用户个人介绍) - - - - - 组织机构表 - - - - - 父Id - - - - - 父Ids - - - - - 名称 - - - - - 编码 - - - - - 联系人 - - - - - 电话 - - - - - 排序 - - - - - 备注 - - - - - 状态(字典 0正常 1停用 2删除) - - - - - 多对多(用户) - - - - - 多对多中间表(用户数据范围) - - - - - 多对多(角色) - - - - - 多对多中间表(角色数据范围) - - - - - 职位表 - - - - - 名称 - - - - - 编码 - - - - - 排序 - - - - - 备注 - - - - - 状态(字典 0正常 1停用 2删除) - - - - - 多对多(员工) - - - - - 多对多中间表(员工职位) - - - - - 角色表 - - - - - 名称 - - - - - 编码 - - - - - 排序 - - - - - 数据范围类型(字典 1全部数据 2本部门及以下数据 3本部门数据 4仅本人数据 5自定义数据) - - - - - 备注 - - - - - 状态(字典 0正常 1停用 2删除) - - - - - 多对多(用户) - - - - - 多对多中间表(用户角色) - - - - - 多对多(机构) - - - - - 多对多中间表(角色-机构 数据范围) - - - - - 多对多(菜单) - - - - - 多对多中间表(角色-菜单) - - - - - 配置多对多关系 - - - - - - - - 角色数据范围表 - - - - - 角色Id - - - - - 一对一引用(系统角色) - - - - - 机构Id - - - - - 一对一引用(系统机构) - - - - - 角色菜单表 - - - - - 角色Id - - - - - 一对一引用(系统用户) - - - - - 菜单Id - - - - - 一对一引用(系统菜单) - - - - - 租户表 - - - - - 名称 - - - - - 主机 - - - - - 电子邮箱 - - - - - 电话 - - - - - 数据库连接 - - - - - 架构 - - - - - 备注 - - - - - 定时任务 - - - - - 任务名称 - - dilon - - - - 任务分组 - - dilon - - - - 开始时间 - - - - - 结束时间 - - null - - - - Cron表达式 - - - - - - 执行次数(默认无限循环) - - 10 - - - - 执行间隔时间,单位秒(如果有Cron,则IntervalSecond失效) - - 5 - - - - 触发器类型 - - - - - 请求url - - - - - 请求参数(Post,Put请求用) - - - - - Headers(可以包含如:Authorization授权认证) - 格式:{"Authorization":"userpassword.."} - - - - - 请求类型 - - 2 - - - - 备注 - - - - - 用户表 - - - - - 账号 - - - - - 密码(采用MD5加密) - - - - - 昵称 - - - - - 姓名 - - - - - 头像 - - - - - 生日 - - - - - 性别-男_1、女_2 - - - - - 邮箱 - - - - - 手机 - - - - - 电话 - - - - - 最后登录IP - - - - - 最后登录时间 - - - - - 管理员类型-超级管理员_1、非管理员_2 - - - - - 状态-正常_0、停用_1、删除_2 - - - - - 多对多(角色) - - - - - 多对多中间表(用户-角色) - - - - - 多对多(机构) - - - - - 多对多中间表(用户-机构 数据范围) - - - - - 配置多对多关系 - - - - - - - - 用户数据范围表 - - - - - 用户Id - - - - - 一对一引用(系统用户) - - - - - 机构Id - - - - - 一对一引用(系统机构) - - - - - 用户角色表 - - - - - 用户Id - - - - - 一对一引用(系统用户) - - - - - 系统角色Id - - - - - 一对一引用(系统角色) - - - - - 账号类型 - - - - - 超级管理员 - - - - - 非管理员 - - - - - 公共状态 - - - - - 正常 - - - - - 停用 - - - - - 删除 - - - - - 全部数据 - - - - - 本部门及以下数据 - - - - - 本部门数据 - - - - - 仅本人数据 - - - - - 自定义数据 - - - - - 系统错误码 - - - - - 用户名或密码不正确 - - - - - 非法操作!禁止删除自己 - - - - - 记录不存在 - - - - - 账号已存在 - - - - - 旧密码不匹配 - - - - - 测试数据禁止更改admin密码 - - - - - 数据已存在 - - - - - 数据不存在或含有关联引用,禁止删除 - - - - - 禁止为管理员分配角色 - - - - - 重复数据或记录含有不存在数据 - - - - - 禁止为超级管理员角色分配权限 - - - - - 非法数据 - - - - - Id不能为空 - - - - - 所属机构不在自己的数据范围内 - - - - - 禁止删除超级管理员 - - - - - 禁止修改超级管理员状态 - - - - - 没有权限 - - - - - 账号已冻结 - - - - - 父机构不存在 - - - - - 当前机构Id不能与父机构Id相同 - - - - - 已有相同组织机构,编码或名称相同 - - - - - 没有权限操作机构 - - - - - 该机构下有员工禁止删除 - - - - - 附属机构下有员工禁止删除 - - - - - 字典类型不存在 - - - - - 字典类型已存在 - - - - - 字典类型下面有字典值禁止删除 - - - - - 字典值已存在 - - - - - 字典值不存在 - - - - - 字典状态错误 - - - - - 菜单已存在 - - - - - 路由地址为空 - - - - - 打开方式为空 - - - - - 权限标识格式为空 - - - - - 权限标识格式错误 - - - - - 权限不存在 - - - - - 父级菜单不能为当前节点,请重新选择父级菜单 - - - - - 不能移动根节点 - - - - - 已存在同名或同编码应用 - - - - - 默认激活系统只能有一个 - - - - - 该应用下有菜单禁止删除 - - - - - 已存在同名或同编码应用 - - - - - 已存在同名或同编码职位 - - - - - 该职位下有员工禁止删除 - - - - - 通知公告状态错误 - - - - - 通知公告删除失败 - - - - - 通知公告编辑失败 - - - - - 文件不存在 - - - - - 已存在同名或同编码参数配置 - - - - - 禁止删除系统参数 - - - - - 已存在同名任务调度 - - - - - 任务调度不存在 - - - - - 演示环境禁止修改数据 - - - - - 已存在同名或同主机租户 - - - - - 该表代码模板已经生成过 - - - - - 已存在同名或同编码项目 - - - - - 已存在相同证件号码人员 - - - - - 检测数据不存在 - - - - - 文件存储位置 - - - - - 阿里云 - - - - - 腾讯云 - - - - - minio服务器 - - - - - 本地 - - - - - 性别 - - - - - 男 - - - - - 女 - - - - - 未知 - - - - - 日志操作类型 - - - - - 其它 - - - - - 增加 - - - - - 删除 - - - - - 编辑 - - - - - 更新 - - - - - 查询 - - - - - 详情 - - - - - 树 - - - - - 导入 - - - - - 导出 - - - - - 授权 - - - - - 强退 - - - - - 清空 - - - - - 修改状态 - - - - - 系统菜单类型 - - - - - 无 - - - - - 组件 - - - - - 内链 - - - - - 外链 - - - - - 系统菜单类型 - - - - - 目录 - - - - - 菜单 - - - - - 按钮 - - - - - 菜单权重 - - - - - 系统权重 - - - - - 业务权重 - - - - - 通知公告状态 - - - - - 草稿 - - - - - 发布 - - - - - 撤回 - - - - - 删除 - - - - - 通知公告用户状态 - - - - - 未读 - - - - - 已读 - - - - - 查询类型的枚举 - - - - - 等于 - - - - - 模糊 - - - - - 大于 - - - - - 小于 - - - - - 不等于 - - - - - 大于等于 - - - - - 小于等于 - - - - - 不为空 - - - - - 菜单激活类型 - - - - - 是 - - - - - 否 - - - - - 字典扩展 - - - - - 将一个字典转化为 QueryString - - - - - - - - 将一个字符串 URL 编码 - - - - - - - 移除空值项 - - - - - - 通用输入扩展参数(带权限) - - - - - 授权菜单 - - - - - 授权角色 - - - - - 授权数据 - - - - - 通用分页输入参数 - - - - - 搜索值 - - - - - 当前页码 - - - - - 页码容量 - - - - - 搜索开始时间 - - - - - 搜索结束时间 - - - - - 小诺分页列表结果 - - - - - - 规范化RESTful风格返回值 - - - - - 异常返回值 - - - - - - - 处理输出状态码 - - - - - - - - 成功返回值 - - - - - - - 验证失败返回值 - - - - - - - - - - RESTful风格---XIAONUO返回格式 - - - - - - 执行成功 - - - - - 状态码 - - - - - 错误信息 - - - - - 数据 - - - - - 附加数据 - - - - - 时间戳 - - - - - 全局异常处理 - - - - - 请求日志拦截 - - - - - 用户管理 - - - - - 获取用户信息 - - - - - - - - 获取用户员工信息 - - - - - - - OAuth配置---此结构方便拓展 - - - - - AppId - - - - - Secret Key - - - - - 回调地址 - - - - - 权限范围 - - - - - AccessToken参数 - - - - - 用户标识 - - - - - Token 类型 - - - - - AccessToken - - - - - 用于刷新 AccessToken 的 Token - - - - - 此 AccessToken 对应的权限 - - - - - AccessToken 过期时间 - - - - - 错误的详细描述 - - - - - 获取的Token是否包含错误 - - - - - - - 微信用户参数 - - - - - 用户特权信息,json 数组,如微信沃卡用户为(chinaunicom) - - - - - 获取的用户是否包含错误 - - - - - - - 发起授权 - - - - - - - 获取微信Token - - - - - - - - 获取微信用户基本信息 - - - - - - - - 刷新微信Token - - - - - - - 系统应用表种子数据 - - - - - 种子数据 - - - - - - - - 系统参数配置表种子数据 - - - - - 种子数据 - - - - - - - - 系统字典值种子数据 - - - - - 种子数据 - - - - - - - - 系统字典类型种子数据 - - - - - 种子数据 - - - - - - - - 系统员工职位表种子数据 - - - - - 员工种子数据 - - - - - - - - 系统员工表种子数据 - - - - - 员工种子数据 - - - - - - - - 系统菜单表种子数据 - - - - - 种子数据 - - - - - - - - 系统机构表种子数据 - - - - - 种子数据 - - - - - - - - 系统职位表种子数据 - - - - - 种子数据 - - - - - - - - 系统角色表种子数据 - - - - - 种子数据 - - - - - - - - 系统任务调度表种子数据 - - - - - 种子数据 - - - - - - - - 系统用户表种子数据 - - - - - 种子数据 - - - - - - - - 系统应用参数 - - - - - 名称 - - - - - 编码 - - - - - 图标 - - - - - 图标颜色 - - - - - 是否默认激活(Y-是,N-否),只能有一个系统默认激活 - 用户登录后默认展示此系统菜单 - - - - - 状态(字典 0正常 1停用 2删除) - - - - - 排序 - - - - - 名称 - - - - - 编码 - - - - - 图标 - - - - - 图标颜色 - - - - - 应用Id - - - - - 应用Id - - - - - 系统应用参数 - - - - - 应用Id - - - - - 名称 - - - - - 编码 - - - - - 是否默认 - - - - - 排序 - - - - - 系统应用服务 - - - - - 获取用户应用相关信息 - - - - - - - 分页查询系统应用 - - - - - - - 增加系统应用 - - - - - - - 删除系统应用 - - - - - - - 更新系统应用 - - - - - - - 获取系统应用 - - - - - - - 获取系统应用列表 - - - - - - - 设为默认应用 - - - - - - - 修改用户状态 - - - - - - - 登录授权相关服务 - - - - - 用户登录 - - - 默认用户名/密码:admin/admin - - - - - 获取当前登录用户信息 - - - - - - 退出 - - - - - - 获取验证码开关 - - - - - - 获取验证码(默认点选模式) - - - - - - 校验验证码 - - - - - - - 登录输入参数 - - - - - 用户名 - - superAdmin - - - - 密码 - - 123456 - - - - 用户登录输出参数 - - - - - 主键 - - - - - 账号 - - - - - 昵称 - - - - - 姓名 - - - - - 头像 - - - - - 生日 - - - - - 性别(字典 1男 2女) - - - - - 邮箱 - - - - - 手机 - - - - - 电话 - - - - - 管理员类型(0超级管理员 1非管理员) - - - - - 最后登陆IP - - - - - 最后登陆时间 - - - - - 最后登陆地址 - - - - - 最后登陆所用浏览器 - - - - - 最后登陆所用系统 - - - - - 员工信息 - - - - - 具备应用信息 - - - - - 角色信息 - - - - - 权限信息 - - - - - 登录菜单信息---AntDesign版本菜单 - - - - - 数据范围(机构)信息 - - - - - 系统缓存服务 - - - - - 获取数据范围缓存(机构Id集合) - - - - - - - 缓存数据范围(机构Id集合) - - - - - - - - 获取菜单缓存 - - - - - - - - 缓存菜单 - - - - - - - - - 获取权限缓存(按钮) - - - - - - - 缓存权限 - - - - - - - - 获取所有缓存关键字 - - - - - - 删除指定关键字缓存 - - - - - - - 删除某特征关键字缓存 - - - - - - - 设置缓存 - - - - - - - - 获取缓存 - - - - - - - 获取缓存 - - - - - - - - 代码生成详细配置服务 - - - - - 代码生成详细配置列表 - - - - - - - 增加 - - - - - - - 删除 - - - - - - - 更新 - - - - - - - 详情 - - - - - - - 批量增加 - - - - - - - 数据类型转显示类型 - - - - - - - 代码生成器服务 - - - - - 分页查询 - - - - - - - 增加 - - - - - - - 删除 - - - - - - - 更新 - - - - - - - 详情 - - - - - - - 获取数据库表(实体)集合 - - - - - - 获取数据表列(实体属性)集合 - - - - - - 代码生成_本地项目 - - - - - - 获取模板文件路径集合 - - - - - - 设置生成文件路径 - - - - - - - 代码生成详细配置参数 - - - - - 主键 - - - - - 代码生成主表ID - - - - - 数据库字段名 - - - - - 字段描述 - - - - - .NET类型 - - - - - 作用类型(字典) - - - - - 字典code - - - - - 列表是否缩进(字典) - - - - - 是否必填(字典) - - - - - 是否是查询条件 - - - - - 查询方式 - - - - - 列表显示 - - - - - 增改 - - - - - 主外键 - - - - - 数据库中类型(物理类型) - - - - - 是否是通用字段 - - - - - 代码生成参数类 - - - - - 作者姓名 - - - - - 类名 - - - - - 是否移除表前缀 - - - - - 生成方式 - - - - - 数据库表名 - - - - - 命名空间 - - - - - 业务名(业务代码包名称) - - - - - 功能名(数据库表名称) - - - - - 数据库表名 - - - - - 业务名(业务代码包名称) - - - - - 命名空间 - - - - - 作者姓名 - - - - - 生成方式 - - - - - 代码生成器Id - - - - - 代码生成器Id - - - - - 代码生成参数类 - - - - - 代码生成器Id - - - - - 作者姓名 - - - - - 类名 - - - - - 是否移除表前缀 - - - - - 生成方式 - - - - - 数据库表名 - - - - - 包名 - - - - - 业务名(业务代码包名称) - - - - - 功能名(数据库表名称) - - - - - 数据库表列 - - - - - 字段名 - - - - - 数据库中类型 - - - - - 字段描述 - - - - - 主外键 - - - - - 数据库表列表参数 - - - - - 表名(字母形式的) - - - - - 创建时间 - - - - - 更新时间 - - - - - 表名称描述(注释)(功能名) - - - - - 作者姓名 - - - - - 是否移除表前缀 - - - - - 生成方式 - - - - - 数据库表名 - - - - - 数据库表名(经过组装的) - - - - - 代码包名 - - - - - 生成时间(string类型的) - - - - - 数据库表中字段集合 - - - - - 业务名 - - - - - 参数配置 - - - - - 名称 - - - - - 编码 - - - - - 属性值 - - - - - 是否是系统参数(Y-是,N-否) - - - - - 备注 - - - - - 状态(字典 0正常 1停用 2删除) - - - - - 常量所属分类的编码,来自于“常量的分类”字典 - - - - - 名称 - - - - - 编码 - - - - - 应用Id - - - - - 应用Id - - - - - 系统参数配置服务 - - - - - 分页获取系统参数配置 - - - - - - - 获取系统参数配置列表 - - - - - - - 增加系统参数配置 - - - - - - - 删除系统参数配置 - - - - - - - 更新系统参数配置 - - - - - - - 获取系统参数配置 - - - - - - - 获取配置信息 - - - - - - - 更新配置缓存 - - - - - - - - 获取演示环境开关是否开启,默认为false - - - - - - 获取验证码开关标识 - - - - - - 字典值参数 - - - - - 字典类型Id - - - - - 值 - - - - - 编码 - - - - - 排序 - - - - - 备注 - - - - - 状态(字典 0正常 1停用 2删除) - - - - - 字典类型Id - - - - - 字典类型Id - - - - - 值 - - - - - 编码 - - - - - 字典值Id - - - - - 字典值Id - - - - - 字典值参数 - - - - - 字典Id - - - - - 字典类型与字典值构造的树 - - - - - Id - - - - - 父Id - - - - - 编码-对应字典值的编码 - - - - - 名称-对应字典值的value - - - - - 子节点集合 - - - - - 字典类型参数 - - - - - 名称 - - - - - 编码 - - - - - 排序 - - - - - 备注 - - - - - 状态(字典 0正常 1停用 2删除) - - - - - 名称 - - - - - 编码 - - - - - 编号Id - - - - - Id - - - - - 编码 - - - - - 字典值服务 - - - - - 分页查询字典值 - - - - - - - 获取某个字典类型下字典值列表 - - - - - - 增加字典值 - - - - - - - 删除字典值 - - - - - - - 更新字典值 - - - - - - - 字典值详情 - - - - - - - 修改字典值状态 - - - - - - - 根据字典类型Id获取字典值集合 - - - - - - - 删除字典下所有值 - - - - - - 字典类型服务 - - - - - 分页查询字典类型 - - - - - - 获取字典类型列表 - - - - - - 获取字典类型下所有字典值 - - - - - - - 添加字典类型 - - - - - - - 删除字典类型 - - - - - - - 更新字典类型 - - - - - - - 字典类型详情 - - - - - - - 更新字典类型状态 - - - - - - - 字典类型与字典值构造的字典树 - - - - - - 附属机构和职位参数 - - - - - 附属机构id - - - - - 附属机构编码 - - - - - 附属机构名称 - - - - - 附属职位id - - - - - 附属职位编码 - - - - - 附属职位名称 - - - - - 员工信息参数 - - - - - 工号 - - - - - 机构id - - - - - 机构名称 - - - - - 机构与职位信息 - - - - - 职位信息 - - - - - 员工信息参数2 - - - - - 员工Id - - - - - 工号 - - - - - 机构Id - - - - - 机构名称 - - - - - 附属机构 - - - - - 职位集合 - - - - - 员工职位参数 - - - - - 职位Id - - - - - 职位编码 - - - - - 职位名称 - - - - - 员工附属机构和职位服务 - - - - - 保存或编辑附属机构相关信息 - - - - - - 获取附属机构和职位信息 - - - - - - - 根据机构Id判断该附属机构下是否有员工 - - - - - - - 根据职位Id判断该附属职位下是否有员工 - - - - - - - 根据员工Id删除对应的员工-附属信息 - - - - - - - 员工职位服务 - - - - - 增加或编辑员工职位相关信息 - - 员工Id(用户Id) - 职位id集合 - - - - - 获取所属职位信息 - - 员工Id(用户Id) - - - - 根据职位Id判断该职位下是否有员工 - - - - - - - 根据员工Id删除对用的员工-职位信息 - - - - - - - 员工服务 - - - - - 获取用户员工相关信息(包括登录) - - - - - - - 增加或编辑员工相关信息 - - - - - - 修改员工相关机构信息 - - - - - - - - 根据机构Id判断该机构下是否有员工 - - - - - - - 根据员工Id删除对应的员工表信息 - - - - - - - 获取员工机构Id - - - - - - - 上传文件参数 - - - - - 文件存储位置(1:阿里云,2:腾讯云,3:minio,4:本地) - - - - - 文件仓库 - - - - - 文件名称(上传时候的文件名) - - - - - 文件后缀 - - - - - 文件大小kb - - - - - 文件大小信息,计算后的 - - - - - 存储到bucket的名称(文件唯一标识id) - - - - - 存储路径 - - - - - 文件Id - - - - - 上传文件参数 - - - - - 文件Id - - - - - 文件服务 - - - - - 分页获取文件列表 - - - - - - - 获取文件列表 - - - - - - - 删除文件 - - - - - - - 获取文件详情 - - - - - - - 预览文件 - - - - - - - 上传文件 - - - - - - - 下载文件 - - - - - - - 上传头像 - - - - - - - 上传文档 - - - - - - - 上传商店图片 - - - - - - - 上传文件 - - - - - - - - 请求日志参数 - - - - - 名称 - - - - - 操作类型(0其他 1增加 2删除 3编辑)(见LogAnnotionOpTypeEnum) - - - - - 是否执行成功(Y-是,N-否) - - - - - 具体消息 - - - - - ip - - - - - 地址 - - - - - 浏览器 - - - - - 操作系统 - - - - - 请求地址 - - - - - 类名称 - - - - - 方法名称 - - - - - 请求方式(GET POST PUT DELETE) - - - - - 请求参数 - - - - - 返回结果 - - - - - 耗时(毫秒) - - - - - 操作时间 - - - - - 操作人 - - - - - 请求日志参数 - - - - - 访问日志参数 - - - - - 名称 - - - - - 是否执行成功(Y-是,N-否) - - - - - 具体消息 - - - - - IP - - - - - 地址 - - - - - 浏览器 - - - - - 操作系统 - - - - - 访问类型(字典 1登入 2登出) - - - - - 访问时间 - - - - - 访问人 - - - - - 访问日志参数 - - - - - 操作日志服务 - - - - - 分页查询操作日志 - - - - - - - 清空操作日志 - - - - - - 访问日志服务 - - - - - 分页查询访问日志 - - - - - - - 清空访问日志 - - - - - - 登录菜单-AntDesign菜单类型 - - - - - id - - - - - 父id - - - - - 路由名称, 必须设置,且不能重名 - - - - - 组件 - - - - - 重定向地址, 访问这个路由时, 自定进行重定向 - - - - - 路由元信息(路由附带扩展信息) - - - - - 路径 - - - - - 控制路由和子路由是否显示在 sidebar - - - - - 路由元信息内部类 - - - - - 路由标题, 用于显示面包屑, 页面标题 *推荐设置 - - - - - 图标 - - - - - 是否可见 - - - - - 如需外部打开,增加:_blank - - - - - 内链打开http链接 - - - - - 菜单参数 - - - - - 父Id - - - - - 名称 - - - - - 编码 - - - - - 菜单类型(字典 0目录 1菜单 2按钮) - - - - - 图标 - - - - - 路由地址 - - - - - 组件地址 - - - - - 权限标识 - - - - - 应用分类(应用编码) - - - - - 打开方式(字典 0无 1组件 2内链 3外链) - - - - - 是否可见(Y-是,N-否) - - - - - 内链地址 - - - - - 重定向地址 - - - - - 权重(字典 1系统权重 2业务权重) - - - - - 排序 - - - - - 备注 - - - - - 菜单类型(字典 0目录 1菜单 2按钮) - - - - - 菜单Id - - - - - 菜单Id - - - - - 父Id - DeleteMenuInput - - - - 应用编码 - DeleteMenuInput - - - - 菜单树(列表形式) - - - - - 菜单Id - - - - - 子节点 - - - - - 菜单树---授权、新增编辑时选择 - - - - - 主键 - - - - - 父Id - - - - - 名称 - - - - - 值 - - - - - 排序,越小优先级越高 - - - - - 子节点 - - - - - 系统菜单服务 - - - - - 获取用户权限(按钮权限标识集合) - - - - - - - 获取用户AntDesign菜单集合 - - - - - - - - 获取用户菜单所属的应用编码集合 - - - - - - - 系统菜单列表(树表) - - - - - - - 创建Pids格式 - 如果pid是0顶级节点,pids就是 [0]; - 如果pid不是顶级节点,pids就是 pid菜单的 pids + [pid] + , - - - - - - - 增加和编辑时检查参数 - - - - - - 增加系统菜单 - - - - - - - 删除系统菜单 - - - - - - - 更新系统菜单 - - - - - - - 获取系统菜单 - - - - - - - 获取系统菜单树,用于新增、编辑时选择上级节点 - - - - - - - 获取系统菜单树,用于给角色授权时选择 - - - - - - - 根据应用编码判断该机构下是否有状态为正常的菜单 - - - - - - - 根据系统应用切换菜单 - - - - - - - 服务器信息服务 - - - - - 获取服务器资源信息 - - - - - - 获取服务器基本参数 - - - - - - 动态获取网络信息 - - - - - - 通知公告参数 - - - - - 标题 - - - - - 内容 - - - - - 类型(字典 1通知 2公告) - - - - - 发布人Id - - - - - 发布人姓名 - - - - - 发布机构Id - - - - - 发布机构名称 - - - - - 发布时间 - - - - - 撤回时间 - - - - - 状态(字典 0草稿 1发布 2撤回 3删除) - - - - - 系统通知公告详情参数 - - - - - 通知到的用户Id集合 - - - - - 通知到的用户阅读信息集合 - - - - - 用户Id - - - - - 用户名称 - - - - - 状态(字典 0未读 1已读) - - - - - 阅读时间 - - - - - 通知公告参数 - - - - - 标题 - - - - - 内容 - - - - - 类型(字典 1通知 2公告) - - - - - 状态(字典 0草稿 1发布 2撤回 3删除) - - - - - 通知到的人 - - - - - 标题 - - - - - 内容 - - - - - 类型(字典 1通知 2公告) - - - - - 状态(字典 0草稿 1发布 2撤回 3删除) - - - - - 通知到的人 - - - - - Id - - - - - Id - - - - - 状态(字典 0草稿 1发布 2撤回 3删除) - - - - - 通知公告接收参数 - - - - - Id - - - - - 阅读状态(字典 0未读 1已读) - - - - - 阅读时间 - - - - - 通知公告服务 - - - - - 分页查询通知公告 - - - - - - - 增加通知公告 - - - - - - - 删除通知公告 - - - - - - - 更新通知公告 - - - - - - - 获取通知公告详情 - - - - - - - 修改通知公告状态 - - - - - - - 获取接收的通知公告 - - - - - - - 更新发布信息 - - - - - - 通知公告用户 - - - - - 增加 - - - - - - - - - 更新 - - - - - - - - - 获取通知公告用户列表 - - - - - - - 设置通知公告读取状态 - - - - - - - - - OAuth服务 - - - - - 微信登录授权 - - - - - 微信登录授权回调 - - - - - - - - - 获取微信用户基本信息 - - - - - - - - 组织机构参数 - - - - - 父Id - - - - - 父Ids - - - - - 名称 - - - - - 编码 - - - - - 电话 - - - - - 排序 - - - - - 备注 - - - - - 状态(字典 0正常 1停用 2删除) - - - - - 名称 - - - - - 编码 - - - - - 机构Id - - - - - 机构Id - - - - - 组织机构参数 - - - - - 机构Id - - - - - 组织机构树 - - - - - Id - - - - - 父Id - - - - - 名称 - - - - - 值 - - - - - 排序,越小优先级越高 - - - - - 子节点 - - - - - 上一级Id - - - - - 组织机构服务 - - - - - 分页查询组织机构 - - - - - - - (非管理员)获取当前用户数据范围(机构Id) - - - - - - - 获取组织机构列表 - - - - - - - 增加组织机构 - - - - - - - 填充父Ids字段 - - - - - - - 删除组织机构 - - - - - - - 更新组织机构 - - - - - - - 获取组织机构信息 - - - - - - - 根据节点Id获取所有子节点Id集合,包含自己 - - - - - - - 获取组织机构树 - - - - - - 根据数据范围类型获取当前用户的数据范围(机构Id)集合 - - - - - - - - 获取用户数据范围(机构Id集合) - - - - - - 职位参数 - - - - - 名称 - - - - - 编码 - - - - - 排序 - - - - - 备注 - - - - - 状态(字典 0正常 1停用 2删除) - - - - - 当前页码 - - - - - 页码容量 - - - - - 名称 - - - - - 编码 - - - - - 职位Id - - - - - 职位Id - - - - - 职位服务 - - - - - 分页获取职位 - - - - - - - 获取职位列表 - - - - - - 增加职位 - - - - - - - 删除职位 - - - - - - - 更新职位 - - - - - - - 获取职位 - - - - - - - 角色参数 - - - - - 名称 - - - - - 编码 - - - - - 排序 - - - - - 数据范围类型(字典 1全部数据 2本部门及以下数据 3本部门数据 4仅本人数据 5自定义数据) - - - - - 备注 - - - - - 名称 - - - - - 编码 - - - - - 角色Id - - - - - 角色Id - - - - - 角色Id - - - - - 登录用户角色参数 - - - - - Id - - - - - 编码 - - - - - 名称 - - - - - 角色数据范围服务 - - - - - 授权角色数据范围 - - - - - - - 根据角色Id集合获取角色数据范围集合 - - - - - - - 根据机构Id集合删除对应的角色-数据范围关联信息 - - - - - - - 根据角色Id删除对应的角色-数据范围关联信息 - - - - - - - 角色菜单 - - - - - 获取角色的菜单Id集合 - - - - - - - 授权角色菜单 - - - - - - - 根据菜单Id集合删除对应的角色-菜单表信息 - - - - - - - 根据角色Id删除对应的角色-菜单表关联信息 - - - - - - - 角色服务 - - - - - 获取用户角色相关信息(登录) - - - - - - - 分页获取角色列表 - - - - - - - 获取角色列表 - - - - - - - 角色下拉(用于授权角色时选择) - - - - - - 增加角色 - - - - - - - 删除角色 - - - - - - - 更新角色 - - - - - - - 获取角色 - - - - - - - 授权角色菜单 - - - - - - - 授权角色数据 - - - - - - - 根据角色Id集合获取数据范围Id集合 - - - - - - - - 根据角色Id获取角色名称 - - - - - - - 获取角色拥有菜单Id集合 - - - - - - - 获取角色拥有数据Id集合 - - - - - - - 租户参数 - - - - - 名称 - - - - - 主机 - - - - - 电子邮箱 - - - - - 电话号码 - - - - - 模式 - - - - - 数据库连接 - - - - - 备注 - - - - - 创建时间 - - - - - 租户名称 - - - - - 主机名称 - - - - - 数据库连接 - - - - - 租户Id - - - - - 租户Id - - - - - 租户参数 - - - - - 租户Id - - - - - 名称 - - - - - 主机 - - - - - 电子邮箱 - - - - - 电话号码 - - - - - 模式 - - - - - 数据库连接 - - - - - 备注 - - - - - 创建时间 - - - - - 租户服务 - - - - - 分页查询租户 - - - - - - - 增加租户 - - - - - - - 删除租户 - - - - - - - 更新租户 - - - - - - - 获取租户 - - - - - - - 任务调度参数 - - - - - 任务名称 - - dilon - - - - 任务分组 - - dilon - - - - 开始时间 - - - - - 结束时间 - - null - - - - Cron表达式 - - - - - - 执行次数(默认无限循环) - - 10 - - - - 执行间隔时间,单位秒(如果有Cron,则IntervalSecond失效) - - 5 - - - - 触发器类型 - - - - - 请求url - - - - - 请求参数(Post,Put请求用) - - - - - Headers(可以包含如:Authorization授权认证) - 格式:{"Authorization":"userpassword.."} - - - - - 请求类型 - - 2 - - - - 描述 - - - - - 任务状态 - - - - - 任务Id - - - - - 任务信息---任务详情 - - - - - 任务名称 - - - - - 任务组名 - - - - - 下次执行时间 - - - - - 上次执行时间 - - - - - 开始时间 - - - - - 结束时间 - - - - - 上次执行的异常信息 - - - - - 任务状态 - - - - - 描述 - - - - - 显示状态 - - - - - 时间间隔 - - - - - 请求地址 - - - - - 请求类型 - - - - - 已经执行的次数 - - - - - 任务调度中心 - - - - - 开启调度器 - - - - - - 停止调度器 - - - - - 添加一个工作任务 - - - - - - - 暂停任务 - - - - - - - 删除任务 - - - - - - - 恢复运行暂停的任务 - - - - - - - 查询任务 - - - - - - - 立即执行 - - - - - - - 获取任务日志 - - - - - - - 获取任务运行次数 - - - - - - - 获取所有任务详情 - - - - - - 从数据库里面获取所有任务并初始化 - - - - - 创建类型Simple的触发器 - - - - - - - 创建类型Cron的触发器 - - - - - - - 任务调度相关常量 - - - - - 请求url RequestUrl - - - - - 请求参数 RequestParameters - - - - - Headers(可以包含:Authorization授权认证) - - - - - 请求类型 RequestType - - - - - 日志 LogList - - - - - 异常 Exception - - - - - 执行次数 - - - - - 任务结束时间 - - - - - http请求类型 - - - - - 触发器类型 - - - - - 任务调度服务 - - - - - 分页获取任务列表 - - - - - - - 增加任务 - - - - - - - 删除任务 - - - - - - - 修改任务 - - - - - - - 查看任务 - - - - - - - 停止任务 - - - - - - - 启动任务 - - - - - - - AuthToken参数 - - - - - OAuth用户参数 - - - - - 用户参数 - - - - - 账号 - - - - - 密码 - - - - - 昵称 - - - - - 姓名 - - - - - 头像 - - - - - 生日 - - - - - 性别-男_1、女_2 - - - - - 邮箱 - - - - - 手机 - - - - - 电话 - - - - - 状态-正常_0、停用_1、删除_2 - - - - - 员工信息 - - - - - 搜索状态(字典 0正常 1停用 2删除) - - - - - 账号 - - - - - 密码 - - - - - 确认密码 - - - - - 用户Id - - - - - 用户Id - - - - - 密码 - - - - - 新密码 - - - - - 用户参数 - - - - - Id - - - - - 账号 - - - - - 昵称 - - - - - 姓名 - - - - - 头像 - - - - - 生日 - - - - - 性别-男_1、女_2 - - - - - 邮箱 - - - - - 手机 - - - - - 电话 - - - - - 状态-正常_0、停用_1、删除_2 - - - - - 员工信息 - - - - - 用户数据范围服务 - - - - - 授权用户数据 - - - - - - - 获取用户的数据范围Id集合 - - - - - - - 根据机构Id集合删除对应的用户-数据范围关联信息 - - - - - - - 根据用户Id删除对应的用户-数据范围关联信息 - - - - - - - 用户角色服务 - - - - - 获取用户的角色Id集合 - - - - - - - 授权用户角色 - - - - - - - 获取用户所有角色的数据范围(组织机构Id集合) - - - - - - - - 根据角色Id删除对应的用户-角色表关联信息 - - - - - - - 根据用户Id删除对应的用户-角色表关联信息 - - - - - - - 用户服务 - - - - - 分页查询用户 - - - - - - - 增加用户 - - - - - - - 删除用户 - - - - - - - 更新用户 - - - - - - - 查看用户 - - - - - - - 修改用户状态 - - - - - - - 授权用户角色 - - - - - - - 授权用户数据范围 - - - - - - - 更新用户信息 - - - - - - - 修改用户密码 - - - - - - - 获取用户拥有角色 - - - - - - - 获取用户拥有数据 - - - - - - - 重置用户密码 - - - - - - - 修改用户头像(未实现) - - - - - - - 获取用户选择器 - - - - - - - 用户导出(未实现) - - - - - - - 根据用户Id获取用户 - - - - - - - 将OAuth账号转换成账号 - - - - - - - - 获取用户数据范围(机构Id集合)并缓存 - - - - - - - 获取用户数据范围(机构Id集合) - - - - - - 检查普通用户数据范围 - - - - - - - 获取服务器信息 - - - - - 获取资源使用信息 - - - - - - 获取基本参数 - - - - - - 动态获取网络信息 - - - - - - 是否Linux - - - - - - 获取CPU使用率 - - - - - - 获取系统运行时间 - - - - - - 获取内存信息 - - - - - - 毫秒转天时分秒 - - - - - - - 获取外网IP和地理位置 - - - - - - 系统Shell命令 - - - - - Bash命令 - - - - - - - cmd命令 - - - - - - - - - - - - - 当前正在联网的网卡信息 - - - - - - 获取当前网卡的网络速度 - - - - - - - 树基类 - - - - - 获取节点id - - - - - - 获取节点父id - - - - - - 设置Children - - - - - - 递归工具类,用于遍历有父子关系的节点,例如菜单树,字典树等等 - - - - - - 顶级节点的父节点Id(默认0) - - - - - 构造树节点 - - - - - - - 构造子节点集合 - - - - - - - + + + + Dilon.Core + + + + + 缓存配置 + + + + + 缓存类型 + + + + + Redis配置 + + + + + 内存缓存 + + + + + Redis缓存 + + + + + 缓存接口 + + + + + 用于在 key 存在时删除 key + + 键 + + + + 用于在 key 存在时删除 key + + 键 + + + + + 用于在 key 模板存在时删除 + + key模板 + + + + + 检查给定 key 是否存在 + + 键 + + + + + 检查给定 key 是否存在 + + 键 + + + + + 获取指定 key 的值 + + 键 + + + + + 获取指定 key 的值 + + byte[] 或其他类型 + 键 + + + + + 获取指定 key 的值 + + 键 + + + + + 获取指定 key 的值 + + byte[] 或其他类型 + 键 + + + + + 设置指定 key 的值,所有写入参数object都支持string | byte[] | 数值 | 对象 + + 键 + 值 + + + + 设置指定 key 的值,所有写入参数object都支持string | byte[] | 数值 | 对象 + + 键 + 值 + 有效期 + + + + 设置指定 key 的值,所有写入参数object都支持string | byte[] | 数值 | 对象 + + 键 + 值 + + + + + 设置指定 key 的值,所有写入参数object都支持string | byte[] | 数值 | 对象 + + 键 + 值 + 有效期 + + + + + 内存缓存 + + + + + Redis缓存 + + + + + 点选验证码 + + + + + 生成验证码图片 + + + + + + + + + 转换为相对于图片的百分比单位 + + 图片宽高 + 相对于图片的绝对尺寸 + (int:xPercent, int:yPercent) + + + + 加载字体 + + 字体文件路径,包含字体文件名和后缀名 + 大小 + 字形(常规/粗体/斜体/粗斜体) + + + + 随机绘制字符串 + + + + + + + 验证码验证 + + + + + + + 记录正确位置 + + + + + 点击验证码输入参数 + + + + + 验证码类型 + + + + + 坐标点集合 + + + + + Token + + + + + 验证码输出参数 + + + + + 常规验证码 + + + + + 生成验证码图片 + + + + + + + 验证码验证 + + + + + + + 常规验证码输入 + + + + + 验证码类型 + + + + + 验证码字符 + + + + + Token + + + + + 用户Id + + + + + 账号 + + + + + 名称 + + + + + 是否超级管理 + + + + + 默认密码 + + + + + 用户缓存 + + + + + 菜单缓存 + + + + + 权限缓存 + + + + + 数据范围缓存 + + + + + 验证码缓存 + + + + + 自定义实体基类 + + + + + 主键Id + + + + + 创建时间 + + + + + 更新时间 + + + + + 创建者Id + + + + + 创建者名称 + + + + + 修改者Id + + + + + 修改者名称 + + + + + 软删除 + + + + + 系统应用表 + + + + + 名称 + + + + + 编码 + + + + + 图标 + + + + + 图标颜色 + + + + + 是否默认激活(Y-是,N-否),只能有一个系统默认激活 + 用户登录后默认展示此系统菜单 + + + + + 状态(字典 0正常 1停用 2删除) + + + + + 排序 + + + + + 代码生成表 + + + + + 作者姓名 + + + + + 是否移除表前缀 + + + + + 生成方式 + + + + + 数据库表名 + + + + + 命名空间 + + + + + 业务名 + + + + + 代码生成字段配置表 + + + + + 代码生成主表ID + + + + + 数据库字段名 + + + + + 字段描述 + + + + + .NET数据类型 + + + + + 作用类型(字典) + + + + + 字典code + + + + + 列表是否缩进(字典) + + + + + 是否必填(字典) + + + + + 是否是查询条件 + + + + + 查询方式 + + + + + 列表显示 + + + + + 增改 + + + + + 主外键 + + + + + 数据库中类型(物理类型) + + + + + 是否通用字段 + + + + + 参数配置表 + + + + + 名称 + + + + + 编码 + + + + + 属性值 + + + + + 是否是系统参数(Y-是,N-否) + + + + + 备注 + + + + + 状态(字典 0正常 1停用 2删除) + + + + + 常量所属分类的编码,来自于“常量的分类”字典 + + + + + 监听实体更改之后 + + + + + + + + + + 字典值表 + + + + + 字典类型Id + + + + + 值 + + + + + 编码 + + + + + 排序 + + + + + 备注 + + + + + 状态(字典 0正常 1停用 2删除) + + + + + 所属类型 + + + + + 字典类型表 + + + + + 名称 + + + + + 编码 + + + + + 排序 + + + + + 备注 + + + + + 状态(字典 0正常 1停用 2删除) + + + + + 字典数据 + + + + + 员工表 + + + + + 用户Id + + + + + 工号 + + + + + 机构Id + + + + + 机构名称 + + + + + 多对多(职位) + + + + + 多对多中间表(员工-职位) + + + + + 多对多配置关系 + + + + + + + + 员工附属机构职位表 + + + + + 员工Id + + + + + 一对一引用(员工) + + + + + 机构Id + + + + + 一对一引用(机构) + + + + + 职位Id + + + + + 一对一引用(职位) + + + + + 员工职位表 + + + + + 员工Id + + + + + 一对一引用(员工) + + + + + 职位Id + + + + + 一对一引用(职位) + + + + + 文件信息表 + + + + + 文件存储位置(1:阿里云,2:腾讯云,3:minio,4:本地) + + + + + 文件仓库 + + + + + 文件名称(上传时候的文件名) + + + + + 文件后缀 + + + + + 文件大小kb + + + + + 文件大小信息,计算后的 + + + + + 存储到bucket的名称(文件唯一标识id) + + + + + 存储路径 + + + + + 系统操作/审计日志表 + + + + + 表名 + + + + + 列名 + + + + + 新值 + + + + + 旧值 + + + + + 操作时间 + + + + + 操作人Id + + + + + 操作人名称 + + + + + 操作方式:新增、更新、删除 + + + + + 操作日志表 + + + + + 名称 + + + + + 操作类型(0其他 1增加 2删除 3编辑)(见LogAnnotionOpTypeEnum) + + + + + 是否执行成功(Y-是,N-否) + + + + + 具体消息 + + + + + IP + + + + + 地址 + + + + + 浏览器 + + + + + 操作系统 + + + + + 请求地址 + + + + + 类名称 + + + + + 方法名称 + + + + + 请求方式(GET POST PUT DELETE) + + + + + 请求参数 + + + + + 返回结果 + + + + + 耗时(毫秒) + + + + + 操作时间 + + + + + 操作人 + + + + + 访问日志表 + + + + + 名称 + + + + + 是否执行成功(Y-是,N-否) + + + + + 具体消息 + + + + + IP + + + + + 地址 + + + + + 浏览器 + + + + + 操作系统 + + + + + 访问类型(字典 1登入 2登出) + + + + + 访问时间 + + + + + 访问人 + + + + + 菜单表 + + + + + 父Id + + + + + 父Ids + + + + + 名称 + + + + + 编码 + + + + + 菜单类型(字典 0目录 1菜单 2按钮) + + + + + 图标 + + + + + 路由地址 + + + + + 组件地址 + + + + + 权限标识 + + + + + 应用分类(应用编码) + + + + + 打开方式(字典 0无 1组件 2内链 3外链) + + + + + 是否可见(Y-是,N-否) + + + + + 内链地址 + + + + + 重定向地址 + + + + + 权重(字典 1系统权重 2业务权重) + + + + + 排序 + + + + + 备注 + + + + + 状态(字典 0正常 1停用 2删除) + + + + + 多对多(角色) + + + + + 多对多中间表(用户角色) + + + + + 通知公告表 + + + + + 标题 + + + + + 内容 + + + + + 类型(字典 1通知 2公告) + + + + + 发布人Id + + + + + 发布人姓名 + + + + + 发布机构Id + + + + + 发布机构名称 + + + + + 发布时间 + + + + + 撤回时间 + + + + + 状态(字典 0草稿 1发布 2撤回 3删除) + + + + + 通知公告用户表 + + + + + 通知公告Id + + + + + 用户Id + + + + + 阅读时间 + + + + + 状态(字典 0未读 1已读) + + + + + Oauth登录用户表 + + + + + 第三方平台的用户唯一Id + + + + + 用户授权的token + + + + + 昵称 + + + + + 头像 + + + + + 性别 + + + + + 电话 + + + + + 邮箱 + + + + + 位置 + + + + + 用户网址 + + + + + 所在公司 + + + + + 用户来源 + + + + + 用户备注(各平台中的用户个人介绍) + + + + + 组织机构表 + + + + + 父Id + + + + + 父Ids + + + + + 名称 + + + + + 编码 + + + + + 联系人 + + + + + 电话 + + + + + 排序 + + + + + 备注 + + + + + 状态(字典 0正常 1停用 2删除) + + + + + 多对多(用户) + + + + + 多对多中间表(用户数据范围) + + + + + 多对多(角色) + + + + + 多对多中间表(角色数据范围) + + + + + 职位表 + + + + + 名称 + + + + + 编码 + + + + + 排序 + + + + + 备注 + + + + + 状态(字典 0正常 1停用 2删除) + + + + + 多对多(员工) + + + + + 多对多中间表(员工职位) + + + + + 角色表 + + + + + 名称 + + + + + 编码 + + + + + 排序 + + + + + 数据范围类型(字典 1全部数据 2本部门及以下数据 3本部门数据 4仅本人数据 5自定义数据) + + + + + 备注 + + + + + 状态(字典 0正常 1停用 2删除) + + + + + 多对多(用户) + + + + + 多对多中间表(用户角色) + + + + + 多对多(机构) + + + + + 多对多中间表(角色-机构 数据范围) + + + + + 多对多(菜单) + + + + + 多对多中间表(角色-菜单) + + + + + 配置多对多关系 + + + + + + + + 角色数据范围表 + + + + + 角色Id + + + + + 一对一引用(系统角色) + + + + + 机构Id + + + + + 一对一引用(系统机构) + + + + + 角色菜单表 + + + + + 角色Id + + + + + 一对一引用(系统用户) + + + + + 菜单Id + + + + + 一对一引用(系统菜单) + + + + + 租户表 + + + + + 名称 + + + + + 主机 + + + + + 电子邮箱 + + + + + 电话 + + + + + 数据库连接 + + + + + 架构 + + + + + 备注 + + + + + 定时任务 + + + + + 任务名称 + + dilon + + + + 任务分组 + + dilon + + + + 开始时间 + + + + + 结束时间 + + null + + + + Cron表达式 + + + + + + 执行次数(默认无限循环) + + 10 + + + + 执行间隔时间,单位秒(如果有Cron,则IntervalSecond失效) + + 5 + + + + 触发器类型 + + + + + 请求url + + + + + 请求参数(Post,Put请求用) + + + + + Headers(可以包含如:Authorization授权认证) + 格式:{"Authorization":"userpassword.."} + + + + + 请求类型 + + 2 + + + + 备注 + + + + + 用户表 + + + + + 账号 + + + + + 密码(采用MD5加密) + + + + + 昵称 + + + + + 姓名 + + + + + 头像 + + + + + 生日 + + + + + 性别-男_1、女_2 + + + + + 邮箱 + + + + + 手机 + + + + + 电话 + + + + + 最后登录IP + + + + + 最后登录时间 + + + + + 管理员类型-超级管理员_1、非管理员_2 + + + + + 状态-正常_0、停用_1、删除_2 + + + + + 多对多(角色) + + + + + 多对多中间表(用户-角色) + + + + + 多对多(机构) + + + + + 多对多中间表(用户-机构 数据范围) + + + + + 配置多对多关系 + + + + + + + + 用户数据范围表 + + + + + 用户Id + + + + + 一对一引用(系统用户) + + + + + 机构Id + + + + + 一对一引用(系统机构) + + + + + 用户角色表 + + + + + 用户Id + + + + + 一对一引用(系统用户) + + + + + 系统角色Id + + + + + 一对一引用(系统角色) + + + + + 账号类型 + + + + + 超级管理员 + + + + + 非管理员 + + + + + 公共状态 + + + + + 正常 + + + + + 停用 + + + + + 删除 + + + + + 全部数据 + + + + + 本部门及以下数据 + + + + + 本部门数据 + + + + + 仅本人数据 + + + + + 自定义数据 + + + + + 系统错误码 + + + + + 用户名或密码不正确 + + + + + 非法操作!禁止删除自己 + + + + + 记录不存在 + + + + + 账号已存在 + + + + + 旧密码不匹配 + + + + + 测试数据禁止更改admin密码 + + + + + 数据已存在 + + + + + 数据不存在或含有关联引用,禁止删除 + + + + + 禁止为管理员分配角色 + + + + + 重复数据或记录含有不存在数据 + + + + + 禁止为超级管理员角色分配权限 + + + + + 非法数据 + + + + + Id不能为空 + + + + + 所属机构不在自己的数据范围内 + + + + + 禁止删除超级管理员 + + + + + 禁止修改超级管理员状态 + + + + + 没有权限 + + + + + 账号已冻结 + + + + + 父机构不存在 + + + + + 当前机构Id不能与父机构Id相同 + + + + + 已有相同组织机构,编码或名称相同 + + + + + 没有权限操作机构 + + + + + 该机构下有员工禁止删除 + + + + + 附属机构下有员工禁止删除 + + + + + 字典类型不存在 + + + + + 字典类型已存在 + + + + + 字典类型下面有字典值禁止删除 + + + + + 字典值已存在 + + + + + 字典值不存在 + + + + + 字典状态错误 + + + + + 菜单已存在 + + + + + 路由地址为空 + + + + + 打开方式为空 + + + + + 权限标识格式为空 + + + + + 权限标识格式错误 + + + + + 权限不存在 + + + + + 父级菜单不能为当前节点,请重新选择父级菜单 + + + + + 不能移动根节点 + + + + + 已存在同名或同编码应用 + + + + + 默认激活系统只能有一个 + + + + + 该应用下有菜单禁止删除 + + + + + 已存在同名或同编码应用 + + + + + 已存在同名或同编码职位 + + + + + 该职位下有员工禁止删除 + + + + + 通知公告状态错误 + + + + + 通知公告删除失败 + + + + + 通知公告编辑失败 + + + + + 文件不存在 + + + + + 已存在同名或同编码参数配置 + + + + + 禁止删除系统参数 + + + + + 已存在同名任务调度 + + + + + 任务调度不存在 + + + + + 演示环境禁止修改数据 + + + + + 已存在同名或同主机租户 + + + + + 该表代码模板已经生成过 + + + + + 已存在同名或同编码项目 + + + + + 已存在相同证件号码人员 + + + + + 检测数据不存在 + + + + + 文件存储位置 + + + + + 阿里云 + + + + + 腾讯云 + + + + + minio服务器 + + + + + 本地 + + + + + 性别 + + + + + 男 + + + + + 女 + + + + + 未知 + + + + + 日志操作类型 + + + + + 其它 + + + + + 增加 + + + + + 删除 + + + + + 编辑 + + + + + 更新 + + + + + 查询 + + + + + 详情 + + + + + 树 + + + + + 导入 + + + + + 导出 + + + + + 授权 + + + + + 强退 + + + + + 清空 + + + + + 修改状态 + + + + + 系统菜单类型 + + + + + 无 + + + + + 组件 + + + + + 内链 + + + + + 外链 + + + + + 系统菜单类型 + + + + + 目录 + + + + + 菜单 + + + + + 按钮 + + + + + 菜单权重 + + + + + 系统权重 + + + + + 业务权重 + + + + + 通知公告状态 + + + + + 草稿 + + + + + 发布 + + + + + 撤回 + + + + + 删除 + + + + + 通知公告用户状态 + + + + + 未读 + + + + + 已读 + + + + + 查询类型的枚举 + + + + + 等于 + + + + + 模糊 + + + + + 大于 + + + + + 小于 + + + + + 不等于 + + + + + 大于等于 + + + + + 小于等于 + + + + + 不为空 + + + + + 菜单激活类型 + + + + + 是 + + + + + 否 + + + + + 字典扩展 + + + + + 将一个字典转化为 QueryString + + + + + + + + 将一个字符串 URL 编码 + + + + + + + 移除空值项 + + + + + + 通用输入扩展参数(带权限) + + + + + 授权菜单 + + + + + 授权角色 + + + + + 授权数据 + + + + + 通用分页输入参数 + + + + + 搜索值 + + + + + 当前页码 + + + + + 页码容量 + + + + + 搜索开始时间 + + + + + 搜索结束时间 + + + + + 小诺分页列表结果 + + + + + + 规范化RESTful风格返回值 + + + + + 异常返回值 + + + + + + + 处理输出状态码 + + + + + + + + 成功返回值 + + + + + + + 验证失败返回值 + + + + + + + + + + RESTful风格---XIAONUO返回格式 + + + + + + 执行成功 + + + + + 状态码 + + + + + 错误信息 + + + + + 数据 + + + + + 附加数据 + + + + + 时间戳 + + + + + 全局异常处理 + + + + + 请求日志拦截 + + + + + 用户管理 + + + + + 获取用户信息 + + + + + + + + 获取用户员工信息 + + + + + + + OAuth配置---此结构方便拓展 + + + + + AppId + + + + + Secret Key + + + + + 回调地址 + + + + + 权限范围 + + + + + AccessToken参数 + + + + + 用户标识 + + + + + Token 类型 + + + + + AccessToken + + + + + 用于刷新 AccessToken 的 Token + + + + + 此 AccessToken 对应的权限 + + + + + AccessToken 过期时间 + + + + + 错误的详细描述 + + + + + 获取的Token是否包含错误 + + + + + + + 微信用户参数 + + + + + 用户特权信息,json 数组,如微信沃卡用户为(chinaunicom) + + + + + 获取的用户是否包含错误 + + + + + + + 发起授权 + + + + + + + 获取微信Token + + + + + + + + 获取微信用户基本信息 + + + + + + + + 刷新微信Token + + + + + + + 系统应用表种子数据 + + + + + 种子数据 + + + + + + + + 系统参数配置表种子数据 + + + + + 种子数据 + + + + + + + + 系统字典值种子数据 + + + + + 种子数据 + + + + + + + + 系统字典类型种子数据 + + + + + 种子数据 + + + + + + + + 系统员工职位表种子数据 + + + + + 员工种子数据 + + + + + + + + 系统员工表种子数据 + + + + + 员工种子数据 + + + + + + + + 系统菜单表种子数据 + + + + + 种子数据 + + + + + + + + 系统机构表种子数据 + + + + + 种子数据 + + + + + + + + 系统职位表种子数据 + + + + + 种子数据 + + + + + + + + 系统角色表种子数据 + + + + + 种子数据 + + + + + + + + 系统任务调度表种子数据 + + + + + 种子数据 + + + + + + + + 系统用户表种子数据 + + + + + 种子数据 + + + + + + + + 系统应用参数 + + + + + 名称 + + + + + 编码 + + + + + 图标 + + + + + 图标颜色 + + + + + 是否默认激活(Y-是,N-否),只能有一个系统默认激活 + 用户登录后默认展示此系统菜单 + + + + + 状态(字典 0正常 1停用 2删除) + + + + + 排序 + + + + + 名称 + + + + + 编码 + + + + + 图标 + + + + + 图标颜色 + + + + + 应用Id + + + + + 应用Id + + + + + 系统应用参数 + + + + + 应用Id + + + + + 名称 + + + + + 编码 + + + + + 是否默认 + + + + + 排序 + + + + + 系统应用服务 + + + + + 获取用户应用相关信息 + + + + + + + 分页查询系统应用 + + + + + + + 增加系统应用 + + + + + + + 删除系统应用 + + + + + + + 更新系统应用 + + + + + + + 获取系统应用 + + + + + + + 获取系统应用列表 + + + + + + + 设为默认应用 + + + + + + + 修改用户状态 + + + + + + + 登录授权相关服务 + + + + + 用户登录 + + + 默认用户名/密码:admin/admin + + + + + 获取当前登录用户信息 + + + + + + 退出 + + + + + + 获取验证码开关 + + + + + + 获取验证码(默认点选模式) + + + + + + 校验验证码 + + + + + + + 登录输入参数 + + + + + 用户名 + + superAdmin + + + + 密码 + + 123456 + + + + 用户登录输出参数 + + + + + 主键 + + + + + 账号 + + + + + 昵称 + + + + + 姓名 + + + + + 头像 + + + + + 生日 + + + + + 性别(字典 1男 2女) + + + + + 邮箱 + + + + + 手机 + + + + + 电话 + + + + + 管理员类型(0超级管理员 1非管理员) + + + + + 最后登陆IP + + + + + 最后登陆时间 + + + + + 最后登陆地址 + + + + + 最后登陆所用浏览器 + + + + + 最后登陆所用系统 + + + + + 员工信息 + + + + + 具备应用信息 + + + + + 角色信息 + + + + + 权限信息 + + + + + 登录菜单信息---AntDesign版本菜单 + + + + + 数据范围(机构)信息 + + + + + 系统缓存服务 + + + + + 获取数据范围缓存(机构Id集合) + + + + + + + 缓存数据范围(机构Id集合) + + + + + + + + 获取菜单缓存 + + + + + + + + 缓存菜单 + + + + + + + + + 获取权限缓存(按钮) + + + + + + + 缓存权限 + + + + + + + + 获取所有缓存关键字 + + + + + + 删除指定关键字缓存 + + + + + + + 删除某特征关键字缓存 + + + + + + + 设置缓存 + + + + + + + + 获取缓存 + + + + + + + 获取缓存 + + + + + + + + 代码生成详细配置服务 + + + + + 代码生成详细配置列表 + + + + + + + 增加 + + + + + + + 删除 + + + + + + + 更新 + + + + + + + 详情 + + + + + + + 批量增加 + + + + + + + 数据类型转显示类型 + + + + + + + 代码生成器服务 + + + + + 分页查询 + + + + + + + 增加 + + + + + + + 删除 + + + + + + + 更新 + + + + + + + 详情 + + + + + + + 获取数据库表(实体)集合 + + + + + + 获取数据表列(实体属性)集合 + + + + + + 代码生成_本地项目 + + + + + + 获取模板文件路径集合 + + + + + + 设置生成文件路径 + + + + + + + 代码生成详细配置参数 + + + + + 主键 + + + + + 代码生成主表ID + + + + + 数据库字段名 + + + + + 字段描述 + + + + + .NET类型 + + + + + 作用类型(字典) + + + + + 字典code + + + + + 列表是否缩进(字典) + + + + + 是否必填(字典) + + + + + 是否是查询条件 + + + + + 查询方式 + + + + + 列表显示 + + + + + 增改 + + + + + 主外键 + + + + + 数据库中类型(物理类型) + + + + + 是否是通用字段 + + + + + 代码生成参数类 + + + + + 作者姓名 + + + + + 类名 + + + + + 是否移除表前缀 + + + + + 生成方式 + + + + + 数据库表名 + + + + + 命名空间 + + + + + 业务名(业务代码包名称) + + + + + 功能名(数据库表名称) + + + + + 数据库表名 + + + + + 业务名(业务代码包名称) + + + + + 命名空间 + + + + + 作者姓名 + + + + + 生成方式 + + + + + 代码生成器Id + + + + + 代码生成器Id + + + + + 代码生成参数类 + + + + + 代码生成器Id + + + + + 作者姓名 + + + + + 类名 + + + + + 是否移除表前缀 + + + + + 生成方式 + + + + + 数据库表名 + + + + + 包名 + + + + + 业务名(业务代码包名称) + + + + + 功能名(数据库表名称) + + + + + 数据库表列 + + + + + 字段名 + + + + + 数据库中类型 + + + + + 字段描述 + + + + + 主外键 + + + + + 数据库表列表参数 + + + + + 表名(字母形式的) + + + + + 创建时间 + + + + + 更新时间 + + + + + 表名称描述(注释)(功能名) + + + + + 作者姓名 + + + + + 是否移除表前缀 + + + + + 生成方式 + + + + + 数据库表名 + + + + + 数据库表名(经过组装的) + + + + + 代码包名 + + + + + 生成时间(string类型的) + + + + + 数据库表中字段集合 + + + + + 业务名 + + + + + 参数配置 + + + + + 名称 + + + + + 编码 + + + + + 属性值 + + + + + 是否是系统参数(Y-是,N-否) + + + + + 备注 + + + + + 状态(字典 0正常 1停用 2删除) + + + + + 常量所属分类的编码,来自于“常量的分类”字典 + + + + + 名称 + + + + + 编码 + + + + + 应用Id + + + + + 应用Id + + + + + 系统参数配置服务 + + + + + 分页获取系统参数配置 + + + + + + + 获取系统参数配置列表 + + + + + + + 增加系统参数配置 + + + + + + + 删除系统参数配置 + + + + + + + 更新系统参数配置 + + + + + + + 获取系统参数配置 + + + + + + + 获取配置信息 + + + + + + + 更新配置缓存 + + + + + + + + 获取演示环境开关是否开启,默认为false + + + + + + 获取验证码开关标识 + + + + + + 字典值参数 + + + + + 字典类型Id + + + + + 值 + + + + + 编码 + + + + + 排序 + + + + + 备注 + + + + + 状态(字典 0正常 1停用 2删除) + + + + + 字典类型Id + + + + + 字典类型Id + + + + + 值 + + + + + 编码 + + + + + 字典值Id + + + + + 字典值Id + + + + + 字典值参数 + + + + + 字典Id + + + + + 字典类型与字典值构造的树 + + + + + Id + + + + + 父Id + + + + + 编码-对应字典值的编码 + + + + + 名称-对应字典值的value + + + + + 子节点集合 + + + + + 字典类型参数 + + + + + 名称 + + + + + 编码 + + + + + 排序 + + + + + 备注 + + + + + 状态(字典 0正常 1停用 2删除) + + + + + 名称 + + + + + 编码 + + + + + 编号Id + + + + + Id + + + + + 编码 + + + + + 字典值服务 + + + + + 分页查询字典值 + + + + + + + 获取某个字典类型下字典值列表 + + + + + + 增加字典值 + + + + + + + 删除字典值 + + + + + + + 更新字典值 + + + + + + + 字典值详情 + + + + + + + 修改字典值状态 + + + + + + + 根据字典类型Id获取字典值集合 + + + + + + + 删除字典下所有值 + + + + + + 字典类型服务 + + + + + 分页查询字典类型 + + + + + + 获取字典类型列表 + + + + + + 获取字典类型下所有字典值 + + + + + + + 添加字典类型 + + + + + + + 删除字典类型 + + + + + + + 更新字典类型 + + + + + + + 字典类型详情 + + + + + + + 更新字典类型状态 + + + + + + + 字典类型与字典值构造的字典树 + + + + + + 附属机构和职位参数 + + + + + 附属机构id + + + + + 附属机构编码 + + + + + 附属机构名称 + + + + + 附属职位id + + + + + 附属职位编码 + + + + + 附属职位名称 + + + + + 员工信息参数 + + + + + 工号 + + + + + 机构id + + + + + 机构名称 + + + + + 机构与职位信息 + + + + + 职位信息 + + + + + 员工信息参数2 + + + + + 员工Id + + + + + 工号 + + + + + 机构Id + + + + + 机构名称 + + + + + 附属机构 + + + + + 职位集合 + + + + + 员工职位参数 + + + + + 职位Id + + + + + 职位编码 + + + + + 职位名称 + + + + + 员工附属机构和职位服务 + + + + + 保存或编辑附属机构相关信息 + + + + + + 获取附属机构和职位信息 + + + + + + + 根据机构Id判断该附属机构下是否有员工 + + + + + + + 根据职位Id判断该附属职位下是否有员工 + + + + + + + 根据员工Id删除对应的员工-附属信息 + + + + + + + 员工职位服务 + + + + + 增加或编辑员工职位相关信息 + + 员工Id(用户Id) + 职位id集合 + + + + + 获取所属职位信息 + + 员工Id(用户Id) + + + + 根据职位Id判断该职位下是否有员工 + + + + + + + 根据员工Id删除对用的员工-职位信息 + + + + + + + 员工服务 + + + + + 获取用户员工相关信息(包括登录) + + + + + + + 增加或编辑员工相关信息 + + + + + + 修改员工相关机构信息 + + + + + + + + 根据机构Id判断该机构下是否有员工 + + + + + + + 根据员工Id删除对应的员工表信息 + + + + + + + 获取员工机构Id + + + + + + + 上传文件参数 + + + + + 文件存储位置(1:阿里云,2:腾讯云,3:minio,4:本地) + + + + + 文件仓库 + + + + + 文件名称(上传时候的文件名) + + + + + 文件后缀 + + + + + 文件大小kb + + + + + 文件大小信息,计算后的 + + + + + 存储到bucket的名称(文件唯一标识id) + + + + + 存储路径 + + + + + 文件Id + + + + + 上传文件参数 + + + + + 文件Id + + + + + 文件服务 + + + + + 分页获取文件列表 + + + + + + + 获取文件列表 + + + + + + + 删除文件 + + + + + + + 获取文件详情 + + + + + + + 预览文件 + + + + + + + 上传文件 + + + + + + + 下载文件 + + + + + + + 上传头像 + + + + + + + 上传文档 + + + + + + + 上传商店图片 + + + + + + + 上传文件 + + + + + + + + 请求日志参数 + + + + + 名称 + + + + + 操作类型(0其他 1增加 2删除 3编辑)(见LogAnnotionOpTypeEnum) + + + + + 是否执行成功(Y-是,N-否) + + + + + 具体消息 + + + + + ip + + + + + 地址 + + + + + 浏览器 + + + + + 操作系统 + + + + + 请求地址 + + + + + 类名称 + + + + + 方法名称 + + + + + 请求方式(GET POST PUT DELETE) + + + + + 请求参数 + + + + + 返回结果 + + + + + 耗时(毫秒) + + + + + 操作时间 + + + + + 操作人 + + + + + 请求日志参数 + + + + + 访问日志参数 + + + + + 名称 + + + + + 是否执行成功(Y-是,N-否) + + + + + 具体消息 + + + + + IP + + + + + 地址 + + + + + 浏览器 + + + + + 操作系统 + + + + + 访问类型(字典 1登入 2登出) + + + + + 访问时间 + + + + + 访问人 + + + + + 访问日志参数 + + + + + 操作日志服务 + + + + + 分页查询操作日志 + + + + + + + 清空操作日志 + + + + + + 访问日志服务 + + + + + 分页查询访问日志 + + + + + + + 清空访问日志 + + + + + + 登录菜单-AntDesign菜单类型 + + + + + id + + + + + 父id + + + + + 路由名称, 必须设置,且不能重名 + + + + + 组件 + + + + + 重定向地址, 访问这个路由时, 自定进行重定向 + + + + + 路由元信息(路由附带扩展信息) + + + + + 路径 + + + + + 控制路由和子路由是否显示在 sidebar + + + + + 路由元信息内部类 + + + + + 路由标题, 用于显示面包屑, 页面标题 *推荐设置 + + + + + 图标 + + + + + 是否可见 + + + + + 如需外部打开,增加:_blank + + + + + 内链打开http链接 + + + + + 菜单参数 + + + + + 父Id + + + + + 名称 + + + + + 编码 + + + + + 菜单类型(字典 0目录 1菜单 2按钮) + + + + + 图标 + + + + + 路由地址 + + + + + 组件地址 + + + + + 权限标识 + + + + + 应用分类(应用编码) + + + + + 打开方式(字典 0无 1组件 2内链 3外链) + + + + + 是否可见(Y-是,N-否) + + + + + 内链地址 + + + + + 重定向地址 + + + + + 权重(字典 1系统权重 2业务权重) + + + + + 排序 + + + + + 备注 + + + + + 菜单类型(字典 0目录 1菜单 2按钮) + + + + + 菜单Id + + + + + 菜单Id + + + + + 父Id + DeleteMenuInput + + + + 应用编码 + DeleteMenuInput + + + + 菜单树(列表形式) + + + + + 菜单Id + + + + + 子节点 + + + + + 菜单树---授权、新增编辑时选择 + + + + + 主键 + + + + + 父Id + + + + + 名称 + + + + + 值 + + + + + 排序,越小优先级越高 + + + + + 子节点 + + + + + 系统菜单服务 + + + + + 获取用户权限(按钮权限标识集合) + + + + + + + 获取用户AntDesign菜单集合 + + + + + + + + 获取用户菜单所属的应用编码集合 + + + + + + + 系统菜单列表(树表) + + + + + + + 创建Pids格式 + 如果pid是0顶级节点,pids就是 [0]; + 如果pid不是顶级节点,pids就是 pid菜单的 pids + [pid] + , + + + + + + + 增加和编辑时检查参数 + + + + + + 增加系统菜单 + + + + + + + 删除系统菜单 + + + + + + + 更新系统菜单 + + + + + + + 获取系统菜单 + + + + + + + 获取系统菜单树,用于新增、编辑时选择上级节点 + + + + + + + 获取系统菜单树,用于给角色授权时选择 + + + + + + + 根据应用编码判断该机构下是否有状态为正常的菜单 + + + + + + + 根据系统应用切换菜单 + + + + + + + 服务器信息服务 + + + + + 获取服务器资源信息 + + + + + + 获取服务器基本参数 + + + + + + 动态获取网络信息 + + + + + + 通知公告参数 + + + + + 标题 + + + + + 内容 + + + + + 类型(字典 1通知 2公告) + + + + + 发布人Id + + + + + 发布人姓名 + + + + + 发布机构Id + + + + + 发布机构名称 + + + + + 发布时间 + + + + + 撤回时间 + + + + + 状态(字典 0草稿 1发布 2撤回 3删除) + + + + + 系统通知公告详情参数 + + + + + 通知到的用户Id集合 + + + + + 通知到的用户阅读信息集合 + + + + + 用户Id + + + + + 用户名称 + + + + + 状态(字典 0未读 1已读) + + + + + 阅读时间 + + + + + 通知公告参数 + + + + + 标题 + + + + + 内容 + + + + + 类型(字典 1通知 2公告) + + + + + 状态(字典 0草稿 1发布 2撤回 3删除) + + + + + 通知到的人 + + + + + 标题 + + + + + 内容 + + + + + 类型(字典 1通知 2公告) + + + + + 状态(字典 0草稿 1发布 2撤回 3删除) + + + + + 通知到的人 + + + + + Id + + + + + Id + + + + + 状态(字典 0草稿 1发布 2撤回 3删除) + + + + + 通知公告接收参数 + + + + + Id + + + + + 阅读状态(字典 0未读 1已读) + + + + + 阅读时间 + + + + + 通知公告服务 + + + + + 分页查询通知公告 + + + + + + + 增加通知公告 + + + + + + + 删除通知公告 + + + + + + + 更新通知公告 + + + + + + + 获取通知公告详情 + + + + + + + 修改通知公告状态 + + + + + + + 获取接收的通知公告 + + + + + + + 更新发布信息 + + + + + + 通知公告用户 + + + + + 增加 + + + + + + + + + 更新 + + + + + + + + + 获取通知公告用户列表 + + + + + + + 设置通知公告读取状态 + + + + + + + + + OAuth服务 + + + + + 微信登录授权 + + + + + 微信登录授权回调 + + + + + + + + + 获取微信用户基本信息 + + + + + + + + 组织机构参数 + + + + + 父Id + + + + + 父Ids + + + + + 名称 + + + + + 编码 + + + + + 电话 + + + + + 排序 + + + + + 备注 + + + + + 状态(字典 0正常 1停用 2删除) + + + + + 名称 + + + + + 编码 + + + + + 机构Id + + + + + 机构Id + + + + + 组织机构参数 + + + + + 机构Id + + + + + 组织机构树 + + + + + Id + + + + + 父Id + + + + + 名称 + + + + + 值 + + + + + 排序,越小优先级越高 + + + + + 子节点 + + + + + 上一级Id + + + + + 组织机构服务 + + + + + 分页查询组织机构 + + + + + + + (非管理员)获取当前用户数据范围(机构Id) + + + + + + + 获取组织机构列表 + + + + + + + 增加组织机构 + + + + + + + 填充父Ids字段 + + + + + + + 删除组织机构 + + + + + + + 更新组织机构 + + + + + + + 获取组织机构信息 + + + + + + + 根据节点Id获取所有子节点Id集合,包含自己 + + + + + + + 获取组织机构树 + + + + + + 根据数据范围类型获取当前用户的数据范围(机构Id)集合 + + + + + + + + 获取用户数据范围(机构Id集合) + + + + + + 职位参数 + + + + + 名称 + + + + + 编码 + + + + + 排序 + + + + + 备注 + + + + + 状态(字典 0正常 1停用 2删除) + + + + + 当前页码 + + + + + 页码容量 + + + + + 名称 + + + + + 编码 + + + + + 职位Id + + + + + 职位Id + + + + + 职位服务 + + + + + 分页获取职位 + + + + + + + 获取职位列表 + + + + + + 增加职位 + + + + + + + 删除职位 + + + + + + + 更新职位 + + + + + + + 获取职位 + + + + + + + 角色参数 + + + + + 名称 + + + + + 编码 + + + + + 排序 + + + + + 数据范围类型(字典 1全部数据 2本部门及以下数据 3本部门数据 4仅本人数据 5自定义数据) + + + + + 备注 + + + + + 名称 + + + + + 编码 + + + + + 角色Id + + + + + 角色Id + + + + + 角色Id + + + + + 登录用户角色参数 + + + + + Id + + + + + 编码 + + + + + 名称 + + + + + 角色数据范围服务 + + + + + 授权角色数据范围 + + + + + + + 根据角色Id集合获取角色数据范围集合 + + + + + + + 根据机构Id集合删除对应的角色-数据范围关联信息 + + + + + + + 根据角色Id删除对应的角色-数据范围关联信息 + + + + + + + 角色菜单 + + + + + 获取角色的菜单Id集合 + + + + + + + 授权角色菜单 + + + + + + + 根据菜单Id集合删除对应的角色-菜单表信息 + + + + + + + 根据角色Id删除对应的角色-菜单表关联信息 + + + + + + + 角色服务 + + + + + 获取用户角色相关信息(登录) + + + + + + + 分页获取角色列表 + + + + + + + 获取角色列表 + + + + + + + 角色下拉(用于授权角色时选择) + + + + + + 增加角色 + + + + + + + 删除角色 + + + + + + + 更新角色 + + + + + + + 获取角色 + + + + + + + 授权角色菜单 + + + + + + + 授权角色数据 + + + + + + + 根据角色Id集合获取数据范围Id集合 + + + + + + + + 根据角色Id获取角色名称 + + + + + + + 获取角色拥有菜单Id集合 + + + + + + + 获取角色拥有数据Id集合 + + + + + + + 租户参数 + + + + + 名称 + + + + + 主机 + + + + + 电子邮箱 + + + + + 电话号码 + + + + + 模式 + + + + + 数据库连接 + + + + + 备注 + + + + + 创建时间 + + + + + 租户名称 + + + + + 主机名称 + + + + + 数据库连接 + + + + + 租户Id + + + + + 租户Id + + + + + 租户参数 + + + + + 租户Id + + + + + 名称 + + + + + 主机 + + + + + 电子邮箱 + + + + + 电话号码 + + + + + 模式 + + + + + 数据库连接 + + + + + 备注 + + + + + 创建时间 + + + + + 租户服务 + + + + + 分页查询租户 + + + + + + + 增加租户 + + + + + + + 删除租户 + + + + + + + 更新租户 + + + + + + + 获取租户 + + + + + + + 任务调度参数 + + + + + 任务名称 + + dilon + + + + 任务分组 + + dilon + + + + 开始时间 + + + + + 结束时间 + + null + + + + Cron表达式 + + + + + + 执行次数(默认无限循环) + + 10 + + + + 执行间隔时间,单位秒(如果有Cron,则IntervalSecond失效) + + 5 + + + + 触发器类型 + + + + + 请求url + + + + + 请求参数(Post,Put请求用) + + + + + Headers(可以包含如:Authorization授权认证) + 格式:{"Authorization":"userpassword.."} + + + + + 请求类型 + + 2 + + + + 描述 + + + + + 任务状态 + + + + + 任务Id + + + + + 任务信息---任务详情 + + + + + 任务名称 + + + + + 任务组名 + + + + + 下次执行时间 + + + + + 上次执行时间 + + + + + 开始时间 + + + + + 结束时间 + + + + + 上次执行的异常信息 + + + + + 任务状态 + + + + + 描述 + + + + + 显示状态 + + + + + 时间间隔 + + + + + 请求地址 + + + + + 请求类型 + + + + + 已经执行的次数 + + + + + 任务调度中心 + + + + + 开启调度器 + + + + + + 停止调度器 + + + + + 添加一个工作任务 + + + + + + + 暂停任务 + + + + + + + 删除任务 + + + + + + + 恢复运行暂停的任务 + + + + + + + 查询任务 + + + + + + + 立即执行 + + + + + + + 获取任务日志 + + + + + + + 获取任务运行次数 + + + + + + + 获取所有任务详情 + + + + + + 从数据库里面获取所有任务并初始化 + + + + + 创建类型Simple的触发器 + + + + + + + 创建类型Cron的触发器 + + + + + + + 任务调度相关常量 + + + + + 请求url RequestUrl + + + + + 请求参数 RequestParameters + + + + + Headers(可以包含:Authorization授权认证) + + + + + 请求类型 RequestType + + + + + 日志 LogList + + + + + 异常 Exception + + + + + 执行次数 + + + + + 任务结束时间 + + + + + http请求类型 + + + + + 触发器类型 + + + + + 任务调度服务 + + + + + 分页获取任务列表 + + + + + + + 增加任务 + + + + + + + 删除任务 + + + + + + + 修改任务 + + + + + + + 查看任务 + + + + + + + 停止任务 + + + + + + + 启动任务 + + + + + + + AuthToken参数 + + + + + OAuth用户参数 + + + + + 用户参数 + + + + + 账号 + + + + + 密码 + + + + + 昵称 + + + + + 姓名 + + + + + 头像 + + + + + 生日 + + + + + 性别-男_1、女_2 + + + + + 邮箱 + + + + + 手机 + + + + + 电话 + + + + + 状态-正常_0、停用_1、删除_2 + + + + + 员工信息 + + + + + 搜索状态(字典 0正常 1停用 2删除) + + + + + 账号 + + + + + 密码 + + + + + 确认密码 + + + + + 用户Id + + + + + 用户Id + + + + + 密码 + + + + + 新密码 + + + + + 用户参数 + + + + + Id + + + + + 账号 + + + + + 昵称 + + + + + 姓名 + + + + + 头像 + + + + + 生日 + + + + + 性别-男_1、女_2 + + + + + 邮箱 + + + + + 手机 + + + + + 电话 + + + + + 状态-正常_0、停用_1、删除_2 + + + + + 员工信息 + + + + + 用户数据范围服务 + + + + + 授权用户数据 + + + + + + + 获取用户的数据范围Id集合 + + + + + + + 根据机构Id集合删除对应的用户-数据范围关联信息 + + + + + + + 根据用户Id删除对应的用户-数据范围关联信息 + + + + + + + 用户角色服务 + + + + + 获取用户的角色Id集合 + + + + + + + 授权用户角色 + + + + + + + 获取用户所有角色的数据范围(组织机构Id集合) + + + + + + + + 根据角色Id删除对应的用户-角色表关联信息 + + + + + + + 根据用户Id删除对应的用户-角色表关联信息 + + + + + + + 用户服务 + + + + + 分页查询用户 + + + + + + + 增加用户 + + + + + + + 删除用户 + + + + + + + 更新用户 + + + + + + + 查看用户 + + + + + + + 修改用户状态 + + + + + + + 授权用户角色 + + + + + + + 授权用户数据范围 + + + + + + + 更新用户信息 + + + + + + + 修改用户密码 + + + + + + + 获取用户拥有角色 + + + + + + + 获取用户拥有数据 + + + + + + + 重置用户密码 + + + + + + + 修改用户头像(未实现) + + + + + + + 获取用户选择器 + + + + + + + 用户导出(未实现) + + + + + + + 根据用户Id获取用户 + + + + + + + 将OAuth账号转换成账号 + + + + + + + + 获取用户数据范围(机构Id集合)并缓存 + + + + + + + 获取用户数据范围(机构Id集合) + + + + + + 检查普通用户数据范围 + + + + + + + 获取服务器信息 + + + + + 获取资源使用信息 + + + + + + 获取基本参数 + + + + + + 动态获取网络信息 + + + + + + 是否Linux + + + + + + 获取CPU使用率 + + + + + + 获取系统运行时间 + + + + + + 获取内存信息 + + + + + + 毫秒转天时分秒 + + + + + + + 获取外网IP和地理位置 + + + + + + 系统Shell命令 + + + + + Bash命令 + + + + + + + cmd命令 + + + + + + + + + + + + + 当前正在联网的网卡信息 + + + + + + 获取当前网卡的网络速度 + + + + + + + 树基类 + + + + + 获取节点id + + + + + + 获取节点父id + + + + + + 设置Children + + + + + + 递归工具类,用于遍历有父子关系的节点,例如菜单树,字典树等等 + + + + + + 顶级节点的父节点Id(默认0) + + + + + 构造树节点 + + + + + + + 构造子节点集合 + + + + + + + diff --git a/Api/Dilon.Core/Entity/DEntityBase.cs b/Api/Ewide.Core/Entity/DEntityBase.cs similarity index 98% rename from Api/Dilon.Core/Entity/DEntityBase.cs rename to Api/Ewide.Core/Entity/DEntityBase.cs index cf7ed80..df3ee0d 100644 --- a/Api/Dilon.Core/Entity/DEntityBase.cs +++ b/Api/Ewide.Core/Entity/DEntityBase.cs @@ -5,7 +5,7 @@ using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization; -namespace Dilon.Core +namespace Ewide.Core { /// /// 自定义实体基类 diff --git a/Api/Dilon.Core/Entity/SysApp.cs b/Api/Ewide.Core/Entity/SysApp.cs similarity index 98% rename from Api/Dilon.Core/Entity/SysApp.cs rename to Api/Ewide.Core/Entity/SysApp.cs index a86c84c..eb91489 100644 --- a/Api/Dilon.Core/Entity/SysApp.cs +++ b/Api/Ewide.Core/Entity/SysApp.cs @@ -1,7 +1,7 @@ using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统应用表 @@ -22,14 +22,14 @@ namespace Dilon.Core [Comment("编码")] public string Code { get; set; } - /// - /// 图标 + /// + /// 图标 /// [Comment("图标")] public string Icon { get; set; } - /// - /// 图标颜色 + /// + /// 图标颜色 /// [Comment("图标颜色")] public string Color { get; set; } diff --git a/Api/Dilon.Core/Entity/SysCodeGen.cs b/Api/Ewide.Core/Entity/SysCodeGen.cs similarity index 98% rename from Api/Dilon.Core/Entity/SysCodeGen.cs rename to Api/Ewide.Core/Entity/SysCodeGen.cs index 6ad34a7..ef9e45c 100644 --- a/Api/Dilon.Core/Entity/SysCodeGen.cs +++ b/Api/Ewide.Core/Entity/SysCodeGen.cs @@ -1,7 +1,7 @@ using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 代码生成表 diff --git a/Api/Dilon.Core/Entity/SysCodeGenConfig.cs b/Api/Ewide.Core/Entity/SysCodeGenConfig.cs similarity index 99% rename from Api/Dilon.Core/Entity/SysCodeGenConfig.cs rename to Api/Ewide.Core/Entity/SysCodeGenConfig.cs index 7cba823..64b16d3 100644 --- a/Api/Dilon.Core/Entity/SysCodeGenConfig.cs +++ b/Api/Ewide.Core/Entity/SysCodeGenConfig.cs @@ -1,7 +1,7 @@ using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 代码生成字段配置表 diff --git a/Api/Dilon.Core/Entity/SysConfig.cs b/Api/Ewide.Core/Entity/SysConfig.cs similarity index 99% rename from Api/Dilon.Core/Entity/SysConfig.cs rename to Api/Ewide.Core/Entity/SysConfig.cs index 17ee22e..96f6a9c 100644 --- a/Api/Dilon.Core/Entity/SysConfig.cs +++ b/Api/Ewide.Core/Entity/SysConfig.cs @@ -5,7 +5,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 参数配置表 diff --git a/Api/Dilon.Core/Entity/SysDictData.cs b/Api/Ewide.Core/Entity/SysDictData.cs similarity index 98% rename from Api/Dilon.Core/Entity/SysDictData.cs rename to Api/Ewide.Core/Entity/SysDictData.cs index caa5e9c..bad1f95 100644 --- a/Api/Dilon.Core/Entity/SysDictData.cs +++ b/Api/Ewide.Core/Entity/SysDictData.cs @@ -1,7 +1,7 @@ using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 字典值表 diff --git a/Api/Dilon.Core/Entity/SysDictType.cs b/Api/Ewide.Core/Entity/SysDictType.cs similarity index 98% rename from Api/Dilon.Core/Entity/SysDictType.cs rename to Api/Ewide.Core/Entity/SysDictType.cs index d4f00b8..61845e4 100644 --- a/Api/Dilon.Core/Entity/SysDictType.cs +++ b/Api/Ewide.Core/Entity/SysDictType.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 字典类型表 diff --git a/Api/Dilon.Core/Entity/SysEmp.cs b/Api/Ewide.Core/Entity/SysEmp.cs similarity index 99% rename from Api/Dilon.Core/Entity/SysEmp.cs rename to Api/Ewide.Core/Entity/SysEmp.cs index b31a67d..975ae54 100644 --- a/Api/Dilon.Core/Entity/SysEmp.cs +++ b/Api/Ewide.Core/Entity/SysEmp.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 员工表 diff --git a/Api/Dilon.Core/Entity/SysEmpExtOrgPos.cs b/Api/Ewide.Core/Entity/SysEmpExtOrgPos.cs similarity index 99% rename from Api/Dilon.Core/Entity/SysEmpExtOrgPos.cs rename to Api/Ewide.Core/Entity/SysEmpExtOrgPos.cs index 408914c..382ac38 100644 --- a/Api/Dilon.Core/Entity/SysEmpExtOrgPos.cs +++ b/Api/Ewide.Core/Entity/SysEmpExtOrgPos.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 员工附属机构职位表 diff --git a/Api/Dilon.Core/Entity/SysEmpPos.cs b/Api/Ewide.Core/Entity/SysEmpPos.cs similarity index 97% rename from Api/Dilon.Core/Entity/SysEmpPos.cs rename to Api/Ewide.Core/Entity/SysEmpPos.cs index 93570cc..317a418 100644 --- a/Api/Dilon.Core/Entity/SysEmpPos.cs +++ b/Api/Ewide.Core/Entity/SysEmpPos.cs @@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 员工职位表 diff --git a/Api/Dilon.Core/Entity/SysFile.cs b/Api/Ewide.Core/Entity/SysFile.cs similarity index 98% rename from Api/Dilon.Core/Entity/SysFile.cs rename to Api/Ewide.Core/Entity/SysFile.cs index 639de68..4bc7d58 100644 --- a/Api/Dilon.Core/Entity/SysFile.cs +++ b/Api/Ewide.Core/Entity/SysFile.cs @@ -1,7 +1,7 @@ using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 文件信息表 diff --git a/Api/Dilon.Core/Entity/SysLogAudit.cs b/Api/Ewide.Core/Entity/SysLogAudit.cs similarity index 98% rename from Api/Dilon.Core/Entity/SysLogAudit.cs rename to Api/Ewide.Core/Entity/SysLogAudit.cs index 07534ff..ab1a24e 100644 --- a/Api/Dilon.Core/Entity/SysLogAudit.cs +++ b/Api/Ewide.Core/Entity/SysLogAudit.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统操作/审计日志表 diff --git a/Api/Dilon.Core/Entity/SysLogOp.cs b/Api/Ewide.Core/Entity/SysLogOp.cs similarity index 99% rename from Api/Dilon.Core/Entity/SysLogOp.cs rename to Api/Ewide.Core/Entity/SysLogOp.cs index 7c7a26a..e399ea8 100644 --- a/Api/Dilon.Core/Entity/SysLogOp.cs +++ b/Api/Ewide.Core/Entity/SysLogOp.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 操作日志表 diff --git a/Api/Dilon.Core/Entity/SysLogVis.cs b/Api/Ewide.Core/Entity/SysLogVis.cs similarity index 98% rename from Api/Dilon.Core/Entity/SysLogVis.cs rename to Api/Ewide.Core/Entity/SysLogVis.cs index e11eff9..e7dcaed 100644 --- a/Api/Dilon.Core/Entity/SysLogVis.cs +++ b/Api/Ewide.Core/Entity/SysLogVis.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 访问日志表 diff --git a/Api/Dilon.Core/Entity/SysMenu.cs b/Api/Ewide.Core/Entity/SysMenu.cs similarity index 99% rename from Api/Dilon.Core/Entity/SysMenu.cs rename to Api/Ewide.Core/Entity/SysMenu.cs index f85ab77..079f49b 100644 --- a/Api/Dilon.Core/Entity/SysMenu.cs +++ b/Api/Ewide.Core/Entity/SysMenu.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 菜单表 diff --git a/Api/Dilon.Core/Entity/SysNotice.cs b/Api/Ewide.Core/Entity/SysNotice.cs similarity index 98% rename from Api/Dilon.Core/Entity/SysNotice.cs rename to Api/Ewide.Core/Entity/SysNotice.cs index 3ff6b81..38ed62e 100644 --- a/Api/Dilon.Core/Entity/SysNotice.cs +++ b/Api/Ewide.Core/Entity/SysNotice.cs @@ -2,7 +2,7 @@ using System; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 通知公告表 @@ -45,7 +45,7 @@ namespace Dilon.Core /// /// 发布机构Id /// - [Comment("发布机构Id")] + [Comment("发布机构Id")] [Column("PublicOrgId", TypeName = "varchar(36)")] public string PublicOrgId { get; set; } diff --git a/Api/Dilon.Core/Entity/SysNoticeUser.cs b/Api/Ewide.Core/Entity/SysNoticeUser.cs similarity index 98% rename from Api/Dilon.Core/Entity/SysNoticeUser.cs rename to Api/Ewide.Core/Entity/SysNoticeUser.cs index 232fbd5..0552761 100644 --- a/Api/Dilon.Core/Entity/SysNoticeUser.cs +++ b/Api/Ewide.Core/Entity/SysNoticeUser.cs @@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore.Metadata.Builders; using System; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 通知公告用户表 @@ -23,7 +23,7 @@ namespace Dilon.Core /// /// 用户Id /// - [Comment("用户Id")] + [Comment("用户Id")] [Column("UserId", TypeName = "varchar(36)")] public string UserId { get; set; } diff --git a/Api/Dilon.Core/Entity/SysOauthUser.cs b/Api/Ewide.Core/Entity/SysOauthUser.cs similarity index 98% rename from Api/Dilon.Core/Entity/SysOauthUser.cs rename to Api/Ewide.Core/Entity/SysOauthUser.cs index 960cb4f..2a33eb8 100644 --- a/Api/Dilon.Core/Entity/SysOauthUser.cs +++ b/Api/Ewide.Core/Entity/SysOauthUser.cs @@ -1,7 +1,7 @@ using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// Oauth登录用户表 diff --git a/Api/Dilon.Core/Entity/SysOrg.cs b/Api/Ewide.Core/Entity/SysOrg.cs similarity index 99% rename from Api/Dilon.Core/Entity/SysOrg.cs rename to Api/Ewide.Core/Entity/SysOrg.cs index ab3f37c..cfbbc63 100644 --- a/Api/Dilon.Core/Entity/SysOrg.cs +++ b/Api/Ewide.Core/Entity/SysOrg.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 组织机构表 diff --git a/Api/Dilon.Core/Entity/SysPos.cs b/Api/Ewide.Core/Entity/SysPos.cs similarity index 98% rename from Api/Dilon.Core/Entity/SysPos.cs rename to Api/Ewide.Core/Entity/SysPos.cs index 0121e2b..2b6dfae 100644 --- a/Api/Dilon.Core/Entity/SysPos.cs +++ b/Api/Ewide.Core/Entity/SysPos.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 职位表 diff --git a/Api/Dilon.Core/Entity/SysRole.cs b/Api/Ewide.Core/Entity/SysRole.cs similarity index 99% rename from Api/Dilon.Core/Entity/SysRole.cs rename to Api/Ewide.Core/Entity/SysRole.cs index 6b31411..38b7854 100644 --- a/Api/Dilon.Core/Entity/SysRole.cs +++ b/Api/Ewide.Core/Entity/SysRole.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 角色表 diff --git a/Api/Dilon.Core/Entity/SysRoleDataScope.cs b/Api/Ewide.Core/Entity/SysRoleDataScope.cs similarity index 97% rename from Api/Dilon.Core/Entity/SysRoleDataScope.cs rename to Api/Ewide.Core/Entity/SysRoleDataScope.cs index 75c5640..6c90d2b 100644 --- a/Api/Dilon.Core/Entity/SysRoleDataScope.cs +++ b/Api/Ewide.Core/Entity/SysRoleDataScope.cs @@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 角色数据范围表 @@ -14,7 +14,7 @@ namespace Dilon.Core /// /// 角色Id /// - [Comment("角色Id")] + [Comment("角色Id")] [Column("SysRoleId", TypeName = "varchar(36)")] public string SysRoleId { get; set; } diff --git a/Api/Dilon.Core/Entity/SysRoleMenu.cs b/Api/Ewide.Core/Entity/SysRoleMenu.cs similarity index 97% rename from Api/Dilon.Core/Entity/SysRoleMenu.cs rename to Api/Ewide.Core/Entity/SysRoleMenu.cs index c750106..bec0913 100644 --- a/Api/Dilon.Core/Entity/SysRoleMenu.cs +++ b/Api/Ewide.Core/Entity/SysRoleMenu.cs @@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 角色菜单表 diff --git a/Api/Dilon.Core/Entity/SysTenant.cs b/Api/Ewide.Core/Entity/SysTenant.cs similarity index 98% rename from Api/Dilon.Core/Entity/SysTenant.cs rename to Api/Ewide.Core/Entity/SysTenant.cs index ecff01b..761acd9 100644 --- a/Api/Dilon.Core/Entity/SysTenant.cs +++ b/Api/Ewide.Core/Entity/SysTenant.cs @@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 租户表 diff --git a/Api/Dilon.Core/Entity/SysTimer.cs b/Api/Ewide.Core/Entity/SysTimer.cs similarity index 99% rename from Api/Dilon.Core/Entity/SysTimer.cs rename to Api/Ewide.Core/Entity/SysTimer.cs index 7f6225d..4ad475a 100644 --- a/Api/Dilon.Core/Entity/SysTimer.cs +++ b/Api/Ewide.Core/Entity/SysTimer.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 定时任务 diff --git a/Api/Dilon.Core/Entity/SysUser.cs b/Api/Ewide.Core/Entity/SysUser.cs similarity index 99% rename from Api/Dilon.Core/Entity/SysUser.cs rename to Api/Ewide.Core/Entity/SysUser.cs index f8567dc..21d4f40 100644 --- a/Api/Dilon.Core/Entity/SysUser.cs +++ b/Api/Ewide.Core/Entity/SysUser.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 用户表 diff --git a/Api/Dilon.Core/Entity/SysUserDataScope.cs b/Api/Ewide.Core/Entity/SysUserDataScope.cs similarity index 97% rename from Api/Dilon.Core/Entity/SysUserDataScope.cs rename to Api/Ewide.Core/Entity/SysUserDataScope.cs index 8e6b1a6..71f6a57 100644 --- a/Api/Dilon.Core/Entity/SysUserDataScope.cs +++ b/Api/Ewide.Core/Entity/SysUserDataScope.cs @@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 用户数据范围表 diff --git a/Api/Dilon.Core/Entity/SysUserRole.cs b/Api/Ewide.Core/Entity/SysUserRole.cs similarity index 97% rename from Api/Dilon.Core/Entity/SysUserRole.cs rename to Api/Ewide.Core/Entity/SysUserRole.cs index abb5466..64f8882 100644 --- a/Api/Dilon.Core/Entity/SysUserRole.cs +++ b/Api/Ewide.Core/Entity/SysUserRole.cs @@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; -namespace Dilon.Core +namespace Ewide.Core { /// /// 用户角色表 diff --git a/Api/Dilon.Core/Enum/AdminType.cs b/Api/Ewide.Core/Enum/AdminType.cs similarity index 94% rename from Api/Dilon.Core/Enum/AdminType.cs rename to Api/Ewide.Core/Enum/AdminType.cs index 6b0ebd9..5594e01 100644 --- a/Api/Dilon.Core/Enum/AdminType.cs +++ b/Api/Ewide.Core/Enum/AdminType.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Dilon.Core +namespace Ewide.Core { /// /// 账号类型 diff --git a/Api/Dilon.Core/Enum/CommonStatus.cs b/Api/Ewide.Core/Enum/CommonStatus.cs similarity index 95% rename from Api/Dilon.Core/Enum/CommonStatus.cs rename to Api/Ewide.Core/Enum/CommonStatus.cs index e01cfe0..d2bdae9 100644 --- a/Api/Dilon.Core/Enum/CommonStatus.cs +++ b/Api/Ewide.Core/Enum/CommonStatus.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Dilon.Core +namespace Ewide.Core { /// /// 公共状态 diff --git a/Api/Dilon.Core/Enum/DataScopeType.cs b/Api/Ewide.Core/Enum/DataScopeType.cs similarity index 97% rename from Api/Dilon.Core/Enum/DataScopeType.cs rename to Api/Ewide.Core/Enum/DataScopeType.cs index 6eca53e..1c83a24 100644 --- a/Api/Dilon.Core/Enum/DataScopeType.cs +++ b/Api/Ewide.Core/Enum/DataScopeType.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Dilon.Core +namespace Ewide.Core { public enum DataScopeType { diff --git a/Api/Dilon.Core/Enum/ErrorCode.cs b/Api/Ewide.Core/Enum/ErrorCode.cs similarity index 99% rename from Api/Dilon.Core/Enum/ErrorCode.cs rename to Api/Ewide.Core/Enum/ErrorCode.cs index 4f494a5..c6c76e5 100644 --- a/Api/Dilon.Core/Enum/ErrorCode.cs +++ b/Api/Ewide.Core/Enum/ErrorCode.cs @@ -1,6 +1,6 @@ using Furion.FriendlyException; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统错误码 diff --git a/Api/Dilon.Core/Enum/FileLocation.cs b/Api/Ewide.Core/Enum/FileLocation.cs similarity index 96% rename from Api/Dilon.Core/Enum/FileLocation.cs rename to Api/Ewide.Core/Enum/FileLocation.cs index 750d5d1..8c50400 100644 --- a/Api/Dilon.Core/Enum/FileLocation.cs +++ b/Api/Ewide.Core/Enum/FileLocation.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Dilon.Core +namespace Ewide.Core { /// /// 文件存储位置 diff --git a/Api/Dilon.Core/Enum/Gender.cs b/Api/Ewide.Core/Enum/Gender.cs similarity index 95% rename from Api/Dilon.Core/Enum/Gender.cs rename to Api/Ewide.Core/Enum/Gender.cs index e3488ef..228f3a1 100644 --- a/Api/Dilon.Core/Enum/Gender.cs +++ b/Api/Ewide.Core/Enum/Gender.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Dilon.Core +namespace Ewide.Core { /// /// 性别 diff --git a/Api/Dilon.Core/Enum/LogOpType.cs b/Api/Ewide.Core/Enum/LogOpType.cs similarity index 98% rename from Api/Dilon.Core/Enum/LogOpType.cs rename to Api/Ewide.Core/Enum/LogOpType.cs index d3cf3e8..98b06c4 100644 --- a/Api/Dilon.Core/Enum/LogOpType.cs +++ b/Api/Ewide.Core/Enum/LogOpType.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core +namespace Ewide.Core { /// /// 日志操作类型 diff --git a/Api/Dilon.Core/Enum/MenuOpenType.cs b/Api/Ewide.Core/Enum/MenuOpenType.cs similarity index 96% rename from Api/Dilon.Core/Enum/MenuOpenType.cs rename to Api/Ewide.Core/Enum/MenuOpenType.cs index 376f6bd..eddbfdd 100644 --- a/Api/Dilon.Core/Enum/MenuOpenType.cs +++ b/Api/Ewide.Core/Enum/MenuOpenType.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统菜单类型 diff --git a/Api/Dilon.Core/Enum/MenuType.cs b/Api/Ewide.Core/Enum/MenuType.cs similarity index 95% rename from Api/Dilon.Core/Enum/MenuType.cs rename to Api/Ewide.Core/Enum/MenuType.cs index 2a16e6b..80363cd 100644 --- a/Api/Dilon.Core/Enum/MenuType.cs +++ b/Api/Ewide.Core/Enum/MenuType.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统菜单类型 diff --git a/Api/Dilon.Core/Enum/MenuWeight.cs b/Api/Ewide.Core/Enum/MenuWeight.cs similarity index 95% rename from Api/Dilon.Core/Enum/MenuWeight.cs rename to Api/Ewide.Core/Enum/MenuWeight.cs index 705f67c..dc0b8b2 100644 --- a/Api/Dilon.Core/Enum/MenuWeight.cs +++ b/Api/Ewide.Core/Enum/MenuWeight.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Dilon.Core +namespace Ewide.Core { /// /// 菜单权重 diff --git a/Api/Dilon.Core/Enum/NoticeStatus.cs b/Api/Ewide.Core/Enum/NoticeStatus.cs similarity index 96% rename from Api/Dilon.Core/Enum/NoticeStatus.cs rename to Api/Ewide.Core/Enum/NoticeStatus.cs index b90b318..86a1daa 100644 --- a/Api/Dilon.Core/Enum/NoticeStatus.cs +++ b/Api/Ewide.Core/Enum/NoticeStatus.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Dilon.Core +namespace Ewide.Core { /// /// 通知公告状态 diff --git a/Api/Dilon.Core/Enum/NoticeUserStatus.cs b/Api/Ewide.Core/Enum/NoticeUserStatus.cs similarity index 94% rename from Api/Dilon.Core/Enum/NoticeUserStatus.cs rename to Api/Ewide.Core/Enum/NoticeUserStatus.cs index 2a3fbb2..c721bb9 100644 --- a/Api/Dilon.Core/Enum/NoticeUserStatus.cs +++ b/Api/Ewide.Core/Enum/NoticeUserStatus.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Dilon.Core +namespace Ewide.Core { /// /// 通知公告用户状态 diff --git a/Api/Dilon.Core/Enum/QueryTypeEnum.cs b/Api/Ewide.Core/Enum/QueryTypeEnum.cs similarity index 98% rename from Api/Dilon.Core/Enum/QueryTypeEnum.cs rename to Api/Ewide.Core/Enum/QueryTypeEnum.cs index cc68646..8e30a27 100644 --- a/Api/Dilon.Core/Enum/QueryTypeEnum.cs +++ b/Api/Ewide.Core/Enum/QueryTypeEnum.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Dilon.Core +namespace Ewide.Core { /// /// 查询类型的枚举 diff --git a/Api/Dilon.Core/Enum/YesOrNot.cs b/Api/Ewide.Core/Enum/YesOrNot.cs similarity index 94% rename from Api/Dilon.Core/Enum/YesOrNot.cs rename to Api/Ewide.Core/Enum/YesOrNot.cs index fd5c9b9..93a8b1a 100644 --- a/Api/Dilon.Core/Enum/YesOrNot.cs +++ b/Api/Ewide.Core/Enum/YesOrNot.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Dilon.Core +namespace Ewide.Core { /// /// 菜单激活类型 diff --git a/Api/Dilon.Core/Extension/DictionaryExtensions.cs b/Api/Ewide.Core/Extension/DictionaryExtensions.cs similarity index 98% rename from Api/Dilon.Core/Extension/DictionaryExtensions.cs rename to Api/Ewide.Core/Extension/DictionaryExtensions.cs index bd27467..7393006 100644 --- a/Api/Dilon.Core/Extension/DictionaryExtensions.cs +++ b/Api/Ewide.Core/Extension/DictionaryExtensions.cs @@ -2,7 +2,7 @@ using System.Linq; using System.Text; -namespace Dilon.Core +namespace Ewide.Core { /// /// 字典扩展 diff --git a/Api/Dilon.Core/Extension/XnInputBase.cs b/Api/Ewide.Core/Extension/XnInputBase.cs similarity index 98% rename from Api/Dilon.Core/Extension/XnInputBase.cs rename to Api/Ewide.Core/Extension/XnInputBase.cs index 89bda21..ba14dff 100644 --- a/Api/Dilon.Core/Extension/XnInputBase.cs +++ b/Api/Ewide.Core/Extension/XnInputBase.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 通用输入扩展参数(带权限) diff --git a/Api/Dilon.Core/Extension/XnPageResult.cs b/Api/Ewide.Core/Extension/XnPageResult.cs similarity index 97% rename from Api/Dilon.Core/Extension/XnPageResult.cs rename to Api/Ewide.Core/Extension/XnPageResult.cs index e7e1969..e3e1686 100644 --- a/Api/Dilon.Core/Extension/XnPageResult.cs +++ b/Api/Ewide.Core/Extension/XnPageResult.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 小诺分页列表结果 diff --git a/Api/Dilon.Core/Extension/XnRestfulResultProvider.cs b/Api/Ewide.Core/Extension/XnRestfulResultProvider.cs similarity index 99% rename from Api/Dilon.Core/Extension/XnRestfulResultProvider.cs rename to Api/Ewide.Core/Extension/XnRestfulResultProvider.cs index da1dbc6..b4a1634 100644 --- a/Api/Dilon.Core/Extension/XnRestfulResultProvider.cs +++ b/Api/Ewide.Core/Extension/XnRestfulResultProvider.cs @@ -9,7 +9,7 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core +namespace Ewide.Core { /// /// 规范化RESTful风格返回值 diff --git a/Api/Dilon.Core/Filter/LogExceptionHandler.cs b/Api/Ewide.Core/Filter/LogExceptionHandler.cs similarity index 96% rename from Api/Dilon.Core/Filter/LogExceptionHandler.cs rename to Api/Ewide.Core/Filter/LogExceptionHandler.cs index 1b45c94..5af0d3f 100644 --- a/Api/Dilon.Core/Filter/LogExceptionHandler.cs +++ b/Api/Ewide.Core/Filter/LogExceptionHandler.cs @@ -4,7 +4,7 @@ using Microsoft.AspNetCore.Mvc.Filters; using Serilog; using System.Threading.Tasks; -namespace Dilon.Core +namespace Ewide.Core { /// /// 全局异常处理 diff --git a/Api/Dilon.Core/Filter/RequestActionFilter.cs b/Api/Ewide.Core/Filter/RequestActionFilter.cs similarity index 99% rename from Api/Dilon.Core/Filter/RequestActionFilter.cs rename to Api/Ewide.Core/Filter/RequestActionFilter.cs index daf6852..474d05c 100644 --- a/Api/Dilon.Core/Filter/RequestActionFilter.cs +++ b/Api/Ewide.Core/Filter/RequestActionFilter.cs @@ -9,7 +9,7 @@ using System.Security.Claims; using System.Threading.Tasks; using UAParser; -namespace Dilon.Core +namespace Ewide.Core { /// /// 请求日志拦截 diff --git a/Api/Dilon.Core/Manager/IUserManager.cs b/Api/Ewide.Core/Manager/IUserManager.cs similarity index 94% rename from Api/Dilon.Core/Manager/IUserManager.cs rename to Api/Ewide.Core/Manager/IUserManager.cs index e28b71d..44dd830 100644 --- a/Api/Dilon.Core/Manager/IUserManager.cs +++ b/Api/Ewide.Core/Manager/IUserManager.cs @@ -1,6 +1,6 @@ using System.Threading.Tasks; -namespace Dilon.Core +namespace Ewide.Core { public interface IUserManager { diff --git a/Api/Dilon.Core/Manager/UserManager.cs b/Api/Ewide.Core/Manager/UserManager.cs similarity index 99% rename from Api/Dilon.Core/Manager/UserManager.cs rename to Api/Ewide.Core/Manager/UserManager.cs index 0ca2122..27ae40c 100644 --- a/Api/Dilon.Core/Manager/UserManager.cs +++ b/Api/Ewide.Core/Manager/UserManager.cs @@ -4,7 +4,7 @@ using Furion.FriendlyException; using Microsoft.AspNetCore.Http; using System.Threading.Tasks; -namespace Dilon.Core +namespace Ewide.Core { /// /// 用户管理 diff --git a/Api/Dilon.Core/OAuth/IWechatOAuth.cs b/Api/Ewide.Core/OAuth/IWechatOAuth.cs similarity index 93% rename from Api/Dilon.Core/OAuth/IWechatOAuth.cs rename to Api/Ewide.Core/OAuth/IWechatOAuth.cs index 3be1d3f..19a031e 100644 --- a/Api/Dilon.Core/OAuth/IWechatOAuth.cs +++ b/Api/Ewide.Core/OAuth/IWechatOAuth.cs @@ -1,6 +1,6 @@ using System.Threading.Tasks; -namespace Dilon.Core.OAuth +namespace Ewide.Core.OAuth { public interface IWechatOAuth { diff --git a/Api/Dilon.Core/OAuth/OAuthConfig.cs b/Api/Ewide.Core/OAuth/OAuthConfig.cs similarity index 98% rename from Api/Dilon.Core/OAuth/OAuthConfig.cs rename to Api/Ewide.Core/OAuth/OAuthConfig.cs index dc09927..da882d0 100644 --- a/Api/Dilon.Core/OAuth/OAuthConfig.cs +++ b/Api/Ewide.Core/OAuth/OAuthConfig.cs @@ -1,6 +1,6 @@ using Microsoft.Extensions.Configuration; -namespace Dilon.Core.OAuth +namespace Ewide.Core.OAuth { /// /// OAuth配置---此结构方便拓展 diff --git a/Api/Dilon.Core/OAuth/TokenModel.cs b/Api/Ewide.Core/OAuth/TokenModel.cs similarity index 98% rename from Api/Dilon.Core/OAuth/TokenModel.cs rename to Api/Ewide.Core/OAuth/TokenModel.cs index e90d868..34b5711 100644 --- a/Api/Dilon.Core/OAuth/TokenModel.cs +++ b/Api/Ewide.Core/OAuth/TokenModel.cs @@ -1,6 +1,6 @@ using System.Text.Json.Serialization; -namespace Dilon.Core.OAuth +namespace Ewide.Core.OAuth { /// /// AccessToken参数 diff --git a/Api/Dilon.Core/OAuth/UserInfoModel.cs b/Api/Ewide.Core/OAuth/UserInfoModel.cs similarity index 98% rename from Api/Dilon.Core/OAuth/UserInfoModel.cs rename to Api/Ewide.Core/OAuth/UserInfoModel.cs index 398d5ef..0354056 100644 --- a/Api/Dilon.Core/OAuth/UserInfoModel.cs +++ b/Api/Ewide.Core/OAuth/UserInfoModel.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Text.Json.Serialization; -namespace Dilon.Core.OAuth +namespace Ewide.Core.OAuth { /// /// 微信用户参数 diff --git a/Api/Dilon.Core/OAuth/WechatOAuth.cs b/Api/Ewide.Core/OAuth/WechatOAuth.cs similarity index 99% rename from Api/Dilon.Core/OAuth/WechatOAuth.cs rename to Api/Ewide.Core/OAuth/WechatOAuth.cs index 73de80f..be8b642 100644 --- a/Api/Dilon.Core/OAuth/WechatOAuth.cs +++ b/Api/Ewide.Core/OAuth/WechatOAuth.cs @@ -5,7 +5,7 @@ using Microsoft.Extensions.Configuration; using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.OAuth +namespace Ewide.Core.OAuth { public class WechatOAuth : IWechatOAuth, ISingleton { diff --git a/Api/Dilon.Core/SeedData/SysAppSeedData.cs b/Api/Ewide.Core/SeedData/SysAppSeedData.cs similarity index 98% rename from Api/Dilon.Core/SeedData/SysAppSeedData.cs rename to Api/Ewide.Core/SeedData/SysAppSeedData.cs index cbb4c40..f07867a 100644 --- a/Api/Dilon.Core/SeedData/SysAppSeedData.cs +++ b/Api/Ewide.Core/SeedData/SysAppSeedData.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统应用表种子数据 diff --git a/Api/Dilon.Core/SeedData/SysConfigSeedData.cs b/Api/Ewide.Core/SeedData/SysConfigSeedData.cs similarity index 99% rename from Api/Dilon.Core/SeedData/SysConfigSeedData.cs rename to Api/Ewide.Core/SeedData/SysConfigSeedData.cs index fba7611..57af0a4 100644 --- a/Api/Dilon.Core/SeedData/SysConfigSeedData.cs +++ b/Api/Ewide.Core/SeedData/SysConfigSeedData.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统参数配置表种子数据 diff --git a/Api/Dilon.Core/SeedData/SysDictDataSeedData.cs b/Api/Ewide.Core/SeedData/SysDictDataSeedData.cs similarity index 99% rename from Api/Dilon.Core/SeedData/SysDictDataSeedData.cs rename to Api/Ewide.Core/SeedData/SysDictDataSeedData.cs index e6cc0f7..7341465 100644 --- a/Api/Dilon.Core/SeedData/SysDictDataSeedData.cs +++ b/Api/Ewide.Core/SeedData/SysDictDataSeedData.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统字典值种子数据 @@ -116,8 +116,8 @@ namespace Dilon.Core new SysDictData{Id="cc64be62-3213-4442-a98a-c508bc35104b", TypeId="b924e0c1-3f23-4e37-9f27-90e945381304", Value="minio", Code="3", Sort=100, Remark="minio", Status=0 }, new SysDictData{Id="cdc4a9ee-7436-4807-87cd-4350a72745b0", TypeId="b924e0c1-3f23-4e37-9f27-90e945381304", Value="本地", Code="4", Sort=100, Remark="本地", Status=0 }, new SysDictData{Id="76e885e8-1b40-45b6-bb0f-5519c6839df2", TypeId="0f1b8660-d932-4a53-a681-a38bebae91e0", Value="运行", Code="1", Sort=100, Remark="运行", Status=0 }, - new SysDictData{Id="6e3591ec-2902-4bf3-b5a2-7ebc94ebc08f", TypeId="0f1b8660-d932-4a53-a681-a38bebae91e0", Value="停止", Code="2", Sort=100, Remark="停止", Status=0 }, - + new SysDictData{Id="6e3591ec-2902-4bf3-b5a2-7ebc94ebc08f", TypeId="0f1b8660-d932-4a53-a681-a38bebae91e0", Value="停止", Code="2", Sort=100, Remark="停止", Status=0 }, + }; } } diff --git a/Api/Dilon.Core/SeedData/SysDictTypeSeedData.cs b/Api/Ewide.Core/SeedData/SysDictTypeSeedData.cs similarity index 99% rename from Api/Dilon.Core/SeedData/SysDictTypeSeedData.cs rename to Api/Ewide.Core/SeedData/SysDictTypeSeedData.cs index 9f848b9..d337e4d 100644 --- a/Api/Dilon.Core/SeedData/SysDictTypeSeedData.cs +++ b/Api/Ewide.Core/SeedData/SysDictTypeSeedData.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统字典类型种子数据 diff --git a/Api/Dilon.Core/SeedData/SysEmpPosSeedData.cs b/Api/Ewide.Core/SeedData/SysEmpPosSeedData.cs similarity index 98% rename from Api/Dilon.Core/SeedData/SysEmpPosSeedData.cs rename to Api/Ewide.Core/SeedData/SysEmpPosSeedData.cs index 88f0cd5..2231dcf 100644 --- a/Api/Dilon.Core/SeedData/SysEmpPosSeedData.cs +++ b/Api/Ewide.Core/SeedData/SysEmpPosSeedData.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统员工职位表种子数据 diff --git a/Api/Dilon.Core/SeedData/SysEmpSeedData.cs b/Api/Ewide.Core/SeedData/SysEmpSeedData.cs similarity index 98% rename from Api/Dilon.Core/SeedData/SysEmpSeedData.cs rename to Api/Ewide.Core/SeedData/SysEmpSeedData.cs index 1e2fc0a..4abaf2b 100644 --- a/Api/Dilon.Core/SeedData/SysEmpSeedData.cs +++ b/Api/Ewide.Core/SeedData/SysEmpSeedData.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统员工表种子数据 diff --git a/Api/Dilon.Core/SeedData/SysMenuSeedData.cs b/Api/Ewide.Core/SeedData/SysMenuSeedData.cs similarity index 99% rename from Api/Dilon.Core/SeedData/SysMenuSeedData.cs rename to Api/Ewide.Core/SeedData/SysMenuSeedData.cs index 33b06e6..61562ee 100644 --- a/Api/Dilon.Core/SeedData/SysMenuSeedData.cs +++ b/Api/Ewide.Core/SeedData/SysMenuSeedData.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统菜单表种子数据 diff --git a/Api/Dilon.Core/SeedData/SysOrgSeedData.cs b/Api/Ewide.Core/SeedData/SysOrgSeedData.cs similarity index 99% rename from Api/Dilon.Core/SeedData/SysOrgSeedData.cs rename to Api/Ewide.Core/SeedData/SysOrgSeedData.cs index 5ec44c4..0d67a4d 100644 --- a/Api/Dilon.Core/SeedData/SysOrgSeedData.cs +++ b/Api/Ewide.Core/SeedData/SysOrgSeedData.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统机构表种子数据 diff --git a/Api/Dilon.Core/SeedData/SysPosSeedData.cs b/Api/Ewide.Core/SeedData/SysPosSeedData.cs similarity index 98% rename from Api/Dilon.Core/SeedData/SysPosSeedData.cs rename to Api/Ewide.Core/SeedData/SysPosSeedData.cs index e487f55..277f015 100644 --- a/Api/Dilon.Core/SeedData/SysPosSeedData.cs +++ b/Api/Ewide.Core/SeedData/SysPosSeedData.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统职位表种子数据 diff --git a/Api/Dilon.Core/SeedData/SysRoleSeedData.cs b/Api/Ewide.Core/SeedData/SysRoleSeedData.cs similarity index 97% rename from Api/Dilon.Core/SeedData/SysRoleSeedData.cs rename to Api/Ewide.Core/SeedData/SysRoleSeedData.cs index 8944fa5..faad531 100644 --- a/Api/Dilon.Core/SeedData/SysRoleSeedData.cs +++ b/Api/Ewide.Core/SeedData/SysRoleSeedData.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统角色表种子数据 diff --git a/Api/Dilon.Core/SeedData/SysTenantSeedData.cs b/Api/Ewide.Core/SeedData/SysTenantSeedData.cs similarity index 98% rename from Api/Dilon.Core/SeedData/SysTenantSeedData.cs rename to Api/Ewide.Core/SeedData/SysTenantSeedData.cs index ecb8a02..501d8ea 100644 --- a/Api/Dilon.Core/SeedData/SysTenantSeedData.cs +++ b/Api/Ewide.Core/SeedData/SysTenantSeedData.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { public class SysTenantSeedData : IEntitySeedData { diff --git a/Api/Dilon.Core/SeedData/SysTimerSeedData.cs b/Api/Ewide.Core/SeedData/SysTimerSeedData.cs similarity index 97% rename from Api/Dilon.Core/SeedData/SysTimerSeedData.cs rename to Api/Ewide.Core/SeedData/SysTimerSeedData.cs index 67c7230..6da3f56 100644 --- a/Api/Dilon.Core/SeedData/SysTimerSeedData.cs +++ b/Api/Ewide.Core/SeedData/SysTimerSeedData.cs @@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统任务调度表种子数据 diff --git a/Api/Dilon.Core/SeedData/SysUserSeedData.cs b/Api/Ewide.Core/SeedData/SysUserSeedData.cs similarity index 98% rename from Api/Dilon.Core/SeedData/SysUserSeedData.cs rename to Api/Ewide.Core/SeedData/SysUserSeedData.cs index cc3915c..b2121cb 100644 --- a/Api/Dilon.Core/SeedData/SysUserSeedData.cs +++ b/Api/Ewide.Core/SeedData/SysUserSeedData.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 系统用户表种子数据 diff --git a/Api/Dilon.Core/Service/App/Dto/AppInput.cs b/Api/Ewide.Core/Service/App/Dto/AppInput.cs similarity index 98% rename from Api/Dilon.Core/Service/App/Dto/AppInput.cs rename to Api/Ewide.Core/Service/App/Dto/AppInput.cs index 585fa01..42355e6 100644 --- a/Api/Dilon.Core/Service/App/Dto/AppInput.cs +++ b/Api/Ewide.Core/Service/App/Dto/AppInput.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 系统应用参数 @@ -17,13 +17,13 @@ namespace Dilon.Core.Service /// public virtual string Code { get; set; } - /// - /// 图标 + /// + /// 图标 /// public virtual string Icon { get; set; } - /// - /// 图标颜色 + /// + /// 图标颜色 /// public virtual string Color { get; set; } @@ -56,15 +56,15 @@ namespace Dilon.Core.Service /// 编码 /// [Required(ErrorMessage = "应用编码不能为空")] - public override string Code { get; set; } - - /// - /// 图标 - /// + public override string Code { get; set; } + + /// + /// 图标 + /// public override string Icon { get; set; } - /// - /// 图标颜色 + /// + /// 图标颜色 /// [RegularExpression("^#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}$", ErrorMessage = "颜色格式不正确")] public override string Color { get; set; } diff --git a/Api/Dilon.Core/Service/App/Dto/AppOutput.cs b/Api/Ewide.Core/Service/App/Dto/AppOutput.cs similarity index 95% rename from Api/Dilon.Core/Service/App/Dto/AppOutput.cs rename to Api/Ewide.Core/Service/App/Dto/AppOutput.cs index 954fbcc..9f13b24 100644 --- a/Api/Dilon.Core/Service/App/Dto/AppOutput.cs +++ b/Api/Ewide.Core/Service/App/Dto/AppOutput.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 系统应用参数 diff --git a/Api/Dilon.Core/Service/App/ISysAppService.cs b/Api/Ewide.Core/Service/App/ISysAppService.cs similarity index 95% rename from Api/Dilon.Core/Service/App/ISysAppService.cs rename to Api/Ewide.Core/Service/App/ISysAppService.cs index 37f9d6b..7bc0e04 100644 --- a/Api/Dilon.Core/Service/App/ISysAppService.cs +++ b/Api/Ewide.Core/Service/App/ISysAppService.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysAppService { diff --git a/Api/Dilon.Core/Service/App/SysAppService.cs b/Api/Ewide.Core/Service/App/SysAppService.cs similarity index 99% rename from Api/Dilon.Core/Service/App/SysAppService.cs rename to Api/Ewide.Core/Service/App/SysAppService.cs index 291b2ab..ac31034 100644 --- a/Api/Dilon.Core/Service/App/SysAppService.cs +++ b/Api/Ewide.Core/Service/App/SysAppService.cs @@ -10,7 +10,7 @@ using System; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 系统应用服务 diff --git a/Api/Dilon.Core/Service/Auth/AuthService.cs b/Api/Ewide.Core/Service/Auth/AuthService.cs similarity index 99% rename from Api/Dilon.Core/Service/Auth/AuthService.cs rename to Api/Ewide.Core/Service/Auth/AuthService.cs index ead5057..1a77907 100644 --- a/Api/Dilon.Core/Service/Auth/AuthService.cs +++ b/Api/Ewide.Core/Service/Auth/AuthService.cs @@ -16,7 +16,7 @@ using System.Linq; using System.Threading.Tasks; using UAParser; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 登录授权相关服务 diff --git a/Api/Dilon.Core/Service/Auth/Dto/LoginInput.cs b/Api/Ewide.Core/Service/Auth/Dto/LoginInput.cs similarity index 96% rename from Api/Dilon.Core/Service/Auth/Dto/LoginInput.cs rename to Api/Ewide.Core/Service/Auth/Dto/LoginInput.cs index b4798f2..e57dbb7 100644 --- a/Api/Dilon.Core/Service/Auth/Dto/LoginInput.cs +++ b/Api/Ewide.Core/Service/Auth/Dto/LoginInput.cs @@ -1,7 +1,7 @@ using Furion.DependencyInjection; using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 登录输入参数 diff --git a/Api/Dilon.Core/Service/Auth/Dto/LoginOutput.cs b/Api/Ewide.Core/Service/Auth/Dto/LoginOutput.cs similarity index 99% rename from Api/Dilon.Core/Service/Auth/Dto/LoginOutput.cs rename to Api/Ewide.Core/Service/Auth/Dto/LoginOutput.cs index 91db51d..24f88c8 100644 --- a/Api/Dilon.Core/Service/Auth/Dto/LoginOutput.cs +++ b/Api/Ewide.Core/Service/Auth/Dto/LoginOutput.cs @@ -2,7 +2,7 @@ using System; using System.Collections.Generic; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 用户登录输出参数 diff --git a/Api/Dilon.Core/Service/Auth/IAuthService.cs b/Api/Ewide.Core/Service/Auth/IAuthService.cs similarity index 93% rename from Api/Dilon.Core/Service/Auth/IAuthService.cs rename to Api/Ewide.Core/Service/Auth/IAuthService.cs index 493df95..5c63d70 100644 --- a/Api/Dilon.Core/Service/Auth/IAuthService.cs +++ b/Api/Ewide.Core/Service/Auth/IAuthService.cs @@ -1,7 +1,7 @@ using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface IAuthService { diff --git a/Api/Dilon.Core/Service/Cache/ISysCacheService.cs b/Api/Ewide.Core/Service/Cache/ISysCacheService.cs similarity index 96% rename from Api/Dilon.Core/Service/Cache/ISysCacheService.cs rename to Api/Ewide.Core/Service/Cache/ISysCacheService.cs index 5c69b0c..0e66aeb 100644 --- a/Api/Dilon.Core/Service/Cache/ISysCacheService.cs +++ b/Api/Ewide.Core/Service/Cache/ISysCacheService.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysCacheService { diff --git a/Api/Dilon.Core/Service/Cache/SysCacheService.cs b/Api/Ewide.Core/Service/Cache/SysCacheService.cs similarity index 99% rename from Api/Dilon.Core/Service/Cache/SysCacheService.cs rename to Api/Ewide.Core/Service/Cache/SysCacheService.cs index 4f1edd3..203dcc0 100644 --- a/Api/Dilon.Core/Service/Cache/SysCacheService.cs +++ b/Api/Ewide.Core/Service/Cache/SysCacheService.cs @@ -8,7 +8,7 @@ using System.Linq; using System.Reflection; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 系统缓存服务 diff --git a/Api/Dilon.Core/Service/CodeGen/CodeGenConfigService.cs b/Api/Ewide.Core/Service/CodeGen/CodeGenConfigService.cs similarity index 99% rename from Api/Dilon.Core/Service/CodeGen/CodeGenConfigService.cs rename to Api/Ewide.Core/Service/CodeGen/CodeGenConfigService.cs index 07de3d7..65280d1 100644 --- a/Api/Dilon.Core/Service/CodeGen/CodeGenConfigService.cs +++ b/Api/Ewide.Core/Service/CodeGen/CodeGenConfigService.cs @@ -11,7 +11,7 @@ using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 代码生成详细配置服务 diff --git a/Api/Dilon.Core/Service/CodeGen/CodeGenService.cs b/Api/Ewide.Core/Service/CodeGen/CodeGenService.cs similarity index 99% rename from Api/Dilon.Core/Service/CodeGen/CodeGenService.cs rename to Api/Ewide.Core/Service/CodeGen/CodeGenService.cs index c0f2786..6e172cd 100644 --- a/Api/Dilon.Core/Service/CodeGen/CodeGenService.cs +++ b/Api/Ewide.Core/Service/CodeGen/CodeGenService.cs @@ -14,7 +14,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Dilon.Core.Service.CodeGen +namespace Ewide.Core.Service.CodeGen { /// /// 代码生成器服务 diff --git a/Api/Dilon.Core/Service/CodeGen/Dto/CodeGenConfig.cs b/Api/Ewide.Core/Service/CodeGen/Dto/CodeGenConfig.cs similarity index 98% rename from Api/Dilon.Core/Service/CodeGen/Dto/CodeGenConfig.cs rename to Api/Ewide.Core/Service/CodeGen/Dto/CodeGenConfig.cs index 0b7f77c..d944979 100644 --- a/Api/Dilon.Core/Service/CodeGen/Dto/CodeGenConfig.cs +++ b/Api/Ewide.Core/Service/CodeGen/Dto/CodeGenConfig.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 代码生成详细配置参数 diff --git a/Api/Dilon.Core/Service/CodeGen/Dto/CodeGenInput.cs b/Api/Ewide.Core/Service/CodeGen/Dto/CodeGenInput.cs similarity index 99% rename from Api/Dilon.Core/Service/CodeGen/Dto/CodeGenInput.cs rename to Api/Ewide.Core/Service/CodeGen/Dto/CodeGenInput.cs index 4969c88..3e4a5b9 100644 --- a/Api/Dilon.Core/Service/CodeGen/Dto/CodeGenInput.cs +++ b/Api/Ewide.Core/Service/CodeGen/Dto/CodeGenInput.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 代码生成参数类 diff --git a/Api/Dilon.Core/Service/CodeGen/Dto/CodeGenOutput.cs b/Api/Ewide.Core/Service/CodeGen/Dto/CodeGenOutput.cs similarity index 97% rename from Api/Dilon.Core/Service/CodeGen/Dto/CodeGenOutput.cs rename to Api/Ewide.Core/Service/CodeGen/Dto/CodeGenOutput.cs index 5747440..a31dd30 100644 --- a/Api/Dilon.Core/Service/CodeGen/Dto/CodeGenOutput.cs +++ b/Api/Ewide.Core/Service/CodeGen/Dto/CodeGenOutput.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 代码生成参数类 diff --git a/Api/Dilon.Core/Service/CodeGen/Dto/TableColumnOuput.cs b/Api/Ewide.Core/Service/CodeGen/Dto/TableColumnOuput.cs similarity index 94% rename from Api/Dilon.Core/Service/CodeGen/Dto/TableColumnOuput.cs rename to Api/Ewide.Core/Service/CodeGen/Dto/TableColumnOuput.cs index 18415f9..372178e 100644 --- a/Api/Dilon.Core/Service/CodeGen/Dto/TableColumnOuput.cs +++ b/Api/Ewide.Core/Service/CodeGen/Dto/TableColumnOuput.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 数据库表列 diff --git a/Api/Dilon.Core/Service/CodeGen/Dto/TableOutput.cs b/Api/Ewide.Core/Service/CodeGen/Dto/TableOutput.cs similarity index 95% rename from Api/Dilon.Core/Service/CodeGen/Dto/TableOutput.cs rename to Api/Ewide.Core/Service/CodeGen/Dto/TableOutput.cs index a32f3f2..6fdc4cd 100644 --- a/Api/Dilon.Core/Service/CodeGen/Dto/TableOutput.cs +++ b/Api/Ewide.Core/Service/CodeGen/Dto/TableOutput.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 数据库表列表参数 diff --git a/Api/Dilon.Core/Service/CodeGen/Dto/XnCodeGenOutput.cs b/Api/Ewide.Core/Service/CodeGen/Dto/XnCodeGenOutput.cs similarity index 97% rename from Api/Dilon.Core/Service/CodeGen/Dto/XnCodeGenOutput.cs rename to Api/Ewide.Core/Service/CodeGen/Dto/XnCodeGenOutput.cs index 68d03bf..9f4e2f3 100644 --- a/Api/Dilon.Core/Service/CodeGen/Dto/XnCodeGenOutput.cs +++ b/Api/Ewide.Core/Service/CodeGen/Dto/XnCodeGenOutput.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public class XnCodeGenOutput { diff --git a/Api/Dilon.Core/Service/CodeGen/ICodeGenConfigService.cs b/Api/Ewide.Core/Service/CodeGen/ICodeGenConfigService.cs similarity index 95% rename from Api/Dilon.Core/Service/CodeGen/ICodeGenConfigService.cs rename to Api/Ewide.Core/Service/CodeGen/ICodeGenConfigService.cs index a7c8810..8e87fad 100644 --- a/Api/Dilon.Core/Service/CodeGen/ICodeGenConfigService.cs +++ b/Api/Ewide.Core/Service/CodeGen/ICodeGenConfigService.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ICodeGenConfigService { diff --git a/Api/Dilon.Core/Service/CodeGen/ICodeGenService.cs b/Api/Ewide.Core/Service/CodeGen/ICodeGenService.cs similarity index 94% rename from Api/Dilon.Core/Service/CodeGen/ICodeGenService.cs rename to Api/Ewide.Core/Service/CodeGen/ICodeGenService.cs index 3d570d2..386aba4 100644 --- a/Api/Dilon.Core/Service/CodeGen/ICodeGenService.cs +++ b/Api/Ewide.Core/Service/CodeGen/ICodeGenService.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service.CodeGen +namespace Ewide.Core.Service.CodeGen { public interface ICodeGenService { diff --git a/Api/Dilon.Core/Service/Config/Dto/ConfigInput.cs b/Api/Ewide.Core/Service/Config/Dto/ConfigInput.cs similarity index 98% rename from Api/Dilon.Core/Service/Config/Dto/ConfigInput.cs rename to Api/Ewide.Core/Service/Config/Dto/ConfigInput.cs index d2fa427..d111305 100644 --- a/Api/Dilon.Core/Service/Config/Dto/ConfigInput.cs +++ b/Api/Ewide.Core/Service/Config/Dto/ConfigInput.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 参数配置 diff --git a/Api/Dilon.Core/Service/Config/ISysConfigService.cs b/Api/Ewide.Core/Service/Config/ISysConfigService.cs similarity index 95% rename from Api/Dilon.Core/Service/Config/ISysConfigService.cs rename to Api/Ewide.Core/Service/Config/ISysConfigService.cs index 5067621..5c7113b 100644 --- a/Api/Dilon.Core/Service/Config/ISysConfigService.cs +++ b/Api/Ewide.Core/Service/Config/ISysConfigService.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysConfigService { diff --git a/Api/Dilon.Core/Service/Config/SysConfigService.cs b/Api/Ewide.Core/Service/Config/SysConfigService.cs similarity index 99% rename from Api/Dilon.Core/Service/Config/SysConfigService.cs rename to Api/Ewide.Core/Service/Config/SysConfigService.cs index 88020c3..01213ad 100644 --- a/Api/Dilon.Core/Service/Config/SysConfigService.cs +++ b/Api/Ewide.Core/Service/Config/SysConfigService.cs @@ -9,7 +9,7 @@ using Microsoft.EntityFrameworkCore; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 系统参数配置服务 diff --git a/Api/Dilon.Core/Service/Dict/Dto/DictDataInput.cs b/Api/Ewide.Core/Service/Dict/Dto/DictDataInput.cs similarity index 98% rename from Api/Dilon.Core/Service/Dict/Dto/DictDataInput.cs rename to Api/Ewide.Core/Service/Dict/Dto/DictDataInput.cs index 8e1ba09..0574e5e 100644 --- a/Api/Dilon.Core/Service/Dict/Dto/DictDataInput.cs +++ b/Api/Ewide.Core/Service/Dict/Dto/DictDataInput.cs @@ -1,7 +1,7 @@ using Furion.DataValidation; using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 字典值参数 diff --git a/Api/Dilon.Core/Service/Dict/Dto/DictDataOutput.cs b/Api/Ewide.Core/Service/Dict/Dto/DictDataOutput.cs similarity index 88% rename from Api/Dilon.Core/Service/Dict/Dto/DictDataOutput.cs rename to Api/Ewide.Core/Service/Dict/Dto/DictDataOutput.cs index f19daff..56973e2 100644 --- a/Api/Dilon.Core/Service/Dict/Dto/DictDataOutput.cs +++ b/Api/Ewide.Core/Service/Dict/Dto/DictDataOutput.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 字典值参数 diff --git a/Api/Dilon.Core/Service/Dict/Dto/DictTreeOutput.cs b/Api/Ewide.Core/Service/Dict/Dto/DictTreeOutput.cs similarity index 96% rename from Api/Dilon.Core/Service/Dict/Dto/DictTreeOutput.cs rename to Api/Ewide.Core/Service/Dict/Dto/DictTreeOutput.cs index 656909e..b2144b1 100644 --- a/Api/Dilon.Core/Service/Dict/Dto/DictTreeOutput.cs +++ b/Api/Ewide.Core/Service/Dict/Dto/DictTreeOutput.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 字典类型与字典值构造的树 diff --git a/Api/Dilon.Core/Service/Dict/Dto/DictTypeInput.cs b/Api/Ewide.Core/Service/Dict/Dto/DictTypeInput.cs similarity index 98% rename from Api/Dilon.Core/Service/Dict/Dto/DictTypeInput.cs rename to Api/Ewide.Core/Service/Dict/Dto/DictTypeInput.cs index 3547b95..4ac3bc7 100644 --- a/Api/Dilon.Core/Service/Dict/Dto/DictTypeInput.cs +++ b/Api/Ewide.Core/Service/Dict/Dto/DictTypeInput.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 字典类型参数 diff --git a/Api/Dilon.Core/Service/Dict/ISysDictDataService.cs b/Api/Ewide.Core/Service/Dict/ISysDictDataService.cs similarity index 96% rename from Api/Dilon.Core/Service/Dict/ISysDictDataService.cs rename to Api/Ewide.Core/Service/Dict/ISysDictDataService.cs index 6ad1035..d9ee8ca 100644 --- a/Api/Dilon.Core/Service/Dict/ISysDictDataService.cs +++ b/Api/Ewide.Core/Service/Dict/ISysDictDataService.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysDictDataService { diff --git a/Api/Dilon.Core/Service/Dict/ISysDictTypeService.cs b/Api/Ewide.Core/Service/Dict/ISysDictTypeService.cs similarity index 96% rename from Api/Dilon.Core/Service/Dict/ISysDictTypeService.cs rename to Api/Ewide.Core/Service/Dict/ISysDictTypeService.cs index a1c6bf2..024830c 100644 --- a/Api/Dilon.Core/Service/Dict/ISysDictTypeService.cs +++ b/Api/Ewide.Core/Service/Dict/ISysDictTypeService.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysDictTypeService { diff --git a/Api/Dilon.Core/Service/Dict/SysDictDataService.cs b/Api/Ewide.Core/Service/Dict/SysDictDataService.cs similarity index 99% rename from Api/Dilon.Core/Service/Dict/SysDictDataService.cs rename to Api/Ewide.Core/Service/Dict/SysDictDataService.cs index 20f77ff..47b208e 100644 --- a/Api/Dilon.Core/Service/Dict/SysDictDataService.cs +++ b/Api/Ewide.Core/Service/Dict/SysDictDataService.cs @@ -10,7 +10,7 @@ using System; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 字典值服务 diff --git a/Api/Dilon.Core/Service/Dict/SysDictTypeService.cs b/Api/Ewide.Core/Service/Dict/SysDictTypeService.cs similarity index 99% rename from Api/Dilon.Core/Service/Dict/SysDictTypeService.cs rename to Api/Ewide.Core/Service/Dict/SysDictTypeService.cs index 76836d7..fab7321 100644 --- a/Api/Dilon.Core/Service/Dict/SysDictTypeService.cs +++ b/Api/Ewide.Core/Service/Dict/SysDictTypeService.cs @@ -12,7 +12,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 字典类型服务 diff --git a/Api/Dilon.Core/Service/Emp/Dto/EmpExtOrgPosOutput.cs b/Api/Ewide.Core/Service/Emp/Dto/EmpExtOrgPosOutput.cs similarity index 96% rename from Api/Dilon.Core/Service/Emp/Dto/EmpExtOrgPosOutput.cs rename to Api/Ewide.Core/Service/Emp/Dto/EmpExtOrgPosOutput.cs index 29886b7..4b00587 100644 --- a/Api/Dilon.Core/Service/Emp/Dto/EmpExtOrgPosOutput.cs +++ b/Api/Ewide.Core/Service/Emp/Dto/EmpExtOrgPosOutput.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 附属机构和职位参数 diff --git a/Api/Dilon.Core/Service/Emp/Dto/EmpOutput.cs b/Api/Ewide.Core/Service/Emp/Dto/EmpOutput.cs similarity index 96% rename from Api/Dilon.Core/Service/Emp/Dto/EmpOutput.cs rename to Api/Ewide.Core/Service/Emp/Dto/EmpOutput.cs index c345346..34169f6 100644 --- a/Api/Dilon.Core/Service/Emp/Dto/EmpOutput.cs +++ b/Api/Ewide.Core/Service/Emp/Dto/EmpOutput.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 员工信息参数 diff --git a/Api/Dilon.Core/Service/Emp/Dto/EmpOutput2.cs b/Api/Ewide.Core/Service/Emp/Dto/EmpOutput2.cs similarity index 96% rename from Api/Dilon.Core/Service/Emp/Dto/EmpOutput2.cs rename to Api/Ewide.Core/Service/Emp/Dto/EmpOutput2.cs index de58111..e3c1f3c 100644 --- a/Api/Dilon.Core/Service/Emp/Dto/EmpOutput2.cs +++ b/Api/Ewide.Core/Service/Emp/Dto/EmpOutput2.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 员工信息参数2 diff --git a/Api/Dilon.Core/Service/Emp/Dto/EmpPosOutput.cs b/Api/Ewide.Core/Service/Emp/Dto/EmpPosOutput.cs similarity index 93% rename from Api/Dilon.Core/Service/Emp/Dto/EmpPosOutput.cs rename to Api/Ewide.Core/Service/Emp/Dto/EmpPosOutput.cs index a79b21d..49276eb 100644 --- a/Api/Dilon.Core/Service/Emp/Dto/EmpPosOutput.cs +++ b/Api/Ewide.Core/Service/Emp/Dto/EmpPosOutput.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 员工职位参数 diff --git a/Api/Dilon.Core/Service/Emp/ISysEmpExtOrgPosService.cs b/Api/Ewide.Core/Service/Emp/ISysEmpExtOrgPosService.cs similarity index 93% rename from Api/Dilon.Core/Service/Emp/ISysEmpExtOrgPosService.cs rename to Api/Ewide.Core/Service/Emp/ISysEmpExtOrgPosService.cs index 7d39598..8fa230b 100644 --- a/Api/Dilon.Core/Service/Emp/ISysEmpExtOrgPosService.cs +++ b/Api/Ewide.Core/Service/Emp/ISysEmpExtOrgPosService.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysEmpExtOrgPosService { diff --git a/Api/Dilon.Core/Service/Emp/ISysEmpPosService.cs b/Api/Ewide.Core/Service/Emp/ISysEmpPosService.cs similarity index 92% rename from Api/Dilon.Core/Service/Emp/ISysEmpPosService.cs rename to Api/Ewide.Core/Service/Emp/ISysEmpPosService.cs index 399302b..fb132dc 100644 --- a/Api/Dilon.Core/Service/Emp/ISysEmpPosService.cs +++ b/Api/Ewide.Core/Service/Emp/ISysEmpPosService.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysEmpPosService { diff --git a/Api/Dilon.Core/Service/Emp/ISysEmpService.cs b/Api/Ewide.Core/Service/Emp/ISysEmpService.cs similarity index 93% rename from Api/Dilon.Core/Service/Emp/ISysEmpService.cs rename to Api/Ewide.Core/Service/Emp/ISysEmpService.cs index 21bb973..0395026 100644 --- a/Api/Dilon.Core/Service/Emp/ISysEmpService.cs +++ b/Api/Ewide.Core/Service/Emp/ISysEmpService.cs @@ -1,6 +1,6 @@ using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysEmpService { diff --git a/Api/Dilon.Core/Service/Emp/SysEmpExtOrgPosService.cs b/Api/Ewide.Core/Service/Emp/SysEmpExtOrgPosService.cs similarity index 99% rename from Api/Dilon.Core/Service/Emp/SysEmpExtOrgPosService.cs rename to Api/Ewide.Core/Service/Emp/SysEmpExtOrgPosService.cs index 1cf305e..773e018 100644 --- a/Api/Dilon.Core/Service/Emp/SysEmpExtOrgPosService.cs +++ b/Api/Ewide.Core/Service/Emp/SysEmpExtOrgPosService.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 员工附属机构和职位服务 diff --git a/Api/Dilon.Core/Service/Emp/SysEmpPosService.cs b/Api/Ewide.Core/Service/Emp/SysEmpPosService.cs similarity index 98% rename from Api/Dilon.Core/Service/Emp/SysEmpPosService.cs rename to Api/Ewide.Core/Service/Emp/SysEmpPosService.cs index 13faa83..b4b7f9b 100644 --- a/Api/Dilon.Core/Service/Emp/SysEmpPosService.cs +++ b/Api/Ewide.Core/Service/Emp/SysEmpPosService.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 员工职位服务 diff --git a/Api/Dilon.Core/Service/Emp/SysEmpService.cs b/Api/Ewide.Core/Service/Emp/SysEmpService.cs similarity index 99% rename from Api/Dilon.Core/Service/Emp/SysEmpService.cs rename to Api/Ewide.Core/Service/Emp/SysEmpService.cs index 41a2ef0..945a6b5 100644 --- a/Api/Dilon.Core/Service/Emp/SysEmpService.cs +++ b/Api/Ewide.Core/Service/Emp/SysEmpService.cs @@ -5,7 +5,7 @@ using Mapster; using Microsoft.EntityFrameworkCore; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 员工服务 diff --git a/Api/Dilon.Core/Service/File/Dto/FileInput.cs b/Api/Ewide.Core/Service/File/Dto/FileInput.cs similarity index 98% rename from Api/Dilon.Core/Service/File/Dto/FileInput.cs rename to Api/Ewide.Core/Service/File/Dto/FileInput.cs index 6cf61a6..bf7b7a5 100644 --- a/Api/Dilon.Core/Service/File/Dto/FileInput.cs +++ b/Api/Ewide.Core/Service/File/Dto/FileInput.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 上传文件参数 diff --git a/Api/Dilon.Core/Service/File/Dto/FileOutput.cs b/Api/Ewide.Core/Service/File/Dto/FileOutput.cs similarity index 87% rename from Api/Dilon.Core/Service/File/Dto/FileOutput.cs rename to Api/Ewide.Core/Service/File/Dto/FileOutput.cs index 59ed780..d9716dd 100644 --- a/Api/Dilon.Core/Service/File/Dto/FileOutput.cs +++ b/Api/Ewide.Core/Service/File/Dto/FileOutput.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 上传文件参数 diff --git a/Api/Dilon.Core/Service/File/ISysFileService.cs b/Api/Ewide.Core/Service/File/ISysFileService.cs similarity index 96% rename from Api/Dilon.Core/Service/File/ISysFileService.cs rename to Api/Ewide.Core/Service/File/ISysFileService.cs index 9dfdc61..6d50a4a 100644 --- a/Api/Dilon.Core/Service/File/ISysFileService.cs +++ b/Api/Ewide.Core/Service/File/ISysFileService.cs @@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysFileService { diff --git a/Api/Dilon.Core/Service/File/SysFileService.cs b/Api/Ewide.Core/Service/File/SysFileService.cs similarity index 99% rename from Api/Dilon.Core/Service/File/SysFileService.cs rename to Api/Ewide.Core/Service/File/SysFileService.cs index 8f105aa..4ce74c9 100644 --- a/Api/Dilon.Core/Service/File/SysFileService.cs +++ b/Api/Ewide.Core/Service/File/SysFileService.cs @@ -18,7 +18,7 @@ using System.Text; using System.Threading.Tasks; using System.Web; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 文件服务 diff --git a/Api/Dilon.Core/Service/Log/Dto/OpLogInput.cs b/Api/Ewide.Core/Service/Log/Dto/OpLogInput.cs similarity index 98% rename from Api/Dilon.Core/Service/Log/Dto/OpLogInput.cs rename to Api/Ewide.Core/Service/Log/Dto/OpLogInput.cs index 58547b6..027b3ad 100644 --- a/Api/Dilon.Core/Service/Log/Dto/OpLogInput.cs +++ b/Api/Ewide.Core/Service/Log/Dto/OpLogInput.cs @@ -1,6 +1,6 @@ using System; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 请求日志参数 diff --git a/Api/Dilon.Core/Service/Log/Dto/OpLogOutput.cs b/Api/Ewide.Core/Service/Log/Dto/OpLogOutput.cs similarity index 79% rename from Api/Dilon.Core/Service/Log/Dto/OpLogOutput.cs rename to Api/Ewide.Core/Service/Log/Dto/OpLogOutput.cs index 09668a3..5c6acf1 100644 --- a/Api/Dilon.Core/Service/Log/Dto/OpLogOutput.cs +++ b/Api/Ewide.Core/Service/Log/Dto/OpLogOutput.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 请求日志参数 diff --git a/Api/Dilon.Core/Service/Log/Dto/VisLogInput.cs b/Api/Ewide.Core/Service/Log/Dto/VisLogInput.cs similarity index 97% rename from Api/Dilon.Core/Service/Log/Dto/VisLogInput.cs rename to Api/Ewide.Core/Service/Log/Dto/VisLogInput.cs index 5607e48..c2d59d4 100644 --- a/Api/Dilon.Core/Service/Log/Dto/VisLogInput.cs +++ b/Api/Ewide.Core/Service/Log/Dto/VisLogInput.cs @@ -1,6 +1,6 @@ using System; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 访问日志参数 diff --git a/Api/Dilon.Core/Service/Log/Dto/VisLogOutput.cs b/Api/Ewide.Core/Service/Log/Dto/VisLogOutput.cs similarity index 79% rename from Api/Dilon.Core/Service/Log/Dto/VisLogOutput.cs rename to Api/Ewide.Core/Service/Log/Dto/VisLogOutput.cs index cad8a16..3910f4b 100644 --- a/Api/Dilon.Core/Service/Log/Dto/VisLogOutput.cs +++ b/Api/Ewide.Core/Service/Log/Dto/VisLogOutput.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 访问日志参数 diff --git a/Api/Dilon.Core/Service/Log/ISysOpLogService.cs b/Api/Ewide.Core/Service/Log/ISysOpLogService.cs similarity index 88% rename from Api/Dilon.Core/Service/Log/ISysOpLogService.cs rename to Api/Ewide.Core/Service/Log/ISysOpLogService.cs index 5664ee4..eb8020b 100644 --- a/Api/Dilon.Core/Service/Log/ISysOpLogService.cs +++ b/Api/Ewide.Core/Service/Log/ISysOpLogService.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysOpLogService { diff --git a/Api/Dilon.Core/Service/Log/ISysVisLogService.cs b/Api/Ewide.Core/Service/Log/ISysVisLogService.cs similarity index 88% rename from Api/Dilon.Core/Service/Log/ISysVisLogService.cs rename to Api/Ewide.Core/Service/Log/ISysVisLogService.cs index c54f554..a6fe28b 100644 --- a/Api/Dilon.Core/Service/Log/ISysVisLogService.cs +++ b/Api/Ewide.Core/Service/Log/ISysVisLogService.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysVisLogService { diff --git a/Api/Dilon.Core/Service/Log/SysOpLogService.cs b/Api/Ewide.Core/Service/Log/SysOpLogService.cs similarity index 98% rename from Api/Dilon.Core/Service/Log/SysOpLogService.cs rename to Api/Ewide.Core/Service/Log/SysOpLogService.cs index 9ea2c7e..6067b6b 100644 --- a/Api/Dilon.Core/Service/Log/SysOpLogService.cs +++ b/Api/Ewide.Core/Service/Log/SysOpLogService.cs @@ -9,7 +9,7 @@ using System; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 操作日志服务 diff --git a/Api/Dilon.Core/Service/Log/SysVisLogService.cs b/Api/Ewide.Core/Service/Log/SysVisLogService.cs similarity index 98% rename from Api/Dilon.Core/Service/Log/SysVisLogService.cs rename to Api/Ewide.Core/Service/Log/SysVisLogService.cs index bff1bc7..7be3265 100644 --- a/Api/Dilon.Core/Service/Log/SysVisLogService.cs +++ b/Api/Ewide.Core/Service/Log/SysVisLogService.cs @@ -9,7 +9,7 @@ using System; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 访问日志服务 diff --git a/Api/Dilon.Core/Service/Menu/Dto/AntDesignTreeNode.cs b/Api/Ewide.Core/Service/Menu/Dto/AntDesignTreeNode.cs similarity index 98% rename from Api/Dilon.Core/Service/Menu/Dto/AntDesignTreeNode.cs rename to Api/Ewide.Core/Service/Menu/Dto/AntDesignTreeNode.cs index f996f7e..adec4a9 100644 --- a/Api/Dilon.Core/Service/Menu/Dto/AntDesignTreeNode.cs +++ b/Api/Ewide.Core/Service/Menu/Dto/AntDesignTreeNode.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 登录菜单-AntDesign菜单类型 diff --git a/Api/Dilon.Core/Service/Menu/Dto/MenuInput.cs b/Api/Ewide.Core/Service/Menu/Dto/MenuInput.cs similarity index 99% rename from Api/Dilon.Core/Service/Menu/Dto/MenuInput.cs rename to Api/Ewide.Core/Service/Menu/Dto/MenuInput.cs index 5c198ad..755ed86 100644 --- a/Api/Dilon.Core/Service/Menu/Dto/MenuInput.cs +++ b/Api/Ewide.Core/Service/Menu/Dto/MenuInput.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 菜单参数 diff --git a/Api/Dilon.Core/Service/Menu/Dto/MenuOutput.cs b/Api/Ewide.Core/Service/Menu/Dto/MenuOutput.cs similarity index 96% rename from Api/Dilon.Core/Service/Menu/Dto/MenuOutput.cs rename to Api/Ewide.Core/Service/Menu/Dto/MenuOutput.cs index 0aefec4..86603ff 100644 --- a/Api/Dilon.Core/Service/Menu/Dto/MenuOutput.cs +++ b/Api/Ewide.Core/Service/Menu/Dto/MenuOutput.cs @@ -1,7 +1,7 @@ using System.Collections; using System.Collections.Generic; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 菜单树(列表形式) diff --git a/Api/Dilon.Core/Service/Menu/Dto/MenuTreeOutput.cs b/Api/Ewide.Core/Service/Menu/Dto/MenuTreeOutput.cs similarity index 97% rename from Api/Dilon.Core/Service/Menu/Dto/MenuTreeOutput.cs rename to Api/Ewide.Core/Service/Menu/Dto/MenuTreeOutput.cs index ea4dbd3..40782ed 100644 --- a/Api/Dilon.Core/Service/Menu/Dto/MenuTreeOutput.cs +++ b/Api/Ewide.Core/Service/Menu/Dto/MenuTreeOutput.cs @@ -1,7 +1,7 @@ using System.Collections; using System.Collections.Generic; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 菜单树---授权、新增编辑时选择 diff --git a/Api/Dilon.Core/Service/Menu/ISysMenuService.cs b/Api/Ewide.Core/Service/Menu/ISysMenuService.cs similarity index 96% rename from Api/Dilon.Core/Service/Menu/ISysMenuService.cs rename to Api/Ewide.Core/Service/Menu/ISysMenuService.cs index ef34d74..77fe999 100644 --- a/Api/Dilon.Core/Service/Menu/ISysMenuService.cs +++ b/Api/Ewide.Core/Service/Menu/ISysMenuService.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysMenuService { diff --git a/Api/Dilon.Core/Service/Menu/SysMenuService.cs b/Api/Ewide.Core/Service/Menu/SysMenuService.cs similarity index 99% rename from Api/Dilon.Core/Service/Menu/SysMenuService.cs rename to Api/Ewide.Core/Service/Menu/SysMenuService.cs index 31ae2e3..b9e29f7 100644 --- a/Api/Dilon.Core/Service/Menu/SysMenuService.cs +++ b/Api/Ewide.Core/Service/Menu/SysMenuService.cs @@ -11,7 +11,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 系统菜单服务 diff --git a/Api/Dilon.Core/Service/Monitor/IMachineService.cs b/Api/Ewide.Core/Service/Monitor/IMachineService.cs similarity index 88% rename from Api/Dilon.Core/Service/Monitor/IMachineService.cs rename to Api/Ewide.Core/Service/Monitor/IMachineService.cs index 561ee74..c5916f6 100644 --- a/Api/Dilon.Core/Service/Monitor/IMachineService.cs +++ b/Api/Ewide.Core/Service/Monitor/IMachineService.cs @@ -1,6 +1,6 @@ using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface IMachineService { diff --git a/Api/Dilon.Core/Service/Monitor/MachineService.cs b/Api/Ewide.Core/Service/Monitor/MachineService.cs similarity index 98% rename from Api/Dilon.Core/Service/Monitor/MachineService.cs rename to Api/Ewide.Core/Service/Monitor/MachineService.cs index ab7a3c1..a64cc8a 100644 --- a/Api/Dilon.Core/Service/Monitor/MachineService.cs +++ b/Api/Ewide.Core/Service/Monitor/MachineService.cs @@ -4,7 +4,7 @@ using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 服务器信息服务 diff --git a/Api/Dilon.Core/Service/Notice/Dto/NoticeBase.cs b/Api/Ewide.Core/Service/Notice/Dto/NoticeBase.cs similarity index 97% rename from Api/Dilon.Core/Service/Notice/Dto/NoticeBase.cs rename to Api/Ewide.Core/Service/Notice/Dto/NoticeBase.cs index f53ce4d..3999b87 100644 --- a/Api/Dilon.Core/Service/Notice/Dto/NoticeBase.cs +++ b/Api/Ewide.Core/Service/Notice/Dto/NoticeBase.cs @@ -1,6 +1,6 @@ using System; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 通知公告参数 diff --git a/Api/Dilon.Core/Service/Notice/Dto/NoticeDetailOutput.cs b/Api/Ewide.Core/Service/Notice/Dto/NoticeDetailOutput.cs similarity index 97% rename from Api/Dilon.Core/Service/Notice/Dto/NoticeDetailOutput.cs rename to Api/Ewide.Core/Service/Notice/Dto/NoticeDetailOutput.cs index 9333b22..ff3c2fe 100644 --- a/Api/Dilon.Core/Service/Notice/Dto/NoticeDetailOutput.cs +++ b/Api/Ewide.Core/Service/Notice/Dto/NoticeDetailOutput.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 系统通知公告详情参数 diff --git a/Api/Dilon.Core/Service/Notice/Dto/NoticeInput.cs b/Api/Ewide.Core/Service/Notice/Dto/NoticeInput.cs similarity index 98% rename from Api/Dilon.Core/Service/Notice/Dto/NoticeInput.cs rename to Api/Ewide.Core/Service/Notice/Dto/NoticeInput.cs index b3eceba..aae3c42 100644 --- a/Api/Dilon.Core/Service/Notice/Dto/NoticeInput.cs +++ b/Api/Ewide.Core/Service/Notice/Dto/NoticeInput.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 通知公告参数 diff --git a/Api/Dilon.Core/Service/Notice/Dto/NoticeReceiveOutput.cs b/Api/Ewide.Core/Service/Notice/Dto/NoticeReceiveOutput.cs similarity index 94% rename from Api/Dilon.Core/Service/Notice/Dto/NoticeReceiveOutput.cs rename to Api/Ewide.Core/Service/Notice/Dto/NoticeReceiveOutput.cs index 49aea00..fff0fb1 100644 --- a/Api/Dilon.Core/Service/Notice/Dto/NoticeReceiveOutput.cs +++ b/Api/Ewide.Core/Service/Notice/Dto/NoticeReceiveOutput.cs @@ -1,6 +1,6 @@ using System; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 通知公告接收参数 diff --git a/Api/Dilon.Core/Service/Notice/ISysNoticeService.cs b/Api/Ewide.Core/Service/Notice/ISysNoticeService.cs similarity index 93% rename from Api/Dilon.Core/Service/Notice/ISysNoticeService.cs rename to Api/Ewide.Core/Service/Notice/ISysNoticeService.cs index 5e6d5dd..b037fce 100644 --- a/Api/Dilon.Core/Service/Notice/ISysNoticeService.cs +++ b/Api/Ewide.Core/Service/Notice/ISysNoticeService.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; -namespace Dilon.Core.Service.Notice +namespace Ewide.Core.Service.Notice { public interface ISysNoticeService { diff --git a/Api/Dilon.Core/Service/Notice/ISysNoticeUserService.cs b/Api/Ewide.Core/Service/Notice/ISysNoticeUserService.cs similarity index 92% rename from Api/Dilon.Core/Service/Notice/ISysNoticeUserService.cs rename to Api/Ewide.Core/Service/Notice/ISysNoticeUserService.cs index aa88fbc..c23abbd 100644 --- a/Api/Dilon.Core/Service/Notice/ISysNoticeUserService.cs +++ b/Api/Ewide.Core/Service/Notice/ISysNoticeUserService.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service.Notice +namespace Ewide.Core.Service.Notice { public interface ISysNoticeUserService { diff --git a/Api/Dilon.Core/Service/Notice/SysNoticeService.cs b/Api/Ewide.Core/Service/Notice/SysNoticeService.cs similarity index 99% rename from Api/Dilon.Core/Service/Notice/SysNoticeService.cs rename to Api/Ewide.Core/Service/Notice/SysNoticeService.cs index 7189ce8..429bf7e 100644 --- a/Api/Dilon.Core/Service/Notice/SysNoticeService.cs +++ b/Api/Ewide.Core/Service/Notice/SysNoticeService.cs @@ -11,7 +11,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service.Notice +namespace Ewide.Core.Service.Notice { /// /// 通知公告服务 diff --git a/Api/Dilon.Core/Service/Notice/SysNoticeUserService.cs b/Api/Ewide.Core/Service/Notice/SysNoticeUserService.cs similarity index 98% rename from Api/Dilon.Core/Service/Notice/SysNoticeUserService.cs rename to Api/Ewide.Core/Service/Notice/SysNoticeUserService.cs index 3bcc87a..3409a6e 100644 --- a/Api/Dilon.Core/Service/Notice/SysNoticeUserService.cs +++ b/Api/Ewide.Core/Service/Notice/SysNoticeUserService.cs @@ -6,7 +6,7 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service.Notice +namespace Ewide.Core.Service.Notice { /// /// 通知公告用户 diff --git a/Api/Dilon.Core/Service/OAuth/ISysOauthService.cs b/Api/Ewide.Core/Service/OAuth/ISysOauthService.cs similarity index 91% rename from Api/Dilon.Core/Service/OAuth/ISysOauthService.cs rename to Api/Ewide.Core/Service/OAuth/ISysOauthService.cs index 72674e3..5bf3402 100644 --- a/Api/Dilon.Core/Service/OAuth/ISysOauthService.cs +++ b/Api/Ewide.Core/Service/OAuth/ISysOauthService.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; -namespace Dilon.Core.Service.OAuth +namespace Ewide.Core.Service.OAuth { public interface ISysOauthService { diff --git a/Api/Dilon.Core/Service/OAuth/SysOauthService.cs b/Api/Ewide.Core/Service/OAuth/SysOauthService.cs similarity index 98% rename from Api/Dilon.Core/Service/OAuth/SysOauthService.cs rename to Api/Ewide.Core/Service/OAuth/SysOauthService.cs index 5e264e1..f262180 100644 --- a/Api/Dilon.Core/Service/OAuth/SysOauthService.cs +++ b/Api/Ewide.Core/Service/OAuth/SysOauthService.cs @@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; -namespace Dilon.Core.Service.OAuth +namespace Ewide.Core.Service.OAuth { /// /// OAuth服务 diff --git a/Api/Dilon.Core/Service/Org/Dto/OrgInput.cs b/Api/Ewide.Core/Service/Org/Dto/OrgInput.cs similarity index 98% rename from Api/Dilon.Core/Service/Org/Dto/OrgInput.cs rename to Api/Ewide.Core/Service/Org/Dto/OrgInput.cs index c3235c1..a337516 100644 --- a/Api/Dilon.Core/Service/Org/Dto/OrgInput.cs +++ b/Api/Ewide.Core/Service/Org/Dto/OrgInput.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 组织机构参数 diff --git a/Api/Dilon.Core/Service/Org/Dto/OrgOutput.cs b/Api/Ewide.Core/Service/Org/Dto/OrgOutput.cs similarity index 87% rename from Api/Dilon.Core/Service/Org/Dto/OrgOutput.cs rename to Api/Ewide.Core/Service/Org/Dto/OrgOutput.cs index 1cc9d31..6fe4671 100644 --- a/Api/Dilon.Core/Service/Org/Dto/OrgOutput.cs +++ b/Api/Ewide.Core/Service/Org/Dto/OrgOutput.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 组织机构参数 diff --git a/Api/Dilon.Core/Service/Org/Dto/OrgTreeNode.cs b/Api/Ewide.Core/Service/Org/Dto/OrgTreeNode.cs similarity index 97% rename from Api/Dilon.Core/Service/Org/Dto/OrgTreeNode.cs rename to Api/Ewide.Core/Service/Org/Dto/OrgTreeNode.cs index 9a2d363..650f34b 100644 --- a/Api/Dilon.Core/Service/Org/Dto/OrgTreeNode.cs +++ b/Api/Ewide.Core/Service/Org/Dto/OrgTreeNode.cs @@ -1,7 +1,7 @@ using System.Collections; using System.Collections.Generic; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 组织机构树 diff --git a/Api/Dilon.Core/Service/Org/ISysOrgService.cs b/Api/Ewide.Core/Service/Org/ISysOrgService.cs similarity index 95% rename from Api/Dilon.Core/Service/Org/ISysOrgService.cs rename to Api/Ewide.Core/Service/Org/ISysOrgService.cs index 6f06594..8c101df 100644 --- a/Api/Dilon.Core/Service/Org/ISysOrgService.cs +++ b/Api/Ewide.Core/Service/Org/ISysOrgService.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysOrgService { diff --git a/Api/Dilon.Core/Service/Org/SysOrgService.cs b/Api/Ewide.Core/Service/Org/SysOrgService.cs similarity index 99% rename from Api/Dilon.Core/Service/Org/SysOrgService.cs rename to Api/Ewide.Core/Service/Org/SysOrgService.cs index f580574..3f02002 100644 --- a/Api/Dilon.Core/Service/Org/SysOrgService.cs +++ b/Api/Ewide.Core/Service/Org/SysOrgService.cs @@ -11,7 +11,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 组织机构服务 diff --git a/Api/Dilon.Core/Service/Pos/Dto/PosInput.cs b/Api/Ewide.Core/Service/Pos/Dto/PosInput.cs similarity index 98% rename from Api/Dilon.Core/Service/Pos/Dto/PosInput.cs rename to Api/Ewide.Core/Service/Pos/Dto/PosInput.cs index 84cc9a1..e93847d 100644 --- a/Api/Dilon.Core/Service/Pos/Dto/PosInput.cs +++ b/Api/Ewide.Core/Service/Pos/Dto/PosInput.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 职位参数 diff --git a/Api/Dilon.Core/Service/Pos/ISysPosService.cs b/Api/Ewide.Core/Service/Pos/ISysPosService.cs similarity index 93% rename from Api/Dilon.Core/Service/Pos/ISysPosService.cs rename to Api/Ewide.Core/Service/Pos/ISysPosService.cs index 530ea95..5a8bfa3 100644 --- a/Api/Dilon.Core/Service/Pos/ISysPosService.cs +++ b/Api/Ewide.Core/Service/Pos/ISysPosService.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysPosService { diff --git a/Api/Dilon.Core/Service/Pos/SysPosService.cs b/Api/Ewide.Core/Service/Pos/SysPosService.cs similarity index 99% rename from Api/Dilon.Core/Service/Pos/SysPosService.cs rename to Api/Ewide.Core/Service/Pos/SysPosService.cs index 33c8ee3..953bf2f 100644 --- a/Api/Dilon.Core/Service/Pos/SysPosService.cs +++ b/Api/Ewide.Core/Service/Pos/SysPosService.cs @@ -9,7 +9,7 @@ using Microsoft.EntityFrameworkCore; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 职位服务 diff --git a/Api/Dilon.Core/Service/Role/Dto/RoleInput.cs b/Api/Ewide.Core/Service/Role/Dto/RoleInput.cs similarity index 98% rename from Api/Dilon.Core/Service/Role/Dto/RoleInput.cs rename to Api/Ewide.Core/Service/Role/Dto/RoleInput.cs index f7f564b..b15ac48 100644 --- a/Api/Dilon.Core/Service/Role/Dto/RoleInput.cs +++ b/Api/Ewide.Core/Service/Role/Dto/RoleInput.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 角色参数 diff --git a/Api/Dilon.Core/Service/Role/Dto/RoleOutput.cs b/Api/Ewide.Core/Service/Role/Dto/RoleOutput.cs similarity index 92% rename from Api/Dilon.Core/Service/Role/Dto/RoleOutput.cs rename to Api/Ewide.Core/Service/Role/Dto/RoleOutput.cs index c648f19..3351607 100644 --- a/Api/Dilon.Core/Service/Role/Dto/RoleOutput.cs +++ b/Api/Ewide.Core/Service/Role/Dto/RoleOutput.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 登录用户角色参数 diff --git a/Api/Dilon.Core/Service/Role/ISysRoleDataScopeService.cs b/Api/Ewide.Core/Service/Role/ISysRoleDataScopeService.cs similarity index 93% rename from Api/Dilon.Core/Service/Role/ISysRoleDataScopeService.cs rename to Api/Ewide.Core/Service/Role/ISysRoleDataScopeService.cs index 85c597d..e1769de 100644 --- a/Api/Dilon.Core/Service/Role/ISysRoleDataScopeService.cs +++ b/Api/Ewide.Core/Service/Role/ISysRoleDataScopeService.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysRoleDataScopeService { diff --git a/Api/Dilon.Core/Service/Role/ISysRoleMenuService.cs b/Api/Ewide.Core/Service/Role/ISysRoleMenuService.cs similarity index 92% rename from Api/Dilon.Core/Service/Role/ISysRoleMenuService.cs rename to Api/Ewide.Core/Service/Role/ISysRoleMenuService.cs index 2ac76ae..60d4a86 100644 --- a/Api/Dilon.Core/Service/Role/ISysRoleMenuService.cs +++ b/Api/Ewide.Core/Service/Role/ISysRoleMenuService.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysRoleMenuService { diff --git a/Api/Dilon.Core/Service/Role/ISysRoleService.cs b/Api/Ewide.Core/Service/Role/ISysRoleService.cs similarity index 97% rename from Api/Dilon.Core/Service/Role/ISysRoleService.cs rename to Api/Ewide.Core/Service/Role/ISysRoleService.cs index 6bda994..828a2e4 100644 --- a/Api/Dilon.Core/Service/Role/ISysRoleService.cs +++ b/Api/Ewide.Core/Service/Role/ISysRoleService.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysRoleService { diff --git a/Api/Dilon.Core/Service/Role/SysRoleDataScopeService.cs b/Api/Ewide.Core/Service/Role/SysRoleDataScopeService.cs similarity index 99% rename from Api/Dilon.Core/Service/Role/SysRoleDataScopeService.cs rename to Api/Ewide.Core/Service/Role/SysRoleDataScopeService.cs index beec55a..70d101d 100644 --- a/Api/Dilon.Core/Service/Role/SysRoleDataScopeService.cs +++ b/Api/Ewide.Core/Service/Role/SysRoleDataScopeService.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 角色数据范围服务 diff --git a/Api/Dilon.Core/Service/Role/SysRoleMenuService.cs b/Api/Ewide.Core/Service/Role/SysRoleMenuService.cs similarity index 99% rename from Api/Dilon.Core/Service/Role/SysRoleMenuService.cs rename to Api/Ewide.Core/Service/Role/SysRoleMenuService.cs index 48dd3a4..7adbc87 100644 --- a/Api/Dilon.Core/Service/Role/SysRoleMenuService.cs +++ b/Api/Ewide.Core/Service/Role/SysRoleMenuService.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 角色菜单 diff --git a/Api/Dilon.Core/Service/Role/SysRoleService.cs b/Api/Ewide.Core/Service/Role/SysRoleService.cs similarity index 99% rename from Api/Dilon.Core/Service/Role/SysRoleService.cs rename to Api/Ewide.Core/Service/Role/SysRoleService.cs index 2c62578..2db498d 100644 --- a/Api/Dilon.Core/Service/Role/SysRoleService.cs +++ b/Api/Ewide.Core/Service/Role/SysRoleService.cs @@ -10,7 +10,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 角色服务 diff --git a/Api/Dilon.Core/Service/Tenant/Dto/TenantInput.cs b/Api/Ewide.Core/Service/Tenant/Dto/TenantInput.cs similarity index 98% rename from Api/Dilon.Core/Service/Tenant/Dto/TenantInput.cs rename to Api/Ewide.Core/Service/Tenant/Dto/TenantInput.cs index af38497..3bc2e73 100644 --- a/Api/Dilon.Core/Service/Tenant/Dto/TenantInput.cs +++ b/Api/Ewide.Core/Service/Tenant/Dto/TenantInput.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 租户参数 diff --git a/Api/Dilon.Core/Service/Tenant/Dto/TenantOutput.cs b/Api/Ewide.Core/Service/Tenant/Dto/TenantOutput.cs similarity index 97% rename from Api/Dilon.Core/Service/Tenant/Dto/TenantOutput.cs rename to Api/Ewide.Core/Service/Tenant/Dto/TenantOutput.cs index b48b01f..bdb95c7 100644 --- a/Api/Dilon.Core/Service/Tenant/Dto/TenantOutput.cs +++ b/Api/Ewide.Core/Service/Tenant/Dto/TenantOutput.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 租户参数 diff --git a/Api/Dilon.Core/Service/Tenant/ISysTenantService.cs b/Api/Ewide.Core/Service/Tenant/ISysTenantService.cs similarity index 93% rename from Api/Dilon.Core/Service/Tenant/ISysTenantService.cs rename to Api/Ewide.Core/Service/Tenant/ISysTenantService.cs index 4f7bab6..84105d9 100644 --- a/Api/Dilon.Core/Service/Tenant/ISysTenantService.cs +++ b/Api/Ewide.Core/Service/Tenant/ISysTenantService.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysTenantService { diff --git a/Api/Dilon.Core/Service/Tenant/SysTenantService.cs b/Api/Ewide.Core/Service/Tenant/SysTenantService.cs similarity index 99% rename from Api/Dilon.Core/Service/Tenant/SysTenantService.cs rename to Api/Ewide.Core/Service/Tenant/SysTenantService.cs index 02696c2..638a7af 100644 --- a/Api/Dilon.Core/Service/Tenant/SysTenantService.cs +++ b/Api/Ewide.Core/Service/Tenant/SysTenantService.cs @@ -9,7 +9,7 @@ using Microsoft.EntityFrameworkCore; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 租户服务 diff --git a/Api/Dilon.Core/Service/Timer/Dto/JobInput.cs b/Api/Ewide.Core/Service/Timer/Dto/JobInput.cs similarity index 98% rename from Api/Dilon.Core/Service/Timer/Dto/JobInput.cs rename to Api/Ewide.Core/Service/Timer/Dto/JobInput.cs index f6bf677..296f6d1 100644 --- a/Api/Dilon.Core/Service/Timer/Dto/JobInput.cs +++ b/Api/Ewide.Core/Service/Timer/Dto/JobInput.cs @@ -2,7 +2,7 @@ using System; using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 任务调度参数 diff --git a/Api/Dilon.Core/Service/Timer/Dto/JobOutput.cs b/Api/Ewide.Core/Service/Timer/Dto/JobOutput.cs similarity index 98% rename from Api/Dilon.Core/Service/Timer/Dto/JobOutput.cs rename to Api/Ewide.Core/Service/Timer/Dto/JobOutput.cs index ed65b1e..da3fce1 100644 --- a/Api/Dilon.Core/Service/Timer/Dto/JobOutput.cs +++ b/Api/Ewide.Core/Service/Timer/Dto/JobOutput.cs @@ -1,7 +1,7 @@ using Quartz; using System; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 任务信息---任务详情 diff --git a/Api/Dilon.Core/Service/Timer/HttpJob.cs b/Api/Ewide.Core/Service/Timer/HttpJob.cs similarity index 99% rename from Api/Dilon.Core/Service/Timer/HttpJob.cs rename to Api/Ewide.Core/Service/Timer/HttpJob.cs index a728763..9446805 100644 --- a/Api/Dilon.Core/Service/Timer/HttpJob.cs +++ b/Api/Ewide.Core/Service/Timer/HttpJob.cs @@ -4,7 +4,7 @@ using Quartz; using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { [DisallowConcurrentExecution] public class HttpJob : IJob diff --git a/Api/Dilon.Core/Service/Timer/ISysTimerService.cs b/Api/Ewide.Core/Service/Timer/ISysTimerService.cs similarity index 94% rename from Api/Dilon.Core/Service/Timer/ISysTimerService.cs rename to Api/Ewide.Core/Service/Timer/ISysTimerService.cs index fb71f46..7aa7ef7 100644 --- a/Api/Dilon.Core/Service/Timer/ISysTimerService.cs +++ b/Api/Ewide.Core/Service/Timer/ISysTimerService.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysTimerService { diff --git a/Api/Dilon.Core/Service/Timer/SchedulerCenter.cs b/Api/Ewide.Core/Service/Timer/SchedulerCenter.cs similarity index 99% rename from Api/Dilon.Core/Service/Timer/SchedulerCenter.cs rename to Api/Ewide.Core/Service/Timer/SchedulerCenter.cs index 876b7cb..53ffd57 100644 --- a/Api/Dilon.Core/Service/Timer/SchedulerCenter.cs +++ b/Api/Ewide.Core/Service/Timer/SchedulerCenter.cs @@ -12,7 +12,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 任务调度中心 diff --git a/Api/Dilon.Core/Service/Timer/SchedulerDef.cs b/Api/Ewide.Core/Service/Timer/SchedulerDef.cs similarity index 97% rename from Api/Dilon.Core/Service/Timer/SchedulerDef.cs rename to Api/Ewide.Core/Service/Timer/SchedulerDef.cs index df0a5c0..9b43755 100644 --- a/Api/Dilon.Core/Service/Timer/SchedulerDef.cs +++ b/Api/Ewide.Core/Service/Timer/SchedulerDef.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 任务调度相关常量 diff --git a/Api/Dilon.Core/Service/Timer/SysTimerService.cs b/Api/Ewide.Core/Service/Timer/SysTimerService.cs similarity index 99% rename from Api/Dilon.Core/Service/Timer/SysTimerService.cs rename to Api/Ewide.Core/Service/Timer/SysTimerService.cs index 21b24b0..c02ce73 100644 --- a/Api/Dilon.Core/Service/Timer/SysTimerService.cs +++ b/Api/Ewide.Core/Service/Timer/SysTimerService.cs @@ -9,7 +9,7 @@ using Microsoft.EntityFrameworkCore; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 任务调度服务 diff --git a/Api/Dilon.Core/Service/User/Dto/AuthToken.cs b/Api/Ewide.Core/Service/User/Dto/AuthToken.cs similarity index 96% rename from Api/Dilon.Core/Service/User/Dto/AuthToken.cs rename to Api/Ewide.Core/Service/User/Dto/AuthToken.cs index ef3c543..7b27ff9 100644 --- a/Api/Dilon.Core/Service/User/Dto/AuthToken.cs +++ b/Api/Ewide.Core/Service/User/Dto/AuthToken.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// AuthToken参数 diff --git a/Api/Dilon.Core/Service/User/Dto/AuthUserInput.cs b/Api/Ewide.Core/Service/User/Dto/AuthUserInput.cs similarity index 95% rename from Api/Dilon.Core/Service/User/Dto/AuthUserInput.cs rename to Api/Ewide.Core/Service/User/Dto/AuthUserInput.cs index 3cb3e3b..a2e226b 100644 --- a/Api/Dilon.Core/Service/User/Dto/AuthUserInput.cs +++ b/Api/Ewide.Core/Service/User/Dto/AuthUserInput.cs @@ -1,4 +1,4 @@ -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// OAuth用户参数 diff --git a/Api/Dilon.Core/Service/User/Dto/UserInput.cs b/Api/Ewide.Core/Service/User/Dto/UserInput.cs similarity index 99% rename from Api/Dilon.Core/Service/User/Dto/UserInput.cs rename to Api/Ewide.Core/Service/User/Dto/UserInput.cs index a20afb3..7b7ce54 100644 --- a/Api/Dilon.Core/Service/User/Dto/UserInput.cs +++ b/Api/Ewide.Core/Service/User/Dto/UserInput.cs @@ -1,7 +1,7 @@ using System; using System.ComponentModel.DataAnnotations; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 用户参数 diff --git a/Api/Dilon.Core/Service/User/Dto/UserOutput.cs b/Api/Ewide.Core/Service/User/Dto/UserOutput.cs similarity index 98% rename from Api/Dilon.Core/Service/User/Dto/UserOutput.cs rename to Api/Ewide.Core/Service/User/Dto/UserOutput.cs index 0b3056b..087eef5 100644 --- a/Api/Dilon.Core/Service/User/Dto/UserOutput.cs +++ b/Api/Ewide.Core/Service/User/Dto/UserOutput.cs @@ -1,6 +1,6 @@ using System; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 用户参数 diff --git a/Api/Dilon.Core/Service/User/ISysUserDataScopeService.cs b/Api/Ewide.Core/Service/User/ISysUserDataScopeService.cs similarity index 92% rename from Api/Dilon.Core/Service/User/ISysUserDataScopeService.cs rename to Api/Ewide.Core/Service/User/ISysUserDataScopeService.cs index c8a9b0f..e311601 100644 --- a/Api/Dilon.Core/Service/User/ISysUserDataScopeService.cs +++ b/Api/Ewide.Core/Service/User/ISysUserDataScopeService.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysUserDataScopeService { diff --git a/Api/Dilon.Core/Service/User/ISysUserRoleService.cs b/Api/Ewide.Core/Service/User/ISysUserRoleService.cs similarity index 93% rename from Api/Dilon.Core/Service/User/ISysUserRoleService.cs rename to Api/Ewide.Core/Service/User/ISysUserRoleService.cs index d54ee35..1c35421 100644 --- a/Api/Dilon.Core/Service/User/ISysUserRoleService.cs +++ b/Api/Ewide.Core/Service/User/ISysUserRoleService.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysUserRoleService { diff --git a/Api/Dilon.Core/Service/User/ISysUserService.cs b/Api/Ewide.Core/Service/User/ISysUserService.cs similarity index 97% rename from Api/Dilon.Core/Service/User/ISysUserService.cs rename to Api/Ewide.Core/Service/User/ISysUserService.cs index 17688e9..e0f5f1a 100644 --- a/Api/Dilon.Core/Service/User/ISysUserService.cs +++ b/Api/Ewide.Core/Service/User/ISysUserService.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { public interface ISysUserService { diff --git a/Api/Dilon.Core/Service/User/SysUserDataScopeService.cs b/Api/Ewide.Core/Service/User/SysUserDataScopeService.cs similarity index 98% rename from Api/Dilon.Core/Service/User/SysUserDataScopeService.cs rename to Api/Ewide.Core/Service/User/SysUserDataScopeService.cs index e278fc6..f0fcbf8 100644 --- a/Api/Dilon.Core/Service/User/SysUserDataScopeService.cs +++ b/Api/Ewide.Core/Service/User/SysUserDataScopeService.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 用户数据范围服务 diff --git a/Api/Dilon.Core/Service/User/SysUserRoleService.cs b/Api/Ewide.Core/Service/User/SysUserRoleService.cs similarity index 99% rename from Api/Dilon.Core/Service/User/SysUserRoleService.cs rename to Api/Ewide.Core/Service/User/SysUserRoleService.cs index 4245006..4d34c90 100644 --- a/Api/Dilon.Core/Service/User/SysUserRoleService.cs +++ b/Api/Ewide.Core/Service/User/SysUserRoleService.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 用户角色服务 diff --git a/Api/Dilon.Core/Service/User/SysUserService.cs b/Api/Ewide.Core/Service/User/SysUserService.cs similarity index 99% rename from Api/Dilon.Core/Service/User/SysUserService.cs rename to Api/Ewide.Core/Service/User/SysUserService.cs index b0ee997..9e8c59d 100644 --- a/Api/Dilon.Core/Service/User/SysUserService.cs +++ b/Api/Ewide.Core/Service/User/SysUserService.cs @@ -12,7 +12,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -namespace Dilon.Core.Service +namespace Ewide.Core.Service { /// /// 用户服务 diff --git a/Api/Dilon.Core/Util/MachineUtil.cs b/Api/Ewide.Core/Util/MachineUtil.cs similarity index 99% rename from Api/Dilon.Core/Util/MachineUtil.cs rename to Api/Ewide.Core/Util/MachineUtil.cs index bfbe599..23d03b7 100644 --- a/Api/Dilon.Core/Util/MachineUtil.cs +++ b/Api/Ewide.Core/Util/MachineUtil.cs @@ -10,7 +10,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -namespace Dilon.Core +namespace Ewide.Core { /// /// 获取服务器信息 diff --git a/Api/Dilon.Core/Util/TreeBuildUtil.cs b/Api/Ewide.Core/Util/TreeBuildUtil.cs similarity index 99% rename from Api/Dilon.Core/Util/TreeBuildUtil.cs rename to Api/Ewide.Core/Util/TreeBuildUtil.cs index 30513f1..aefd91c 100644 --- a/Api/Dilon.Core/Util/TreeBuildUtil.cs +++ b/Api/Ewide.Core/Util/TreeBuildUtil.cs @@ -1,7 +1,7 @@ using System.Collections; using System.Collections.Generic; -namespace Dilon.Core +namespace Ewide.Core { /// /// 树基类 diff --git a/Api/Dilon.Core/applicationconfig.json b/Api/Ewide.Core/applicationconfig.json similarity index 100% rename from Api/Dilon.Core/applicationconfig.json rename to Api/Ewide.Core/applicationconfig.json diff --git a/Api/Dilon.Database.Migrations/Dilon.Database.Migrations.csproj b/Api/Ewide.Database.Migrations/Dilon.Database.Migrations.csproj similarity index 100% rename from Api/Dilon.Database.Migrations/Dilon.Database.Migrations.csproj rename to Api/Ewide.Database.Migrations/Dilon.Database.Migrations.csproj diff --git a/Api/Dilon.Database.Migrations/Migrations/20210423073632_Init.Designer.cs b/Api/Ewide.Database.Migrations/Migrations/20210423073632_Init.Designer.cs similarity index 97% rename from Api/Dilon.Database.Migrations/Migrations/20210423073632_Init.Designer.cs rename to Api/Ewide.Database.Migrations/Migrations/20210423073632_Init.Designer.cs index 3c0929d..3d75287 100644 --- a/Api/Dilon.Database.Migrations/Migrations/20210423073632_Init.Designer.cs +++ b/Api/Ewide.Database.Migrations/Migrations/20210423073632_Init.Designer.cs @@ -1,6590 +1,6590 @@ -// -using System; -using Dilon.EntityFramework.Core; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; - -namespace Dilon.Database.Migrations.Migrations -{ - [DbContext(typeof(DefaultDbContext))] - [Migration("20210423073632_Init")] - partial class Init - { - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("Relational:MaxIdentifierLength", 64) - .HasAnnotation("ProductVersion", "5.0.5"); - - modelBuilder.Entity("Dilon.Application.CodeGenTest", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Age") - .HasColumnType("int") - .HasComment("年龄"); - - b.Property("Birthday") - .HasColumnType("datetime") - .HasComment("生日"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("NickName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("昵称"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("code_gen_test"); - - b - .HasComment("代码生成业务"); - }); - - modelBuilder.Entity("Dilon.Core.SysApp", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Active") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否默认激活"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("Color") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("图标颜色"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("Icon") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("图标"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Sort") - .HasColumnType("int") - .HasComment("排序"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_app"); - - b - .HasComment("系统应用表"); - - b.HasData( - new - { - Id = 142307070922869L, - Active = "N", - Code = "busapp", - IsDeleted = false, - Name = "业务应用", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070898245L, - Active = "Y", - Code = "system", - IsDeleted = false, - Name = "系统管理", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070902341L, - Active = "N", - Code = "system_tool", - IsDeleted = false, - Name = "系统工具", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070922826L, - Active = "N", - Code = "advanced", - IsDeleted = false, - Name = "高级功能", - Sort = 100, - Status = 0 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysCodeGen", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("AuthorName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("作者姓名"); - - b.Property("BusName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("业务名"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("GenerateType") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("生成方式"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("NameSpace") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("命名空间"); - - b.Property("TableName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("数据库表名"); - - b.Property("TablePrefix") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否移除表前缀"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_code_gen"); - - b - .HasComment("代码生成表"); - }); - - modelBuilder.Entity("Dilon.Core.SysCodeGenConfig", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("CodeGenId") - .HasColumnType("bigint") - .HasComment("代码生成主表ID"); - - b.Property("ColumnComment") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("字段描述"); - - b.Property("ColumnKey") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("主外键"); - - b.Property("ColumnName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("数据库字段名"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("DataType") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("数据库中类型"); - - b.Property("DictTypeCode") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("字典Code"); - - b.Property("EffectType") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("作用类型"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("NetType") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment(".NET数据类型"); - - b.Property("QueryType") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("查询方式"); - - b.Property("QueryWhether") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否是查询条件"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.Property("WhetherAddUpdate") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("增改"); - - b.Property("WhetherCommon") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否通用字段"); - - b.Property("WhetherRequired") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否必填"); - - b.Property("WhetherRetract") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("列表是否缩进"); - - b.Property("WhetherTable") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("列表显示"); - - b.HasKey("Id"); - - b.ToTable("sys_code_gen_config"); - - b - .HasComment("代码生成字段配置表"); - }); - - modelBuilder.Entity("Dilon.Core.SysConfig", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("GroupCode") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("常量所属分类的编码"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("SysFlag") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否是系统参数"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.Property("Value") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("属性值"); - - b.HasKey("Id"); - - b.ToTable("sys_config"); - - b - .HasComment("参数配置表"); - - b.HasData( - new - { - Id = 142307070902342L, - Code = "DILON_JWT_SECRET", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "jwt密钥", - Remark = "(重要)jwt密钥,默认为空,自行设置", - Status = 0, - SysFlag = "Y", - Value = "xiaonuo" - }, - new - { - Id = 142307070902343L, - Code = "DILON_DEFAULT_PASSWORD", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "默认密码", - Remark = "默认密码", - Status = 0, - SysFlag = "Y", - Value = "123456" - }, - new - { - Id = 142307070902344L, - Code = "DILON_TOKEN_EXPIRE", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "token过期时间", - Remark = "token过期时间(单位:秒)", - Status = 0, - SysFlag = "Y", - Value = "86400" - }, - new - { - Id = 142307070902345L, - Code = "DILON_SESSION_EXPIRE", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "session会话过期时间", - Remark = "session会话过期时间(单位:秒)", - Status = 0, - SysFlag = "Y", - Value = "7200" - }, - new - { - Id = 142307070902346L, - Code = "DILON_ALIYUN_SMS_ACCESSKEY_ID", - GroupCode = "ALIYUN_SMS", - IsDeleted = false, - Name = "阿里云短信keyId", - Remark = "阿里云短信keyId", - Status = 0, - SysFlag = "Y", - Value = "你的keyId" - }, - new - { - Id = 142307070902347L, - Code = "DILON_ALIYUN_SMS_ACCESSKEY_SECRET", - GroupCode = "ALIYUN_SMS", - IsDeleted = false, - Name = "阿里云短信secret", - Remark = "阿里云短信secret", - Status = 0, - SysFlag = "Y", - Value = "你的secret" - }, - new - { - Id = 142307070902348L, - Code = "DILON_ALIYUN_SMS_SIGN_NAME", - GroupCode = "ALIYUN_SMS", - IsDeleted = false, - Name = "阿里云短信签名", - Remark = "阿里云短信签名", - Status = 0, - SysFlag = "Y", - Value = "你的签名" - }, - new - { - Id = 142307070902349L, - Code = "DILON_ALIYUN_SMS_LOGIN_TEMPLATE_CODE", - GroupCode = "ALIYUN_SMS", - IsDeleted = false, - Name = "阿里云短信-登录模板号", - Remark = "阿里云短信-登录模板号", - Status = 0, - SysFlag = "Y", - Value = "SMS_1877123456" - }, - new - { - Id = 142307070902350L, - Code = "DILON_ALIYUN_SMS_INVALIDATE_MINUTES", - GroupCode = "ALIYUN_SMS", - IsDeleted = false, - Name = "阿里云短信默认失效时间", - Remark = "阿里云短信默认失效时间(单位:分钟)", - Status = 0, - SysFlag = "Y", - Value = "5" - }, - new - { - Id = 142307070902351L, - Code = "DILON_TENCENT_SMS_SECRET_ID", - GroupCode = "TENCENT_SMS", - IsDeleted = false, - Name = "腾讯云短信secretId", - Remark = "腾讯云短信secretId", - Status = 0, - SysFlag = "Y", - Value = "你的secretId" - }, - new - { - Id = 142307070902352L, - Code = "DILON_TENCENT_SMS_SECRET_KEY", - GroupCode = "TENCENT_SMS", - IsDeleted = false, - Name = "腾讯云短信secretKey", - Remark = "腾讯云短信secretKey", - Status = 0, - SysFlag = "Y", - Value = "你的secretkey" - }, - new - { - Id = 142307070902353L, - Code = "DILON_TENCENT_SMS_SDK_APP_ID", - GroupCode = "TENCENT_SMS", - IsDeleted = false, - Name = "腾讯云短信sdkAppId", - Remark = "腾讯云短信sdkAppId", - Status = 0, - SysFlag = "Y", - Value = "1400375123" - }, - new - { - Id = 142307070902354L, - Code = "DILON_TENCENT_SMS_SIGN", - GroupCode = "TENCENT_SMS", - IsDeleted = false, - Name = "腾讯云短信签名", - Remark = "腾讯云短信签名", - Status = 0, - SysFlag = "Y", - Value = "你的签名" - }, - new - { - Id = 142307070902355L, - Code = "DILON_EMAIL_HOST", - GroupCode = "EMAIL", - IsDeleted = false, - Name = "邮箱host", - Remark = "邮箱host", - Status = 0, - SysFlag = "Y", - Value = "smtp.126.com" - }, - new - { - Id = 142307070902356L, - Code = "DILON_EMAIL_USERNAME", - GroupCode = "EMAIL", - IsDeleted = false, - Name = "邮箱用户名", - Remark = "邮箱用户名", - Status = 0, - SysFlag = "Y", - Value = "test@126.com" - }, - new - { - Id = 142307070902357L, - Code = "DILON_EMAIL_PASSWORD", - GroupCode = "EMAIL", - IsDeleted = false, - Name = "邮箱密码", - Remark = "邮箱密码", - Status = 0, - SysFlag = "Y", - Value = "你的邮箱密码" - }, - new - { - Id = 142307070902358L, - Code = "DILON_EMAIL_PORT", - GroupCode = "EMAIL", - IsDeleted = false, - Name = "邮箱端口", - Remark = "邮箱端口", - Status = 0, - SysFlag = "Y", - Value = "465" - }, - new - { - Id = 142307070902359L, - Code = "DILON_EMAIL_SSL", - GroupCode = "EMAIL", - IsDeleted = false, - Name = "邮箱是否开启ssl", - Remark = "邮箱是否开启ssl", - Status = 0, - SysFlag = "Y", - Value = "true" - }, - new - { - Id = 142307070902360L, - Code = "DILON_EMAIL_FROM", - GroupCode = "EMAIL", - IsDeleted = false, - Name = "邮箱发件人", - Remark = "邮箱发件人", - Status = 0, - SysFlag = "Y", - Value = "test@126.com" - }, - new - { - Id = 142307070902361L, - Code = "DILON_FILE_UPLOAD_PATH_FOR_WINDOWS", - GroupCode = "FILE_PATH", - IsDeleted = false, - Name = "Win本地上传文件路径", - Remark = "Win本地上传文件路径", - Status = 0, - SysFlag = "Y", - Value = "D:/tmp" - }, - new - { - Id = 142307070902362L, - Code = "DILON_FILE_UPLOAD_PATH_FOR_LINUX", - GroupCode = "FILE_PATH", - IsDeleted = false, - Name = "Linux/Mac本地上传文件路径", - Remark = "Linux/Mac本地上传文件路径", - Status = 0, - SysFlag = "Y", - Value = "/tmp" - }, - new - { - Id = 142307070902363L, - Code = "DILON_UN_XSS_FILTER_URL", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "放开XSS过滤的接口", - Remark = "多个url可以用英文逗号隔开", - Status = 0, - SysFlag = "Y", - Value = "/demo/xssfilter,/demo/unxss" - }, - new - { - Id = 142307070902364L, - Code = "DILON_ENABLE_SINGLE_LOGIN", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "单用户登陆的开关", - Remark = "true-打开,false-关闭,如果一个人登录两次,就会将上一次登陆挤下去", - Status = 0, - SysFlag = "Y", - Value = "false" - }, - new - { - Id = 142307070902365L, - Code = "DILON_CAPTCHA_OPEN", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "登录验证码的开关", - Remark = "true-打开,false-关闭", - Status = 0, - SysFlag = "Y", - Value = "true" - }, - new - { - Id = 142307070902366L, - Code = "DILON_DRUID_USERNAME", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "Druid监控登录账号", - Remark = "Druid监控登录账号", - Status = 0, - SysFlag = "Y", - Value = "superAdmin" - }, - new - { - Id = 142307070902367L, - Code = "DILON_DRUID_PASSWORD", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "Druid监控界面登录密码", - Remark = "Druid监控界面登录密码", - Status = 0, - SysFlag = "Y", - Value = "123456" - }, - new - { - Id = 142307070902368L, - Code = "DILON_IP_GEO_API", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "阿里云定位api接口地址", - Remark = "阿里云定位api接口地址", - Status = 0, - SysFlag = "Y", - Value = "http://api01.aliyun.venuscn.com/ip?ip=%s" - }, - new - { - Id = 142307070902369L, - Code = "DILON_IP_GEO_APP_CODE", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "阿里云定位appCode", - Remark = "阿里云定位appCode", - Status = 0, - SysFlag = "Y", - Value = "461535aabeae4f34861884d392f5d452" - }, - new - { - Id = 142307070902370L, - Code = "DILON_ENABLE_OAUTH_LOGIN", - GroupCode = "OAUTH", - IsDeleted = false, - Name = "Oauth用户登录的开关", - Remark = "Oauth用户登录的开关", - Status = 0, - SysFlag = "Y", - Value = "true" - }, - new - { - Id = 142307070902371L, - Code = "DILON_OAUTH_GITEE_CLIENT_ID", - GroupCode = "OAUTH", - IsDeleted = false, - Name = "Oauth码云登录ClientId", - Remark = "Oauth码云登录ClientId", - Status = 0, - SysFlag = "Y", - Value = "你的clientId" - }, - new - { - Id = 142307070902372L, - Code = "DILON_OAUTH_GITEE_CLIENT_SECRET", - GroupCode = "OAUTH", - IsDeleted = false, - Name = "Oauth码云登录ClientSecret", - Remark = "Oauth码云登录ClientSecret", - Status = 0, - SysFlag = "Y", - Value = "你的clientSecret" - }, - new - { - Id = 142307070902373L, - Code = "DILON_OAUTH_GITEE_REDIRECT_URI", - GroupCode = "OAUTH", - IsDeleted = false, - Name = "Oauth码云登录回调地址", - Remark = "Oauth码云登录回调地址", - Status = 0, - SysFlag = "Y", - Value = "http://127.0.0.1:5566/oauth/callback/gitee" - }, - new - { - Id = 142307070902374L, - Code = "DILON_DEMO_ENV_FLAG", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "演示环境", - Remark = "演示环境的开关,true-打开,false-关闭,如果演示环境开启,则只能读数据不能写数据", - Status = 0, - SysFlag = "Y", - Value = "false" - }); - }); - - modelBuilder.Entity("Dilon.Core.SysDictData", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Sort") - .HasColumnType("int") - .HasComment("排序"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("TypeId") - .HasColumnType("bigint") - .HasComment("字典类型Id"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.Property("Value") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("值"); - - b.HasKey("Id"); - - b.HasIndex("TypeId"); - - b.ToTable("sys_dict_data"); - - b - .HasComment("字典值表"); - - b.HasData( - new - { - Id = 142307070902375L, - Code = "1", - IsDeleted = false, - Remark = "男性", - Sort = 100, - Status = 0, - TypeId = 142307070906484L, - Value = "男" - }, - new - { - Id = 142307070902376L, - Code = "2", - IsDeleted = false, - Remark = "女性", - Sort = 100, - Status = 0, - TypeId = 142307070906484L, - Value = "女" - }, - new - { - Id = 142307070902377L, - Code = "3", - IsDeleted = false, - Remark = "未知性别", - Sort = 100, - Status = 0, - TypeId = 142307070906484L, - Value = "未知" - }, - new - { - Id = 142307070902378L, - Code = "DEFAULT", - IsDeleted = false, - Remark = "默认常量,都以XIAONUO_开头的", - Sort = 100, - Status = 0, - TypeId = 142307070906485L, - Value = "默认常量" - }, - new - { - Id = 142307070902379L, - Code = "ALIYUN_SMS", - IsDeleted = false, - Remark = "阿里云短信配置", - Sort = 100, - Status = 0, - TypeId = 142307070906485L, - Value = "阿里云短信" - }, - new - { - Id = 142307070902380L, - Code = "TENCENT_SMS", - IsDeleted = false, - Remark = "腾讯云短信", - Sort = 100, - Status = 0, - TypeId = 142307070906485L, - Value = "腾讯云短信" - }, - new - { - Id = 142307070902381L, - Code = "EMAIL", - IsDeleted = false, - Remark = "邮件配置", - Sort = 100, - Status = 0, - TypeId = 142307070906485L, - Value = "邮件配置" - }, - new - { - Id = 142307070902382L, - Code = "FILE_PATH", - IsDeleted = false, - Remark = "文件上传路径", - Sort = 100, - Status = 0, - TypeId = 142307070906485L, - Value = "文件上传路径" - }, - new - { - Id = 142307070902383L, - Code = "OAUTH", - IsDeleted = false, - Remark = "Oauth配置", - Sort = 100, - Status = 0, - TypeId = 142307070906485L, - Value = "Oauth配置" - }, - new - { - Id = 142307070902384L, - Code = "0", - IsDeleted = false, - Remark = "正常", - Sort = 100, - Status = 0, - TypeId = 142307070906483L, - Value = "正常" - }, - new - { - Id = 142307070902385L, - Code = "1", - IsDeleted = false, - Remark = "停用", - Sort = 100, - Status = 0, - TypeId = 142307070906483L, - Value = "停用" - }, - new - { - Id = 142307070902386L, - Code = "2", - IsDeleted = false, - Remark = "删除", - Sort = 100, - Status = 0, - TypeId = 142307070906483L, - Value = "删除" - }, - new - { - Id = 142307070902387L, - Code = "N", - IsDeleted = false, - Remark = "否", - Sort = 100, - Status = 0, - TypeId = 142307070906486L, - Value = "否" - }, - new - { - Id = 142307070902388L, - Code = "Y", - IsDeleted = false, - Remark = "是", - Sort = 100, - Status = 0, - TypeId = 142307070906486L, - Value = "是" - }, - new - { - Id = 142307070902389L, - Code = "1", - IsDeleted = false, - Remark = "登录", - Sort = 100, - Status = 0, - TypeId = 142307070906487L, - Value = "登录" - }, - new - { - Id = 142307070902390L, - Code = "2", - IsDeleted = false, - Remark = "登出", - Sort = 100, - Status = 0, - TypeId = 142307070906487L, - Value = "登出" - }, - new - { - Id = 142307070902391L, - Code = "0", - IsDeleted = false, - Remark = "目录", - Sort = 100, - Status = 0, - TypeId = 142307070906488L, - Value = "目录" - }, - new - { - Id = 142307070902392L, - Code = "1", - IsDeleted = false, - Remark = "菜单", - Sort = 100, - Status = 0, - TypeId = 142307070906488L, - Value = "菜单" - }, - new - { - Id = 142307070902393L, - Code = "2", - IsDeleted = false, - Remark = "按钮", - Sort = 100, - Status = 0, - TypeId = 142307070906488L, - Value = "按钮" - }, - new - { - Id = 142307070902394L, - Code = "0", - IsDeleted = false, - Remark = "未发送", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "未发送" - }, - new - { - Id = 142307070902395L, - Code = "1", - IsDeleted = false, - Remark = "发送成功", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "发送成功" - }, - new - { - Id = 142307070902396L, - Code = "2", - IsDeleted = false, - Remark = "发送失败", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "发送失败" - }, - new - { - Id = 142307070902397L, - Code = "3", - IsDeleted = false, - Remark = "失效", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "失效" - }, - new - { - Id = 142307070902398L, - Code = "0", - IsDeleted = false, - Remark = "无", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "无" - }, - new - { - Id = 142307070902399L, - Code = "1", - IsDeleted = false, - Remark = "组件", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "组件" - }, - new - { - Id = 142307070906437L, - Code = "2", - IsDeleted = false, - Remark = "内链", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "内链" - }, - new - { - Id = 142307070906438L, - Code = "3", - IsDeleted = false, - Remark = "外链", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "外链" - }, - new - { - Id = 142307070906439L, - Code = "1", - IsDeleted = false, - Remark = "系统权重", - Sort = 100, - Status = 0, - TypeId = 142307070906491L, - Value = "系统权重" - }, - new - { - Id = 142307070906440L, - Code = "2", - IsDeleted = false, - Remark = "业务权重", - Sort = 100, - Status = 0, - TypeId = 142307070906491L, - Value = "业务权重" - }, - new - { - Id = 142307070906441L, - Code = "1", - IsDeleted = false, - Remark = "全部数据", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "全部数据" - }, - new - { - Id = 142307070906442L, - Code = "2", - IsDeleted = false, - Remark = "本部门及以下数据", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "本部门及以下数据" - }, - new - { - Id = 142307070906443L, - Code = "3", - IsDeleted = false, - Remark = "本部门数据", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "本部门数据" - }, - new - { - Id = 142307070906444L, - Code = "4", - IsDeleted = false, - Remark = "仅本人数据", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "仅本人数据" - }, - new - { - Id = 142307070906445L, - Code = "5", - IsDeleted = false, - Remark = "自定义数据", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "自定义数据" - }, - new - { - Id = 142307070906446L, - Code = "1", - IsDeleted = false, - Remark = "app", - Sort = 100, - Status = 0, - TypeId = 142307070906493L, - Value = "app" - }, - new - { - Id = 142307070906447L, - Code = "2", - IsDeleted = false, - Remark = "pc", - Sort = 100, - Status = 0, - TypeId = 142307070906493L, - Value = "pc" - }, - new - { - Id = 142307070906448L, - Code = "3", - IsDeleted = false, - Remark = "其他", - Sort = 100, - Status = 0, - TypeId = 142307070906493L, - Value = "其他" - }, - new - { - Id = 142307070906449L, - Code = "0", - IsDeleted = false, - Remark = "其它", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "其它" - }, - new - { - Id = 142307070906450L, - Code = "1", - IsDeleted = false, - Remark = "增加", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "增加" - }, - new - { - Id = 142307070906451L, - Code = "2", - IsDeleted = false, - Remark = "删除", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "删除" - }, - new - { - Id = 142307070906452L, - Code = "3", - IsDeleted = false, - Remark = "编辑", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "编辑" - }, - new - { - Id = 142307070906453L, - Code = "4", - IsDeleted = false, - Remark = "更新", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "更新" - }, - new - { - Id = 142307070906454L, - Code = "5", - IsDeleted = false, - Remark = "查询", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "查询" - }, - new - { - Id = 142307070906455L, - Code = "6", - IsDeleted = false, - Remark = "详情", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "详情" - }, - new - { - Id = 142307070906456L, - Code = "7", - IsDeleted = false, - Remark = "树", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "树" - }, - new - { - Id = 142307070906457L, - Code = "8", - IsDeleted = false, - Remark = "导入", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "导入" - }, - new - { - Id = 142307070906458L, - Code = "9", - IsDeleted = false, - Remark = "导出", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "导出" - }, - new - { - Id = 142307070906459L, - Code = "10", - IsDeleted = false, - Remark = "授权", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "授权" - }, - new - { - Id = 142307070906460L, - Code = "11", - IsDeleted = false, - Remark = "强退", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "强退" - }, - new - { - Id = 142307070906461L, - Code = "12", - IsDeleted = false, - Remark = "清空", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "清空" - }, - new - { - Id = 142307070906462L, - Code = "13", - IsDeleted = false, - Remark = "修改状态", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "修改状态" - }, - new - { - Id = 142307070906463L, - Code = "1", - IsDeleted = false, - Remark = "阿里云", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "阿里云" - }, - new - { - Id = 142307070906464L, - Code = "2", - IsDeleted = false, - Remark = "腾讯云", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "腾讯云" - }, - new - { - Id = 142307070906465L, - Code = "3", - IsDeleted = false, - Remark = "minio", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "minio" - }, - new - { - Id = 142307070906466L, - Code = "4", - IsDeleted = false, - Remark = "本地", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "本地" - }, - new - { - Id = 142307070906467L, - Code = "1", - IsDeleted = false, - Remark = "运行", - Sort = 100, - Status = 0, - TypeId = 142307070910533L, - Value = "运行" - }, - new - { - Id = 142307070906468L, - Code = "2", - IsDeleted = false, - Remark = "停止", - Sort = 100, - Status = 0, - TypeId = 142307070910533L, - Value = "停止" - }, - new - { - Id = 142307070906469L, - Code = "1", - IsDeleted = false, - Remark = "通知", - Sort = 100, - Status = 0, - TypeId = 142307070910534L, - Value = "通知" - }, - new - { - Id = 142307070906470L, - Code = "2", - IsDeleted = false, - Remark = "公告", - Sort = 100, - Status = 0, - TypeId = 142307070910534L, - Value = "公告" - }, - new - { - Id = 142307070906471L, - Code = "0", - IsDeleted = false, - Remark = "草稿", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "草稿" - }, - new - { - Id = 142307070906472L, - Code = "1", - IsDeleted = false, - Remark = "发布", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "发布" - }, - new - { - Id = 142307070906473L, - Code = "2", - IsDeleted = false, - Remark = "撤回", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "撤回" - }, - new - { - Id = 142307070906474L, - Code = "3", - IsDeleted = false, - Remark = "删除", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "删除" - }, - new - { - Id = 142307070906475L, - Code = "true", - IsDeleted = false, - Remark = "是", - Sort = 100, - Status = 0, - TypeId = 142307070910536L, - Value = "是" - }, - new - { - Id = 142307070906476L, - Code = "false", - IsDeleted = false, - Remark = "否", - Sort = 100, - Status = 0, - TypeId = 142307070910536L, - Value = "否" - }, - new - { - Id = 142307070906477L, - Code = "1", - IsDeleted = false, - Remark = "下载压缩包", - Sort = 100, - Status = 0, - TypeId = 142307070910537L, - Value = "下载压缩包" - }, - new - { - Id = 142307070906478L, - Code = "2", - IsDeleted = false, - Remark = "生成到本项目", - Sort = 100, - Status = 0, - TypeId = 142307070910537L, - Value = "生成到本项目" - }, - new - { - Id = 142307070906479L, - Code = "1", - IsDeleted = false, - Remark = "GET", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "GET" - }, - new - { - Id = 142307070906480L, - Code = "2", - IsDeleted = false, - Remark = "POST", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "POST" - }, - new - { - Id = 142307070906481L, - Code = "3", - IsDeleted = false, - Remark = "PUT", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "PUT" - }, - new - { - Id = 142307070906482L, - Code = "4", - IsDeleted = false, - Remark = "DELETE", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "DELETE" - }, - new - { - Id = 142307070922830L, - Code = "input", - IsDeleted = false, - Remark = "输入框", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "输入框" - }, - new - { - Id = 142307070922831L, - Code = "datepicker", - IsDeleted = false, - Remark = "时间选择", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "时间选择" - }, - new - { - Id = 142307070922832L, - Code = "select", - IsDeleted = false, - Remark = "下拉框", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "下拉框" - }, - new - { - Id = 142307070922833L, - Code = "radio", - IsDeleted = false, - Remark = "单选框", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "单选框" - }, - new - { - Id = 142307070922834L, - Code = "switch", - IsDeleted = false, - Remark = "开关", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "开关" - }, - new - { - Id = 142307070922835L, - Code = "checkbox", - IsDeleted = false, - Remark = "多选框", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "多选框" - }, - new - { - Id = 142307070922836L, - Code = "inputnumber", - IsDeleted = false, - Remark = "数字输入框", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "数字输入框" - }, - new - { - Id = 142307070922837L, - Code = "textarea", - IsDeleted = false, - Remark = "文本域", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "文本域" - }, - new - { - Id = 142307070922838L, - Code = "==", - IsDeleted = false, - Remark = "等于", - Sort = 1, - Status = 0, - TypeId = 142307070922828L, - Value = "等于" - }, - new - { - Id = 142307070922839L, - Code = "like", - IsDeleted = false, - Remark = "模糊", - Sort = 2, - Status = 0, - TypeId = 142307070922828L, - Value = "模糊" - }, - new - { - Id = 142307070922840L, - Code = ">", - IsDeleted = false, - Remark = "大于", - Sort = 3, - Status = 0, - TypeId = 142307070922828L, - Value = "大于" - }, - new - { - Id = 142307070922841L, - Code = "<", - IsDeleted = false, - Remark = "小于", - Sort = 4, - Status = 0, - TypeId = 142307070922828L, - Value = "小于" - }, - new - { - Id = 142307070922842L, - Code = "!=", - IsDeleted = false, - Remark = "不等于", - Sort = 5, - Status = 0, - TypeId = 142307070922828L, - Value = "不等于" - }, - new - { - Id = 142307070922843L, - Code = ">=", - IsDeleted = false, - Remark = "大于等于", - Sort = 6, - Status = 0, - TypeId = 142307070922828L, - Value = "大于等于" - }, - new - { - Id = 142307070922844L, - Code = "<=", - IsDeleted = false, - Remark = "小于等于", - Sort = 7, - Status = 0, - TypeId = 142307070922828L, - Value = "小于等于" - }, - new - { - Id = 142307070922845L, - Code = "isNotNull", - IsDeleted = false, - Remark = "不为空", - Sort = 8, - Status = 0, - TypeId = 142307070922828L, - Value = "不为空" - }, - new - { - Id = 142307070922851L, - Code = "int", - IsDeleted = false, - Remark = "int", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "int" - }, - new - { - Id = 142307070922846L, - Code = "long", - IsDeleted = false, - Remark = "long", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "long" - }, - new - { - Id = 142307070922847L, - Code = "string", - IsDeleted = false, - Remark = "string", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "string" - }, - new - { - Id = 142307070922850L, - Code = "bool", - IsDeleted = false, - Remark = "bool", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "bool" - }, - new - { - Id = 142307070922852L, - Code = "double", - IsDeleted = false, - Remark = "double", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "double" - }, - new - { - Id = 142307070922848L, - Code = "DateTime", - IsDeleted = false, - Remark = "DateTime", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "DateTime" - }, - new - { - Id = 142307070922861L, - Code = "float", - IsDeleted = false, - Remark = "float", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "float" - }, - new - { - Id = 142307070922862L, - Code = "decimal", - IsDeleted = false, - Remark = "decimal", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "decimal" - }, - new - { - Id = 142307070922863L, - Code = "Guid", - IsDeleted = false, - Remark = "Guid", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "Guid" - }, - new - { - Id = 142307070922864L, - Code = "DateTimeOffset", - IsDeleted = false, - Remark = "DateTimeOffset", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "DateTimeOffset" - }); - }); - - modelBuilder.Entity("Dilon.Core.SysDictType", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Sort") - .HasColumnType("int") - .HasComment("排序"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_dict_type"); - - b - .HasComment("字典类型表"); - - b.HasData( - new - { - Id = 142307070906483L, - Code = "common_status", - IsDeleted = false, - Name = "通用状态", - Remark = "通用状态", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906484L, - Code = "sex", - IsDeleted = false, - Name = "性别", - Remark = "性别字典", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906485L, - Code = "consts_type", - IsDeleted = false, - Name = "常量的分类", - Remark = "常量的分类,用于区别一组配置", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906486L, - Code = "yes_or_no", - IsDeleted = false, - Name = "是否", - Remark = "是否", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906487L, - Code = "vis_type", - IsDeleted = false, - Name = "访问类型", - Remark = "访问类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906488L, - Code = "menu_type", - IsDeleted = false, - Name = "菜单类型", - Remark = "菜单类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906489L, - Code = "send_type", - IsDeleted = false, - Name = "发送类型", - Remark = "发送类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906490L, - Code = "open_type", - IsDeleted = false, - Name = "打开方式", - Remark = "打开方式", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906491L, - Code = "menu_weight", - IsDeleted = false, - Name = "菜单权重", - Remark = "菜单权重", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906492L, - Code = "data_scope_type", - IsDeleted = false, - Name = "数据范围类型", - Remark = "数据范围类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906493L, - Code = "sms_send_source", - IsDeleted = false, - Name = "短信发送来源", - Remark = "短信发送来源", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906494L, - Code = "op_type", - IsDeleted = false, - Name = "操作类型", - Remark = "操作类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906495L, - Code = "file_storage_location", - IsDeleted = false, - Name = "文件存储位置", - Remark = "文件存储位置", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910533L, - Code = "run_status", - IsDeleted = false, - Name = "运行状态", - Remark = "定时任务运行状态", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910534L, - Code = "notice_type", - IsDeleted = false, - Name = "通知公告类型", - Remark = "通知公告类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910535L, - Code = "notice_status", - IsDeleted = false, - Name = "通知公告状态", - Remark = "通知公告状态", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910536L, - Code = "yes_true_false", - IsDeleted = false, - Name = "是否boolean", - Remark = "是否boolean", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910537L, - Code = "code_gen_create_type", - IsDeleted = false, - Name = "代码生成方式", - Remark = "代码生成方式", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910538L, - Code = "request_type", - IsDeleted = false, - Name = "请求方式", - Remark = "请求方式", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070922827L, - Code = "code_gen_effect_type", - IsDeleted = false, - Name = "代码生成作用类型", - Remark = "代码生成作用类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070922828L, - Code = "code_gen_query_type", - IsDeleted = false, - Name = "代码生成查询类型", - Remark = "代码生成查询类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070922829L, - Code = "code_gen_net_type", - IsDeleted = false, - Name = "代码生成.NET类型", - Remark = "代码生成.NET类型", - Sort = 100, - Status = 0 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysEmp", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("用户Id"); - - b.Property("JobNum") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("工号"); - - b.Property("OrgId") - .HasColumnType("bigint") - .HasComment("机构Id"); - - b.Property("OrgName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("机构名称"); - - b.HasKey("Id"); - - b.ToTable("sys_emp"); - - b - .HasComment("员工表"); - - b.HasData( - new - { - Id = 142307070910551L, - JobNum = "D1001", - OrgId = 142307070910539L, - OrgName = "华夏集团" - }, - new - { - Id = 142307070910552L, - JobNum = "D1002", - OrgId = 142307070910539L, - OrgName = "华夏集团" - }, - new - { - Id = 142307070910553L, - JobNum = "D1003", - OrgId = 142307070910539L, - OrgName = "华夏集团" - }); - }); - - modelBuilder.Entity("Dilon.Core.SysEmpExtOrgPos", b => - { - b.Property("SysEmpId") - .HasColumnType("bigint") - .HasComment("员工Id"); - - b.Property("SysOrgId") - .HasColumnType("bigint") - .HasComment("机构Id"); - - b.Property("SysPosId") - .HasColumnType("bigint") - .HasComment("职位Id"); - - b.HasKey("SysEmpId", "SysOrgId", "SysPosId"); - - b.HasIndex("SysOrgId"); - - b.HasIndex("SysPosId"); - - b.ToTable("sys_emp_ext_org_pos"); - - b - .HasComment("员工附属机构职位表"); - - b.HasData( - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910539L, - SysPosId = 142307070910547L - }, - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910540L, - SysPosId = 142307070910548L - }, - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910541L, - SysPosId = 142307070910549L - }, - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910542L, - SysPosId = 142307070910550L - }, - new - { - SysEmpId = 142307070910553L, - SysOrgId = 142307070910542L, - SysPosId = 142307070910547L - }); - }); - - modelBuilder.Entity("Dilon.Core.SysEmpPos", b => - { - b.Property("SysEmpId") - .HasColumnType("bigint") - .HasComment("员工Id"); - - b.Property("SysPosId") - .HasColumnType("bigint") - .HasComment("职位Id"); - - b.HasKey("SysEmpId", "SysPosId"); - - b.HasIndex("SysPosId"); - - b.ToTable("sys_emp_pos"); - - b - .HasComment("员工职位表"); - - b.HasData( - new - { - SysEmpId = 142307070910551L, - SysPosId = 142307070910547L - }, - new - { - SysEmpId = 142307070910551L, - SysPosId = 142307070910548L - }, - new - { - SysEmpId = 142307070910552L, - SysPosId = 142307070910549L - }, - new - { - SysEmpId = 142307070910553L, - SysPosId = 142307070910547L - }); - }); - - modelBuilder.Entity("Dilon.Core.SysFile", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("FileBucket") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("文件仓库"); - - b.Property("FileLocation") - .HasColumnType("int") - .HasComment("文件存储位置"); - - b.Property("FileObjectName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("存储到bucket的名称"); - - b.Property("FileOriginName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("文件名称"); - - b.Property("FilePath") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("存储路径"); - - b.Property("FileSizeInfo") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("文件大小信息"); - - b.Property("FileSizeKb") - .HasColumnType("bigint") - .HasComment("文件大小kb"); - - b.Property("FileSuffix") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("文件后缀"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_file"); - - b - .HasComment("文件信息表"); - }); - - modelBuilder.Entity("Dilon.Core.SysLogAudit", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - b.Property("ColumnName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("列名"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("操作时间"); - - b.Property("NewValue") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("新值"); - - b.Property("OldValue") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("旧值"); - - b.Property("Operate") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("操作方式"); - - b.Property("TableName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("表名"); - - b.Property("UserId") - .HasColumnType("bigint") - .HasComment("操作人Id"); - - b.Property("UserName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("操作人名称"); - - b.HasKey("Id"); - - b.ToTable("sys_log_audit"); - - b - .HasComment("审计日志表"); - }); - - modelBuilder.Entity("Dilon.Core.SysLogOp", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - b.Property("Account") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("操作人"); - - b.Property("Browser") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("浏览器"); - - b.Property("ClassName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("类名称"); - - b.Property("ElapsedTime") - .HasColumnType("bigint") - .HasComment("耗时"); - - b.Property("Ip") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("IP"); - - b.Property("Location") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("地址"); - - b.Property("Message") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("具体消息"); - - b.Property("MethodName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("方法名称"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("OpTime") - .HasColumnType("datetime") - .HasComment("操作时间"); - - b.Property("OpType") - .HasColumnType("int") - .HasComment("操作类型"); - - b.Property("Os") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("操作系统"); - - b.Property("Param") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("请求参数"); - - b.Property("ReqMethod") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("请求方式"); - - b.Property("Result") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("返回结果"); - - b.Property("Success") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否执行成功"); - - b.Property("Url") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("请求地址"); - - b.HasKey("Id"); - - b.ToTable("sys_log_op"); - - b - .HasComment("操作日志表"); - }); - - modelBuilder.Entity("Dilon.Core.SysLogVis", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - b.Property("Account") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("访问人"); - - b.Property("Browser") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("浏览器"); - - b.Property("Ip") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("IP"); - - b.Property("Location") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("地址"); - - b.Property("Message") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("具体消息"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Os") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("操作系统"); - - b.Property("Success") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否执行成功"); - - b.Property("VisTime") - .HasColumnType("datetime") - .HasComment("访问时间"); - - b.Property("VisType") - .HasColumnType("int") - .HasComment("访问类型"); - - b.HasKey("Id"); - - b.ToTable("sys_log_vis"); - - b - .HasComment("访问日志表"); - }); - - modelBuilder.Entity("Dilon.Core.SysMenu", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Application") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("应用分类"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("Component") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("组件地址"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("Icon") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("图标"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Link") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("内链地址"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("OpenType") - .HasColumnType("int") - .HasComment("打开方式"); - - b.Property("Permission") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("权限标识"); - - b.Property("Pid") - .HasColumnType("bigint") - .HasComment("父Id"); - - b.Property("Pids") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("父Ids"); - - b.Property("Redirect") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("重定向地址"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Router") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("路由地址"); - - b.Property("Sort") - .HasColumnType("int") - .HasComment("排序"); - - b.Property("Status") - .HasColumnType("int"); - - b.Property("Type") - .HasColumnType("int") - .HasComment("菜单类型"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.Property("Visible") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否可见"); - - b.Property("Weight") - .HasColumnType("int") - .HasComment("权重"); - - b.HasKey("Id"); - - b.ToTable("sys_menu"); - - b - .HasComment("菜单表"); - - b.HasData( - new - { - Id = 142307070910560L, - Application = "system", - Code = "system_index", - Component = "RouteView", - Icon = "home", - IsDeleted = false, - Name = "主控面板", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Redirect = "/analysis", - Router = "/", - Sort = 1, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910561L, - Application = "system", - Code = "system_index_dashboard", - Component = "system/dashboard/Analysis", - IsDeleted = false, - Name = "分析页", - OpenType = 0, - Pid = 142307070910560L, - Pids = "[0],[142307070910560],", - Router = "analysis", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910562L, - Application = "system", - Code = "system_index_workplace", - Component = "system/dashboard/Workplace", - IsDeleted = false, - Name = "工作台", - OpenType = 0, - Pid = 142307070910560L, - Pids = "[0],[142307070910560],", - Router = "workplace", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910563L, - Application = "system", - Code = "sys_mgr", - Component = "PageView", - Icon = "team", - IsDeleted = false, - Name = "组织架构", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/sys", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910564L, - Application = "system", - Code = "sys_user_mgr", - Component = "system/user/index", - IsDeleted = false, - Name = "用户管理", - OpenType = 1, - Pid = 142307070910563L, - Pids = "[0],[142307070910563],", - Router = "/mgr_user", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910565L, - Application = "system", - Code = "sys_user_mgr_page", - IsDeleted = false, - Name = "用户查询", - OpenType = 0, - Permission = "sysUser:page", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910566L, - Application = "system", - Code = "sys_user_mgr_edit", - IsDeleted = false, - Name = "用户编辑", - OpenType = 0, - Permission = "sysUser:edit", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910567L, - Application = "system", - Code = "sys_user_mgr_add", - IsDeleted = false, - Name = "用户增加", - OpenType = 0, - Permission = "sysUser:add", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910568L, - Application = "system", - Code = "sys_user_mgr_delete", - IsDeleted = false, - Name = "用户删除", - OpenType = 0, - Permission = "sysUser:delete", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910569L, - Application = "system", - Code = "sys_user_mgr_detail", - IsDeleted = false, - Name = "用户详情", - OpenType = 0, - Permission = "sysUser:detail", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910570L, - Application = "system", - Code = "sys_user_mgr_export", - IsDeleted = false, - Name = "用户导出", - OpenType = 0, - Permission = "sysUser:export", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910571L, - Application = "system", - Code = "sys_user_mgr_selector", - IsDeleted = false, - Name = "用户选择器", - OpenType = 0, - Permission = "sysUser:selector", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910572L, - Application = "system", - Code = "sys_user_mgr_grant_role", - IsDeleted = false, - Name = "用户授权角色", - OpenType = 0, - Permission = "sysUser:grantRole", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910573L, - Application = "system", - Code = "sys_user_mgr_own_role", - IsDeleted = false, - Name = "用户拥有角色", - OpenType = 0, - Permission = "sysUser:ownRole", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910574L, - Application = "system", - Code = "sys_user_mgr_grant_data", - IsDeleted = false, - Name = "用户授权数据", - OpenType = 0, - Permission = "sysUser:grantData", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910575L, - Application = "system", - Code = "sys_user_mgr_own_data", - IsDeleted = false, - Name = "用户拥有数据", - OpenType = 0, - Permission = "sysUser:ownData", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910576L, - Application = "system", - Code = "sys_user_mgr_update_info", - IsDeleted = false, - Name = "用户更新信息", - OpenType = 0, - Permission = "sysUser:updateInfo", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910577L, - Application = "system", - Code = "sys_user_mgr_update_pwd", - IsDeleted = false, - Name = "用户修改密码", - OpenType = 0, - Permission = "sysUser:updatePwd", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910578L, - Application = "system", - Code = "sys_user_mgr_change_status", - IsDeleted = false, - Name = "用户修改状态", - OpenType = 0, - Permission = "sysUser:changeStatus", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910579L, - Application = "system", - Code = "sys_user_mgr_update_avatar", - IsDeleted = false, - Name = "用户修改头像", - OpenType = 0, - Permission = "sysUser:updateAvatar", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910580L, - Application = "system", - Code = "sys_user_mgr_reset_pwd", - IsDeleted = false, - Name = "用户重置密码", - OpenType = 0, - Permission = "sysUser:resetPwd", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918777L, - Application = "system", - Code = "sys_user_mgr_login", - IsDeleted = false, - Name = "用户登录信息", - OpenType = 0, - Permission = "getLoginUser", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 1, - Type = 2, - Visible = "N", - Weight = 1 - }, - new - { - Id = 142307070910581L, - Application = "system", - Code = "sys_org_mgr", - Component = "system/org/index", - IsDeleted = false, - Name = "机构管理", - OpenType = 1, - Pid = 142307070910563L, - Pids = "[0],[142307070910563],", - Router = "/org", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910582L, - Application = "system", - Code = "sys_org_mgr_page", - IsDeleted = false, - Name = "机构查询", - OpenType = 0, - Permission = "sysOrg:page", - Pid = 142307070910581L, - Pids = "[0],[142307070910563],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910583L, - Application = "system", - Code = "sys_org_mgr_list", - IsDeleted = false, - Name = "机构列表", - OpenType = 0, - Permission = "sysOrg:list", - Pid = 142307070910581L, - Pids = "[0],[142307070910563],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910584L, - Application = "system", - Code = "sys_org_mgr_add", - IsDeleted = false, - Name = "机构增加", - OpenType = 0, - Permission = "sysOrg:add", - Pid = 142307070910581L, - Pids = "[0],[142307070910563],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910585L, - Application = "system", - Code = "sys_org_mgr_edit", - IsDeleted = false, - Name = "机构编辑", - OpenType = 0, - Permission = "sysOrg:edit", - Pid = 142307070910581L, - Pids = "[0],[142307070910563],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910586L, - Application = "system", - Code = "sys_org_mgr_delete", - IsDeleted = false, - Name = "机构删除", - OpenType = 0, - Permission = "sysOrg:delete", - Pid = 142307070910581L, - Pids = "[0],[142307070910563],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910587L, - Application = "system", - Code = "sys_org_mgr_detail", - IsDeleted = false, - Name = "机构详情", - OpenType = 0, - Permission = "sysOrg:detail", - Pid = 142307070910581L, - Pids = "[0],[142307070910563],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910588L, - Application = "system", - Code = "sys_org_mgr_tree", - IsDeleted = false, - Name = "机构树", - OpenType = 0, - Permission = "sysOrg:tree", - Pid = 142307070910581L, - Pids = "[0],[142307070910563],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910589L, - Application = "system", - Code = "sys_pos_mgr", - Component = "system/pos/index", - IsDeleted = false, - Name = "职位管理", - OpenType = 1, - Pid = 142307070910563L, - Pids = "[0],[142307070910563],", - Router = "/pos", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910590L, - Application = "system", - Code = "sys_pos_mgr_page", - IsDeleted = false, - Name = "职位查询", - OpenType = 0, - Permission = "sysPos:page", - Pid = 142307070910589L, - Pids = "[0],[142307070910563],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910591L, - Application = "system", - Code = "sys_pos_mgr_list", - IsDeleted = false, - Name = "职位列表", - OpenType = 0, - Permission = "sysPos:list", - Pid = 142307070910589L, - Pids = "[0],[142307070910563],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914629L, - Application = "system", - Code = "sys_pos_mgr_add", - IsDeleted = false, - Name = "职位增加", - OpenType = 0, - Permission = "sysPos:add", - Pid = 142307070910589L, - Pids = "[0],[142307070910563],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914630L, - Application = "system", - Code = "sys_pos_mgr_edit", - IsDeleted = false, - Name = "职位编辑", - OpenType = 0, - Permission = "sysPos:edit", - Pid = 142307070910589L, - Pids = "[0],[142307070910563],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914631L, - Application = "system", - Code = "sys_pos_mgr_delete", - IsDeleted = false, - Name = "职位删除", - OpenType = 0, - Permission = "sysPos:delete", - Pid = 142307070910589L, - Pids = "[0],[142307070910563],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914632L, - Application = "system", - Code = "sys_pos_mgr_detail", - IsDeleted = false, - Name = "职位详情", - OpenType = 0, - Permission = "sysPos:detail", - Pid = 142307070910589L, - Pids = "[0],[142307070910563],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914633L, - Application = "system", - Code = "auth_manager", - Component = "PageView", - Icon = "safety-certificate", - IsDeleted = false, - Name = "权限管理", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/auth", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914634L, - Application = "system", - Code = "sys_app_mgr", - Component = "system/app/index", - IsDeleted = false, - Name = "应用管理", - OpenType = 1, - Pid = 142307070914633L, - Pids = "[0],[142307070914633],", - Router = "/app", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914635L, - Application = "system", - Code = "sys_app_mgr_page", - IsDeleted = false, - Name = "应用查询", - OpenType = 0, - Permission = "sysApp:page", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914636L, - Application = "system", - Code = "sys_app_mgr_list", - IsDeleted = false, - Name = "应用列表", - OpenType = 0, - Permission = "sysApp:list", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914637L, - Application = "system", - Code = "sys_app_mgr_add", - IsDeleted = false, - Name = "应用增加", - OpenType = 0, - Permission = "sysApp:add", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914638L, - Application = "system", - Code = "sys_app_mgr_edit", - IsDeleted = false, - Name = "应用编辑", - OpenType = 0, - Permission = "sysApp:edit", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914639L, - Application = "system", - Code = "sys_app_mgr_delete", - IsDeleted = false, - Name = "应用删除", - OpenType = 0, - Permission = "sysApp:delete", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914640L, - Application = "system", - Code = "sys_app_mgr_detail", - IsDeleted = false, - Name = "应用详情", - OpenType = 0, - Permission = "sysApp:detail", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914641L, - Application = "system", - Code = "sys_app_mgr_set_as_default", - IsDeleted = false, - Name = "设为默认应用", - OpenType = 0, - Permission = "sysApp:setAsDefault", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914642L, - Application = "system", - Code = "sys_menu_mgr", - Component = "system/menu/index", - IsDeleted = false, - Name = "菜单管理", - OpenType = 1, - Pid = 142307070914633L, - Pids = "[0],[142307070914633],", - Router = "/menu", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914643L, - Application = "system", - Code = "sys_menu_mgr_list", - IsDeleted = false, - Name = "菜单列表", - OpenType = 0, - Permission = "sysMenu:list", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914644L, - Application = "system", - Code = "sys_menu_mgr_add", - IsDeleted = false, - Name = "菜单增加", - OpenType = 0, - Permission = "sysMenu:add", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914645L, - Application = "system", - Code = "sys_menu_mgr_edit", - IsDeleted = false, - Name = "菜单编辑", - OpenType = 0, - Permission = "sysMenu:edit", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914646L, - Application = "system", - Code = "sys_menu_mgr_delete", - IsDeleted = false, - Name = "菜单删除", - OpenType = 0, - Permission = "sysMenu:delete", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914647L, - Application = "system", - Code = "sys_menu_mgr_detail", - IsDeleted = false, - Name = "菜单详情", - OpenType = 0, - Permission = "sysMenu:detail", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914648L, - Application = "system", - Code = "sys_menu_mgr_grant_tree", - IsDeleted = false, - Name = "菜单授权树", - OpenType = 0, - Permission = "sysMenu:treeForGrant", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914649L, - Application = "system", - Code = "sys_menu_mgr_tree", - IsDeleted = false, - Name = "菜单树", - OpenType = 0, - Permission = "sysMenu:tree", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914650L, - Application = "system", - Code = "sys_menu_mgr_change", - IsDeleted = false, - Name = "菜单切换", - OpenType = 0, - Permission = "sysMenu:change", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914651L, - Application = "system", - Code = "sys_role_mgr", - Component = "system/role/index", - IsDeleted = false, - Name = "角色管理", - OpenType = 1, - Pid = 142307070914633L, - Pids = "[0],[142307070914633],", - Router = "/role", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914652L, - Application = "system", - Code = "sys_role_mgr_page", - IsDeleted = false, - Name = "角色查询", - OpenType = 0, - Permission = "sysRole:page", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914653L, - Application = "system", - Code = "sys_role_mgr_add", - IsDeleted = false, - Name = "角色增加", - OpenType = 0, - Permission = "sysRole:add", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914654L, - Application = "system", - Code = "sys_role_mgr_edit", - IsDeleted = false, - Name = "角色编辑", - OpenType = 0, - Permission = "sysRole:edit", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914655L, - Application = "system", - Code = "sys_role_mgr_delete", - IsDeleted = false, - Name = "角色删除", - OpenType = 0, - Permission = "sysRole:delete", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914656L, - Application = "system", - Code = "sys_role_mgr_detail", - IsDeleted = false, - Name = "角色详情", - OpenType = 0, - Permission = "sysRole:detail", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914657L, - Application = "system", - Code = "sys_role_mgr_drop_down", - IsDeleted = false, - Name = "角色下拉", - OpenType = 0, - Permission = "sysRole:dropDown", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914658L, - Application = "system", - Code = "sys_role_mgr_grant_menu", - IsDeleted = false, - Name = "角色授权菜单", - OpenType = 0, - Permission = "sysRole:grantMenu", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914659L, - Application = "system", - Code = "sys_role_mgr_own_menu", - IsDeleted = false, - Name = "角色拥有菜单", - OpenType = 0, - Permission = "sysRole:ownMenu", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914660L, - Application = "system", - Code = "sys_role_mgr_grant_data", - IsDeleted = false, - Name = "角色授权数据", - OpenType = 0, - Permission = "sysRole:grantData", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914661L, - Application = "system", - Code = "sys_role_mgr_own_data", - IsDeleted = false, - Name = "角色拥有数据", - OpenType = 0, - Permission = "sysRole:ownData", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914662L, - Application = "system", - Code = "system_tools", - Component = "PageView", - Icon = "euro", - IsDeleted = false, - Name = "开发管理", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/tools", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914663L, - Application = "system", - Code = "system_tools_config", - Component = "system/config/index", - IsDeleted = false, - Name = "系统配置", - OpenType = 1, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/config", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914664L, - Application = "system", - Code = "system_tools_config_page", - IsDeleted = false, - Name = "配置查询", - OpenType = 0, - Permission = "sysConfig:page", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914665L, - Application = "system", - Code = "system_tools_config_list", - IsDeleted = false, - Name = "配置列表", - OpenType = 0, - Permission = "sysConfig:list", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914666L, - Application = "system", - Code = "system_tools_config_add", - IsDeleted = false, - Name = "配置增加", - OpenType = 0, - Permission = "sysConfig:add", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914667L, - Application = "system", - Code = "system_tools_config_edit", - IsDeleted = false, - Name = "配置编辑", - OpenType = 0, - Permission = "sysConfig:edit", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914668L, - Application = "system", - Code = "system_tools_config_delete", - IsDeleted = false, - Name = "配置删除", - OpenType = 0, - Permission = "sysConfig:delete", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914669L, - Application = "system", - Code = "system_tools_config_detail", - IsDeleted = false, - Name = "配置详情", - OpenType = 0, - Permission = "sysConfig:detail", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914670L, - Application = "system", - Code = "sys_app_mgr_set_as_default", - IsDeleted = false, - Name = "设为默认应用", - OpenType = 0, - Permission = "sysApp:setAsDefault", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914671L, - Application = "system", - Code = "sys_email_mgr", - Component = "system/email/index", - IsDeleted = false, - Name = "邮件发送", - OpenType = 1, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/email", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914672L, - Application = "system", - Code = "sys_email_mgr_send_email", - IsDeleted = false, - Name = "发送文本邮件", - OpenType = 0, - Permission = "email:sendEmail", - Pid = 142307070914671L, - Pids = "[0],[142307070914662],[142307070914671],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914673L, - Application = "system", - Code = "sys_email_mgr_send_email_html", - IsDeleted = false, - Name = "发送html邮件", - OpenType = 0, - Permission = "email:sendEmailHtml", - Pid = 142307070914671L, - Pids = "[0],[142307070914662],[142307070914671],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914674L, - Application = "system", - Code = "sys_sms_mgr", - Component = "system/sms/index", - IsDeleted = false, - Name = "短信管理", - OpenType = 1, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/sms", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914675L, - Application = "system", - Code = "sys_sms_mgr_page", - IsDeleted = false, - Name = "短信发送查询", - OpenType = 0, - Permission = "sms:page", - Pid = 142307070914674L, - Pids = "[0],[142307070914662],[142307070914674],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914676L, - Application = "system", - Code = "sys_sms_mgr_send_login_message", - IsDeleted = false, - Name = "发送验证码短信", - OpenType = 0, - Permission = "sms:sendLoginMessage", - Pid = 142307070914674L, - Pids = "[0],[142307070914662],[142307070914674],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914677L, - Application = "system", - Code = "sys_sms_mgr_validate_message", - IsDeleted = false, - Name = "验证短信验证码", - OpenType = 0, - Permission = "sms:validateMessage", - Pid = 142307070914674L, - Pids = "[0],[142307070914662],[142307070914674],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914678L, - Application = "system", - Code = "sys_dict_mgr", - Component = "system/dict/index", - IsDeleted = false, - Name = "字典管理", - OpenType = 1, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/dict", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914679L, - Application = "system", - Code = "sys_dict_mgr_dict_type_page", - IsDeleted = false, - Name = "字典类型查询", - OpenType = 0, - Permission = "sysDictType:page", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914680L, - Application = "system", - Code = "sys_dict_mgr_dict_type_list", - IsDeleted = false, - Name = "字典类型列表", - OpenType = 0, - Permission = "sysDictType:list", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914681L, - Application = "system", - Code = "sys_dict_mgr_dict_type_add", - IsDeleted = false, - Name = "字典类型增加", - OpenType = 0, - Permission = "sysDictType:add", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914682L, - Application = "system", - Code = "sys_dict_mgr_dict_type_delete", - IsDeleted = false, - Name = "字典类型删除", - OpenType = 0, - Permission = "sysDictType:delete", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914683L, - Application = "system", - Code = "sys_dict_mgr_dict_type_edit", - IsDeleted = false, - Name = "字典类型编辑", - OpenType = 0, - Permission = "sysDictType:edit", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914684L, - Application = "system", - Code = "sys_dict_mgr_dict_type_detail", - IsDeleted = false, - Name = "字典类型详情", - OpenType = 0, - Permission = "sysDictType:detail", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914685L, - Application = "system", - Code = "sys_dict_mgr_dict_type_drop_down", - IsDeleted = false, - Name = "字典类型下拉", - OpenType = 0, - Permission = "sysDictType:dropDown", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914686L, - Application = "system", - Code = "sys_dict_mgr_dict_type_change_status", - IsDeleted = false, - Name = "字典类型修改状态", - OpenType = 0, - Permission = "sysDictType:changeStatus", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914687L, - Application = "system", - Code = "sys_dict_mgr_dict_page", - IsDeleted = false, - Name = "字典值查询", - OpenType = 0, - Permission = "sysDictData:page", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918725L, - Application = "system", - Code = "sys_dict_mgr_dict_list", - IsDeleted = false, - Name = "字典值列表", - OpenType = 0, - Permission = "sysDictData:list", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918726L, - Application = "system", - Code = "sys_dict_mgr_dict_add", - IsDeleted = false, - Name = "字典值增加", - OpenType = 0, - Permission = "sysDictData:add", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918727L, - Application = "system", - Code = "sys_dict_mgr_dict_delete", - IsDeleted = false, - Name = "字典值删除", - OpenType = 0, - Permission = "sysDictData:delete", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918728L, - Application = "system", - Code = "sys_dict_mgr_dict_edit", - IsDeleted = false, - Name = "字典值编辑", - OpenType = 0, - Permission = "sysDictData:edit", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918729L, - Application = "system", - Code = "sys_role_mgr_grant_data", - IsDeleted = false, - Name = "字典值详情", - OpenType = 0, - Permission = "sysDictData:detail", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918730L, - Application = "system", - Code = "sys_dict_mgr_dict_change_status", - IsDeleted = false, - Name = "字典值修改状态", - OpenType = 0, - Permission = "sysDictData:changeStatus", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918731L, - Application = "system", - Code = "sys_swagger_mgr", - Component = "Iframe", - IsDeleted = false, - Link = "http://127.0.0.1:5566/", - Name = "接口文档", - OpenType = 2, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/swagger", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918732L, - Application = "system", - Code = "sys_log_mgr", - Component = "PageView", - Icon = "read", - IsDeleted = false, - Name = "日志管理", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/log", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918733L, - Application = "system", - Code = "sys_log_mgr_vis_log", - Component = "system/log/vislog/index", - IsDeleted = false, - Name = "访问日志", - OpenType = 1, - Pid = 142307070918732L, - Pids = "[0],[142307070918732],", - Router = "/vislog", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918734L, - Application = "system", - Code = "sys_log_mgr_vis_log_page", - IsDeleted = false, - Name = "访问日志查询", - OpenType = 0, - Permission = "sysVisLog:page", - Pid = 142307070918733L, - Pids = "[0],[142307070918732],[142307070918733],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918735L, - Application = "system", - Code = "sys_log_mgr_vis_log_delete", - IsDeleted = false, - Name = "访问日志清空", - OpenType = 0, - Permission = "sysVisLog:delete", - Pid = 142307070918733L, - Pids = "[0],[142307070918732],[142307070918733],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918736L, - Application = "system", - Code = "sys_log_mgr_op_log", - Component = "system/log/oplog/index", - IsDeleted = false, - Name = "操作日志", - OpenType = 1, - Pid = 142307070918732L, - Pids = "[0],[142307070918732],", - Router = "/oplog", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918737L, - Application = "system", - Code = "sys_log_mgr_op_log_page", - IsDeleted = false, - Name = "操作日志查询", - OpenType = 0, - Permission = "sysOpLog:page", - Pid = 142307070918736L, - Pids = "[0],[142307070918732],[142307070918736],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918738L, - Application = "system", - Code = "sys_log_mgr_op_log_delete", - IsDeleted = false, - Name = "操作日志清空", - OpenType = 0, - Permission = "sysOpLog:delete", - Pid = 142307070918736L, - Pids = "[0],[142307070918732],[142307070918736],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918739L, - Application = "system", - Code = "sys_monitor_mgr", - Component = "PageView", - Icon = "deployment-unit", - IsDeleted = false, - Name = "系统监控", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/monitor", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918740L, - Application = "system", - Code = "sys_monitor_mgr_machine_monitor", - Component = "system/machine/index", - IsDeleted = false, - Name = "服务监控", - OpenType = 1, - Pid = 142307070918739L, - Pids = "[0],[142307070918739],", - Router = "/machine", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918741L, - Application = "system", - Code = "sys_monitor_mgr_machine_monitor_query", - IsDeleted = false, - Name = "服务监控查询", - OpenType = 0, - Permission = "sysMachine:query", - Pid = 142307070918740L, - Pids = "[0],[142307070918739],[142307070918740],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918742L, - Application = "system", - Code = "sys_monitor_mgr_online_user", - Component = "system/onlineUser/index", - IsDeleted = false, - Name = "在线用户", - OpenType = 1, - Pid = 142307070918739L, - Pids = "[0],[142307070918739],", - Router = "/onlineUser", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918743L, - Application = "system", - Code = "sys_monitor_mgr_online_user_list", - IsDeleted = false, - Name = "在线用户列表", - OpenType = 0, - Permission = "sysOnlineUser:list", - Pid = 142307070918742L, - Pids = "[0],[142307070918739],[142307070918742],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918744L, - Application = "system", - Code = "sys_monitor_mgr_online_user_force_exist", - IsDeleted = false, - Name = "在线用户强退", - OpenType = 0, - Permission = "sysOnlineUser:forceExist", - Pid = 142307070918742L, - Pids = "[0],[142307070918739],[142307070918742],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918745L, - Application = "system", - Code = "sys_monitor_mgr_druid", - Component = "Iframe", - IsDeleted = false, - Link = "http://localhost:82/druid/login.html", - Name = "数据监控", - OpenType = 2, - Pid = 142307070918739L, - Pids = "[0],[142307070918739],", - Router = "/druid", - Sort = 100, - Status = 0, - Type = 1, - Visible = "N", - Weight = 1 - }, - new - { - Id = 142307070918746L, - Application = "system", - Code = "sys_notice", - Component = "PageView", - Icon = "sound", - IsDeleted = false, - Name = "通知公告", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/notice", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918747L, - Application = "system", - Code = "sys_notice_mgr", - Component = "system/notice/index", - IsDeleted = false, - Name = "公告管理", - OpenType = 1, - Pid = 142307070918746L, - Pids = "[0],[142307070918746],", - Router = "/notice", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918748L, - Application = "system", - Code = "sys_notice_mgr_page", - IsDeleted = false, - Name = "公告查询", - OpenType = 0, - Permission = "sysNotice:page", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918749L, - Application = "system", - Code = "sys_notice_mgr_add", - IsDeleted = false, - Name = "公告增加", - OpenType = 0, - Permission = "sysNotice:add", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918750L, - Application = "system", - Code = "sys_notice_mgr_edit", - IsDeleted = false, - Name = "公告编辑", - OpenType = 0, - Permission = "sysNotice:edit", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918751L, - Application = "system", - Code = "sys_notice_mgr_delete", - IsDeleted = false, - Name = "公告删除", - OpenType = 0, - Permission = "sysNotice:delete", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918752L, - Application = "system", - Code = "sys_notice_mgr_detail", - IsDeleted = false, - Name = "公告查看", - OpenType = 0, - Permission = "sysNotice:detail", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918753L, - Application = "system", - Code = "sys_notice_mgr_changeStatus", - IsDeleted = false, - Name = "公告修改状态", - OpenType = 0, - Permission = "sysNotice:changeStatus", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918754L, - Application = "system", - Code = "sys_notice_mgr_received", - Component = "system/noticeReceived/index", - IsDeleted = false, - Name = "已收公告", - OpenType = 1, - Pid = 142307070918746L, - Pids = "[0],[142307070918746],", - Router = "/noticeReceived", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918755L, - Application = "system", - Code = "sys_notice_mgr_received_page", - IsDeleted = false, - Name = "已收公告查询", - OpenType = 0, - Permission = "sysNotice:received", - Pid = 142307070918754L, - Pids = "[0],[142307070918746],[142307070918754],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918756L, - Application = "system", - Code = "sys_file_mgr", - Component = "PageView", - Icon = "file", - IsDeleted = false, - Name = "文件管理", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/file", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918757L, - Application = "system", - Code = "sys_file_mgr_sys_file", - Component = "system/file/index", - IsDeleted = false, - Name = "系统文件", - OpenType = 1, - Pid = 142307070918756L, - Pids = "[0],[142307070918756],", - Router = "/file", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918758L, - Application = "system", - Code = "sys_file_mgr_sys_file_page", - IsDeleted = false, - Name = "文件查询", - OpenType = 0, - Permission = "sysFileInfo:page", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918759L, - Application = "system", - Code = "sys_file_mgr_sys_file_list", - IsDeleted = false, - Name = "文件列表", - OpenType = 0, - Permission = "sysFileInfo:list", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918760L, - Application = "system", - Code = "sys_file_mgr_sys_file_delete", - IsDeleted = false, - Name = "文件删除", - OpenType = 0, - Permission = "sysFileInfo:delete", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918761L, - Application = "system", - Code = "sys_file_mgr_sys_file_detail", - IsDeleted = false, - Name = "文件详情", - OpenType = 0, - Permission = "sysFileInfo:detail", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918762L, - Application = "system", - Code = "sys_file_mgr_sys_file_upload", - IsDeleted = false, - Name = "文件上传", - OpenType = 0, - Permission = "sysFileInfo:upload", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918763L, - Application = "system", - Code = "sys_file_mgr_sys_file_download", - IsDeleted = false, - Name = "文件下载", - OpenType = 0, - Permission = "sysFileInfo:download", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918764L, - Application = "system", - Code = "sys_file_mgr_sys_file_preview", - IsDeleted = false, - Name = "图片预览", - OpenType = 0, - Permission = "sysFileInfo:preview", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918765L, - Application = "system", - Code = "sys_timers", - Component = "PageView", - Icon = "dashboard", - IsDeleted = false, - Name = "定时任务", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/timers", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918766L, - Application = "system", - Code = "sys_timers_mgr", - Component = "system/timers/index", - IsDeleted = false, - Name = "任务管理", - OpenType = 1, - Pid = 142307070918765L, - Pids = "[0],[142307070918765],", - Router = "/timers", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918767L, - Application = "system", - Code = "sys_timers_mgr_page", - IsDeleted = false, - Name = "定时任务查询", - OpenType = 0, - Permission = "sysTimers:page", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918768L, - Application = "system", - Code = "sys_timers_mgr_list", - IsDeleted = false, - Name = "定时任务列表", - OpenType = 0, - Permission = "sysTimers:list", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918769L, - Application = "system", - Code = "sys_timers_mgr_detail", - IsDeleted = false, - Name = "定时任务详情", - OpenType = 0, - Permission = "sysTimers:detail", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918770L, - Application = "system", - Code = "sys_timers_mgr_add", - IsDeleted = false, - Name = "定时任务增加", - OpenType = 0, - Permission = "sysTimers:add", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918771L, - Application = "system", - Code = "sys_timers_mgr_delete", - IsDeleted = false, - Name = "定时任务删除", - OpenType = 0, - Permission = "sysTimers:delete", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918772L, - Application = "system", - Code = "sys_timers_mgr_edit", - IsDeleted = false, - Name = "定时任务编辑", - OpenType = 0, - Permission = "sysTimers:edit", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918773L, - Application = "system", - Code = "sys_timers_mgr_get_action_classes", - IsDeleted = false, - Name = "定时任务可执行列表", - OpenType = 0, - Permission = "sysTimers:getActionClasses", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918774L, - Application = "system", - Code = "sys_timers_mgr_start", - IsDeleted = false, - Name = "定时任务启动", - OpenType = 0, - Permission = "sysTimers:start", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918775L, - Application = "system", - Code = "sys_timers_mgr_stop", - IsDeleted = false, - Name = "定时任务关闭", - OpenType = 0, - Permission = "sysTimers:stop", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918776L, - Application = "system_tool", - Code = "code_gen", - Component = "gen/codeGenerate/index", - Icon = "thunderbolt", - IsDeleted = false, - Name = "代码生成", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/codeGenerate/index", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922870L, - Application = "system_tool", - Code = "form_design", - Component = "system/formDesign/index", - Icon = "robot", - IsDeleted = false, - Name = "表单设计", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/formDesign/index", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918782L, - Application = "advanced", - Code = "sys_tenant", - Component = "PageView", - Icon = "switcher", - IsDeleted = false, - Name = "SaaS租户", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/tenant", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918783L, - Application = "advanced", - Code = "sys_tenant_mgr", - Component = "system/tenant/index", - IsDeleted = false, - Name = "租户管理", - OpenType = 1, - Pid = 142307070918782L, - Pids = "[0],[142307070918782],", - Router = "/tenant", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922821L, - Application = "advanced", - Code = "sys_tenant_mgr_page", - IsDeleted = false, - Name = "租户查询", - OpenType = 0, - Permission = "sysTenant:page", - Pid = 142307070918783L, - Pids = "[0],[142307070918782],[142307070918783],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922822L, - Application = "advanced", - Code = "sys_tenant_mgr_detail", - IsDeleted = false, - Name = "租户详情", - OpenType = 0, - Permission = "sysTenant:detail", - Pid = 142307070918783L, - Pids = "[0],[142307070918782],[142307070918783],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922823L, - Application = "advanced", - Code = "sys_tenant_mgr_add", - IsDeleted = false, - Name = "租户增加", - OpenType = 0, - Permission = "sysTenant:add", - Pid = 142307070918783L, - Pids = "[0],[142307070918782],[142307070918783],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922824L, - Application = "advanced", - Code = "sys_tenant_mgr_delete", - IsDeleted = false, - Name = "租户删除", - OpenType = 0, - Permission = "sysTenant:delete", - Pid = 142307070918783L, - Pids = "[0],[142307070918782],[142307070918783],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922825L, - Application = "advanced", - Code = "sys_tenant_mgr_edit", - IsDeleted = false, - Name = "租户编辑", - OpenType = 0, - Permission = "sysTenant:edit", - Pid = 142307070918783L, - Pids = "[0],[142307070918782],[142307070918783],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysNotice", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("CancelTime") - .HasColumnType("datetime") - .HasComment("撤回时间"); - - b.Property("Content") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("内容"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("PublicOrgId") - .HasColumnType("bigint") - .HasComment("发布机构Id"); - - b.Property("PublicOrgName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("发布机构名称"); - - b.Property("PublicTime") - .HasColumnType("datetime") - .HasComment("发布时间"); - - b.Property("PublicUserId") - .HasColumnType("bigint") - .HasComment("发布人Id"); - - b.Property("PublicUserName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("发布人姓名"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("Title") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("标题"); - - b.Property("Type") - .HasColumnType("int") - .HasComment("类型"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_notice"); - - b - .HasComment("通知公告表"); - }); - - modelBuilder.Entity("Dilon.Core.SysNoticeUser", b => - { - b.Property("NoticeId") - .HasColumnType("bigint") - .HasComment("通知公告Id"); - - b.Property("ReadStatus") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("ReadTime") - .HasColumnType("datetime") - .HasComment("阅读时间"); - - b.Property("UserId") - .HasColumnType("bigint") - .HasComment("用户Id"); - - b.ToTable("sys_notice_user"); - - b - .HasComment("通知公告用户表"); - }); - - modelBuilder.Entity("Dilon.Core.SysOauthUser", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("AccessToken") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("Token"); - - b.Property("Avatar") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("头像"); - - b.Property("Blog") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("用户网址"); - - b.Property("Company") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("所在公司"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("Email") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("邮箱"); - - b.Property("Gender") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("性别"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Location") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("位置"); - - b.Property("NickName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("昵称"); - - b.Property("Phone") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("电话"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Source") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("用户来源"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.Property("Uuid") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("UUID"); - - b.HasKey("Id"); - - b.ToTable("sys_oauth_user"); - - b - .HasComment("Oauth登录用户表"); - }); - - modelBuilder.Entity("Dilon.Core.SysOrg", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("Contacts") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("联系人"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Pid") - .HasColumnType("bigint") - .HasComment("父Id"); - - b.Property("Pids") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("父Ids"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Sort") - .HasColumnType("int") - .HasComment("排序"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("Tel") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("电话"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_org"); - - b - .HasComment("组织机构表"); - - b.HasData( - new - { - Id = 142307070910539L, - Code = "hxjt", - IsDeleted = false, - Name = "华夏集团", - Pid = 0L, - Pids = "[0],", - Remark = "华夏集团", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910540L, - Code = "hxjt_bj", - IsDeleted = false, - Name = "华夏集团北京分公司", - Pid = 142307070910539L, - Pids = "[0],[142307070910539],", - Remark = "华夏集团北京分公司", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910541L, - Code = "hxjt_cd", - IsDeleted = false, - Name = "华夏集团成都分公司", - Pid = 142307070910539L, - Pids = "[0],[142307070910539],", - Remark = "华夏集团成都分公司", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910542L, - Code = "hxjt_bj_yfb", - IsDeleted = false, - Name = "研发部", - Pid = 142307070910540L, - Pids = "[0],[142307070910539],[142307070910540],", - Remark = "华夏集团北京分公司研发部", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910543L, - Code = "hxjt_bj_qhb", - IsDeleted = false, - Name = "企划部", - Pid = 142307070910540L, - Pids = "[0],[142307070910539],[142307070910540],", - Remark = "华夏集团北京分公司企划部", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910544L, - Code = "hxjt_cd_scb", - IsDeleted = false, - Name = "市场部", - Pid = 142307070910541L, - Pids = "[0],[142307070910539],[142307070910541],", - Remark = "华夏集团成都分公司市场部", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910545L, - Code = "hxjt_cd_cwb", - IsDeleted = false, - Name = "财务部", - Pid = 142307070910541L, - Pids = "[0],[142307070910539],[142307070910541],", - Remark = "华夏集团成都分公司财务部", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910546L, - Code = "hxjt_cd_scb_2b", - IsDeleted = false, - Name = "市场部二部", - Pid = 142307070910544L, - Pids = "[0],[142307070910539],[142307070910541],[142307070910544],", - Remark = "华夏集团成都分公司市场部二部", - Sort = 100, - Status = 0 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysPos", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Sort") - .HasColumnType("int") - .HasComment("排序"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_pos"); - - b - .HasComment("职位表"); - - b.HasData( - new - { - Id = 142307070910547L, - Code = "zjl", - IsDeleted = false, - Name = "总经理", - Remark = "总经理", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910548L, - Code = "fzjl", - IsDeleted = false, - Name = "副总经理", - Remark = "副总经理", - Sort = 101, - Status = 0 - }, - new - { - Id = 142307070910549L, - Code = "bmjl", - IsDeleted = false, - Name = "部门经理", - Remark = "部门经理", - Sort = 102, - Status = 0 - }, - new - { - Id = 142307070910550L, - Code = "gzry", - IsDeleted = false, - Name = "工作人员", - Remark = "工作人员", - Sort = 103, - Status = 0 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysRole", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("DataScopeType") - .HasColumnType("int") - .HasComment("数据范围类型"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Sort") - .HasColumnType("int") - .HasComment("排序"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_role"); - - b - .HasComment("角色表"); - - b.HasData( - new - { - Id = 142307070910554L, - Code = "sys_manager_role", - DataScopeType = 1, - IsDeleted = false, - Name = "系统管理员", - Remark = "系统管理员", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910555L, - Code = "common_role", - DataScopeType = 5, - IsDeleted = false, - Name = "普通用户", - Remark = "普通用户", - Sort = 101, - Status = 0 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysRoleDataScope", b => - { - b.Property("SysRoleId") - .HasColumnType("bigint") - .HasComment("角色Id"); - - b.Property("SysOrgId") - .HasColumnType("bigint") - .HasComment("机构Id"); - - b.HasKey("SysRoleId", "SysOrgId"); - - b.HasIndex("SysOrgId"); - - b.ToTable("sys_role_data_scope"); - - b - .HasComment("角色数据范围表"); - }); - - modelBuilder.Entity("Dilon.Core.SysRoleMenu", b => - { - b.Property("SysRoleId") - .HasColumnType("bigint") - .HasComment("角色Id"); - - b.Property("SysMenuId") - .HasColumnType("bigint") - .HasComment("菜单Id"); - - b.HasKey("SysRoleId", "SysMenuId"); - - b.HasIndex("SysMenuId"); - - b.ToTable("sys_role_menu"); - - b - .HasComment("角色菜单表"); - }); - - modelBuilder.Entity("Dilon.Core.SysTenant", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Connection") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("数据库连接"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("Email") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("电子邮箱"); - - b.Property("Host") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("主机"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Phone") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("电话"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Schema") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("架构"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_tenant"); - - b - .HasComment("租户表"); - }); - - modelBuilder.Entity("Dilon.Core.SysTimer", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("BeginTime") - .HasColumnType("datetime") - .HasComment("开始时间"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("Cron") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("Cron表达式"); - - b.Property("EndTime") - .HasColumnType("datetime") - .HasComment("结束时间"); - - b.Property("Headers") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("Headers"); - - b.Property("Interval") - .HasColumnType("int") - .HasComment("执行间隔时间"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("JobGroup") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("任务分组"); - - b.Property("JobName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("任务名称"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("RequestParameters") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("请求参数"); - - b.Property("RequestType") - .HasColumnType("int") - .HasComment("请求类型"); - - b.Property("RequestUrl") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("请求url"); - - b.Property("RunNumber") - .HasColumnType("int") - .HasComment("执行次数"); - - b.Property("TriggerType") - .HasColumnType("int") - .HasComment("触发器类型"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_timer"); - - b - .HasComment("定时任务表"); - - b.HasData( - new - { - Id = 142307070910556L, - BeginTime = new DateTimeOffset(new DateTime(2021, 3, 21, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - Interval = 30, - IsDeleted = false, - JobGroup = "默认分组", - JobName = "百度api", - RequestType = 2, - RequestUrl = "https://www.baidu.com", - TriggerType = 1 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysUser", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Account") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("账号"); - - b.Property("AdminType") - .HasColumnType("int") - .HasComment("管理员类型-超级管理员_1、非管理员_2"); - - b.Property("Avatar") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("头像"); - - b.Property("Birthday") - .HasColumnType("datetime") - .HasComment("生日"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("Email") - .HasMaxLength(30) - .HasColumnType("varchar(30) CHARACTER SET utf8mb4") - .HasComment("邮箱"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("LastLoginIp") - .HasMaxLength(30) - .HasColumnType("varchar(30) CHARACTER SET utf8mb4") - .HasComment("最后登录IP"); - - b.Property("LastLoginTime") - .HasColumnType("datetime") - .HasComment("最后登录时间"); - - b.Property("Name") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("姓名"); - - b.Property("NickName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("昵称"); - - b.Property("Password") - .IsRequired() - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("密码"); - - b.Property("Phone") - .HasMaxLength(30) - .HasColumnType("varchar(30) CHARACTER SET utf8mb4") - .HasComment("手机"); - - b.Property("Sex") - .HasColumnType("int") - .HasComment("性别-男_1、女_2"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态-正常_0、停用_1、删除_2"); - - b.Property("Tel") - .HasMaxLength(30) - .HasColumnType("varchar(30) CHARACTER SET utf8mb4") - .HasComment("电话"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_user"); - - b - .HasComment("用户表"); - - b.HasData( - new - { - Id = 142307070910551L, - Account = "superAdmin", - AdminType = 1, - Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - IsDeleted = false, - LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), - Name = "superAdmin", - Password = "e10adc3949ba59abbe56e057f20f883e", - Phone = "18020030720", - Sex = 1, - Status = 0 - }, - new - { - Id = 142307070910552L, - Account = "admin", - AdminType = 1, - Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - IsDeleted = false, - LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), - Name = "admin", - Password = "e10adc3949ba59abbe56e057f20f883e", - Phone = "18020030720", - Sex = 2, - Status = 0 - }, - new - { - Id = 142307070910553L, - Account = "zuohuaijun", - AdminType = 2, - Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - IsDeleted = false, - LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), - Name = "zuohuaijun", - Password = "e10adc3949ba59abbe56e057f20f883e", - Phone = "18020030720", - Sex = 1, - Status = 0 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysUserDataScope", b => - { - b.Property("SysUserId") - .HasColumnType("bigint") - .HasComment("用户Id"); - - b.Property("SysOrgId") - .HasColumnType("bigint") - .HasComment("机构Id"); - - b.HasKey("SysUserId", "SysOrgId"); - - b.HasIndex("SysOrgId"); - - b.ToTable("sys_user_data_scope"); - - b - .HasComment("用户数据范围表"); - }); - - modelBuilder.Entity("Dilon.Core.SysUserRole", b => - { - b.Property("SysUserId") - .HasColumnType("bigint") - .HasComment("用户Id"); - - b.Property("SysRoleId") - .HasColumnType("bigint") - .HasComment("角色Id"); - - b.HasKey("SysUserId", "SysRoleId"); - - b.HasIndex("SysRoleId"); - - b.ToTable("sys_user_role"); - - b - .HasComment("用户角色表"); - }); - - modelBuilder.Entity("Dilon.Core.SysDictData", b => - { - b.HasOne("Dilon.Core.SysDictType", "SysDictType") - .WithMany("SysDictDatas") - .HasForeignKey("TypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysDictType"); - }); - - modelBuilder.Entity("Dilon.Core.SysEmpExtOrgPos", b => - { - b.HasOne("Dilon.Core.SysEmp", "SysEmp") - .WithMany() - .HasForeignKey("SysEmpId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Dilon.Core.SysOrg", "SysOrg") - .WithMany() - .HasForeignKey("SysOrgId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Dilon.Core.SysPos", "SysPos") - .WithMany() - .HasForeignKey("SysPosId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysEmp"); - - b.Navigation("SysOrg"); - - b.Navigation("SysPos"); - }); - - modelBuilder.Entity("Dilon.Core.SysEmpPos", b => - { - b.HasOne("Dilon.Core.SysEmp", "SysEmp") - .WithMany("SysEmpPos") - .HasForeignKey("SysEmpId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Dilon.Core.SysPos", "SysPos") - .WithMany("SysEmpPos") - .HasForeignKey("SysPosId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysEmp"); - - b.Navigation("SysPos"); - }); - - modelBuilder.Entity("Dilon.Core.SysRoleDataScope", b => - { - b.HasOne("Dilon.Core.SysOrg", "SysOrg") - .WithMany("SysRoleDataScopes") - .HasForeignKey("SysOrgId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Dilon.Core.SysRole", "SysRole") - .WithMany("SysRoleDataScopes") - .HasForeignKey("SysRoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysOrg"); - - b.Navigation("SysRole"); - }); - - modelBuilder.Entity("Dilon.Core.SysRoleMenu", b => - { - b.HasOne("Dilon.Core.SysMenu", "SysMenu") - .WithMany("SysRoleMenus") - .HasForeignKey("SysMenuId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Dilon.Core.SysRole", "SysRole") - .WithMany("SysRoleMenus") - .HasForeignKey("SysRoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysMenu"); - - b.Navigation("SysRole"); - }); - - modelBuilder.Entity("Dilon.Core.SysUserDataScope", b => - { - b.HasOne("Dilon.Core.SysOrg", "SysOrg") - .WithMany("SysUserDataScopes") - .HasForeignKey("SysOrgId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Dilon.Core.SysUser", "SysUser") - .WithMany("SysUserDataScopes") - .HasForeignKey("SysUserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysOrg"); - - b.Navigation("SysUser"); - }); - - modelBuilder.Entity("Dilon.Core.SysUserRole", b => - { - b.HasOne("Dilon.Core.SysRole", "SysRole") - .WithMany("SysUserRoles") - .HasForeignKey("SysRoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Dilon.Core.SysUser", "SysUser") - .WithMany("SysUserRoles") - .HasForeignKey("SysUserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysRole"); - - b.Navigation("SysUser"); - }); - - modelBuilder.Entity("Dilon.Core.SysDictType", b => - { - b.Navigation("SysDictDatas"); - }); - - modelBuilder.Entity("Dilon.Core.SysEmp", b => - { - b.Navigation("SysEmpPos"); - }); - - modelBuilder.Entity("Dilon.Core.SysMenu", b => - { - b.Navigation("SysRoleMenus"); - }); - - modelBuilder.Entity("Dilon.Core.SysOrg", b => - { - b.Navigation("SysRoleDataScopes"); - - b.Navigation("SysUserDataScopes"); - }); - - modelBuilder.Entity("Dilon.Core.SysPos", b => - { - b.Navigation("SysEmpPos"); - }); - - modelBuilder.Entity("Dilon.Core.SysRole", b => - { - b.Navigation("SysRoleDataScopes"); - - b.Navigation("SysRoleMenus"); - - b.Navigation("SysUserRoles"); - }); - - modelBuilder.Entity("Dilon.Core.SysUser", b => - { - b.Navigation("SysUserDataScopes"); - - b.Navigation("SysUserRoles"); - }); -#pragma warning restore 612, 618 - } - } -} +// +using System; +using Dilon.EntityFramework.Core; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; + +namespace Ewide.Database.Migrations.Migrations +{ + [DbContext(typeof(DefaultDbContext))] + [Migration("20210423073632_Init")] + partial class Init + { + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("Relational:MaxIdentifierLength", 64) + .HasAnnotation("ProductVersion", "5.0.5"); + + modelBuilder.Entity("Dilon.Application.CodeGenTest", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Age") + .HasColumnType("int") + .HasComment("年龄"); + + b.Property("Birthday") + .HasColumnType("datetime") + .HasComment("生日"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("NickName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("昵称"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("code_gen_test"); + + b + .HasComment("代码生成业务"); + }); + + modelBuilder.Entity("Dilon.Core.SysApp", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Active") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否默认激活"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("Color") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("图标颜色"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Icon") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("图标"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_app"); + + b + .HasComment("系统应用表"); + + b.HasData( + new + { + Id = 142307070922869L, + Active = "N", + Code = "busapp", + IsDeleted = false, + Name = "业务应用", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070898245L, + Active = "Y", + Code = "system", + IsDeleted = false, + Name = "系统管理", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070902341L, + Active = "N", + Code = "system_tool", + IsDeleted = false, + Name = "系统工具", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070922826L, + Active = "N", + Code = "advanced", + IsDeleted = false, + Name = "高级功能", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysCodeGen", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("AuthorName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("作者姓名"); + + b.Property("BusName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("业务名"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("GenerateType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("生成方式"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("NameSpace") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("命名空间"); + + b.Property("TableName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库表名"); + + b.Property("TablePrefix") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否移除表前缀"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_code_gen"); + + b + .HasComment("代码生成表"); + }); + + modelBuilder.Entity("Dilon.Core.SysCodeGenConfig", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("CodeGenId") + .HasColumnType("bigint") + .HasComment("代码生成主表ID"); + + b.Property("ColumnComment") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("字段描述"); + + b.Property("ColumnKey") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("主外键"); + + b.Property("ColumnName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库字段名"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("DataType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库中类型"); + + b.Property("DictTypeCode") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("字典Code"); + + b.Property("EffectType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("作用类型"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("NetType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment(".NET数据类型"); + + b.Property("QueryType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("查询方式"); + + b.Property("QueryWhether") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否是查询条件"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("WhetherAddUpdate") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("增改"); + + b.Property("WhetherCommon") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否通用字段"); + + b.Property("WhetherRequired") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否必填"); + + b.Property("WhetherRetract") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("列表是否缩进"); + + b.Property("WhetherTable") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("列表显示"); + + b.HasKey("Id"); + + b.ToTable("sys_code_gen_config"); + + b + .HasComment("代码生成字段配置表"); + }); + + modelBuilder.Entity("Dilon.Core.SysConfig", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("GroupCode") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("常量所属分类的编码"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("SysFlag") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否是系统参数"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Value") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("属性值"); + + b.HasKey("Id"); + + b.ToTable("sys_config"); + + b + .HasComment("参数配置表"); + + b.HasData( + new + { + Id = 142307070902342L, + Code = "DILON_JWT_SECRET", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "jwt密钥", + Remark = "(重要)jwt密钥,默认为空,自行设置", + Status = 0, + SysFlag = "Y", + Value = "xiaonuo" + }, + new + { + Id = 142307070902343L, + Code = "DILON_DEFAULT_PASSWORD", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "默认密码", + Remark = "默认密码", + Status = 0, + SysFlag = "Y", + Value = "123456" + }, + new + { + Id = 142307070902344L, + Code = "DILON_TOKEN_EXPIRE", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "token过期时间", + Remark = "token过期时间(单位:秒)", + Status = 0, + SysFlag = "Y", + Value = "86400" + }, + new + { + Id = 142307070902345L, + Code = "DILON_SESSION_EXPIRE", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "session会话过期时间", + Remark = "session会话过期时间(单位:秒)", + Status = 0, + SysFlag = "Y", + Value = "7200" + }, + new + { + Id = 142307070902346L, + Code = "DILON_ALIYUN_SMS_ACCESSKEY_ID", + GroupCode = "ALIYUN_SMS", + IsDeleted = false, + Name = "阿里云短信keyId", + Remark = "阿里云短信keyId", + Status = 0, + SysFlag = "Y", + Value = "你的keyId" + }, + new + { + Id = 142307070902347L, + Code = "DILON_ALIYUN_SMS_ACCESSKEY_SECRET", + GroupCode = "ALIYUN_SMS", + IsDeleted = false, + Name = "阿里云短信secret", + Remark = "阿里云短信secret", + Status = 0, + SysFlag = "Y", + Value = "你的secret" + }, + new + { + Id = 142307070902348L, + Code = "DILON_ALIYUN_SMS_SIGN_NAME", + GroupCode = "ALIYUN_SMS", + IsDeleted = false, + Name = "阿里云短信签名", + Remark = "阿里云短信签名", + Status = 0, + SysFlag = "Y", + Value = "你的签名" + }, + new + { + Id = 142307070902349L, + Code = "DILON_ALIYUN_SMS_LOGIN_TEMPLATE_CODE", + GroupCode = "ALIYUN_SMS", + IsDeleted = false, + Name = "阿里云短信-登录模板号", + Remark = "阿里云短信-登录模板号", + Status = 0, + SysFlag = "Y", + Value = "SMS_1877123456" + }, + new + { + Id = 142307070902350L, + Code = "DILON_ALIYUN_SMS_INVALIDATE_MINUTES", + GroupCode = "ALIYUN_SMS", + IsDeleted = false, + Name = "阿里云短信默认失效时间", + Remark = "阿里云短信默认失效时间(单位:分钟)", + Status = 0, + SysFlag = "Y", + Value = "5" + }, + new + { + Id = 142307070902351L, + Code = "DILON_TENCENT_SMS_SECRET_ID", + GroupCode = "TENCENT_SMS", + IsDeleted = false, + Name = "腾讯云短信secretId", + Remark = "腾讯云短信secretId", + Status = 0, + SysFlag = "Y", + Value = "你的secretId" + }, + new + { + Id = 142307070902352L, + Code = "DILON_TENCENT_SMS_SECRET_KEY", + GroupCode = "TENCENT_SMS", + IsDeleted = false, + Name = "腾讯云短信secretKey", + Remark = "腾讯云短信secretKey", + Status = 0, + SysFlag = "Y", + Value = "你的secretkey" + }, + new + { + Id = 142307070902353L, + Code = "DILON_TENCENT_SMS_SDK_APP_ID", + GroupCode = "TENCENT_SMS", + IsDeleted = false, + Name = "腾讯云短信sdkAppId", + Remark = "腾讯云短信sdkAppId", + Status = 0, + SysFlag = "Y", + Value = "1400375123" + }, + new + { + Id = 142307070902354L, + Code = "DILON_TENCENT_SMS_SIGN", + GroupCode = "TENCENT_SMS", + IsDeleted = false, + Name = "腾讯云短信签名", + Remark = "腾讯云短信签名", + Status = 0, + SysFlag = "Y", + Value = "你的签名" + }, + new + { + Id = 142307070902355L, + Code = "DILON_EMAIL_HOST", + GroupCode = "EMAIL", + IsDeleted = false, + Name = "邮箱host", + Remark = "邮箱host", + Status = 0, + SysFlag = "Y", + Value = "smtp.126.com" + }, + new + { + Id = 142307070902356L, + Code = "DILON_EMAIL_USERNAME", + GroupCode = "EMAIL", + IsDeleted = false, + Name = "邮箱用户名", + Remark = "邮箱用户名", + Status = 0, + SysFlag = "Y", + Value = "test@126.com" + }, + new + { + Id = 142307070902357L, + Code = "DILON_EMAIL_PASSWORD", + GroupCode = "EMAIL", + IsDeleted = false, + Name = "邮箱密码", + Remark = "邮箱密码", + Status = 0, + SysFlag = "Y", + Value = "你的邮箱密码" + }, + new + { + Id = 142307070902358L, + Code = "DILON_EMAIL_PORT", + GroupCode = "EMAIL", + IsDeleted = false, + Name = "邮箱端口", + Remark = "邮箱端口", + Status = 0, + SysFlag = "Y", + Value = "465" + }, + new + { + Id = 142307070902359L, + Code = "DILON_EMAIL_SSL", + GroupCode = "EMAIL", + IsDeleted = false, + Name = "邮箱是否开启ssl", + Remark = "邮箱是否开启ssl", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = 142307070902360L, + Code = "DILON_EMAIL_FROM", + GroupCode = "EMAIL", + IsDeleted = false, + Name = "邮箱发件人", + Remark = "邮箱发件人", + Status = 0, + SysFlag = "Y", + Value = "test@126.com" + }, + new + { + Id = 142307070902361L, + Code = "DILON_FILE_UPLOAD_PATH_FOR_WINDOWS", + GroupCode = "FILE_PATH", + IsDeleted = false, + Name = "Win本地上传文件路径", + Remark = "Win本地上传文件路径", + Status = 0, + SysFlag = "Y", + Value = "D:/tmp" + }, + new + { + Id = 142307070902362L, + Code = "DILON_FILE_UPLOAD_PATH_FOR_LINUX", + GroupCode = "FILE_PATH", + IsDeleted = false, + Name = "Linux/Mac本地上传文件路径", + Remark = "Linux/Mac本地上传文件路径", + Status = 0, + SysFlag = "Y", + Value = "/tmp" + }, + new + { + Id = 142307070902363L, + Code = "DILON_UN_XSS_FILTER_URL", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "放开XSS过滤的接口", + Remark = "多个url可以用英文逗号隔开", + Status = 0, + SysFlag = "Y", + Value = "/demo/xssfilter,/demo/unxss" + }, + new + { + Id = 142307070902364L, + Code = "DILON_ENABLE_SINGLE_LOGIN", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "单用户登陆的开关", + Remark = "true-打开,false-关闭,如果一个人登录两次,就会将上一次登陆挤下去", + Status = 0, + SysFlag = "Y", + Value = "false" + }, + new + { + Id = 142307070902365L, + Code = "DILON_CAPTCHA_OPEN", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "登录验证码的开关", + Remark = "true-打开,false-关闭", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = 142307070902366L, + Code = "DILON_DRUID_USERNAME", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "Druid监控登录账号", + Remark = "Druid监控登录账号", + Status = 0, + SysFlag = "Y", + Value = "superAdmin" + }, + new + { + Id = 142307070902367L, + Code = "DILON_DRUID_PASSWORD", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "Druid监控界面登录密码", + Remark = "Druid监控界面登录密码", + Status = 0, + SysFlag = "Y", + Value = "123456" + }, + new + { + Id = 142307070902368L, + Code = "DILON_IP_GEO_API", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "阿里云定位api接口地址", + Remark = "阿里云定位api接口地址", + Status = 0, + SysFlag = "Y", + Value = "http://api01.aliyun.venuscn.com/ip?ip=%s" + }, + new + { + Id = 142307070902369L, + Code = "DILON_IP_GEO_APP_CODE", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "阿里云定位appCode", + Remark = "阿里云定位appCode", + Status = 0, + SysFlag = "Y", + Value = "461535aabeae4f34861884d392f5d452" + }, + new + { + Id = 142307070902370L, + Code = "DILON_ENABLE_OAUTH_LOGIN", + GroupCode = "OAUTH", + IsDeleted = false, + Name = "Oauth用户登录的开关", + Remark = "Oauth用户登录的开关", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = 142307070902371L, + Code = "DILON_OAUTH_GITEE_CLIENT_ID", + GroupCode = "OAUTH", + IsDeleted = false, + Name = "Oauth码云登录ClientId", + Remark = "Oauth码云登录ClientId", + Status = 0, + SysFlag = "Y", + Value = "你的clientId" + }, + new + { + Id = 142307070902372L, + Code = "DILON_OAUTH_GITEE_CLIENT_SECRET", + GroupCode = "OAUTH", + IsDeleted = false, + Name = "Oauth码云登录ClientSecret", + Remark = "Oauth码云登录ClientSecret", + Status = 0, + SysFlag = "Y", + Value = "你的clientSecret" + }, + new + { + Id = 142307070902373L, + Code = "DILON_OAUTH_GITEE_REDIRECT_URI", + GroupCode = "OAUTH", + IsDeleted = false, + Name = "Oauth码云登录回调地址", + Remark = "Oauth码云登录回调地址", + Status = 0, + SysFlag = "Y", + Value = "http://127.0.0.1:5566/oauth/callback/gitee" + }, + new + { + Id = 142307070902374L, + Code = "DILON_DEMO_ENV_FLAG", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "演示环境", + Remark = "演示环境的开关,true-打开,false-关闭,如果演示环境开启,则只能读数据不能写数据", + Status = 0, + SysFlag = "Y", + Value = "false" + }); + }); + + modelBuilder.Entity("Dilon.Core.SysDictData", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("TypeId") + .HasColumnType("bigint") + .HasComment("字典类型Id"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Value") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("值"); + + b.HasKey("Id"); + + b.HasIndex("TypeId"); + + b.ToTable("sys_dict_data"); + + b + .HasComment("字典值表"); + + b.HasData( + new + { + Id = 142307070902375L, + Code = "1", + IsDeleted = false, + Remark = "男性", + Sort = 100, + Status = 0, + TypeId = 142307070906484L, + Value = "男" + }, + new + { + Id = 142307070902376L, + Code = "2", + IsDeleted = false, + Remark = "女性", + Sort = 100, + Status = 0, + TypeId = 142307070906484L, + Value = "女" + }, + new + { + Id = 142307070902377L, + Code = "3", + IsDeleted = false, + Remark = "未知性别", + Sort = 100, + Status = 0, + TypeId = 142307070906484L, + Value = "未知" + }, + new + { + Id = 142307070902378L, + Code = "DEFAULT", + IsDeleted = false, + Remark = "默认常量,都以XIAONUO_开头的", + Sort = 100, + Status = 0, + TypeId = 142307070906485L, + Value = "默认常量" + }, + new + { + Id = 142307070902379L, + Code = "ALIYUN_SMS", + IsDeleted = false, + Remark = "阿里云短信配置", + Sort = 100, + Status = 0, + TypeId = 142307070906485L, + Value = "阿里云短信" + }, + new + { + Id = 142307070902380L, + Code = "TENCENT_SMS", + IsDeleted = false, + Remark = "腾讯云短信", + Sort = 100, + Status = 0, + TypeId = 142307070906485L, + Value = "腾讯云短信" + }, + new + { + Id = 142307070902381L, + Code = "EMAIL", + IsDeleted = false, + Remark = "邮件配置", + Sort = 100, + Status = 0, + TypeId = 142307070906485L, + Value = "邮件配置" + }, + new + { + Id = 142307070902382L, + Code = "FILE_PATH", + IsDeleted = false, + Remark = "文件上传路径", + Sort = 100, + Status = 0, + TypeId = 142307070906485L, + Value = "文件上传路径" + }, + new + { + Id = 142307070902383L, + Code = "OAUTH", + IsDeleted = false, + Remark = "Oauth配置", + Sort = 100, + Status = 0, + TypeId = 142307070906485L, + Value = "Oauth配置" + }, + new + { + Id = 142307070902384L, + Code = "0", + IsDeleted = false, + Remark = "正常", + Sort = 100, + Status = 0, + TypeId = 142307070906483L, + Value = "正常" + }, + new + { + Id = 142307070902385L, + Code = "1", + IsDeleted = false, + Remark = "停用", + Sort = 100, + Status = 0, + TypeId = 142307070906483L, + Value = "停用" + }, + new + { + Id = 142307070902386L, + Code = "2", + IsDeleted = false, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = 142307070906483L, + Value = "删除" + }, + new + { + Id = 142307070902387L, + Code = "N", + IsDeleted = false, + Remark = "否", + Sort = 100, + Status = 0, + TypeId = 142307070906486L, + Value = "否" + }, + new + { + Id = 142307070902388L, + Code = "Y", + IsDeleted = false, + Remark = "是", + Sort = 100, + Status = 0, + TypeId = 142307070906486L, + Value = "是" + }, + new + { + Id = 142307070902389L, + Code = "1", + IsDeleted = false, + Remark = "登录", + Sort = 100, + Status = 0, + TypeId = 142307070906487L, + Value = "登录" + }, + new + { + Id = 142307070902390L, + Code = "2", + IsDeleted = false, + Remark = "登出", + Sort = 100, + Status = 0, + TypeId = 142307070906487L, + Value = "登出" + }, + new + { + Id = 142307070902391L, + Code = "0", + IsDeleted = false, + Remark = "目录", + Sort = 100, + Status = 0, + TypeId = 142307070906488L, + Value = "目录" + }, + new + { + Id = 142307070902392L, + Code = "1", + IsDeleted = false, + Remark = "菜单", + Sort = 100, + Status = 0, + TypeId = 142307070906488L, + Value = "菜单" + }, + new + { + Id = 142307070902393L, + Code = "2", + IsDeleted = false, + Remark = "按钮", + Sort = 100, + Status = 0, + TypeId = 142307070906488L, + Value = "按钮" + }, + new + { + Id = 142307070902394L, + Code = "0", + IsDeleted = false, + Remark = "未发送", + Sort = 100, + Status = 0, + TypeId = 142307070906489L, + Value = "未发送" + }, + new + { + Id = 142307070902395L, + Code = "1", + IsDeleted = false, + Remark = "发送成功", + Sort = 100, + Status = 0, + TypeId = 142307070906489L, + Value = "发送成功" + }, + new + { + Id = 142307070902396L, + Code = "2", + IsDeleted = false, + Remark = "发送失败", + Sort = 100, + Status = 0, + TypeId = 142307070906489L, + Value = "发送失败" + }, + new + { + Id = 142307070902397L, + Code = "3", + IsDeleted = false, + Remark = "失效", + Sort = 100, + Status = 0, + TypeId = 142307070906489L, + Value = "失效" + }, + new + { + Id = 142307070902398L, + Code = "0", + IsDeleted = false, + Remark = "无", + Sort = 100, + Status = 0, + TypeId = 142307070906490L, + Value = "无" + }, + new + { + Id = 142307070902399L, + Code = "1", + IsDeleted = false, + Remark = "组件", + Sort = 100, + Status = 0, + TypeId = 142307070906490L, + Value = "组件" + }, + new + { + Id = 142307070906437L, + Code = "2", + IsDeleted = false, + Remark = "内链", + Sort = 100, + Status = 0, + TypeId = 142307070906490L, + Value = "内链" + }, + new + { + Id = 142307070906438L, + Code = "3", + IsDeleted = false, + Remark = "外链", + Sort = 100, + Status = 0, + TypeId = 142307070906490L, + Value = "外链" + }, + new + { + Id = 142307070906439L, + Code = "1", + IsDeleted = false, + Remark = "系统权重", + Sort = 100, + Status = 0, + TypeId = 142307070906491L, + Value = "系统权重" + }, + new + { + Id = 142307070906440L, + Code = "2", + IsDeleted = false, + Remark = "业务权重", + Sort = 100, + Status = 0, + TypeId = 142307070906491L, + Value = "业务权重" + }, + new + { + Id = 142307070906441L, + Code = "1", + IsDeleted = false, + Remark = "全部数据", + Sort = 100, + Status = 0, + TypeId = 142307070906492L, + Value = "全部数据" + }, + new + { + Id = 142307070906442L, + Code = "2", + IsDeleted = false, + Remark = "本部门及以下数据", + Sort = 100, + Status = 0, + TypeId = 142307070906492L, + Value = "本部门及以下数据" + }, + new + { + Id = 142307070906443L, + Code = "3", + IsDeleted = false, + Remark = "本部门数据", + Sort = 100, + Status = 0, + TypeId = 142307070906492L, + Value = "本部门数据" + }, + new + { + Id = 142307070906444L, + Code = "4", + IsDeleted = false, + Remark = "仅本人数据", + Sort = 100, + Status = 0, + TypeId = 142307070906492L, + Value = "仅本人数据" + }, + new + { + Id = 142307070906445L, + Code = "5", + IsDeleted = false, + Remark = "自定义数据", + Sort = 100, + Status = 0, + TypeId = 142307070906492L, + Value = "自定义数据" + }, + new + { + Id = 142307070906446L, + Code = "1", + IsDeleted = false, + Remark = "app", + Sort = 100, + Status = 0, + TypeId = 142307070906493L, + Value = "app" + }, + new + { + Id = 142307070906447L, + Code = "2", + IsDeleted = false, + Remark = "pc", + Sort = 100, + Status = 0, + TypeId = 142307070906493L, + Value = "pc" + }, + new + { + Id = 142307070906448L, + Code = "3", + IsDeleted = false, + Remark = "其他", + Sort = 100, + Status = 0, + TypeId = 142307070906493L, + Value = "其他" + }, + new + { + Id = 142307070906449L, + Code = "0", + IsDeleted = false, + Remark = "其它", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "其它" + }, + new + { + Id = 142307070906450L, + Code = "1", + IsDeleted = false, + Remark = "增加", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "增加" + }, + new + { + Id = 142307070906451L, + Code = "2", + IsDeleted = false, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "删除" + }, + new + { + Id = 142307070906452L, + Code = "3", + IsDeleted = false, + Remark = "编辑", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "编辑" + }, + new + { + Id = 142307070906453L, + Code = "4", + IsDeleted = false, + Remark = "更新", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "更新" + }, + new + { + Id = 142307070906454L, + Code = "5", + IsDeleted = false, + Remark = "查询", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "查询" + }, + new + { + Id = 142307070906455L, + Code = "6", + IsDeleted = false, + Remark = "详情", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "详情" + }, + new + { + Id = 142307070906456L, + Code = "7", + IsDeleted = false, + Remark = "树", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "树" + }, + new + { + Id = 142307070906457L, + Code = "8", + IsDeleted = false, + Remark = "导入", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "导入" + }, + new + { + Id = 142307070906458L, + Code = "9", + IsDeleted = false, + Remark = "导出", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "导出" + }, + new + { + Id = 142307070906459L, + Code = "10", + IsDeleted = false, + Remark = "授权", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "授权" + }, + new + { + Id = 142307070906460L, + Code = "11", + IsDeleted = false, + Remark = "强退", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "强退" + }, + new + { + Id = 142307070906461L, + Code = "12", + IsDeleted = false, + Remark = "清空", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "清空" + }, + new + { + Id = 142307070906462L, + Code = "13", + IsDeleted = false, + Remark = "修改状态", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "修改状态" + }, + new + { + Id = 142307070906463L, + Code = "1", + IsDeleted = false, + Remark = "阿里云", + Sort = 100, + Status = 0, + TypeId = 142307070906495L, + Value = "阿里云" + }, + new + { + Id = 142307070906464L, + Code = "2", + IsDeleted = false, + Remark = "腾讯云", + Sort = 100, + Status = 0, + TypeId = 142307070906495L, + Value = "腾讯云" + }, + new + { + Id = 142307070906465L, + Code = "3", + IsDeleted = false, + Remark = "minio", + Sort = 100, + Status = 0, + TypeId = 142307070906495L, + Value = "minio" + }, + new + { + Id = 142307070906466L, + Code = "4", + IsDeleted = false, + Remark = "本地", + Sort = 100, + Status = 0, + TypeId = 142307070906495L, + Value = "本地" + }, + new + { + Id = 142307070906467L, + Code = "1", + IsDeleted = false, + Remark = "运行", + Sort = 100, + Status = 0, + TypeId = 142307070910533L, + Value = "运行" + }, + new + { + Id = 142307070906468L, + Code = "2", + IsDeleted = false, + Remark = "停止", + Sort = 100, + Status = 0, + TypeId = 142307070910533L, + Value = "停止" + }, + new + { + Id = 142307070906469L, + Code = "1", + IsDeleted = false, + Remark = "通知", + Sort = 100, + Status = 0, + TypeId = 142307070910534L, + Value = "通知" + }, + new + { + Id = 142307070906470L, + Code = "2", + IsDeleted = false, + Remark = "公告", + Sort = 100, + Status = 0, + TypeId = 142307070910534L, + Value = "公告" + }, + new + { + Id = 142307070906471L, + Code = "0", + IsDeleted = false, + Remark = "草稿", + Sort = 100, + Status = 0, + TypeId = 142307070910535L, + Value = "草稿" + }, + new + { + Id = 142307070906472L, + Code = "1", + IsDeleted = false, + Remark = "发布", + Sort = 100, + Status = 0, + TypeId = 142307070910535L, + Value = "发布" + }, + new + { + Id = 142307070906473L, + Code = "2", + IsDeleted = false, + Remark = "撤回", + Sort = 100, + Status = 0, + TypeId = 142307070910535L, + Value = "撤回" + }, + new + { + Id = 142307070906474L, + Code = "3", + IsDeleted = false, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = 142307070910535L, + Value = "删除" + }, + new + { + Id = 142307070906475L, + Code = "true", + IsDeleted = false, + Remark = "是", + Sort = 100, + Status = 0, + TypeId = 142307070910536L, + Value = "是" + }, + new + { + Id = 142307070906476L, + Code = "false", + IsDeleted = false, + Remark = "否", + Sort = 100, + Status = 0, + TypeId = 142307070910536L, + Value = "否" + }, + new + { + Id = 142307070906477L, + Code = "1", + IsDeleted = false, + Remark = "下载压缩包", + Sort = 100, + Status = 0, + TypeId = 142307070910537L, + Value = "下载压缩包" + }, + new + { + Id = 142307070906478L, + Code = "2", + IsDeleted = false, + Remark = "生成到本项目", + Sort = 100, + Status = 0, + TypeId = 142307070910537L, + Value = "生成到本项目" + }, + new + { + Id = 142307070906479L, + Code = "1", + IsDeleted = false, + Remark = "GET", + Sort = 100, + Status = 0, + TypeId = 142307070910538L, + Value = "GET" + }, + new + { + Id = 142307070906480L, + Code = "2", + IsDeleted = false, + Remark = "POST", + Sort = 100, + Status = 0, + TypeId = 142307070910538L, + Value = "POST" + }, + new + { + Id = 142307070906481L, + Code = "3", + IsDeleted = false, + Remark = "PUT", + Sort = 100, + Status = 0, + TypeId = 142307070910538L, + Value = "PUT" + }, + new + { + Id = 142307070906482L, + Code = "4", + IsDeleted = false, + Remark = "DELETE", + Sort = 100, + Status = 0, + TypeId = 142307070910538L, + Value = "DELETE" + }, + new + { + Id = 142307070922830L, + Code = "input", + IsDeleted = false, + Remark = "输入框", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "输入框" + }, + new + { + Id = 142307070922831L, + Code = "datepicker", + IsDeleted = false, + Remark = "时间选择", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "时间选择" + }, + new + { + Id = 142307070922832L, + Code = "select", + IsDeleted = false, + Remark = "下拉框", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "下拉框" + }, + new + { + Id = 142307070922833L, + Code = "radio", + IsDeleted = false, + Remark = "单选框", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "单选框" + }, + new + { + Id = 142307070922834L, + Code = "switch", + IsDeleted = false, + Remark = "开关", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "开关" + }, + new + { + Id = 142307070922835L, + Code = "checkbox", + IsDeleted = false, + Remark = "多选框", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "多选框" + }, + new + { + Id = 142307070922836L, + Code = "inputnumber", + IsDeleted = false, + Remark = "数字输入框", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "数字输入框" + }, + new + { + Id = 142307070922837L, + Code = "textarea", + IsDeleted = false, + Remark = "文本域", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "文本域" + }, + new + { + Id = 142307070922838L, + Code = "==", + IsDeleted = false, + Remark = "等于", + Sort = 1, + Status = 0, + TypeId = 142307070922828L, + Value = "等于" + }, + new + { + Id = 142307070922839L, + Code = "like", + IsDeleted = false, + Remark = "模糊", + Sort = 2, + Status = 0, + TypeId = 142307070922828L, + Value = "模糊" + }, + new + { + Id = 142307070922840L, + Code = ">", + IsDeleted = false, + Remark = "大于", + Sort = 3, + Status = 0, + TypeId = 142307070922828L, + Value = "大于" + }, + new + { + Id = 142307070922841L, + Code = "<", + IsDeleted = false, + Remark = "小于", + Sort = 4, + Status = 0, + TypeId = 142307070922828L, + Value = "小于" + }, + new + { + Id = 142307070922842L, + Code = "!=", + IsDeleted = false, + Remark = "不等于", + Sort = 5, + Status = 0, + TypeId = 142307070922828L, + Value = "不等于" + }, + new + { + Id = 142307070922843L, + Code = ">=", + IsDeleted = false, + Remark = "大于等于", + Sort = 6, + Status = 0, + TypeId = 142307070922828L, + Value = "大于等于" + }, + new + { + Id = 142307070922844L, + Code = "<=", + IsDeleted = false, + Remark = "小于等于", + Sort = 7, + Status = 0, + TypeId = 142307070922828L, + Value = "小于等于" + }, + new + { + Id = 142307070922845L, + Code = "isNotNull", + IsDeleted = false, + Remark = "不为空", + Sort = 8, + Status = 0, + TypeId = 142307070922828L, + Value = "不为空" + }, + new + { + Id = 142307070922851L, + Code = "int", + IsDeleted = false, + Remark = "int", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "int" + }, + new + { + Id = 142307070922846L, + Code = "long", + IsDeleted = false, + Remark = "long", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "long" + }, + new + { + Id = 142307070922847L, + Code = "string", + IsDeleted = false, + Remark = "string", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "string" + }, + new + { + Id = 142307070922850L, + Code = "bool", + IsDeleted = false, + Remark = "bool", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "bool" + }, + new + { + Id = 142307070922852L, + Code = "double", + IsDeleted = false, + Remark = "double", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "double" + }, + new + { + Id = 142307070922848L, + Code = "DateTime", + IsDeleted = false, + Remark = "DateTime", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "DateTime" + }, + new + { + Id = 142307070922861L, + Code = "float", + IsDeleted = false, + Remark = "float", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "float" + }, + new + { + Id = 142307070922862L, + Code = "decimal", + IsDeleted = false, + Remark = "decimal", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "decimal" + }, + new + { + Id = 142307070922863L, + Code = "Guid", + IsDeleted = false, + Remark = "Guid", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "Guid" + }, + new + { + Id = 142307070922864L, + Code = "DateTimeOffset", + IsDeleted = false, + Remark = "DateTimeOffset", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "DateTimeOffset" + }); + }); + + modelBuilder.Entity("Dilon.Core.SysDictType", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_dict_type"); + + b + .HasComment("字典类型表"); + + b.HasData( + new + { + Id = 142307070906483L, + Code = "common_status", + IsDeleted = false, + Name = "通用状态", + Remark = "通用状态", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906484L, + Code = "sex", + IsDeleted = false, + Name = "性别", + Remark = "性别字典", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906485L, + Code = "consts_type", + IsDeleted = false, + Name = "常量的分类", + Remark = "常量的分类,用于区别一组配置", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906486L, + Code = "yes_or_no", + IsDeleted = false, + Name = "是否", + Remark = "是否", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906487L, + Code = "vis_type", + IsDeleted = false, + Name = "访问类型", + Remark = "访问类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906488L, + Code = "menu_type", + IsDeleted = false, + Name = "菜单类型", + Remark = "菜单类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906489L, + Code = "send_type", + IsDeleted = false, + Name = "发送类型", + Remark = "发送类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906490L, + Code = "open_type", + IsDeleted = false, + Name = "打开方式", + Remark = "打开方式", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906491L, + Code = "menu_weight", + IsDeleted = false, + Name = "菜单权重", + Remark = "菜单权重", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906492L, + Code = "data_scope_type", + IsDeleted = false, + Name = "数据范围类型", + Remark = "数据范围类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906493L, + Code = "sms_send_source", + IsDeleted = false, + Name = "短信发送来源", + Remark = "短信发送来源", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906494L, + Code = "op_type", + IsDeleted = false, + Name = "操作类型", + Remark = "操作类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906495L, + Code = "file_storage_location", + IsDeleted = false, + Name = "文件存储位置", + Remark = "文件存储位置", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910533L, + Code = "run_status", + IsDeleted = false, + Name = "运行状态", + Remark = "定时任务运行状态", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910534L, + Code = "notice_type", + IsDeleted = false, + Name = "通知公告类型", + Remark = "通知公告类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910535L, + Code = "notice_status", + IsDeleted = false, + Name = "通知公告状态", + Remark = "通知公告状态", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910536L, + Code = "yes_true_false", + IsDeleted = false, + Name = "是否boolean", + Remark = "是否boolean", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910537L, + Code = "code_gen_create_type", + IsDeleted = false, + Name = "代码生成方式", + Remark = "代码生成方式", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910538L, + Code = "request_type", + IsDeleted = false, + Name = "请求方式", + Remark = "请求方式", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070922827L, + Code = "code_gen_effect_type", + IsDeleted = false, + Name = "代码生成作用类型", + Remark = "代码生成作用类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070922828L, + Code = "code_gen_query_type", + IsDeleted = false, + Name = "代码生成查询类型", + Remark = "代码生成查询类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070922829L, + Code = "code_gen_net_type", + IsDeleted = false, + Name = "代码生成.NET类型", + Remark = "代码生成.NET类型", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysEmp", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("用户Id"); + + b.Property("JobNum") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("工号"); + + b.Property("OrgId") + .HasColumnType("bigint") + .HasComment("机构Id"); + + b.Property("OrgName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("机构名称"); + + b.HasKey("Id"); + + b.ToTable("sys_emp"); + + b + .HasComment("员工表"); + + b.HasData( + new + { + Id = 142307070910551L, + JobNum = "D1001", + OrgId = 142307070910539L, + OrgName = "华夏集团" + }, + new + { + Id = 142307070910552L, + JobNum = "D1002", + OrgId = 142307070910539L, + OrgName = "华夏集团" + }, + new + { + Id = 142307070910553L, + JobNum = "D1003", + OrgId = 142307070910539L, + OrgName = "华夏集团" + }); + }); + + modelBuilder.Entity("Dilon.Core.SysEmpExtOrgPos", b => + { + b.Property("SysEmpId") + .HasColumnType("bigint") + .HasComment("员工Id"); + + b.Property("SysOrgId") + .HasColumnType("bigint") + .HasComment("机构Id"); + + b.Property("SysPosId") + .HasColumnType("bigint") + .HasComment("职位Id"); + + b.HasKey("SysEmpId", "SysOrgId", "SysPosId"); + + b.HasIndex("SysOrgId"); + + b.HasIndex("SysPosId"); + + b.ToTable("sys_emp_ext_org_pos"); + + b + .HasComment("员工附属机构职位表"); + + b.HasData( + new + { + SysEmpId = 142307070910551L, + SysOrgId = 142307070910539L, + SysPosId = 142307070910547L + }, + new + { + SysEmpId = 142307070910551L, + SysOrgId = 142307070910540L, + SysPosId = 142307070910548L + }, + new + { + SysEmpId = 142307070910551L, + SysOrgId = 142307070910541L, + SysPosId = 142307070910549L + }, + new + { + SysEmpId = 142307070910551L, + SysOrgId = 142307070910542L, + SysPosId = 142307070910550L + }, + new + { + SysEmpId = 142307070910553L, + SysOrgId = 142307070910542L, + SysPosId = 142307070910547L + }); + }); + + modelBuilder.Entity("Dilon.Core.SysEmpPos", b => + { + b.Property("SysEmpId") + .HasColumnType("bigint") + .HasComment("员工Id"); + + b.Property("SysPosId") + .HasColumnType("bigint") + .HasComment("职位Id"); + + b.HasKey("SysEmpId", "SysPosId"); + + b.HasIndex("SysPosId"); + + b.ToTable("sys_emp_pos"); + + b + .HasComment("员工职位表"); + + b.HasData( + new + { + SysEmpId = 142307070910551L, + SysPosId = 142307070910547L + }, + new + { + SysEmpId = 142307070910551L, + SysPosId = 142307070910548L + }, + new + { + SysEmpId = 142307070910552L, + SysPosId = 142307070910549L + }, + new + { + SysEmpId = 142307070910553L, + SysPosId = 142307070910547L + }); + }); + + modelBuilder.Entity("Dilon.Core.SysFile", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("FileBucket") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件仓库"); + + b.Property("FileLocation") + .HasColumnType("int") + .HasComment("文件存储位置"); + + b.Property("FileObjectName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("存储到bucket的名称"); + + b.Property("FileOriginName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件名称"); + + b.Property("FilePath") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("存储路径"); + + b.Property("FileSizeInfo") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件大小信息"); + + b.Property("FileSizeKb") + .HasColumnType("bigint") + .HasComment("文件大小kb"); + + b.Property("FileSuffix") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件后缀"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_file"); + + b + .HasComment("文件信息表"); + }); + + modelBuilder.Entity("Dilon.Core.SysLogAudit", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + b.Property("ColumnName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("列名"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("操作时间"); + + b.Property("NewValue") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("新值"); + + b.Property("OldValue") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("旧值"); + + b.Property("Operate") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作方式"); + + b.Property("TableName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("表名"); + + b.Property("UserId") + .HasColumnType("bigint") + .HasComment("操作人Id"); + + b.Property("UserName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作人名称"); + + b.HasKey("Id"); + + b.ToTable("sys_log_audit"); + + b + .HasComment("审计日志表"); + }); + + modelBuilder.Entity("Dilon.Core.SysLogOp", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + b.Property("Account") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作人"); + + b.Property("Browser") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("浏览器"); + + b.Property("ClassName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("类名称"); + + b.Property("ElapsedTime") + .HasColumnType("bigint") + .HasComment("耗时"); + + b.Property("Ip") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("IP"); + + b.Property("Location") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("地址"); + + b.Property("Message") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("具体消息"); + + b.Property("MethodName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("方法名称"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("OpTime") + .HasColumnType("datetime") + .HasComment("操作时间"); + + b.Property("OpType") + .HasColumnType("int") + .HasComment("操作类型"); + + b.Property("Os") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作系统"); + + b.Property("Param") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求参数"); + + b.Property("ReqMethod") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求方式"); + + b.Property("Result") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("返回结果"); + + b.Property("Success") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否执行成功"); + + b.Property("Url") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求地址"); + + b.HasKey("Id"); + + b.ToTable("sys_log_op"); + + b + .HasComment("操作日志表"); + }); + + modelBuilder.Entity("Dilon.Core.SysLogVis", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + b.Property("Account") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("访问人"); + + b.Property("Browser") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("浏览器"); + + b.Property("Ip") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("IP"); + + b.Property("Location") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("地址"); + + b.Property("Message") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("具体消息"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Os") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作系统"); + + b.Property("Success") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否执行成功"); + + b.Property("VisTime") + .HasColumnType("datetime") + .HasComment("访问时间"); + + b.Property("VisType") + .HasColumnType("int") + .HasComment("访问类型"); + + b.HasKey("Id"); + + b.ToTable("sys_log_vis"); + + b + .HasComment("访问日志表"); + }); + + modelBuilder.Entity("Dilon.Core.SysMenu", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Application") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("应用分类"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("Component") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("组件地址"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Icon") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("图标"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Link") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("内链地址"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("OpenType") + .HasColumnType("int") + .HasComment("打开方式"); + + b.Property("Permission") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("权限标识"); + + b.Property("Pid") + .HasColumnType("bigint") + .HasComment("父Id"); + + b.Property("Pids") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("父Ids"); + + b.Property("Redirect") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("重定向地址"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Router") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("路由地址"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int"); + + b.Property("Type") + .HasColumnType("int") + .HasComment("菜单类型"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Visible") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否可见"); + + b.Property("Weight") + .HasColumnType("int") + .HasComment("权重"); + + b.HasKey("Id"); + + b.ToTable("sys_menu"); + + b + .HasComment("菜单表"); + + b.HasData( + new + { + Id = 142307070910560L, + Application = "system", + Code = "system_index", + Component = "RouteView", + Icon = "home", + IsDeleted = false, + Name = "主控面板", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Redirect = "/analysis", + Router = "/", + Sort = 1, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910561L, + Application = "system", + Code = "system_index_dashboard", + Component = "system/dashboard/Analysis", + IsDeleted = false, + Name = "分析页", + OpenType = 0, + Pid = 142307070910560L, + Pids = "[0],[142307070910560],", + Router = "analysis", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910562L, + Application = "system", + Code = "system_index_workplace", + Component = "system/dashboard/Workplace", + IsDeleted = false, + Name = "工作台", + OpenType = 0, + Pid = 142307070910560L, + Pids = "[0],[142307070910560],", + Router = "workplace", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910563L, + Application = "system", + Code = "sys_mgr", + Component = "PageView", + Icon = "team", + IsDeleted = false, + Name = "组织架构", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/sys", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910564L, + Application = "system", + Code = "sys_user_mgr", + Component = "system/user/index", + IsDeleted = false, + Name = "用户管理", + OpenType = 1, + Pid = 142307070910563L, + Pids = "[0],[142307070910563],", + Router = "/mgr_user", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910565L, + Application = "system", + Code = "sys_user_mgr_page", + IsDeleted = false, + Name = "用户查询", + OpenType = 0, + Permission = "sysUser:page", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910566L, + Application = "system", + Code = "sys_user_mgr_edit", + IsDeleted = false, + Name = "用户编辑", + OpenType = 0, + Permission = "sysUser:edit", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910567L, + Application = "system", + Code = "sys_user_mgr_add", + IsDeleted = false, + Name = "用户增加", + OpenType = 0, + Permission = "sysUser:add", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910568L, + Application = "system", + Code = "sys_user_mgr_delete", + IsDeleted = false, + Name = "用户删除", + OpenType = 0, + Permission = "sysUser:delete", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910569L, + Application = "system", + Code = "sys_user_mgr_detail", + IsDeleted = false, + Name = "用户详情", + OpenType = 0, + Permission = "sysUser:detail", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910570L, + Application = "system", + Code = "sys_user_mgr_export", + IsDeleted = false, + Name = "用户导出", + OpenType = 0, + Permission = "sysUser:export", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910571L, + Application = "system", + Code = "sys_user_mgr_selector", + IsDeleted = false, + Name = "用户选择器", + OpenType = 0, + Permission = "sysUser:selector", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910572L, + Application = "system", + Code = "sys_user_mgr_grant_role", + IsDeleted = false, + Name = "用户授权角色", + OpenType = 0, + Permission = "sysUser:grantRole", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910573L, + Application = "system", + Code = "sys_user_mgr_own_role", + IsDeleted = false, + Name = "用户拥有角色", + OpenType = 0, + Permission = "sysUser:ownRole", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910574L, + Application = "system", + Code = "sys_user_mgr_grant_data", + IsDeleted = false, + Name = "用户授权数据", + OpenType = 0, + Permission = "sysUser:grantData", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910575L, + Application = "system", + Code = "sys_user_mgr_own_data", + IsDeleted = false, + Name = "用户拥有数据", + OpenType = 0, + Permission = "sysUser:ownData", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910576L, + Application = "system", + Code = "sys_user_mgr_update_info", + IsDeleted = false, + Name = "用户更新信息", + OpenType = 0, + Permission = "sysUser:updateInfo", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910577L, + Application = "system", + Code = "sys_user_mgr_update_pwd", + IsDeleted = false, + Name = "用户修改密码", + OpenType = 0, + Permission = "sysUser:updatePwd", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910578L, + Application = "system", + Code = "sys_user_mgr_change_status", + IsDeleted = false, + Name = "用户修改状态", + OpenType = 0, + Permission = "sysUser:changeStatus", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910579L, + Application = "system", + Code = "sys_user_mgr_update_avatar", + IsDeleted = false, + Name = "用户修改头像", + OpenType = 0, + Permission = "sysUser:updateAvatar", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910580L, + Application = "system", + Code = "sys_user_mgr_reset_pwd", + IsDeleted = false, + Name = "用户重置密码", + OpenType = 0, + Permission = "sysUser:resetPwd", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918777L, + Application = "system", + Code = "sys_user_mgr_login", + IsDeleted = false, + Name = "用户登录信息", + OpenType = 0, + Permission = "getLoginUser", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 1, + Type = 2, + Visible = "N", + Weight = 1 + }, + new + { + Id = 142307070910581L, + Application = "system", + Code = "sys_org_mgr", + Component = "system/org/index", + IsDeleted = false, + Name = "机构管理", + OpenType = 1, + Pid = 142307070910563L, + Pids = "[0],[142307070910563],", + Router = "/org", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910582L, + Application = "system", + Code = "sys_org_mgr_page", + IsDeleted = false, + Name = "机构查询", + OpenType = 0, + Permission = "sysOrg:page", + Pid = 142307070910581L, + Pids = "[0],[142307070910563],[142307070910581],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910583L, + Application = "system", + Code = "sys_org_mgr_list", + IsDeleted = false, + Name = "机构列表", + OpenType = 0, + Permission = "sysOrg:list", + Pid = 142307070910581L, + Pids = "[0],[142307070910563],[142307070910581],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910584L, + Application = "system", + Code = "sys_org_mgr_add", + IsDeleted = false, + Name = "机构增加", + OpenType = 0, + Permission = "sysOrg:add", + Pid = 142307070910581L, + Pids = "[0],[142307070910563],[142307070910581],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910585L, + Application = "system", + Code = "sys_org_mgr_edit", + IsDeleted = false, + Name = "机构编辑", + OpenType = 0, + Permission = "sysOrg:edit", + Pid = 142307070910581L, + Pids = "[0],[142307070910563],[142307070910581],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910586L, + Application = "system", + Code = "sys_org_mgr_delete", + IsDeleted = false, + Name = "机构删除", + OpenType = 0, + Permission = "sysOrg:delete", + Pid = 142307070910581L, + Pids = "[0],[142307070910563],[142307070910581],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910587L, + Application = "system", + Code = "sys_org_mgr_detail", + IsDeleted = false, + Name = "机构详情", + OpenType = 0, + Permission = "sysOrg:detail", + Pid = 142307070910581L, + Pids = "[0],[142307070910563],[142307070910581],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910588L, + Application = "system", + Code = "sys_org_mgr_tree", + IsDeleted = false, + Name = "机构树", + OpenType = 0, + Permission = "sysOrg:tree", + Pid = 142307070910581L, + Pids = "[0],[142307070910563],[142307070910581],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910589L, + Application = "system", + Code = "sys_pos_mgr", + Component = "system/pos/index", + IsDeleted = false, + Name = "职位管理", + OpenType = 1, + Pid = 142307070910563L, + Pids = "[0],[142307070910563],", + Router = "/pos", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910590L, + Application = "system", + Code = "sys_pos_mgr_page", + IsDeleted = false, + Name = "职位查询", + OpenType = 0, + Permission = "sysPos:page", + Pid = 142307070910589L, + Pids = "[0],[142307070910563],[142307070910589],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910591L, + Application = "system", + Code = "sys_pos_mgr_list", + IsDeleted = false, + Name = "职位列表", + OpenType = 0, + Permission = "sysPos:list", + Pid = 142307070910589L, + Pids = "[0],[142307070910563],[142307070910589],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914629L, + Application = "system", + Code = "sys_pos_mgr_add", + IsDeleted = false, + Name = "职位增加", + OpenType = 0, + Permission = "sysPos:add", + Pid = 142307070910589L, + Pids = "[0],[142307070910563],[142307070910589],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914630L, + Application = "system", + Code = "sys_pos_mgr_edit", + IsDeleted = false, + Name = "职位编辑", + OpenType = 0, + Permission = "sysPos:edit", + Pid = 142307070910589L, + Pids = "[0],[142307070910563],[142307070910589],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914631L, + Application = "system", + Code = "sys_pos_mgr_delete", + IsDeleted = false, + Name = "职位删除", + OpenType = 0, + Permission = "sysPos:delete", + Pid = 142307070910589L, + Pids = "[0],[142307070910563],[142307070910589],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914632L, + Application = "system", + Code = "sys_pos_mgr_detail", + IsDeleted = false, + Name = "职位详情", + OpenType = 0, + Permission = "sysPos:detail", + Pid = 142307070910589L, + Pids = "[0],[142307070910563],[142307070910589],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914633L, + Application = "system", + Code = "auth_manager", + Component = "PageView", + Icon = "safety-certificate", + IsDeleted = false, + Name = "权限管理", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/auth", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914634L, + Application = "system", + Code = "sys_app_mgr", + Component = "system/app/index", + IsDeleted = false, + Name = "应用管理", + OpenType = 1, + Pid = 142307070914633L, + Pids = "[0],[142307070914633],", + Router = "/app", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914635L, + Application = "system", + Code = "sys_app_mgr_page", + IsDeleted = false, + Name = "应用查询", + OpenType = 0, + Permission = "sysApp:page", + Pid = 142307070914634L, + Pids = "[0],[142307070914633],[142307070914634],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914636L, + Application = "system", + Code = "sys_app_mgr_list", + IsDeleted = false, + Name = "应用列表", + OpenType = 0, + Permission = "sysApp:list", + Pid = 142307070914634L, + Pids = "[0],[142307070914633],[142307070914634],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914637L, + Application = "system", + Code = "sys_app_mgr_add", + IsDeleted = false, + Name = "应用增加", + OpenType = 0, + Permission = "sysApp:add", + Pid = 142307070914634L, + Pids = "[0],[142307070914633],[142307070914634],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914638L, + Application = "system", + Code = "sys_app_mgr_edit", + IsDeleted = false, + Name = "应用编辑", + OpenType = 0, + Permission = "sysApp:edit", + Pid = 142307070914634L, + Pids = "[0],[142307070914633],[142307070914634],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914639L, + Application = "system", + Code = "sys_app_mgr_delete", + IsDeleted = false, + Name = "应用删除", + OpenType = 0, + Permission = "sysApp:delete", + Pid = 142307070914634L, + Pids = "[0],[142307070914633],[142307070914634],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914640L, + Application = "system", + Code = "sys_app_mgr_detail", + IsDeleted = false, + Name = "应用详情", + OpenType = 0, + Permission = "sysApp:detail", + Pid = 142307070914634L, + Pids = "[0],[142307070914633],[142307070914634],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914641L, + Application = "system", + Code = "sys_app_mgr_set_as_default", + IsDeleted = false, + Name = "设为默认应用", + OpenType = 0, + Permission = "sysApp:setAsDefault", + Pid = 142307070914634L, + Pids = "[0],[142307070914633],[142307070914634],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914642L, + Application = "system", + Code = "sys_menu_mgr", + Component = "system/menu/index", + IsDeleted = false, + Name = "菜单管理", + OpenType = 1, + Pid = 142307070914633L, + Pids = "[0],[142307070914633],", + Router = "/menu", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914643L, + Application = "system", + Code = "sys_menu_mgr_list", + IsDeleted = false, + Name = "菜单列表", + OpenType = 0, + Permission = "sysMenu:list", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914644L, + Application = "system", + Code = "sys_menu_mgr_add", + IsDeleted = false, + Name = "菜单增加", + OpenType = 0, + Permission = "sysMenu:add", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914645L, + Application = "system", + Code = "sys_menu_mgr_edit", + IsDeleted = false, + Name = "菜单编辑", + OpenType = 0, + Permission = "sysMenu:edit", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914646L, + Application = "system", + Code = "sys_menu_mgr_delete", + IsDeleted = false, + Name = "菜单删除", + OpenType = 0, + Permission = "sysMenu:delete", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914647L, + Application = "system", + Code = "sys_menu_mgr_detail", + IsDeleted = false, + Name = "菜单详情", + OpenType = 0, + Permission = "sysMenu:detail", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914648L, + Application = "system", + Code = "sys_menu_mgr_grant_tree", + IsDeleted = false, + Name = "菜单授权树", + OpenType = 0, + Permission = "sysMenu:treeForGrant", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914649L, + Application = "system", + Code = "sys_menu_mgr_tree", + IsDeleted = false, + Name = "菜单树", + OpenType = 0, + Permission = "sysMenu:tree", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914650L, + Application = "system", + Code = "sys_menu_mgr_change", + IsDeleted = false, + Name = "菜单切换", + OpenType = 0, + Permission = "sysMenu:change", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914651L, + Application = "system", + Code = "sys_role_mgr", + Component = "system/role/index", + IsDeleted = false, + Name = "角色管理", + OpenType = 1, + Pid = 142307070914633L, + Pids = "[0],[142307070914633],", + Router = "/role", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914652L, + Application = "system", + Code = "sys_role_mgr_page", + IsDeleted = false, + Name = "角色查询", + OpenType = 0, + Permission = "sysRole:page", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914653L, + Application = "system", + Code = "sys_role_mgr_add", + IsDeleted = false, + Name = "角色增加", + OpenType = 0, + Permission = "sysRole:add", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914654L, + Application = "system", + Code = "sys_role_mgr_edit", + IsDeleted = false, + Name = "角色编辑", + OpenType = 0, + Permission = "sysRole:edit", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914655L, + Application = "system", + Code = "sys_role_mgr_delete", + IsDeleted = false, + Name = "角色删除", + OpenType = 0, + Permission = "sysRole:delete", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914656L, + Application = "system", + Code = "sys_role_mgr_detail", + IsDeleted = false, + Name = "角色详情", + OpenType = 0, + Permission = "sysRole:detail", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914657L, + Application = "system", + Code = "sys_role_mgr_drop_down", + IsDeleted = false, + Name = "角色下拉", + OpenType = 0, + Permission = "sysRole:dropDown", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914658L, + Application = "system", + Code = "sys_role_mgr_grant_menu", + IsDeleted = false, + Name = "角色授权菜单", + OpenType = 0, + Permission = "sysRole:grantMenu", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914659L, + Application = "system", + Code = "sys_role_mgr_own_menu", + IsDeleted = false, + Name = "角色拥有菜单", + OpenType = 0, + Permission = "sysRole:ownMenu", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914660L, + Application = "system", + Code = "sys_role_mgr_grant_data", + IsDeleted = false, + Name = "角色授权数据", + OpenType = 0, + Permission = "sysRole:grantData", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914661L, + Application = "system", + Code = "sys_role_mgr_own_data", + IsDeleted = false, + Name = "角色拥有数据", + OpenType = 0, + Permission = "sysRole:ownData", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914662L, + Application = "system", + Code = "system_tools", + Component = "PageView", + Icon = "euro", + IsDeleted = false, + Name = "开发管理", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/tools", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914663L, + Application = "system", + Code = "system_tools_config", + Component = "system/config/index", + IsDeleted = false, + Name = "系统配置", + OpenType = 1, + Pid = 142307070914662L, + Pids = "[0],[142307070914662],", + Router = "/config", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914664L, + Application = "system", + Code = "system_tools_config_page", + IsDeleted = false, + Name = "配置查询", + OpenType = 0, + Permission = "sysConfig:page", + Pid = 142307070914663L, + Pids = "[0],[142307070914662],[142307070914663],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914665L, + Application = "system", + Code = "system_tools_config_list", + IsDeleted = false, + Name = "配置列表", + OpenType = 0, + Permission = "sysConfig:list", + Pid = 142307070914663L, + Pids = "[0],[142307070914662],[142307070914663],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914666L, + Application = "system", + Code = "system_tools_config_add", + IsDeleted = false, + Name = "配置增加", + OpenType = 0, + Permission = "sysConfig:add", + Pid = 142307070914663L, + Pids = "[0],[142307070914662],[142307070914663],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914667L, + Application = "system", + Code = "system_tools_config_edit", + IsDeleted = false, + Name = "配置编辑", + OpenType = 0, + Permission = "sysConfig:edit", + Pid = 142307070914663L, + Pids = "[0],[142307070914662],[142307070914663],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914668L, + Application = "system", + Code = "system_tools_config_delete", + IsDeleted = false, + Name = "配置删除", + OpenType = 0, + Permission = "sysConfig:delete", + Pid = 142307070914663L, + Pids = "[0],[142307070914662],[142307070914663],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914669L, + Application = "system", + Code = "system_tools_config_detail", + IsDeleted = false, + Name = "配置详情", + OpenType = 0, + Permission = "sysConfig:detail", + Pid = 142307070914663L, + Pids = "[0],[142307070914662],[142307070914663],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914670L, + Application = "system", + Code = "sys_app_mgr_set_as_default", + IsDeleted = false, + Name = "设为默认应用", + OpenType = 0, + Permission = "sysApp:setAsDefault", + Pid = 142307070914663L, + Pids = "[0],[142307070914662],[142307070914663],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914671L, + Application = "system", + Code = "sys_email_mgr", + Component = "system/email/index", + IsDeleted = false, + Name = "邮件发送", + OpenType = 1, + Pid = 142307070914662L, + Pids = "[0],[142307070914662],", + Router = "/email", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914672L, + Application = "system", + Code = "sys_email_mgr_send_email", + IsDeleted = false, + Name = "发送文本邮件", + OpenType = 0, + Permission = "email:sendEmail", + Pid = 142307070914671L, + Pids = "[0],[142307070914662],[142307070914671],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914673L, + Application = "system", + Code = "sys_email_mgr_send_email_html", + IsDeleted = false, + Name = "发送html邮件", + OpenType = 0, + Permission = "email:sendEmailHtml", + Pid = 142307070914671L, + Pids = "[0],[142307070914662],[142307070914671],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914674L, + Application = "system", + Code = "sys_sms_mgr", + Component = "system/sms/index", + IsDeleted = false, + Name = "短信管理", + OpenType = 1, + Pid = 142307070914662L, + Pids = "[0],[142307070914662],", + Router = "/sms", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914675L, + Application = "system", + Code = "sys_sms_mgr_page", + IsDeleted = false, + Name = "短信发送查询", + OpenType = 0, + Permission = "sms:page", + Pid = 142307070914674L, + Pids = "[0],[142307070914662],[142307070914674],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914676L, + Application = "system", + Code = "sys_sms_mgr_send_login_message", + IsDeleted = false, + Name = "发送验证码短信", + OpenType = 0, + Permission = "sms:sendLoginMessage", + Pid = 142307070914674L, + Pids = "[0],[142307070914662],[142307070914674],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914677L, + Application = "system", + Code = "sys_sms_mgr_validate_message", + IsDeleted = false, + Name = "验证短信验证码", + OpenType = 0, + Permission = "sms:validateMessage", + Pid = 142307070914674L, + Pids = "[0],[142307070914662],[142307070914674],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914678L, + Application = "system", + Code = "sys_dict_mgr", + Component = "system/dict/index", + IsDeleted = false, + Name = "字典管理", + OpenType = 1, + Pid = 142307070914662L, + Pids = "[0],[142307070914662],", + Router = "/dict", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914679L, + Application = "system", + Code = "sys_dict_mgr_dict_type_page", + IsDeleted = false, + Name = "字典类型查询", + OpenType = 0, + Permission = "sysDictType:page", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914680L, + Application = "system", + Code = "sys_dict_mgr_dict_type_list", + IsDeleted = false, + Name = "字典类型列表", + OpenType = 0, + Permission = "sysDictType:list", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914681L, + Application = "system", + Code = "sys_dict_mgr_dict_type_add", + IsDeleted = false, + Name = "字典类型增加", + OpenType = 0, + Permission = "sysDictType:add", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914682L, + Application = "system", + Code = "sys_dict_mgr_dict_type_delete", + IsDeleted = false, + Name = "字典类型删除", + OpenType = 0, + Permission = "sysDictType:delete", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914683L, + Application = "system", + Code = "sys_dict_mgr_dict_type_edit", + IsDeleted = false, + Name = "字典类型编辑", + OpenType = 0, + Permission = "sysDictType:edit", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914684L, + Application = "system", + Code = "sys_dict_mgr_dict_type_detail", + IsDeleted = false, + Name = "字典类型详情", + OpenType = 0, + Permission = "sysDictType:detail", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914685L, + Application = "system", + Code = "sys_dict_mgr_dict_type_drop_down", + IsDeleted = false, + Name = "字典类型下拉", + OpenType = 0, + Permission = "sysDictType:dropDown", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914686L, + Application = "system", + Code = "sys_dict_mgr_dict_type_change_status", + IsDeleted = false, + Name = "字典类型修改状态", + OpenType = 0, + Permission = "sysDictType:changeStatus", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914687L, + Application = "system", + Code = "sys_dict_mgr_dict_page", + IsDeleted = false, + Name = "字典值查询", + OpenType = 0, + Permission = "sysDictData:page", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918725L, + Application = "system", + Code = "sys_dict_mgr_dict_list", + IsDeleted = false, + Name = "字典值列表", + OpenType = 0, + Permission = "sysDictData:list", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918726L, + Application = "system", + Code = "sys_dict_mgr_dict_add", + IsDeleted = false, + Name = "字典值增加", + OpenType = 0, + Permission = "sysDictData:add", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918727L, + Application = "system", + Code = "sys_dict_mgr_dict_delete", + IsDeleted = false, + Name = "字典值删除", + OpenType = 0, + Permission = "sysDictData:delete", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918728L, + Application = "system", + Code = "sys_dict_mgr_dict_edit", + IsDeleted = false, + Name = "字典值编辑", + OpenType = 0, + Permission = "sysDictData:edit", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918729L, + Application = "system", + Code = "sys_role_mgr_grant_data", + IsDeleted = false, + Name = "字典值详情", + OpenType = 0, + Permission = "sysDictData:detail", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918730L, + Application = "system", + Code = "sys_dict_mgr_dict_change_status", + IsDeleted = false, + Name = "字典值修改状态", + OpenType = 0, + Permission = "sysDictData:changeStatus", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918731L, + Application = "system", + Code = "sys_swagger_mgr", + Component = "Iframe", + IsDeleted = false, + Link = "http://127.0.0.1:5566/", + Name = "接口文档", + OpenType = 2, + Pid = 142307070914662L, + Pids = "[0],[142307070914662],", + Router = "/swagger", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918732L, + Application = "system", + Code = "sys_log_mgr", + Component = "PageView", + Icon = "read", + IsDeleted = false, + Name = "日志管理", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/log", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918733L, + Application = "system", + Code = "sys_log_mgr_vis_log", + Component = "system/log/vislog/index", + IsDeleted = false, + Name = "访问日志", + OpenType = 1, + Pid = 142307070918732L, + Pids = "[0],[142307070918732],", + Router = "/vislog", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918734L, + Application = "system", + Code = "sys_log_mgr_vis_log_page", + IsDeleted = false, + Name = "访问日志查询", + OpenType = 0, + Permission = "sysVisLog:page", + Pid = 142307070918733L, + Pids = "[0],[142307070918732],[142307070918733],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918735L, + Application = "system", + Code = "sys_log_mgr_vis_log_delete", + IsDeleted = false, + Name = "访问日志清空", + OpenType = 0, + Permission = "sysVisLog:delete", + Pid = 142307070918733L, + Pids = "[0],[142307070918732],[142307070918733],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918736L, + Application = "system", + Code = "sys_log_mgr_op_log", + Component = "system/log/oplog/index", + IsDeleted = false, + Name = "操作日志", + OpenType = 1, + Pid = 142307070918732L, + Pids = "[0],[142307070918732],", + Router = "/oplog", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918737L, + Application = "system", + Code = "sys_log_mgr_op_log_page", + IsDeleted = false, + Name = "操作日志查询", + OpenType = 0, + Permission = "sysOpLog:page", + Pid = 142307070918736L, + Pids = "[0],[142307070918732],[142307070918736],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918738L, + Application = "system", + Code = "sys_log_mgr_op_log_delete", + IsDeleted = false, + Name = "操作日志清空", + OpenType = 0, + Permission = "sysOpLog:delete", + Pid = 142307070918736L, + Pids = "[0],[142307070918732],[142307070918736],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918739L, + Application = "system", + Code = "sys_monitor_mgr", + Component = "PageView", + Icon = "deployment-unit", + IsDeleted = false, + Name = "系统监控", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/monitor", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918740L, + Application = "system", + Code = "sys_monitor_mgr_machine_monitor", + Component = "system/machine/index", + IsDeleted = false, + Name = "服务监控", + OpenType = 1, + Pid = 142307070918739L, + Pids = "[0],[142307070918739],", + Router = "/machine", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918741L, + Application = "system", + Code = "sys_monitor_mgr_machine_monitor_query", + IsDeleted = false, + Name = "服务监控查询", + OpenType = 0, + Permission = "sysMachine:query", + Pid = 142307070918740L, + Pids = "[0],[142307070918739],[142307070918740],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918742L, + Application = "system", + Code = "sys_monitor_mgr_online_user", + Component = "system/onlineUser/index", + IsDeleted = false, + Name = "在线用户", + OpenType = 1, + Pid = 142307070918739L, + Pids = "[0],[142307070918739],", + Router = "/onlineUser", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918743L, + Application = "system", + Code = "sys_monitor_mgr_online_user_list", + IsDeleted = false, + Name = "在线用户列表", + OpenType = 0, + Permission = "sysOnlineUser:list", + Pid = 142307070918742L, + Pids = "[0],[142307070918739],[142307070918742],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918744L, + Application = "system", + Code = "sys_monitor_mgr_online_user_force_exist", + IsDeleted = false, + Name = "在线用户强退", + OpenType = 0, + Permission = "sysOnlineUser:forceExist", + Pid = 142307070918742L, + Pids = "[0],[142307070918739],[142307070918742],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918745L, + Application = "system", + Code = "sys_monitor_mgr_druid", + Component = "Iframe", + IsDeleted = false, + Link = "http://localhost:82/druid/login.html", + Name = "数据监控", + OpenType = 2, + Pid = 142307070918739L, + Pids = "[0],[142307070918739],", + Router = "/druid", + Sort = 100, + Status = 0, + Type = 1, + Visible = "N", + Weight = 1 + }, + new + { + Id = 142307070918746L, + Application = "system", + Code = "sys_notice", + Component = "PageView", + Icon = "sound", + IsDeleted = false, + Name = "通知公告", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/notice", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918747L, + Application = "system", + Code = "sys_notice_mgr", + Component = "system/notice/index", + IsDeleted = false, + Name = "公告管理", + OpenType = 1, + Pid = 142307070918746L, + Pids = "[0],[142307070918746],", + Router = "/notice", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918748L, + Application = "system", + Code = "sys_notice_mgr_page", + IsDeleted = false, + Name = "公告查询", + OpenType = 0, + Permission = "sysNotice:page", + Pid = 142307070918747L, + Pids = "[0],[142307070918746],[142307070918747],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918749L, + Application = "system", + Code = "sys_notice_mgr_add", + IsDeleted = false, + Name = "公告增加", + OpenType = 0, + Permission = "sysNotice:add", + Pid = 142307070918747L, + Pids = "[0],[142307070918746],[142307070918747],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918750L, + Application = "system", + Code = "sys_notice_mgr_edit", + IsDeleted = false, + Name = "公告编辑", + OpenType = 0, + Permission = "sysNotice:edit", + Pid = 142307070918747L, + Pids = "[0],[142307070918746],[142307070918747],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918751L, + Application = "system", + Code = "sys_notice_mgr_delete", + IsDeleted = false, + Name = "公告删除", + OpenType = 0, + Permission = "sysNotice:delete", + Pid = 142307070918747L, + Pids = "[0],[142307070918746],[142307070918747],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918752L, + Application = "system", + Code = "sys_notice_mgr_detail", + IsDeleted = false, + Name = "公告查看", + OpenType = 0, + Permission = "sysNotice:detail", + Pid = 142307070918747L, + Pids = "[0],[142307070918746],[142307070918747],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918753L, + Application = "system", + Code = "sys_notice_mgr_changeStatus", + IsDeleted = false, + Name = "公告修改状态", + OpenType = 0, + Permission = "sysNotice:changeStatus", + Pid = 142307070918747L, + Pids = "[0],[142307070918746],[142307070918747],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918754L, + Application = "system", + Code = "sys_notice_mgr_received", + Component = "system/noticeReceived/index", + IsDeleted = false, + Name = "已收公告", + OpenType = 1, + Pid = 142307070918746L, + Pids = "[0],[142307070918746],", + Router = "/noticeReceived", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918755L, + Application = "system", + Code = "sys_notice_mgr_received_page", + IsDeleted = false, + Name = "已收公告查询", + OpenType = 0, + Permission = "sysNotice:received", + Pid = 142307070918754L, + Pids = "[0],[142307070918746],[142307070918754],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918756L, + Application = "system", + Code = "sys_file_mgr", + Component = "PageView", + Icon = "file", + IsDeleted = false, + Name = "文件管理", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/file", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918757L, + Application = "system", + Code = "sys_file_mgr_sys_file", + Component = "system/file/index", + IsDeleted = false, + Name = "系统文件", + OpenType = 1, + Pid = 142307070918756L, + Pids = "[0],[142307070918756],", + Router = "/file", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918758L, + Application = "system", + Code = "sys_file_mgr_sys_file_page", + IsDeleted = false, + Name = "文件查询", + OpenType = 0, + Permission = "sysFileInfo:page", + Pid = 142307070918757L, + Pids = "[0],[142307070918756],[142307070918757],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918759L, + Application = "system", + Code = "sys_file_mgr_sys_file_list", + IsDeleted = false, + Name = "文件列表", + OpenType = 0, + Permission = "sysFileInfo:list", + Pid = 142307070918757L, + Pids = "[0],[142307070918756],[142307070918757],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918760L, + Application = "system", + Code = "sys_file_mgr_sys_file_delete", + IsDeleted = false, + Name = "文件删除", + OpenType = 0, + Permission = "sysFileInfo:delete", + Pid = 142307070918757L, + Pids = "[0],[142307070918756],[142307070918757],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918761L, + Application = "system", + Code = "sys_file_mgr_sys_file_detail", + IsDeleted = false, + Name = "文件详情", + OpenType = 0, + Permission = "sysFileInfo:detail", + Pid = 142307070918757L, + Pids = "[0],[142307070918756],[142307070918757],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918762L, + Application = "system", + Code = "sys_file_mgr_sys_file_upload", + IsDeleted = false, + Name = "文件上传", + OpenType = 0, + Permission = "sysFileInfo:upload", + Pid = 142307070918757L, + Pids = "[0],[142307070918756],[142307070918757],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918763L, + Application = "system", + Code = "sys_file_mgr_sys_file_download", + IsDeleted = false, + Name = "文件下载", + OpenType = 0, + Permission = "sysFileInfo:download", + Pid = 142307070918757L, + Pids = "[0],[142307070918756],[142307070918757],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918764L, + Application = "system", + Code = "sys_file_mgr_sys_file_preview", + IsDeleted = false, + Name = "图片预览", + OpenType = 0, + Permission = "sysFileInfo:preview", + Pid = 142307070918757L, + Pids = "[0],[142307070918756],[142307070918757],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918765L, + Application = "system", + Code = "sys_timers", + Component = "PageView", + Icon = "dashboard", + IsDeleted = false, + Name = "定时任务", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/timers", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918766L, + Application = "system", + Code = "sys_timers_mgr", + Component = "system/timers/index", + IsDeleted = false, + Name = "任务管理", + OpenType = 1, + Pid = 142307070918765L, + Pids = "[0],[142307070918765],", + Router = "/timers", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918767L, + Application = "system", + Code = "sys_timers_mgr_page", + IsDeleted = false, + Name = "定时任务查询", + OpenType = 0, + Permission = "sysTimers:page", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918768L, + Application = "system", + Code = "sys_timers_mgr_list", + IsDeleted = false, + Name = "定时任务列表", + OpenType = 0, + Permission = "sysTimers:list", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918769L, + Application = "system", + Code = "sys_timers_mgr_detail", + IsDeleted = false, + Name = "定时任务详情", + OpenType = 0, + Permission = "sysTimers:detail", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918770L, + Application = "system", + Code = "sys_timers_mgr_add", + IsDeleted = false, + Name = "定时任务增加", + OpenType = 0, + Permission = "sysTimers:add", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918771L, + Application = "system", + Code = "sys_timers_mgr_delete", + IsDeleted = false, + Name = "定时任务删除", + OpenType = 0, + Permission = "sysTimers:delete", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918772L, + Application = "system", + Code = "sys_timers_mgr_edit", + IsDeleted = false, + Name = "定时任务编辑", + OpenType = 0, + Permission = "sysTimers:edit", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918773L, + Application = "system", + Code = "sys_timers_mgr_get_action_classes", + IsDeleted = false, + Name = "定时任务可执行列表", + OpenType = 0, + Permission = "sysTimers:getActionClasses", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918774L, + Application = "system", + Code = "sys_timers_mgr_start", + IsDeleted = false, + Name = "定时任务启动", + OpenType = 0, + Permission = "sysTimers:start", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918775L, + Application = "system", + Code = "sys_timers_mgr_stop", + IsDeleted = false, + Name = "定时任务关闭", + OpenType = 0, + Permission = "sysTimers:stop", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918776L, + Application = "system_tool", + Code = "code_gen", + Component = "gen/codeGenerate/index", + Icon = "thunderbolt", + IsDeleted = false, + Name = "代码生成", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/codeGenerate/index", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070922870L, + Application = "system_tool", + Code = "form_design", + Component = "system/formDesign/index", + Icon = "robot", + IsDeleted = false, + Name = "表单设计", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/formDesign/index", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918782L, + Application = "advanced", + Code = "sys_tenant", + Component = "PageView", + Icon = "switcher", + IsDeleted = false, + Name = "SaaS租户", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/tenant", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918783L, + Application = "advanced", + Code = "sys_tenant_mgr", + Component = "system/tenant/index", + IsDeleted = false, + Name = "租户管理", + OpenType = 1, + Pid = 142307070918782L, + Pids = "[0],[142307070918782],", + Router = "/tenant", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070922821L, + Application = "advanced", + Code = "sys_tenant_mgr_page", + IsDeleted = false, + Name = "租户查询", + OpenType = 0, + Permission = "sysTenant:page", + Pid = 142307070918783L, + Pids = "[0],[142307070918782],[142307070918783],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070922822L, + Application = "advanced", + Code = "sys_tenant_mgr_detail", + IsDeleted = false, + Name = "租户详情", + OpenType = 0, + Permission = "sysTenant:detail", + Pid = 142307070918783L, + Pids = "[0],[142307070918782],[142307070918783],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070922823L, + Application = "advanced", + Code = "sys_tenant_mgr_add", + IsDeleted = false, + Name = "租户增加", + OpenType = 0, + Permission = "sysTenant:add", + Pid = 142307070918783L, + Pids = "[0],[142307070918782],[142307070918783],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070922824L, + Application = "advanced", + Code = "sys_tenant_mgr_delete", + IsDeleted = false, + Name = "租户删除", + OpenType = 0, + Permission = "sysTenant:delete", + Pid = 142307070918783L, + Pids = "[0],[142307070918782],[142307070918783],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070922825L, + Application = "advanced", + Code = "sys_tenant_mgr_edit", + IsDeleted = false, + Name = "租户编辑", + OpenType = 0, + Permission = "sysTenant:edit", + Pid = 142307070918783L, + Pids = "[0],[142307070918782],[142307070918783],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysNotice", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("CancelTime") + .HasColumnType("datetime") + .HasComment("撤回时间"); + + b.Property("Content") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("内容"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("PublicOrgId") + .HasColumnType("bigint") + .HasComment("发布机构Id"); + + b.Property("PublicOrgName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("发布机构名称"); + + b.Property("PublicTime") + .HasColumnType("datetime") + .HasComment("发布时间"); + + b.Property("PublicUserId") + .HasColumnType("bigint") + .HasComment("发布人Id"); + + b.Property("PublicUserName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("发布人姓名"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("Title") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("标题"); + + b.Property("Type") + .HasColumnType("int") + .HasComment("类型"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_notice"); + + b + .HasComment("通知公告表"); + }); + + modelBuilder.Entity("Dilon.Core.SysNoticeUser", b => + { + b.Property("NoticeId") + .HasColumnType("bigint") + .HasComment("通知公告Id"); + + b.Property("ReadStatus") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("ReadTime") + .HasColumnType("datetime") + .HasComment("阅读时间"); + + b.Property("UserId") + .HasColumnType("bigint") + .HasComment("用户Id"); + + b.ToTable("sys_notice_user"); + + b + .HasComment("通知公告用户表"); + }); + + modelBuilder.Entity("Dilon.Core.SysOauthUser", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("AccessToken") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Token"); + + b.Property("Avatar") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("头像"); + + b.Property("Blog") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("用户网址"); + + b.Property("Company") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("所在公司"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Email") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("邮箱"); + + b.Property("Gender") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("性别"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Location") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("位置"); + + b.Property("NickName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("昵称"); + + b.Property("Phone") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Source") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("用户来源"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Uuid") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("UUID"); + + b.HasKey("Id"); + + b.ToTable("sys_oauth_user"); + + b + .HasComment("Oauth登录用户表"); + }); + + modelBuilder.Entity("Dilon.Core.SysOrg", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("Contacts") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("联系人"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Pid") + .HasColumnType("bigint") + .HasComment("父Id"); + + b.Property("Pids") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("父Ids"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("Tel") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_org"); + + b + .HasComment("组织机构表"); + + b.HasData( + new + { + Id = 142307070910539L, + Code = "hxjt", + IsDeleted = false, + Name = "华夏集团", + Pid = 0L, + Pids = "[0],", + Remark = "华夏集团", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910540L, + Code = "hxjt_bj", + IsDeleted = false, + Name = "华夏集团北京分公司", + Pid = 142307070910539L, + Pids = "[0],[142307070910539],", + Remark = "华夏集团北京分公司", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910541L, + Code = "hxjt_cd", + IsDeleted = false, + Name = "华夏集团成都分公司", + Pid = 142307070910539L, + Pids = "[0],[142307070910539],", + Remark = "华夏集团成都分公司", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910542L, + Code = "hxjt_bj_yfb", + IsDeleted = false, + Name = "研发部", + Pid = 142307070910540L, + Pids = "[0],[142307070910539],[142307070910540],", + Remark = "华夏集团北京分公司研发部", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910543L, + Code = "hxjt_bj_qhb", + IsDeleted = false, + Name = "企划部", + Pid = 142307070910540L, + Pids = "[0],[142307070910539],[142307070910540],", + Remark = "华夏集团北京分公司企划部", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910544L, + Code = "hxjt_cd_scb", + IsDeleted = false, + Name = "市场部", + Pid = 142307070910541L, + Pids = "[0],[142307070910539],[142307070910541],", + Remark = "华夏集团成都分公司市场部", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910545L, + Code = "hxjt_cd_cwb", + IsDeleted = false, + Name = "财务部", + Pid = 142307070910541L, + Pids = "[0],[142307070910539],[142307070910541],", + Remark = "华夏集团成都分公司财务部", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910546L, + Code = "hxjt_cd_scb_2b", + IsDeleted = false, + Name = "市场部二部", + Pid = 142307070910544L, + Pids = "[0],[142307070910539],[142307070910541],[142307070910544],", + Remark = "华夏集团成都分公司市场部二部", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysPos", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_pos"); + + b + .HasComment("职位表"); + + b.HasData( + new + { + Id = 142307070910547L, + Code = "zjl", + IsDeleted = false, + Name = "总经理", + Remark = "总经理", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910548L, + Code = "fzjl", + IsDeleted = false, + Name = "副总经理", + Remark = "副总经理", + Sort = 101, + Status = 0 + }, + new + { + Id = 142307070910549L, + Code = "bmjl", + IsDeleted = false, + Name = "部门经理", + Remark = "部门经理", + Sort = 102, + Status = 0 + }, + new + { + Id = 142307070910550L, + Code = "gzry", + IsDeleted = false, + Name = "工作人员", + Remark = "工作人员", + Sort = 103, + Status = 0 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysRole", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("DataScopeType") + .HasColumnType("int") + .HasComment("数据范围类型"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_role"); + + b + .HasComment("角色表"); + + b.HasData( + new + { + Id = 142307070910554L, + Code = "sys_manager_role", + DataScopeType = 1, + IsDeleted = false, + Name = "系统管理员", + Remark = "系统管理员", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910555L, + Code = "common_role", + DataScopeType = 5, + IsDeleted = false, + Name = "普通用户", + Remark = "普通用户", + Sort = 101, + Status = 0 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysRoleDataScope", b => + { + b.Property("SysRoleId") + .HasColumnType("bigint") + .HasComment("角色Id"); + + b.Property("SysOrgId") + .HasColumnType("bigint") + .HasComment("机构Id"); + + b.HasKey("SysRoleId", "SysOrgId"); + + b.HasIndex("SysOrgId"); + + b.ToTable("sys_role_data_scope"); + + b + .HasComment("角色数据范围表"); + }); + + modelBuilder.Entity("Dilon.Core.SysRoleMenu", b => + { + b.Property("SysRoleId") + .HasColumnType("bigint") + .HasComment("角色Id"); + + b.Property("SysMenuId") + .HasColumnType("bigint") + .HasComment("菜单Id"); + + b.HasKey("SysRoleId", "SysMenuId"); + + b.HasIndex("SysMenuId"); + + b.ToTable("sys_role_menu"); + + b + .HasComment("角色菜单表"); + }); + + modelBuilder.Entity("Dilon.Core.SysTenant", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Connection") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库连接"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Email") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电子邮箱"); + + b.Property("Host") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("主机"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Phone") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Schema") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("架构"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_tenant"); + + b + .HasComment("租户表"); + }); + + modelBuilder.Entity("Dilon.Core.SysTimer", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("BeginTime") + .HasColumnType("datetime") + .HasComment("开始时间"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Cron") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Cron表达式"); + + b.Property("EndTime") + .HasColumnType("datetime") + .HasComment("结束时间"); + + b.Property("Headers") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Headers"); + + b.Property("Interval") + .HasColumnType("int") + .HasComment("执行间隔时间"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("JobGroup") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("任务分组"); + + b.Property("JobName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("任务名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("RequestParameters") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求参数"); + + b.Property("RequestType") + .HasColumnType("int") + .HasComment("请求类型"); + + b.Property("RequestUrl") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求url"); + + b.Property("RunNumber") + .HasColumnType("int") + .HasComment("执行次数"); + + b.Property("TriggerType") + .HasColumnType("int") + .HasComment("触发器类型"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_timer"); + + b + .HasComment("定时任务表"); + + b.HasData( + new + { + Id = 142307070910556L, + BeginTime = new DateTimeOffset(new DateTime(2021, 3, 21, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), + Interval = 30, + IsDeleted = false, + JobGroup = "默认分组", + JobName = "百度api", + RequestType = 2, + RequestUrl = "https://www.baidu.com", + TriggerType = 1 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysUser", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Account") + .IsRequired() + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("账号"); + + b.Property("AdminType") + .HasColumnType("int") + .HasComment("管理员类型-超级管理员_1、非管理员_2"); + + b.Property("Avatar") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("头像"); + + b.Property("Birthday") + .HasColumnType("datetime") + .HasComment("生日"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Email") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("邮箱"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("LastLoginIp") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("最后登录IP"); + + b.Property("LastLoginTime") + .HasColumnType("datetime") + .HasComment("最后登录时间"); + + b.Property("Name") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("姓名"); + + b.Property("NickName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("昵称"); + + b.Property("Password") + .IsRequired() + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("密码"); + + b.Property("Phone") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("手机"); + + b.Property("Sex") + .HasColumnType("int") + .HasComment("性别-男_1、女_2"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态-正常_0、停用_1、删除_2"); + + b.Property("Tel") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_user"); + + b + .HasComment("用户表"); + + b.HasData( + new + { + Id = 142307070910551L, + Account = "superAdmin", + AdminType = 1, + Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), + IsDeleted = false, + LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Name = "superAdmin", + Password = "e10adc3949ba59abbe56e057f20f883e", + Phone = "18020030720", + Sex = 1, + Status = 0 + }, + new + { + Id = 142307070910552L, + Account = "admin", + AdminType = 1, + Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), + IsDeleted = false, + LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Name = "admin", + Password = "e10adc3949ba59abbe56e057f20f883e", + Phone = "18020030720", + Sex = 2, + Status = 0 + }, + new + { + Id = 142307070910553L, + Account = "zuohuaijun", + AdminType = 2, + Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), + IsDeleted = false, + LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Name = "zuohuaijun", + Password = "e10adc3949ba59abbe56e057f20f883e", + Phone = "18020030720", + Sex = 1, + Status = 0 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysUserDataScope", b => + { + b.Property("SysUserId") + .HasColumnType("bigint") + .HasComment("用户Id"); + + b.Property("SysOrgId") + .HasColumnType("bigint") + .HasComment("机构Id"); + + b.HasKey("SysUserId", "SysOrgId"); + + b.HasIndex("SysOrgId"); + + b.ToTable("sys_user_data_scope"); + + b + .HasComment("用户数据范围表"); + }); + + modelBuilder.Entity("Dilon.Core.SysUserRole", b => + { + b.Property("SysUserId") + .HasColumnType("bigint") + .HasComment("用户Id"); + + b.Property("SysRoleId") + .HasColumnType("bigint") + .HasComment("角色Id"); + + b.HasKey("SysUserId", "SysRoleId"); + + b.HasIndex("SysRoleId"); + + b.ToTable("sys_user_role"); + + b + .HasComment("用户角色表"); + }); + + modelBuilder.Entity("Dilon.Core.SysDictData", b => + { + b.HasOne("Dilon.Core.SysDictType", "SysDictType") + .WithMany("SysDictDatas") + .HasForeignKey("TypeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysDictType"); + }); + + modelBuilder.Entity("Dilon.Core.SysEmpExtOrgPos", b => + { + b.HasOne("Dilon.Core.SysEmp", "SysEmp") + .WithMany() + .HasForeignKey("SysEmpId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Dilon.Core.SysOrg", "SysOrg") + .WithMany() + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Dilon.Core.SysPos", "SysPos") + .WithMany() + .HasForeignKey("SysPosId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysEmp"); + + b.Navigation("SysOrg"); + + b.Navigation("SysPos"); + }); + + modelBuilder.Entity("Dilon.Core.SysEmpPos", b => + { + b.HasOne("Dilon.Core.SysEmp", "SysEmp") + .WithMany("SysEmpPos") + .HasForeignKey("SysEmpId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Dilon.Core.SysPos", "SysPos") + .WithMany("SysEmpPos") + .HasForeignKey("SysPosId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysEmp"); + + b.Navigation("SysPos"); + }); + + modelBuilder.Entity("Dilon.Core.SysRoleDataScope", b => + { + b.HasOne("Dilon.Core.SysOrg", "SysOrg") + .WithMany("SysRoleDataScopes") + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Dilon.Core.SysRole", "SysRole") + .WithMany("SysRoleDataScopes") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysOrg"); + + b.Navigation("SysRole"); + }); + + modelBuilder.Entity("Dilon.Core.SysRoleMenu", b => + { + b.HasOne("Dilon.Core.SysMenu", "SysMenu") + .WithMany("SysRoleMenus") + .HasForeignKey("SysMenuId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Dilon.Core.SysRole", "SysRole") + .WithMany("SysRoleMenus") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysMenu"); + + b.Navigation("SysRole"); + }); + + modelBuilder.Entity("Dilon.Core.SysUserDataScope", b => + { + b.HasOne("Dilon.Core.SysOrg", "SysOrg") + .WithMany("SysUserDataScopes") + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Dilon.Core.SysUser", "SysUser") + .WithMany("SysUserDataScopes") + .HasForeignKey("SysUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysOrg"); + + b.Navigation("SysUser"); + }); + + modelBuilder.Entity("Dilon.Core.SysUserRole", b => + { + b.HasOne("Dilon.Core.SysRole", "SysRole") + .WithMany("SysUserRoles") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Dilon.Core.SysUser", "SysUser") + .WithMany("SysUserRoles") + .HasForeignKey("SysUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysRole"); + + b.Navigation("SysUser"); + }); + + modelBuilder.Entity("Dilon.Core.SysDictType", b => + { + b.Navigation("SysDictDatas"); + }); + + modelBuilder.Entity("Dilon.Core.SysEmp", b => + { + b.Navigation("SysEmpPos"); + }); + + modelBuilder.Entity("Dilon.Core.SysMenu", b => + { + b.Navigation("SysRoleMenus"); + }); + + modelBuilder.Entity("Dilon.Core.SysOrg", b => + { + b.Navigation("SysRoleDataScopes"); + + b.Navigation("SysUserDataScopes"); + }); + + modelBuilder.Entity("Dilon.Core.SysPos", b => + { + b.Navigation("SysEmpPos"); + }); + + modelBuilder.Entity("Dilon.Core.SysRole", b => + { + b.Navigation("SysRoleDataScopes"); + + b.Navigation("SysRoleMenus"); + + b.Navigation("SysUserRoles"); + }); + + modelBuilder.Entity("Dilon.Core.SysUser", b => + { + b.Navigation("SysUserDataScopes"); + + b.Navigation("SysUserRoles"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/Api/Dilon.Database.Migrations/Migrations/20210423073632_Init.cs b/Api/Ewide.Database.Migrations/Migrations/20210423073632_Init.cs similarity index 99% rename from Api/Dilon.Database.Migrations/Migrations/20210423073632_Init.cs rename to Api/Ewide.Database.Migrations/Migrations/20210423073632_Init.cs index 871672f..7940f38 100644 --- a/Api/Dilon.Database.Migrations/Migrations/20210423073632_Init.cs +++ b/Api/Ewide.Database.Migrations/Migrations/20210423073632_Init.cs @@ -1,1320 +1,1320 @@ -using System; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; - -namespace Dilon.Database.Migrations.Migrations -{ - public partial class Init : Migration - { - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.CreateTable( - name: "code_gen_test", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), - NickName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "昵称"), - Birthday = table.Column(type: "datetime", nullable: false, comment: "生日"), - Age = table.Column(type: "int", nullable: false, comment: "年龄"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_code_gen_test", x => x.Id); - }, - comment: "代码生成业务"); - - migrationBuilder.CreateTable( - name: "sys_app", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), - Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), - Icon = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "图标"), - Color = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "图标颜色"), - Active = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否默认激活"), - Status = table.Column(type: "int", nullable: false, comment: "状态"), - Sort = table.Column(type: "int", nullable: false, comment: "排序"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_app", x => x.Id); - }, - comment: "系统应用表"); - - migrationBuilder.CreateTable( - name: "sys_code_gen", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - AuthorName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "作者姓名"), - TablePrefix = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否移除表前缀"), - GenerateType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "生成方式"), - TableName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "数据库表名"), - NameSpace = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "命名空间"), - BusName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "业务名"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_code_gen", x => x.Id); - }, - comment: "代码生成表"); - - migrationBuilder.CreateTable( - name: "sys_code_gen_config", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - CodeGenId = table.Column(type: "bigint", nullable: false, comment: "代码生成主表ID"), - ColumnName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "数据库字段名"), - ColumnComment = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "字段描述"), - NetType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: ".NET数据类型"), - EffectType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "作用类型"), - DictTypeCode = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "字典Code"), - WhetherRetract = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "列表是否缩进"), - WhetherRequired = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否必填"), - QueryWhether = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否是查询条件"), - QueryType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "查询方式"), - WhetherTable = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "列表显示"), - WhetherAddUpdate = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "增改"), - ColumnKey = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "主外键"), - DataType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "数据库中类型"), - WhetherCommon = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否通用字段"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_code_gen_config", x => x.Id); - }, - comment: "代码生成字段配置表"); - - migrationBuilder.CreateTable( - name: "sys_config", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), - Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), - Value = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "属性值"), - SysFlag = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否是系统参数"), - Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), - Status = table.Column(type: "int", nullable: false, comment: "状态"), - GroupCode = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "常量所属分类的编码"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_config", x => x.Id); - }, - comment: "参数配置表"); - - migrationBuilder.CreateTable( - name: "sys_dict_type", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), - Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), - Sort = table.Column(type: "int", nullable: false, comment: "排序"), - Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), - Status = table.Column(type: "int", nullable: false, comment: "状态"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_dict_type", x => x.Id); - }, - comment: "字典类型表"); - - migrationBuilder.CreateTable( - name: "sys_emp", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "用户Id"), - JobNum = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "工号"), - OrgId = table.Column(type: "bigint", nullable: false, comment: "机构Id"), - OrgName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "机构名称") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_emp", x => x.Id); - }, - comment: "员工表"); - - migrationBuilder.CreateTable( - name: "sys_file", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - FileLocation = table.Column(type: "int", nullable: false, comment: "文件存储位置"), - FileBucket = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "文件仓库"), - FileOriginName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "文件名称"), - FileSuffix = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "文件后缀"), - FileSizeKb = table.Column(type: "bigint", nullable: false, comment: "文件大小kb"), - FileSizeInfo = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "文件大小信息"), - FileObjectName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "存储到bucket的名称"), - FilePath = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "存储路径"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_file", x => x.Id); - }, - comment: "文件信息表"); - - migrationBuilder.CreateTable( - name: "sys_log_audit", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn), - TableName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "表名"), - ColumnName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "列名"), - NewValue = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "新值"), - OldValue = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "旧值"), - CreatedTime = table.Column(type: "datetime", nullable: false, comment: "操作时间"), - UserId = table.Column(type: "bigint", nullable: false, comment: "操作人Id"), - UserName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作人名称"), - Operate = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作方式") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_log_audit", x => x.Id); - }, - comment: "审计日志表"); - - migrationBuilder.CreateTable( - name: "sys_log_op", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn), - Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), - OpType = table.Column(type: "int", nullable: true, comment: "操作类型"), - Success = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否执行成功"), - Message = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "具体消息"), - Ip = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "IP"), - Location = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "地址"), - Browser = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "浏览器"), - Os = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作系统"), - Url = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求地址"), - ClassName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "类名称"), - MethodName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "方法名称"), - ReqMethod = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求方式"), - Param = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求参数"), - Result = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "返回结果"), - ElapsedTime = table.Column(type: "bigint", nullable: false, comment: "耗时"), - OpTime = table.Column(type: "datetime", nullable: false, comment: "操作时间"), - Account = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作人") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_log_op", x => x.Id); - }, - comment: "操作日志表"); - - migrationBuilder.CreateTable( - name: "sys_log_vis", - columns: table => new - { - Id = table.Column(type: "int", nullable: false) - .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn), - Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), - Success = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否执行成功"), - Message = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "具体消息"), - Ip = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "IP"), - Location = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "地址"), - Browser = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "浏览器"), - Os = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作系统"), - VisType = table.Column(type: "int", nullable: true, comment: "访问类型"), - VisTime = table.Column(type: "datetime", nullable: false, comment: "访问时间"), - Account = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "访问人") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_log_vis", x => x.Id); - }, - comment: "访问日志表"); - - migrationBuilder.CreateTable( - name: "sys_menu", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - Pid = table.Column(type: "bigint", nullable: false, comment: "父Id"), - Pids = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "父Ids"), - Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), - Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), - Type = table.Column(type: "int", nullable: false, comment: "菜单类型"), - Icon = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "图标"), - Router = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "路由地址"), - Component = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "组件地址"), - Permission = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "权限标识"), - Application = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "应用分类"), - OpenType = table.Column(type: "int", nullable: false, comment: "打开方式"), - Visible = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否可见"), - Link = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "内链地址"), - Redirect = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "重定向地址"), - Weight = table.Column(type: "int", nullable: false, comment: "权重"), - Sort = table.Column(type: "int", nullable: false, comment: "排序"), - Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), - Status = table.Column(type: "int", nullable: false), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_menu", x => x.Id); - }, - comment: "菜单表"); - - migrationBuilder.CreateTable( - name: "sys_notice", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - Title = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "标题"), - Content = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "内容"), - Type = table.Column(type: "int", nullable: false, comment: "类型"), - PublicUserId = table.Column(type: "bigint", nullable: false, comment: "发布人Id"), - PublicUserName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "发布人姓名"), - PublicOrgId = table.Column(type: "bigint", nullable: false, comment: "发布机构Id"), - PublicOrgName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "发布机构名称"), - PublicTime = table.Column(type: "datetime", nullable: false, comment: "发布时间"), - CancelTime = table.Column(type: "datetime", nullable: false, comment: "撤回时间"), - Status = table.Column(type: "int", nullable: false, comment: "状态"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_notice", x => x.Id); - }, - comment: "通知公告表"); - - migrationBuilder.CreateTable( - name: "sys_notice_user", - columns: table => new - { - NoticeId = table.Column(type: "bigint", nullable: false, comment: "通知公告Id"), - UserId = table.Column(type: "bigint", nullable: false, comment: "用户Id"), - ReadTime = table.Column(type: "datetime", nullable: false, comment: "阅读时间"), - ReadStatus = table.Column(type: "int", nullable: false, comment: "状态") - }, - constraints: table => - { - }, - comment: "通知公告用户表"); - - migrationBuilder.CreateTable( - name: "sys_oauth_user", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - Uuid = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "UUID"), - AccessToken = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "Token"), - NickName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "昵称"), - Avatar = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "头像"), - Gender = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "性别"), - Phone = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "电话"), - Email = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "邮箱"), - Location = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "位置"), - Blog = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "用户网址"), - Company = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "所在公司"), - Source = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "用户来源"), - Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_oauth_user", x => x.Id); - }, - comment: "Oauth登录用户表"); - - migrationBuilder.CreateTable( - name: "sys_org", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - Pid = table.Column(type: "bigint", nullable: false, comment: "父Id"), - Pids = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "父Ids"), - Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), - Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), - Contacts = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "联系人"), - Tel = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "电话"), - Sort = table.Column(type: "int", nullable: false, comment: "排序"), - Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), - Status = table.Column(type: "int", nullable: false, comment: "状态"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_org", x => x.Id); - }, - comment: "组织机构表"); - - migrationBuilder.CreateTable( - name: "sys_pos", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), - Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), - Sort = table.Column(type: "int", nullable: false, comment: "排序"), - Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), - Status = table.Column(type: "int", nullable: false, comment: "状态"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_pos", x => x.Id); - }, - comment: "职位表"); - - migrationBuilder.CreateTable( - name: "sys_role", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), - Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), - Sort = table.Column(type: "int", nullable: false, comment: "排序"), - DataScopeType = table.Column(type: "int", nullable: false, comment: "数据范围类型"), - Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), - Status = table.Column(type: "int", nullable: false, comment: "状态"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_role", x => x.Id); - }, - comment: "角色表"); - - migrationBuilder.CreateTable( - name: "sys_tenant", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), - Host = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "主机"), - Email = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "电子邮箱"), - Phone = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "电话"), - Connection = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "数据库连接"), - Schema = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "架构"), - Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_tenant", x => x.Id); - }, - comment: "租户表"); - - migrationBuilder.CreateTable( - name: "sys_timer", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - JobName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "任务名称"), - JobGroup = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "任务分组"), - BeginTime = table.Column(type: "datetime", nullable: false, comment: "开始时间"), - EndTime = table.Column(type: "datetime", nullable: true, comment: "结束时间"), - Cron = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "Cron表达式"), - RunNumber = table.Column(type: "int", nullable: true, comment: "执行次数"), - Interval = table.Column(type: "int", nullable: true, comment: "执行间隔时间"), - TriggerType = table.Column(type: "int", nullable: false, comment: "触发器类型"), - RequestUrl = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求url"), - RequestParameters = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求参数"), - Headers = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "Headers"), - RequestType = table.Column(type: "int", nullable: false, comment: "请求类型"), - Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_timer", x => x.Id); - }, - comment: "定时任务表"); - - migrationBuilder.CreateTable( - name: "sys_user", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - Account = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: false, comment: "账号"), - Password = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: false, comment: "密码"), - NickName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "昵称"), - Name = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "姓名"), - Avatar = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "头像"), - Birthday = table.Column(type: "datetime", nullable: false, comment: "生日"), - Sex = table.Column(type: "int", nullable: false, comment: "性别-男_1、女_2"), - Email = table.Column(type: "varchar(30) CHARACTER SET utf8mb4", maxLength: 30, nullable: true, comment: "邮箱"), - Phone = table.Column(type: "varchar(30) CHARACTER SET utf8mb4", maxLength: 30, nullable: true, comment: "手机"), - Tel = table.Column(type: "varchar(30) CHARACTER SET utf8mb4", maxLength: 30, nullable: true, comment: "电话"), - LastLoginIp = table.Column(type: "varchar(30) CHARACTER SET utf8mb4", maxLength: 30, nullable: true, comment: "最后登录IP"), - LastLoginTime = table.Column(type: "datetime", nullable: false, comment: "最后登录时间"), - AdminType = table.Column(type: "int", nullable: false, comment: "管理员类型-超级管理员_1、非管理员_2"), - Status = table.Column(type: "int", nullable: false, comment: "状态-正常_0、停用_1、删除_2"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_user", x => x.Id); - }, - comment: "用户表"); - - migrationBuilder.CreateTable( - name: "sys_dict_data", - columns: table => new - { - Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), - TypeId = table.Column(type: "bigint", nullable: false, comment: "字典类型Id"), - Value = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "值"), - Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), - Sort = table.Column(type: "int", nullable: false, comment: "排序"), - Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), - Status = table.Column(type: "int", nullable: false, comment: "状态"), - CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), - UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), - CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), - CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), - UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), - UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), - IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_dict_data", x => x.Id); - table.ForeignKey( - name: "FK_sys_dict_data_sys_dict_type_TypeId", - column: x => x.TypeId, - principalTable: "sys_dict_type", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "字典值表"); - - migrationBuilder.CreateTable( - name: "sys_emp_ext_org_pos", - columns: table => new - { - SysEmpId = table.Column(type: "bigint", nullable: false, comment: "员工Id"), - SysOrgId = table.Column(type: "bigint", nullable: false, comment: "机构Id"), - SysPosId = table.Column(type: "bigint", nullable: false, comment: "职位Id") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_emp_ext_org_pos", x => new { x.SysEmpId, x.SysOrgId, x.SysPosId }); - table.ForeignKey( - name: "FK_sys_emp_ext_org_pos_sys_emp_SysEmpId", - column: x => x.SysEmpId, - principalTable: "sys_emp", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_sys_emp_ext_org_pos_sys_org_SysOrgId", - column: x => x.SysOrgId, - principalTable: "sys_org", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_sys_emp_ext_org_pos_sys_pos_SysPosId", - column: x => x.SysPosId, - principalTable: "sys_pos", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "员工附属机构职位表"); - - migrationBuilder.CreateTable( - name: "sys_emp_pos", - columns: table => new - { - SysEmpId = table.Column(type: "bigint", nullable: false, comment: "员工Id"), - SysPosId = table.Column(type: "bigint", nullable: false, comment: "职位Id") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_emp_pos", x => new { x.SysEmpId, x.SysPosId }); - table.ForeignKey( - name: "FK_sys_emp_pos_sys_emp_SysEmpId", - column: x => x.SysEmpId, - principalTable: "sys_emp", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_sys_emp_pos_sys_pos_SysPosId", - column: x => x.SysPosId, - principalTable: "sys_pos", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "员工职位表"); - - migrationBuilder.CreateTable( - name: "sys_role_data_scope", - columns: table => new - { - SysRoleId = table.Column(type: "bigint", nullable: false, comment: "角色Id"), - SysOrgId = table.Column(type: "bigint", nullable: false, comment: "机构Id") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_role_data_scope", x => new { x.SysRoleId, x.SysOrgId }); - table.ForeignKey( - name: "FK_sys_role_data_scope_sys_org_SysOrgId", - column: x => x.SysOrgId, - principalTable: "sys_org", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_sys_role_data_scope_sys_role_SysRoleId", - column: x => x.SysRoleId, - principalTable: "sys_role", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "角色数据范围表"); - - migrationBuilder.CreateTable( - name: "sys_role_menu", - columns: table => new - { - SysRoleId = table.Column(type: "bigint", nullable: false, comment: "角色Id"), - SysMenuId = table.Column(type: "bigint", nullable: false, comment: "菜单Id") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_role_menu", x => new { x.SysRoleId, x.SysMenuId }); - table.ForeignKey( - name: "FK_sys_role_menu_sys_menu_SysMenuId", - column: x => x.SysMenuId, - principalTable: "sys_menu", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_sys_role_menu_sys_role_SysRoleId", - column: x => x.SysRoleId, - principalTable: "sys_role", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "角色菜单表"); - - migrationBuilder.CreateTable( - name: "sys_user_data_scope", - columns: table => new - { - SysUserId = table.Column(type: "bigint", nullable: false, comment: "用户Id"), - SysOrgId = table.Column(type: "bigint", nullable: false, comment: "机构Id") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_user_data_scope", x => new { x.SysUserId, x.SysOrgId }); - table.ForeignKey( - name: "FK_sys_user_data_scope_sys_org_SysOrgId", - column: x => x.SysOrgId, - principalTable: "sys_org", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_sys_user_data_scope_sys_user_SysUserId", - column: x => x.SysUserId, - principalTable: "sys_user", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "用户数据范围表"); - - migrationBuilder.CreateTable( - name: "sys_user_role", - columns: table => new - { - SysUserId = table.Column(type: "bigint", nullable: false, comment: "用户Id"), - SysRoleId = table.Column(type: "bigint", nullable: false, comment: "角色Id") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_user_role", x => new { x.SysUserId, x.SysRoleId }); - table.ForeignKey( - name: "FK_sys_user_role_sys_role_SysRoleId", - column: x => x.SysRoleId, - principalTable: "sys_role", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_sys_user_role_sys_user_SysUserId", - column: x => x.SysUserId, - principalTable: "sys_user", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "用户角色表"); - - migrationBuilder.InsertData( - table: "sys_app", - columns: new[] { "Id", "Active", "Code", "Color", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Name", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, - values: new object[,] - { - { 142307070922869L, "N", "busapp", null, null, null, null, null, false, "业务应用", 100, 0, null, null, null }, - { 142307070898245L, "Y", "system", null, null, null, null, null, false, "系统管理", 100, 0, null, null, null }, - { 142307070902341L, "N", "system_tool", null, null, null, null, null, false, "系统工具", 100, 0, null, null, null }, - { 142307070922826L, "N", "advanced", null, null, null, null, null, false, "高级功能", 100, 0, null, null, null } - }); - - migrationBuilder.InsertData( - table: "sys_config", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "GroupCode", "IsDeleted", "Name", "Remark", "Status", "SysFlag", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Value" }, - values: new object[,] - { - { 142307070902360L, "DILON_EMAIL_FROM", null, null, null, "EMAIL", false, "邮箱发件人", "邮箱发件人", 0, "Y", null, null, null, "test@126.com" }, - { 142307070902362L, "DILON_FILE_UPLOAD_PATH_FOR_LINUX", null, null, null, "FILE_PATH", false, "Linux/Mac本地上传文件路径", "Linux/Mac本地上传文件路径", 0, "Y", null, null, null, "/tmp" }, - { 142307070902363L, "DILON_UN_XSS_FILTER_URL", null, null, null, "DEFAULT", false, "放开XSS过滤的接口", "多个url可以用英文逗号隔开", 0, "Y", null, null, null, "/demo/xssfilter,/demo/unxss" }, - { 142307070902364L, "DILON_ENABLE_SINGLE_LOGIN", null, null, null, "DEFAULT", false, "单用户登陆的开关", "true-打开,false-关闭,如果一个人登录两次,就会将上一次登陆挤下去", 0, "Y", null, null, null, "false" }, - { 142307070902365L, "DILON_CAPTCHA_OPEN", null, null, null, "DEFAULT", false, "登录验证码的开关", "true-打开,false-关闭", 0, "Y", null, null, null, "true" }, - { 142307070902366L, "DILON_DRUID_USERNAME", null, null, null, "DEFAULT", false, "Druid监控登录账号", "Druid监控登录账号", 0, "Y", null, null, null, "superAdmin" }, - { 142307070902367L, "DILON_DRUID_PASSWORD", null, null, null, "DEFAULT", false, "Druid监控界面登录密码", "Druid监控界面登录密码", 0, "Y", null, null, null, "123456" }, - { 142307070902369L, "DILON_IP_GEO_APP_CODE", null, null, null, "DEFAULT", false, "阿里云定位appCode", "阿里云定位appCode", 0, "Y", null, null, null, "461535aabeae4f34861884d392f5d452" }, - { 142307070902359L, "DILON_EMAIL_SSL", null, null, null, "EMAIL", false, "邮箱是否开启ssl", "邮箱是否开启ssl", 0, "Y", null, null, null, "true" }, - { 142307070902370L, "DILON_ENABLE_OAUTH_LOGIN", null, null, null, "OAUTH", false, "Oauth用户登录的开关", "Oauth用户登录的开关", 0, "Y", null, null, null, "true" }, - { 142307070902371L, "DILON_OAUTH_GITEE_CLIENT_ID", null, null, null, "OAUTH", false, "Oauth码云登录ClientId", "Oauth码云登录ClientId", 0, "Y", null, null, null, "你的clientId" }, - { 142307070902372L, "DILON_OAUTH_GITEE_CLIENT_SECRET", null, null, null, "OAUTH", false, "Oauth码云登录ClientSecret", "Oauth码云登录ClientSecret", 0, "Y", null, null, null, "你的clientSecret" }, - { 142307070902373L, "DILON_OAUTH_GITEE_REDIRECT_URI", null, null, null, "OAUTH", false, "Oauth码云登录回调地址", "Oauth码云登录回调地址", 0, "Y", null, null, null, "http://127.0.0.1:5566/oauth/callback/gitee" }, - { 142307070902374L, "DILON_DEMO_ENV_FLAG", null, null, null, "DEFAULT", false, "演示环境", "演示环境的开关,true-打开,false-关闭,如果演示环境开启,则只能读数据不能写数据", 0, "Y", null, null, null, "false" }, - { 142307070902368L, "DILON_IP_GEO_API", null, null, null, "DEFAULT", false, "阿里云定位api接口地址", "阿里云定位api接口地址", 0, "Y", null, null, null, "http://api01.aliyun.venuscn.com/ip?ip=%s" }, - { 142307070902358L, "DILON_EMAIL_PORT", null, null, null, "EMAIL", false, "邮箱端口", "邮箱端口", 0, "Y", null, null, null, "465" }, - { 142307070902361L, "DILON_FILE_UPLOAD_PATH_FOR_WINDOWS", null, null, null, "FILE_PATH", false, "Win本地上传文件路径", "Win本地上传文件路径", 0, "Y", null, null, null, "D:/tmp" }, - { 142307070902356L, "DILON_EMAIL_USERNAME", null, null, null, "EMAIL", false, "邮箱用户名", "邮箱用户名", 0, "Y", null, null, null, "test@126.com" }, - { 142307070902342L, "DILON_JWT_SECRET", null, null, null, "DEFAULT", false, "jwt密钥", "(重要)jwt密钥,默认为空,自行设置", 0, "Y", null, null, null, "xiaonuo" }, - { 142307070902343L, "DILON_DEFAULT_PASSWORD", null, null, null, "DEFAULT", false, "默认密码", "默认密码", 0, "Y", null, null, null, "123456" }, - { 142307070902344L, "DILON_TOKEN_EXPIRE", null, null, null, "DEFAULT", false, "token过期时间", "token过期时间(单位:秒)", 0, "Y", null, null, null, "86400" }, - { 142307070902357L, "DILON_EMAIL_PASSWORD", null, null, null, "EMAIL", false, "邮箱密码", "邮箱密码", 0, "Y", null, null, null, "你的邮箱密码" }, - { 142307070902346L, "DILON_ALIYUN_SMS_ACCESSKEY_ID", null, null, null, "ALIYUN_SMS", false, "阿里云短信keyId", "阿里云短信keyId", 0, "Y", null, null, null, "你的keyId" }, - { 142307070902347L, "DILON_ALIYUN_SMS_ACCESSKEY_SECRET", null, null, null, "ALIYUN_SMS", false, "阿里云短信secret", "阿里云短信secret", 0, "Y", null, null, null, "你的secret" }, - { 142307070902348L, "DILON_ALIYUN_SMS_SIGN_NAME", null, null, null, "ALIYUN_SMS", false, "阿里云短信签名", "阿里云短信签名", 0, "Y", null, null, null, "你的签名" }, - { 142307070902345L, "DILON_SESSION_EXPIRE", null, null, null, "DEFAULT", false, "session会话过期时间", "session会话过期时间(单位:秒)", 0, "Y", null, null, null, "7200" }, - { 142307070902350L, "DILON_ALIYUN_SMS_INVALIDATE_MINUTES", null, null, null, "ALIYUN_SMS", false, "阿里云短信默认失效时间", "阿里云短信默认失效时间(单位:分钟)", 0, "Y", null, null, null, "5" }, - { 142307070902351L, "DILON_TENCENT_SMS_SECRET_ID", null, null, null, "TENCENT_SMS", false, "腾讯云短信secretId", "腾讯云短信secretId", 0, "Y", null, null, null, "你的secretId" }, - { 142307070902352L, "DILON_TENCENT_SMS_SECRET_KEY", null, null, null, "TENCENT_SMS", false, "腾讯云短信secretKey", "腾讯云短信secretKey", 0, "Y", null, null, null, "你的secretkey" }, - { 142307070902353L, "DILON_TENCENT_SMS_SDK_APP_ID", null, null, null, "TENCENT_SMS", false, "腾讯云短信sdkAppId", "腾讯云短信sdkAppId", 0, "Y", null, null, null, "1400375123" }, - { 142307070902354L, "DILON_TENCENT_SMS_SIGN", null, null, null, "TENCENT_SMS", false, "腾讯云短信签名", "腾讯云短信签名", 0, "Y", null, null, null, "你的签名" }, - { 142307070902355L, "DILON_EMAIL_HOST", null, null, null, "EMAIL", false, "邮箱host", "邮箱host", 0, "Y", null, null, null, "smtp.126.com" }, - { 142307070902349L, "DILON_ALIYUN_SMS_LOGIN_TEMPLATE_CODE", null, null, null, "ALIYUN_SMS", false, "阿里云短信-登录模板号", "阿里云短信-登录模板号", 0, "Y", null, null, null, "SMS_1877123456" } - }); - - migrationBuilder.InsertData( - table: "sys_dict_type", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Name", "Remark", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, - values: new object[,] - { - { 142307070910534L, "notice_type", null, null, null, false, "通知公告类型", "通知公告类型", 100, 0, null, null, null }, - { 142307070910535L, "notice_status", null, null, null, false, "通知公告状态", "通知公告状态", 100, 0, null, null, null }, - { 142307070910536L, "yes_true_false", null, null, null, false, "是否boolean", "是否boolean", 100, 0, null, null, null }, - { 142307070910537L, "code_gen_create_type", null, null, null, false, "代码生成方式", "代码生成方式", 100, 0, null, null, null }, - { 142307070922828L, "code_gen_query_type", null, null, null, false, "代码生成查询类型", "代码生成查询类型", 100, 0, null, null, null }, - { 142307070922827L, "code_gen_effect_type", null, null, null, false, "代码生成作用类型", "代码生成作用类型", 100, 0, null, null, null }, - { 142307070922829L, "code_gen_net_type", null, null, null, false, "代码生成.NET类型", "代码生成.NET类型", 100, 0, null, null, null }, - { 142307070910533L, "run_status", null, null, null, false, "运行状态", "定时任务运行状态", 100, 0, null, null, null }, - { 142307070910538L, "request_type", null, null, null, false, "请求方式", "请求方式", 100, 0, null, null, null }, - { 142307070906494L, "op_type", null, null, null, false, "操作类型", "操作类型", 100, 0, null, null, null }, - { 142307070906495L, "file_storage_location", null, null, null, false, "文件存储位置", "文件存储位置", 100, 0, null, null, null }, - { 142307070906492L, "data_scope_type", null, null, null, false, "数据范围类型", "数据范围类型", 100, 0, null, null, null }, - { 142307070906493L, "sms_send_source", null, null, null, false, "短信发送来源", "短信发送来源", 100, 0, null, null, null }, - { 142307070906484L, "sex", null, null, null, false, "性别", "性别字典", 100, 0, null, null, null }, - { 142307070906485L, "consts_type", null, null, null, false, "常量的分类", "常量的分类,用于区别一组配置", 100, 0, null, null, null }, - { 142307070906486L, "yes_or_no", null, null, null, false, "是否", "是否", 100, 0, null, null, null }, - { 142307070906487L, "vis_type", null, null, null, false, "访问类型", "访问类型", 100, 0, null, null, null }, - { 142307070906483L, "common_status", null, null, null, false, "通用状态", "通用状态", 100, 0, null, null, null }, - { 142307070906489L, "send_type", null, null, null, false, "发送类型", "发送类型", 100, 0, null, null, null }, - { 142307070906490L, "open_type", null, null, null, false, "打开方式", "打开方式", 100, 0, null, null, null }, - { 142307070906491L, "menu_weight", null, null, null, false, "菜单权重", "菜单权重", 100, 0, null, null, null }, - { 142307070906488L, "menu_type", null, null, null, false, "菜单类型", "菜单类型", 100, 0, null, null, null } - }); - - migrationBuilder.InsertData( - table: "sys_emp", - columns: new[] { "Id", "JobNum", "OrgId", "OrgName" }, - values: new object[,] - { - { 142307070910551L, "D1001", 142307070910539L, "华夏集团" }, - { 142307070910552L, "D1002", 142307070910539L, "华夏集团" }, - { 142307070910553L, "D1003", 142307070910539L, "华夏集团" } - }); - - migrationBuilder.InsertData( - table: "sys_menu", - columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "Weight" }, - values: new object[,] - { - { 142307070918736L, "system", "sys_log_mgr_op_log", "system/log/oplog/index", null, null, null, null, false, null, "操作日志", 1, null, 142307070918732L, "[0],[142307070918732],", null, null, "/oplog", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918732L, "system", "sys_log_mgr", "PageView", null, null, null, "read", false, null, "日志管理", 0, null, 0L, "[0],", null, null, "/log", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070918733L, "system", "sys_log_mgr_vis_log", "system/log/vislog/index", null, null, null, null, false, null, "访问日志", 1, null, 142307070918732L, "[0],[142307070918732],", null, null, "/vislog", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918731L, "system", "sys_swagger_mgr", "Iframe", null, null, null, null, false, "http://127.0.0.1:5566/", "接口文档", 2, null, 142307070914662L, "[0],[142307070914662],", null, null, "/swagger", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918734L, "system", "sys_log_mgr_vis_log_page", null, null, null, null, null, false, null, "访问日志查询", 0, "sysVisLog:page", 142307070918733L, "[0],[142307070918732],[142307070918733],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918735L, "system", "sys_log_mgr_vis_log_delete", null, null, null, null, null, false, null, "访问日志清空", 0, "sysVisLog:delete", 142307070918733L, "[0],[142307070918732],[142307070918733],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918737L, "system", "sys_log_mgr_op_log_page", null, null, null, null, null, false, null, "操作日志查询", 0, "sysOpLog:page", 142307070918736L, "[0],[142307070918732],[142307070918736],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918743L, "system", "sys_monitor_mgr_online_user_list", null, null, null, null, null, false, null, "在线用户列表", 0, "sysOnlineUser:list", 142307070918742L, "[0],[142307070918739],[142307070918742],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918739L, "system", "sys_monitor_mgr", "PageView", null, null, null, "deployment-unit", false, null, "系统监控", 0, null, 0L, "[0],", null, null, "/monitor", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070918740L, "system", "sys_monitor_mgr_machine_monitor", "system/machine/index", null, null, null, null, false, null, "服务监控", 1, null, 142307070918739L, "[0],[142307070918739],", null, null, "/machine", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918741L, "system", "sys_monitor_mgr_machine_monitor_query", null, null, null, null, null, false, null, "服务监控查询", 0, "sysMachine:query", 142307070918740L, "[0],[142307070918739],[142307070918740],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918742L, "system", "sys_monitor_mgr_online_user", "system/onlineUser/index", null, null, null, null, false, null, "在线用户", 1, null, 142307070918739L, "[0],[142307070918739],", null, null, "/onlineUser", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918730L, "system", "sys_dict_mgr_dict_change_status", null, null, null, null, null, false, null, "字典值修改状态", 0, "sysDictData:changeStatus", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918744L, "system", "sys_monitor_mgr_online_user_force_exist", null, null, null, null, null, false, null, "在线用户强退", 0, "sysOnlineUser:forceExist", 142307070918742L, "[0],[142307070918739],[142307070918742],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918745L, "system", "sys_monitor_mgr_druid", "Iframe", null, null, null, null, false, "http://localhost:82/druid/login.html", "数据监控", 2, null, 142307070918739L, "[0],[142307070918739],", null, null, "/druid", 100, 0, 1, null, null, null, "N", 1 }, - { 142307070918738L, "system", "sys_log_mgr_op_log_delete", null, null, null, null, null, false, null, "操作日志清空", 0, "sysOpLog:delete", 142307070918736L, "[0],[142307070918732],[142307070918736],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918729L, "system", "sys_role_mgr_grant_data", null, null, null, null, null, false, null, "字典值详情", 0, "sysDictData:detail", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914685L, "system", "sys_dict_mgr_dict_type_drop_down", null, null, null, null, null, false, null, "字典类型下拉", 0, "sysDictType:dropDown", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918727L, "system", "sys_dict_mgr_dict_delete", null, null, null, null, null, false, null, "字典值删除", 0, "sysDictData:delete", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918746L, "system", "sys_notice", "PageView", null, null, null, "sound", false, null, "通知公告", 0, null, 0L, "[0],", null, null, "/notice", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070914674L, "system", "sys_sms_mgr", "system/sms/index", null, null, null, null, false, null, "短信管理", 1, null, 142307070914662L, "[0],[142307070914662],", null, null, "/sms", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070914675L, "system", "sys_sms_mgr_page", null, null, null, null, null, false, null, "短信发送查询", 0, "sms:page", 142307070914674L, "[0],[142307070914662],[142307070914674],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914676L, "system", "sys_sms_mgr_send_login_message", null, null, null, null, null, false, null, "发送验证码短信", 0, "sms:sendLoginMessage", 142307070914674L, "[0],[142307070914662],[142307070914674],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914677L, "system", "sys_sms_mgr_validate_message", null, null, null, null, null, false, null, "验证短信验证码", 0, "sms:validateMessage", 142307070914674L, "[0],[142307070914662],[142307070914674],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914678L, "system", "sys_dict_mgr", "system/dict/index", null, null, null, null, false, null, "字典管理", 1, null, 142307070914662L, "[0],[142307070914662],", null, null, "/dict", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070914679L, "system", "sys_dict_mgr_dict_type_page", null, null, null, null, null, false, null, "字典类型查询", 0, "sysDictType:page", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918728L, "system", "sys_dict_mgr_dict_edit", null, null, null, null, null, false, null, "字典值编辑", 0, "sysDictData:edit", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914680L, "system", "sys_dict_mgr_dict_type_list", null, null, null, null, null, false, null, "字典类型列表", 0, "sysDictType:list", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914682L, "system", "sys_dict_mgr_dict_type_delete", null, null, null, null, null, false, null, "字典类型删除", 0, "sysDictType:delete", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914683L, "system", "sys_dict_mgr_dict_type_edit", null, null, null, null, null, false, null, "字典类型编辑", 0, "sysDictType:edit", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914684L, "system", "sys_dict_mgr_dict_type_detail", null, null, null, null, null, false, null, "字典类型详情", 0, "sysDictType:detail", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914686L, "system", "sys_dict_mgr_dict_type_change_status", null, null, null, null, null, false, null, "字典类型修改状态", 0, "sysDictType:changeStatus", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914687L, "system", "sys_dict_mgr_dict_page", null, null, null, null, null, false, null, "字典值查询", 0, "sysDictData:page", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918725L, "system", "sys_dict_mgr_dict_list", null, null, null, null, null, false, null, "字典值列表", 0, "sysDictData:list", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918726L, "system", "sys_dict_mgr_dict_add", null, null, null, null, null, false, null, "字典值增加", 0, "sysDictData:add", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914681L, "system", "sys_dict_mgr_dict_type_add", null, null, null, null, null, false, null, "字典类型增加", 0, "sysDictType:add", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918747L, "system", "sys_notice_mgr", "system/notice/index", null, null, null, null, false, null, "公告管理", 1, null, 142307070918746L, "[0],[142307070918746],", null, null, "/notice", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918782L, "advanced", "sys_tenant", "PageView", null, null, null, "switcher", false, null, "SaaS租户", 0, null, 0L, "[0],", null, null, "/tenant", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918749L, "system", "sys_notice_mgr_add", null, null, null, null, null, false, null, "公告增加", 0, "sysNotice:add", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918770L, "system", "sys_timers_mgr_add", null, null, null, null, null, false, null, "定时任务增加", 0, "sysTimers:add", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918771L, "system", "sys_timers_mgr_delete", null, null, null, null, null, false, null, "定时任务删除", 0, "sysTimers:delete", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918772L, "system", "sys_timers_mgr_edit", null, null, null, null, null, false, null, "定时任务编辑", 0, "sysTimers:edit", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918773L, "system", "sys_timers_mgr_get_action_classes", null, null, null, null, null, false, null, "定时任务可执行列表", 0, "sysTimers:getActionClasses", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918774L, "system", "sys_timers_mgr_start", null, null, null, null, null, false, null, "定时任务启动", 0, "sysTimers:start", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918775L, "system", "sys_timers_mgr_stop", null, null, null, null, null, false, null, "定时任务关闭", 0, "sysTimers:stop", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918776L, "system_tool", "code_gen", "gen/codeGenerate/index", null, null, null, "thunderbolt", false, null, "代码生成", 0, null, 0L, "[0],", null, null, "/codeGenerate/index", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070922870L, "system_tool", "form_design", "system/formDesign/index", null, null, null, "robot", false, null, "表单设计", 0, null, 0L, "[0],", null, null, "/formDesign/index", 100, 0, 1, null, null, null, "Y", 1 } - }); - - migrationBuilder.InsertData( - table: "sys_menu", - columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "Weight" }, - values: new object[,] - { - { 142307070914673L, "system", "sys_email_mgr_send_email_html", null, null, null, null, null, false, null, "发送html邮件", 0, "email:sendEmailHtml", 142307070914671L, "[0],[142307070914662],[142307070914671],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918783L, "advanced", "sys_tenant_mgr", "system/tenant/index", null, null, null, null, false, null, "租户管理", 1, null, 142307070918782L, "[0],[142307070918782],", null, null, "/tenant", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070922821L, "advanced", "sys_tenant_mgr_page", null, null, null, null, null, false, null, "租户查询", 0, "sysTenant:page", 142307070918783L, "[0],[142307070918782],[142307070918783],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070922822L, "advanced", "sys_tenant_mgr_detail", null, null, null, null, null, false, null, "租户详情", 0, "sysTenant:detail", 142307070918783L, "[0],[142307070918782],[142307070918783],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070922823L, "advanced", "sys_tenant_mgr_add", null, null, null, null, null, false, null, "租户增加", 0, "sysTenant:add", 142307070918783L, "[0],[142307070918782],[142307070918783],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070922824L, "advanced", "sys_tenant_mgr_delete", null, null, null, null, null, false, null, "租户删除", 0, "sysTenant:delete", 142307070918783L, "[0],[142307070918782],[142307070918783],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070922825L, "advanced", "sys_tenant_mgr_edit", null, null, null, null, null, false, null, "租户编辑", 0, "sysTenant:edit", 142307070918783L, "[0],[142307070918782],[142307070918783],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918769L, "system", "sys_timers_mgr_detail", null, null, null, null, null, false, null, "定时任务详情", 0, "sysTimers:detail", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918768L, "system", "sys_timers_mgr_list", null, null, null, null, null, false, null, "定时任务列表", 0, "sysTimers:list", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918767L, "system", "sys_timers_mgr_page", null, null, null, null, null, false, null, "定时任务查询", 0, "sysTimers:page", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918766L, "system", "sys_timers_mgr", "system/timers/index", null, null, null, null, false, null, "任务管理", 1, null, 142307070918765L, "[0],[142307070918765],", null, null, "/timers", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918750L, "system", "sys_notice_mgr_edit", null, null, null, null, null, false, null, "公告编辑", 0, "sysNotice:edit", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918751L, "system", "sys_notice_mgr_delete", null, null, null, null, null, false, null, "公告删除", 0, "sysNotice:delete", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918752L, "system", "sys_notice_mgr_detail", null, null, null, null, null, false, null, "公告查看", 0, "sysNotice:detail", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918753L, "system", "sys_notice_mgr_changeStatus", null, null, null, null, null, false, null, "公告修改状态", 0, "sysNotice:changeStatus", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918754L, "system", "sys_notice_mgr_received", "system/noticeReceived/index", null, null, null, null, false, null, "已收公告", 1, null, 142307070918746L, "[0],[142307070918746],", null, null, "/noticeReceived", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918755L, "system", "sys_notice_mgr_received_page", null, null, null, null, null, false, null, "已收公告查询", 0, "sysNotice:received", 142307070918754L, "[0],[142307070918746],[142307070918754],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918756L, "system", "sys_file_mgr", "PageView", null, null, null, "file", false, null, "文件管理", 0, null, 0L, "[0],", null, null, "/file", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070918748L, "system", "sys_notice_mgr_page", null, null, null, null, null, false, null, "公告查询", 0, "sysNotice:page", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918757L, "system", "sys_file_mgr_sys_file", "system/file/index", null, null, null, null, false, null, "系统文件", 1, null, 142307070918756L, "[0],[142307070918756],", null, null, "/file", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918759L, "system", "sys_file_mgr_sys_file_list", null, null, null, null, null, false, null, "文件列表", 0, "sysFileInfo:list", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918760L, "system", "sys_file_mgr_sys_file_delete", null, null, null, null, null, false, null, "文件删除", 0, "sysFileInfo:delete", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918761L, "system", "sys_file_mgr_sys_file_detail", null, null, null, null, null, false, null, "文件详情", 0, "sysFileInfo:detail", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918762L, "system", "sys_file_mgr_sys_file_upload", null, null, null, null, null, false, null, "文件上传", 0, "sysFileInfo:upload", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918763L, "system", "sys_file_mgr_sys_file_download", null, null, null, null, null, false, null, "文件下载", 0, "sysFileInfo:download", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918764L, "system", "sys_file_mgr_sys_file_preview", null, null, null, null, null, false, null, "图片预览", 0, "sysFileInfo:preview", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918765L, "system", "sys_timers", "PageView", null, null, null, "dashboard", false, null, "定时任务", 0, null, 0L, "[0],", null, null, "/timers", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070918758L, "system", "sys_file_mgr_sys_file_page", null, null, null, null, null, false, null, "文件查询", 0, "sysFileInfo:page", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914672L, "system", "sys_email_mgr_send_email", null, null, null, null, null, false, null, "发送文本邮件", 0, "email:sendEmail", 142307070914671L, "[0],[142307070914662],[142307070914671],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914649L, "system", "sys_menu_mgr_tree", null, null, null, null, null, false, null, "菜单树", 0, "sysMenu:tree", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914670L, "system", "sys_app_mgr_set_as_default", null, null, null, null, null, false, null, "设为默认应用", 0, "sysApp:setAsDefault", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910580L, "system", "sys_user_mgr_reset_pwd", null, null, null, null, null, false, null, "用户重置密码", 0, "sysUser:resetPwd", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918777L, "system", "sys_user_mgr_login", null, null, null, null, null, false, null, "用户登录信息", 0, "getLoginUser", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 1, 2, null, null, null, "N", 1 }, - { 142307070910581L, "system", "sys_org_mgr", "system/org/index", null, null, null, null, false, null, "机构管理", 1, null, 142307070910563L, "[0],[142307070910563],", null, null, "/org", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070910582L, "system", "sys_org_mgr_page", null, null, null, null, null, false, null, "机构查询", 0, "sysOrg:page", 142307070910581L, "[0],[142307070910563],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910583L, "system", "sys_org_mgr_list", null, null, null, null, null, false, null, "机构列表", 0, "sysOrg:list", 142307070910581L, "[0],[142307070910563],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910584L, "system", "sys_org_mgr_add", null, null, null, null, null, false, null, "机构增加", 0, "sysOrg:add", 142307070910581L, "[0],[142307070910563],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910585L, "system", "sys_org_mgr_edit", null, null, null, null, null, false, null, "机构编辑", 0, "sysOrg:edit", 142307070910581L, "[0],[142307070910563],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910586L, "system", "sys_org_mgr_delete", null, null, null, null, null, false, null, "机构删除", 0, "sysOrg:delete", 142307070910581L, "[0],[142307070910563],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914671L, "system", "sys_email_mgr", "system/email/index", null, null, null, null, false, null, "邮件发送", 1, null, 142307070914662L, "[0],[142307070914662],", null, null, "/email", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070910588L, "system", "sys_org_mgr_tree", null, null, null, null, null, false, null, "机构树", 0, "sysOrg:tree", 142307070910581L, "[0],[142307070910563],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910589L, "system", "sys_pos_mgr", "system/pos/index", null, null, null, null, false, null, "职位管理", 1, null, 142307070910563L, "[0],[142307070910563],", null, null, "/pos", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070910590L, "system", "sys_pos_mgr_page", null, null, null, null, null, false, null, "职位查询", 0, "sysPos:page", 142307070910589L, "[0],[142307070910563],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910591L, "system", "sys_pos_mgr_list", null, null, null, null, null, false, null, "职位列表", 0, "sysPos:list", 142307070910589L, "[0],[142307070910563],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914629L, "system", "sys_pos_mgr_add", null, null, null, null, null, false, null, "职位增加", 0, "sysPos:add", 142307070910589L, "[0],[142307070910563],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914630L, "system", "sys_pos_mgr_edit", null, null, null, null, null, false, null, "职位编辑", 0, "sysPos:edit", 142307070910589L, "[0],[142307070910563],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910579L, "system", "sys_user_mgr_update_avatar", null, null, null, null, null, false, null, "用户修改头像", 0, "sysUser:updateAvatar", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910578L, "system", "sys_user_mgr_change_status", null, null, null, null, null, false, null, "用户修改状态", 0, "sysUser:changeStatus", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910577L, "system", "sys_user_mgr_update_pwd", null, null, null, null, null, false, null, "用户修改密码", 0, "sysUser:updatePwd", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910576L, "system", "sys_user_mgr_update_info", null, null, null, null, null, false, null, "用户更新信息", 0, "sysUser:updateInfo", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910560L, "system", "system_index", "RouteView", null, null, null, "home", false, null, "主控面板", 0, null, 0L, "[0],", "/analysis", null, "/", 1, 0, 0, null, null, null, "Y", 1 }, - { 142307070910561L, "system", "system_index_dashboard", "system/dashboard/Analysis", null, null, null, null, false, null, "分析页", 0, null, 142307070910560L, "[0],[142307070910560],", null, null, "analysis", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070910562L, "system", "system_index_workplace", "system/dashboard/Workplace", null, null, null, null, false, null, "工作台", 0, null, 142307070910560L, "[0],[142307070910560],", null, null, "workplace", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070910563L, "system", "sys_mgr", "PageView", null, null, null, "team", false, null, "组织架构", 0, null, 0L, "[0],", null, null, "/sys", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070910564L, "system", "sys_user_mgr", "system/user/index", null, null, null, null, false, null, "用户管理", 1, null, 142307070910563L, "[0],[142307070910563],", null, null, "/mgr_user", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070910565L, "system", "sys_user_mgr_page", null, null, null, null, null, false, null, "用户查询", 0, "sysUser:page", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910566L, "system", "sys_user_mgr_edit", null, null, null, null, null, false, null, "用户编辑", 0, "sysUser:edit", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914631L, "system", "sys_pos_mgr_delete", null, null, null, null, null, false, null, "职位删除", 0, "sysPos:delete", 142307070910589L, "[0],[142307070910563],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910567L, "system", "sys_user_mgr_add", null, null, null, null, null, false, null, "用户增加", 0, "sysUser:add", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910569L, "system", "sys_user_mgr_detail", null, null, null, null, null, false, null, "用户详情", 0, "sysUser:detail", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910570L, "system", "sys_user_mgr_export", null, null, null, null, null, false, null, "用户导出", 0, "sysUser:export", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910571L, "system", "sys_user_mgr_selector", null, null, null, null, null, false, null, "用户选择器", 0, "sysUser:selector", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910572L, "system", "sys_user_mgr_grant_role", null, null, null, null, null, false, null, "用户授权角色", 0, "sysUser:grantRole", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910573L, "system", "sys_user_mgr_own_role", null, null, null, null, null, false, null, "用户拥有角色", 0, "sysUser:ownRole", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910574L, "system", "sys_user_mgr_grant_data", null, null, null, null, null, false, null, "用户授权数据", 0, "sysUser:grantData", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910575L, "system", "sys_user_mgr_own_data", null, null, null, null, null, false, null, "用户拥有数据", 0, "sysUser:ownData", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910568L, "system", "sys_user_mgr_delete", null, null, null, null, null, false, null, "用户删除", 0, "sysUser:delete", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914632L, "system", "sys_pos_mgr_detail", null, null, null, null, null, false, null, "职位详情", 0, "sysPos:detail", 142307070910589L, "[0],[142307070910563],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910587L, "system", "sys_org_mgr_detail", null, null, null, null, null, false, null, "机构详情", 0, "sysOrg:detail", 142307070910581L, "[0],[142307070910563],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914634L, "system", "sys_app_mgr", "system/app/index", null, null, null, null, false, null, "应用管理", 1, null, 142307070914633L, "[0],[142307070914633],", null, null, "/app", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070914655L, "system", "sys_role_mgr_delete", null, null, null, null, null, false, null, "角色删除", 0, "sysRole:delete", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914656L, "system", "sys_role_mgr_detail", null, null, null, null, null, false, null, "角色详情", 0, "sysRole:detail", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914657L, "system", "sys_role_mgr_drop_down", null, null, null, null, null, false, null, "角色下拉", 0, "sysRole:dropDown", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914658L, "system", "sys_role_mgr_grant_menu", null, null, null, null, null, false, null, "角色授权菜单", 0, "sysRole:grantMenu", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914659L, "system", "sys_role_mgr_own_menu", null, null, null, null, null, false, null, "角色拥有菜单", 0, "sysRole:ownMenu", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914633L, "system", "auth_manager", "PageView", null, null, null, "safety-certificate", false, null, "权限管理", 0, null, 0L, "[0],", null, null, "/auth", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070914661L, "system", "sys_role_mgr_own_data", null, null, null, null, null, false, null, "角色拥有数据", 0, "sysRole:ownData", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914662L, "system", "system_tools", "PageView", null, null, null, "euro", false, null, "开发管理", 0, null, 0L, "[0],", null, null, "/tools", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070914663L, "system", "system_tools_config", "system/config/index", null, null, null, null, false, null, "系统配置", 1, null, 142307070914662L, "[0],[142307070914662],", null, null, "/config", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070914664L, "system", "system_tools_config_page", null, null, null, null, null, false, null, "配置查询", 0, "sysConfig:page", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 } - }); - - migrationBuilder.InsertData( - table: "sys_menu", - columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "Weight" }, - values: new object[,] - { - { 142307070914665L, "system", "system_tools_config_list", null, null, null, null, null, false, null, "配置列表", 0, "sysConfig:list", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914666L, "system", "system_tools_config_add", null, null, null, null, null, false, null, "配置增加", 0, "sysConfig:add", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914667L, "system", "system_tools_config_edit", null, null, null, null, null, false, null, "配置编辑", 0, "sysConfig:edit", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914668L, "system", "system_tools_config_delete", null, null, null, null, null, false, null, "配置删除", 0, "sysConfig:delete", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914669L, "system", "system_tools_config_detail", null, null, null, null, null, false, null, "配置详情", 0, "sysConfig:detail", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914654L, "system", "sys_role_mgr_edit", null, null, null, null, null, false, null, "角色编辑", 0, "sysRole:edit", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914653L, "system", "sys_role_mgr_add", null, null, null, null, null, false, null, "角色增加", 0, "sysRole:add", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914660L, "system", "sys_role_mgr_grant_data", null, null, null, null, null, false, null, "角色授权数据", 0, "sysRole:grantData", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914651L, "system", "sys_role_mgr", "system/role/index", null, null, null, null, false, null, "角色管理", 1, null, 142307070914633L, "[0],[142307070914633],", null, null, "/role", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070914652L, "system", "sys_role_mgr_page", null, null, null, null, null, false, null, "角色查询", 0, "sysRole:page", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914635L, "system", "sys_app_mgr_page", null, null, null, null, null, false, null, "应用查询", 0, "sysApp:page", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914636L, "system", "sys_app_mgr_list", null, null, null, null, null, false, null, "应用列表", 0, "sysApp:list", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914637L, "system", "sys_app_mgr_add", null, null, null, null, null, false, null, "应用增加", 0, "sysApp:add", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914638L, "system", "sys_app_mgr_edit", null, null, null, null, null, false, null, "应用编辑", 0, "sysApp:edit", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914639L, "system", "sys_app_mgr_delete", null, null, null, null, null, false, null, "应用删除", 0, "sysApp:delete", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914640L, "system", "sys_app_mgr_detail", null, null, null, null, null, false, null, "应用详情", 0, "sysApp:detail", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914642L, "system", "sys_menu_mgr", "system/menu/index", null, null, null, null, false, null, "菜单管理", 1, null, 142307070914633L, "[0],[142307070914633],", null, null, "/menu", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070914641L, "system", "sys_app_mgr_set_as_default", null, null, null, null, null, false, null, "设为默认应用", 0, "sysApp:setAsDefault", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914644L, "system", "sys_menu_mgr_add", null, null, null, null, null, false, null, "菜单增加", 0, "sysMenu:add", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914645L, "system", "sys_menu_mgr_edit", null, null, null, null, null, false, null, "菜单编辑", 0, "sysMenu:edit", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914646L, "system", "sys_menu_mgr_delete", null, null, null, null, null, false, null, "菜单删除", 0, "sysMenu:delete", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914647L, "system", "sys_menu_mgr_detail", null, null, null, null, null, false, null, "菜单详情", 0, "sysMenu:detail", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914648L, "system", "sys_menu_mgr_grant_tree", null, null, null, null, null, false, null, "菜单授权树", 0, "sysMenu:treeForGrant", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914650L, "system", "sys_menu_mgr_change", null, null, null, null, null, false, null, "菜单切换", 0, "sysMenu:change", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914643L, "system", "sys_menu_mgr_list", null, null, null, null, null, false, null, "菜单列表", 0, "sysMenu:list", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 } - }); - - migrationBuilder.InsertData( - table: "sys_org", - columns: new[] { "Id", "Code", "Contacts", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Name", "Pid", "Pids", "Remark", "Sort", "Status", "Tel", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, - values: new object[,] - { - { 142307070910544L, "hxjt_cd_scb", null, null, null, null, false, "市场部", 142307070910541L, "[0],[142307070910539],[142307070910541],", "华夏集团成都分公司市场部", 100, 0, null, null, null, null }, - { 142307070910546L, "hxjt_cd_scb_2b", null, null, null, null, false, "市场部二部", 142307070910544L, "[0],[142307070910539],[142307070910541],[142307070910544],", "华夏集团成都分公司市场部二部", 100, 0, null, null, null, null }, - { 142307070910545L, "hxjt_cd_cwb", null, null, null, null, false, "财务部", 142307070910541L, "[0],[142307070910539],[142307070910541],", "华夏集团成都分公司财务部", 100, 0, null, null, null, null }, - { 142307070910543L, "hxjt_bj_qhb", null, null, null, null, false, "企划部", 142307070910540L, "[0],[142307070910539],[142307070910540],", "华夏集团北京分公司企划部", 100, 0, null, null, null, null }, - { 142307070910539L, "hxjt", null, null, null, null, false, "华夏集团", 0L, "[0],", "华夏集团", 100, 0, null, null, null, null }, - { 142307070910541L, "hxjt_cd", null, null, null, null, false, "华夏集团成都分公司", 142307070910539L, "[0],[142307070910539],", "华夏集团成都分公司", 100, 0, null, null, null, null }, - { 142307070910540L, "hxjt_bj", null, null, null, null, false, "华夏集团北京分公司", 142307070910539L, "[0],[142307070910539],", "华夏集团北京分公司", 100, 0, null, null, null, null }, - { 142307070910542L, "hxjt_bj_yfb", null, null, null, null, false, "研发部", 142307070910540L, "[0],[142307070910539],[142307070910540],", "华夏集团北京分公司研发部", 100, 0, null, null, null, null } - }); - - migrationBuilder.InsertData( - table: "sys_pos", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Name", "Remark", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, - values: new object[,] - { - { 142307070910547L, "zjl", null, null, null, false, "总经理", "总经理", 100, 0, null, null, null }, - { 142307070910548L, "fzjl", null, null, null, false, "副总经理", "副总经理", 101, 0, null, null, null }, - { 142307070910549L, "bmjl", null, null, null, false, "部门经理", "部门经理", 102, 0, null, null, null }, - { 142307070910550L, "gzry", null, null, null, false, "工作人员", "工作人员", 103, 0, null, null, null } - }); - - migrationBuilder.InsertData( - table: "sys_role", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "DataScopeType", "IsDeleted", "Name", "Remark", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, - values: new object[,] - { - { 142307070910554L, "sys_manager_role", null, null, null, 1, false, "系统管理员", "系统管理员", 100, 0, null, null, null }, - { 142307070910555L, "common_role", null, null, null, 5, false, "普通用户", "普通用户", 101, 0, null, null, null } - }); - - migrationBuilder.InsertData( - table: "sys_timer", - columns: new[] { "Id", "BeginTime", "CreatedTime", "CreatedUserId", "CreatedUserName", "Cron", "EndTime", "Headers", "Interval", "IsDeleted", "JobGroup", "JobName", "Remark", "RequestParameters", "RequestType", "RequestUrl", "RunNumber", "TriggerType", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, - values: new object[] { 142307070910556L, new DateTimeOffset(new DateTime(2021, 3, 21, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), null, null, null, null, null, null, 30, false, "默认分组", "百度api", null, null, 2, "https://www.baidu.com", null, 1, null, null, null }); - - migrationBuilder.InsertData( - table: "sys_user", - columns: new[] { "Id", "Account", "AdminType", "Avatar", "Birthday", "CreatedTime", "CreatedUserId", "CreatedUserName", "Email", "IsDeleted", "LastLoginIp", "LastLoginTime", "Name", "NickName", "Password", "Phone", "Sex", "Status", "Tel", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, - values: new object[,] - { - { 142307070910552L, "admin", 1, null, new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), null, null, null, null, false, null, new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), "admin", null, "e10adc3949ba59abbe56e057f20f883e", "18020030720", 2, 0, null, null, null, null }, - { 142307070910551L, "superAdmin", 1, null, new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), null, null, null, null, false, null, new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), "superAdmin", null, "e10adc3949ba59abbe56e057f20f883e", "18020030720", 1, 0, null, null, null, null }, - { 142307070910553L, "zuohuaijun", 2, null, new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), null, null, null, null, false, null, new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), "zuohuaijun", null, "e10adc3949ba59abbe56e057f20f883e", "18020030720", 1, 0, null, null, null, null } - }); - - migrationBuilder.InsertData( - table: "sys_dict_data", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Remark", "Sort", "Status", "TypeId", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Value" }, - values: new object[,] - { - { 142307070902384L, "0", null, null, null, false, "正常", 100, 0, 142307070906483L, null, null, null, "正常" }, - { 142307070922830L, "input", null, null, null, false, "输入框", 100, 0, 142307070922827L, null, null, null, "输入框" }, - { 142307070906482L, "4", null, null, null, false, "DELETE", 100, 0, 142307070910538L, null, null, null, "DELETE" }, - { 142307070906481L, "3", null, null, null, false, "PUT", 100, 0, 142307070910538L, null, null, null, "PUT" }, - { 142307070906480L, "2", null, null, null, false, "POST", 100, 0, 142307070910538L, null, null, null, "POST" }, - { 142307070906479L, "1", null, null, null, false, "GET", 100, 0, 142307070910538L, null, null, null, "GET" }, - { 142307070906478L, "2", null, null, null, false, "生成到本项目", 100, 0, 142307070910537L, null, null, null, "生成到本项目" }, - { 142307070906477L, "1", null, null, null, false, "下载压缩包", 100, 0, 142307070910537L, null, null, null, "下载压缩包" }, - { 142307070906476L, "false", null, null, null, false, "否", 100, 0, 142307070910536L, null, null, null, "否" }, - { 142307070906475L, "true", null, null, null, false, "是", 100, 0, 142307070910536L, null, null, null, "是" }, - { 142307070922831L, "datepicker", null, null, null, false, "时间选择", 100, 0, 142307070922827L, null, null, null, "时间选择" }, - { 142307070906474L, "3", null, null, null, false, "删除", 100, 0, 142307070910535L, null, null, null, "删除" }, - { 142307070906472L, "1", null, null, null, false, "发布", 100, 0, 142307070910535L, null, null, null, "发布" }, - { 142307070906471L, "0", null, null, null, false, "草稿", 100, 0, 142307070910535L, null, null, null, "草稿" }, - { 142307070906470L, "2", null, null, null, false, "公告", 100, 0, 142307070910534L, null, null, null, "公告" }, - { 142307070906469L, "1", null, null, null, false, "通知", 100, 0, 142307070910534L, null, null, null, "通知" }, - { 142307070906468L, "2", null, null, null, false, "停止", 100, 0, 142307070910533L, null, null, null, "停止" }, - { 142307070906467L, "1", null, null, null, false, "运行", 100, 0, 142307070910533L, null, null, null, "运行" }, - { 142307070906466L, "4", null, null, null, false, "本地", 100, 0, 142307070906495L, null, null, null, "本地" }, - { 142307070906465L, "3", null, null, null, false, "minio", 100, 0, 142307070906495L, null, null, null, "minio" }, - { 142307070906463L, "1", null, null, null, false, "阿里云", 100, 0, 142307070906495L, null, null, null, "阿里云" }, - { 142307070906473L, "2", null, null, null, false, "撤回", 100, 0, 142307070910535L, null, null, null, "撤回" }, - { 142307070922832L, "select", null, null, null, false, "下拉框", 100, 0, 142307070922827L, null, null, null, "下拉框" }, - { 142307070922833L, "radio", null, null, null, false, "单选框", 100, 0, 142307070922827L, null, null, null, "单选框" }, - { 142307070922834L, "switch", null, null, null, false, "开关", 100, 0, 142307070922827L, null, null, null, "开关" }, - { 142307070922864L, "DateTimeOffset", null, null, null, false, "DateTimeOffset", 100, 0, 142307070922829L, null, null, null, "DateTimeOffset" }, - { 142307070922863L, "Guid", null, null, null, false, "Guid", 100, 0, 142307070922829L, null, null, null, "Guid" }, - { 142307070922862L, "decimal", null, null, null, false, "decimal", 100, 0, 142307070922829L, null, null, null, "decimal" }, - { 142307070922861L, "float", null, null, null, false, "float", 100, 0, 142307070922829L, null, null, null, "float" }, - { 142307070922848L, "DateTime", null, null, null, false, "DateTime", 100, 0, 142307070922829L, null, null, null, "DateTime" }, - { 142307070922852L, "double", null, null, null, false, "double", 100, 0, 142307070922829L, null, null, null, "double" }, - { 142307070922850L, "bool", null, null, null, false, "bool", 100, 0, 142307070922829L, null, null, null, "bool" }, - { 142307070922847L, "string", null, null, null, false, "string", 100, 0, 142307070922829L, null, null, null, "string" }, - { 142307070922846L, "long", null, null, null, false, "long", 100, 0, 142307070922829L, null, null, null, "long" }, - { 142307070922851L, "int", null, null, null, false, "int", 100, 0, 142307070922829L, null, null, null, "int" }, - { 142307070922845L, "isNotNull", null, null, null, false, "不为空", 8, 0, 142307070922828L, null, null, null, "不为空" }, - { 142307070922844L, "<=", null, null, null, false, "小于等于", 7, 0, 142307070922828L, null, null, null, "小于等于" }, - { 142307070922843L, ">=", null, null, null, false, "大于等于", 6, 0, 142307070922828L, null, null, null, "大于等于" }, - { 142307070922842L, "!=", null, null, null, false, "不等于", 5, 0, 142307070922828L, null, null, null, "不等于" }, - { 142307070922841L, "<", null, null, null, false, "小于", 4, 0, 142307070922828L, null, null, null, "小于" }, - { 142307070922840L, ">", null, null, null, false, "大于", 3, 0, 142307070922828L, null, null, null, "大于" }, - { 142307070922839L, "like", null, null, null, false, "模糊", 2, 0, 142307070922828L, null, null, null, "模糊" }, - { 142307070922838L, "==", null, null, null, false, "等于", 1, 0, 142307070922828L, null, null, null, "等于" }, - { 142307070922837L, "textarea", null, null, null, false, "文本域", 100, 0, 142307070922827L, null, null, null, "文本域" }, - { 142307070922836L, "inputnumber", null, null, null, false, "数字输入框", 100, 0, 142307070922827L, null, null, null, "数字输入框" }, - { 142307070922835L, "checkbox", null, null, null, false, "多选框", 100, 0, 142307070922827L, null, null, null, "多选框" }, - { 142307070906462L, "13", null, null, null, false, "修改状态", 100, 0, 142307070906494L, null, null, null, "修改状态" }, - { 142307070906461L, "12", null, null, null, false, "清空", 100, 0, 142307070906494L, null, null, null, "清空" }, - { 142307070906464L, "2", null, null, null, false, "腾讯云", 100, 0, 142307070906495L, null, null, null, "腾讯云" }, - { 142307070906459L, "10", null, null, null, false, "授权", 100, 0, 142307070906494L, null, null, null, "授权" }, - { 142307070902396L, "2", null, null, null, false, "发送失败", 100, 0, 142307070906489L, null, null, null, "发送失败" }, - { 142307070906460L, "11", null, null, null, false, "强退", 100, 0, 142307070906494L, null, null, null, "强退" }, - { 142307070902394L, "0", null, null, null, false, "未发送", 100, 0, 142307070906489L, null, null, null, "未发送" }, - { 142307070902393L, "2", null, null, null, false, "按钮", 100, 0, 142307070906488L, null, null, null, "按钮" }, - { 142307070902392L, "1", null, null, null, false, "菜单", 100, 0, 142307070906488L, null, null, null, "菜单" }, - { 142307070902391L, "0", null, null, null, false, "目录", 100, 0, 142307070906488L, null, null, null, "目录" }, - { 142307070902390L, "2", null, null, null, false, "登出", 100, 0, 142307070906487L, null, null, null, "登出" }, - { 142307070902389L, "1", null, null, null, false, "登录", 100, 0, 142307070906487L, null, null, null, "登录" }, - { 142307070902388L, "Y", null, null, null, false, "是", 100, 0, 142307070906486L, null, null, null, "是" }, - { 142307070902387L, "N", null, null, null, false, "否", 100, 0, 142307070906486L, null, null, null, "否" }, - { 142307070902383L, "OAUTH", null, null, null, false, "Oauth配置", 100, 0, 142307070906485L, null, null, null, "Oauth配置" }, - { 142307070902382L, "FILE_PATH", null, null, null, false, "文件上传路径", 100, 0, 142307070906485L, null, null, null, "文件上传路径" }, - { 142307070902381L, "EMAIL", null, null, null, false, "邮件配置", 100, 0, 142307070906485L, null, null, null, "邮件配置" }, - { 142307070902380L, "TENCENT_SMS", null, null, null, false, "腾讯云短信", 100, 0, 142307070906485L, null, null, null, "腾讯云短信" }, - { 142307070902379L, "ALIYUN_SMS", null, null, null, false, "阿里云短信配置", 100, 0, 142307070906485L, null, null, null, "阿里云短信" }, - { 142307070902378L, "DEFAULT", null, null, null, false, "默认常量,都以XIAONUO_开头的", 100, 0, 142307070906485L, null, null, null, "默认常量" }, - { 142307070902377L, "3", null, null, null, false, "未知性别", 100, 0, 142307070906484L, null, null, null, "未知" }, - { 142307070902376L, "2", null, null, null, false, "女性", 100, 0, 142307070906484L, null, null, null, "女" }, - { 142307070902375L, "1", null, null, null, false, "男性", 100, 0, 142307070906484L, null, null, null, "男" }, - { 142307070902386L, "2", null, null, null, false, "删除", 100, 0, 142307070906483L, null, null, null, "删除" }, - { 142307070902385L, "1", null, null, null, false, "停用", 100, 0, 142307070906483L, null, null, null, "停用" }, - { 142307070902397L, "3", null, null, null, false, "失效", 100, 0, 142307070906489L, null, null, null, "失效" }, - { 142307070902398L, "0", null, null, null, false, "无", 100, 0, 142307070906490L, null, null, null, "无" }, - { 142307070902395L, "1", null, null, null, false, "发送成功", 100, 0, 142307070906489L, null, null, null, "发送成功" }, - { 142307070906437L, "2", null, null, null, false, "内链", 100, 0, 142307070906490L, null, null, null, "内链" }, - { 142307070906458L, "9", null, null, null, false, "导出", 100, 0, 142307070906494L, null, null, null, "导出" }, - { 142307070906457L, "8", null, null, null, false, "导入", 100, 0, 142307070906494L, null, null, null, "导入" }, - { 142307070906456L, "7", null, null, null, false, "树", 100, 0, 142307070906494L, null, null, null, "树" }, - { 142307070906455L, "6", null, null, null, false, "详情", 100, 0, 142307070906494L, null, null, null, "详情" }, - { 142307070906454L, "5", null, null, null, false, "查询", 100, 0, 142307070906494L, null, null, null, "查询" }, - { 142307070906453L, "4", null, null, null, false, "更新", 100, 0, 142307070906494L, null, null, null, "更新" }, - { 142307070902399L, "1", null, null, null, false, "组件", 100, 0, 142307070906490L, null, null, null, "组件" }, - { 142307070906451L, "2", null, null, null, false, "删除", 100, 0, 142307070906494L, null, null, null, "删除" }, - { 142307070906450L, "1", null, null, null, false, "增加", 100, 0, 142307070906494L, null, null, null, "增加" }, - { 142307070906449L, "0", null, null, null, false, "其它", 100, 0, 142307070906494L, null, null, null, "其它" }, - { 142307070906452L, "3", null, null, null, false, "编辑", 100, 0, 142307070906494L, null, null, null, "编辑" }, - { 142307070906447L, "2", null, null, null, false, "pc", 100, 0, 142307070906493L, null, null, null, "pc" }, - { 142307070906438L, "3", null, null, null, false, "外链", 100, 0, 142307070906490L, null, null, null, "外链" }, - { 142307070906448L, "3", null, null, null, false, "其他", 100, 0, 142307070906493L, null, null, null, "其他" }, - { 142307070906440L, "2", null, null, null, false, "业务权重", 100, 0, 142307070906491L, null, null, null, "业务权重" }, - { 142307070906441L, "1", null, null, null, false, "全部数据", 100, 0, 142307070906492L, null, null, null, "全部数据" }, - { 142307070906439L, "1", null, null, null, false, "系统权重", 100, 0, 142307070906491L, null, null, null, "系统权重" }, - { 142307070906443L, "3", null, null, null, false, "本部门数据", 100, 0, 142307070906492L, null, null, null, "本部门数据" }, - { 142307070906444L, "4", null, null, null, false, "仅本人数据", 100, 0, 142307070906492L, null, null, null, "仅本人数据" }, - { 142307070906445L, "5", null, null, null, false, "自定义数据", 100, 0, 142307070906492L, null, null, null, "自定义数据" }, - { 142307070906446L, "1", null, null, null, false, "app", 100, 0, 142307070906493L, null, null, null, "app" }, - { 142307070906442L, "2", null, null, null, false, "本部门及以下数据", 100, 0, 142307070906492L, null, null, null, "本部门及以下数据" } - }); - - migrationBuilder.InsertData( - table: "sys_emp_ext_org_pos", - columns: new[] { "SysEmpId", "SysOrgId", "SysPosId" }, - values: new object[,] - { - { 142307070910551L, 142307070910539L, 142307070910547L }, - { 142307070910553L, 142307070910542L, 142307070910547L }, - { 142307070910551L, 142307070910540L, 142307070910548L }, - { 142307070910551L, 142307070910541L, 142307070910549L }, - { 142307070910551L, 142307070910542L, 142307070910550L } - }); - - migrationBuilder.InsertData( - table: "sys_emp_pos", - columns: new[] { "SysEmpId", "SysPosId" }, - values: new object[,] - { - { 142307070910552L, 142307070910549L }, - { 142307070910551L, 142307070910547L }, - { 142307070910553L, 142307070910547L }, - { 142307070910551L, 142307070910548L } - }); - - migrationBuilder.CreateIndex( - name: "IX_sys_dict_data_TypeId", - table: "sys_dict_data", - column: "TypeId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_emp_ext_org_pos_SysOrgId", - table: "sys_emp_ext_org_pos", - column: "SysOrgId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_emp_ext_org_pos_SysPosId", - table: "sys_emp_ext_org_pos", - column: "SysPosId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_emp_pos_SysPosId", - table: "sys_emp_pos", - column: "SysPosId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_role_data_scope_SysOrgId", - table: "sys_role_data_scope", - column: "SysOrgId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_role_menu_SysMenuId", - table: "sys_role_menu", - column: "SysMenuId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_user_data_scope_SysOrgId", - table: "sys_user_data_scope", - column: "SysOrgId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_user_role_SysRoleId", - table: "sys_user_role", - column: "SysRoleId"); - } - - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropTable( - name: "code_gen_test"); - - migrationBuilder.DropTable( - name: "sys_app"); - - migrationBuilder.DropTable( - name: "sys_code_gen"); - - migrationBuilder.DropTable( - name: "sys_code_gen_config"); - - migrationBuilder.DropTable( - name: "sys_config"); - - migrationBuilder.DropTable( - name: "sys_dict_data"); - - migrationBuilder.DropTable( - name: "sys_emp_ext_org_pos"); - - migrationBuilder.DropTable( - name: "sys_emp_pos"); - - migrationBuilder.DropTable( - name: "sys_file"); - - migrationBuilder.DropTable( - name: "sys_log_audit"); - - migrationBuilder.DropTable( - name: "sys_log_op"); - - migrationBuilder.DropTable( - name: "sys_log_vis"); - - migrationBuilder.DropTable( - name: "sys_notice"); - - migrationBuilder.DropTable( - name: "sys_notice_user"); - - migrationBuilder.DropTable( - name: "sys_oauth_user"); - - migrationBuilder.DropTable( - name: "sys_role_data_scope"); - - migrationBuilder.DropTable( - name: "sys_role_menu"); - - migrationBuilder.DropTable( - name: "sys_tenant"); - - migrationBuilder.DropTable( - name: "sys_timer"); - - migrationBuilder.DropTable( - name: "sys_user_data_scope"); - - migrationBuilder.DropTable( - name: "sys_user_role"); - - migrationBuilder.DropTable( - name: "sys_dict_type"); - - migrationBuilder.DropTable( - name: "sys_emp"); - - migrationBuilder.DropTable( - name: "sys_pos"); - - migrationBuilder.DropTable( - name: "sys_menu"); - - migrationBuilder.DropTable( - name: "sys_org"); - - migrationBuilder.DropTable( - name: "sys_role"); - - migrationBuilder.DropTable( - name: "sys_user"); - } - } -} +using System; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Migrations; + +namespace Ewide.Database.Migrations.Migrations +{ + public partial class Init : Migration + { + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.CreateTable( + name: "code_gen_test", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + NickName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "昵称"), + Birthday = table.Column(type: "datetime", nullable: false, comment: "生日"), + Age = table.Column(type: "int", nullable: false, comment: "年龄"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_code_gen_test", x => x.Id); + }, + comment: "代码生成业务"); + + migrationBuilder.CreateTable( + name: "sys_app", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Icon = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "图标"), + Color = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "图标颜色"), + Active = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否默认激活"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_app", x => x.Id); + }, + comment: "系统应用表"); + + migrationBuilder.CreateTable( + name: "sys_code_gen", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + AuthorName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "作者姓名"), + TablePrefix = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否移除表前缀"), + GenerateType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "生成方式"), + TableName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "数据库表名"), + NameSpace = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "命名空间"), + BusName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "业务名"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_code_gen", x => x.Id); + }, + comment: "代码生成表"); + + migrationBuilder.CreateTable( + name: "sys_code_gen_config", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + CodeGenId = table.Column(type: "bigint", nullable: false, comment: "代码生成主表ID"), + ColumnName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "数据库字段名"), + ColumnComment = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "字段描述"), + NetType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: ".NET数据类型"), + EffectType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "作用类型"), + DictTypeCode = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "字典Code"), + WhetherRetract = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "列表是否缩进"), + WhetherRequired = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否必填"), + QueryWhether = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否是查询条件"), + QueryType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "查询方式"), + WhetherTable = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "列表显示"), + WhetherAddUpdate = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "增改"), + ColumnKey = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "主外键"), + DataType = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "数据库中类型"), + WhetherCommon = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否通用字段"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_code_gen_config", x => x.Id); + }, + comment: "代码生成字段配置表"); + + migrationBuilder.CreateTable( + name: "sys_config", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Value = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "属性值"), + SysFlag = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否是系统参数"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + GroupCode = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "常量所属分类的编码"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_config", x => x.Id); + }, + comment: "参数配置表"); + + migrationBuilder.CreateTable( + name: "sys_dict_type", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_dict_type", x => x.Id); + }, + comment: "字典类型表"); + + migrationBuilder.CreateTable( + name: "sys_emp", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "用户Id"), + JobNum = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "工号"), + OrgId = table.Column(type: "bigint", nullable: false, comment: "机构Id"), + OrgName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "机构名称") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_emp", x => x.Id); + }, + comment: "员工表"); + + migrationBuilder.CreateTable( + name: "sys_file", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + FileLocation = table.Column(type: "int", nullable: false, comment: "文件存储位置"), + FileBucket = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "文件仓库"), + FileOriginName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "文件名称"), + FileSuffix = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "文件后缀"), + FileSizeKb = table.Column(type: "bigint", nullable: false, comment: "文件大小kb"), + FileSizeInfo = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "文件大小信息"), + FileObjectName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "存储到bucket的名称"), + FilePath = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "存储路径"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_file", x => x.Id); + }, + comment: "文件信息表"); + + migrationBuilder.CreateTable( + name: "sys_log_audit", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn), + TableName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "表名"), + ColumnName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "列名"), + NewValue = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "新值"), + OldValue = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "旧值"), + CreatedTime = table.Column(type: "datetime", nullable: false, comment: "操作时间"), + UserId = table.Column(type: "bigint", nullable: false, comment: "操作人Id"), + UserName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作人名称"), + Operate = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作方式") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_log_audit", x => x.Id); + }, + comment: "审计日志表"); + + migrationBuilder.CreateTable( + name: "sys_log_op", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + OpType = table.Column(type: "int", nullable: true, comment: "操作类型"), + Success = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否执行成功"), + Message = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "具体消息"), + Ip = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "IP"), + Location = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "地址"), + Browser = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "浏览器"), + Os = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作系统"), + Url = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求地址"), + ClassName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "类名称"), + MethodName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "方法名称"), + ReqMethod = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求方式"), + Param = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求参数"), + Result = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "返回结果"), + ElapsedTime = table.Column(type: "bigint", nullable: false, comment: "耗时"), + OpTime = table.Column(type: "datetime", nullable: false, comment: "操作时间"), + Account = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作人") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_log_op", x => x.Id); + }, + comment: "操作日志表"); + + migrationBuilder.CreateTable( + name: "sys_log_vis", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Success = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否执行成功"), + Message = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "具体消息"), + Ip = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "IP"), + Location = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "地址"), + Browser = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "浏览器"), + Os = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "操作系统"), + VisType = table.Column(type: "int", nullable: true, comment: "访问类型"), + VisTime = table.Column(type: "datetime", nullable: false, comment: "访问时间"), + Account = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "访问人") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_log_vis", x => x.Id); + }, + comment: "访问日志表"); + + migrationBuilder.CreateTable( + name: "sys_menu", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + Pid = table.Column(type: "bigint", nullable: false, comment: "父Id"), + Pids = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "父Ids"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Type = table.Column(type: "int", nullable: false, comment: "菜单类型"), + Icon = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "图标"), + Router = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "路由地址"), + Component = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "组件地址"), + Permission = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "权限标识"), + Application = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "应用分类"), + OpenType = table.Column(type: "int", nullable: false, comment: "打开方式"), + Visible = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "是否可见"), + Link = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "内链地址"), + Redirect = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "重定向地址"), + Weight = table.Column(type: "int", nullable: false, comment: "权重"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + Status = table.Column(type: "int", nullable: false), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_menu", x => x.Id); + }, + comment: "菜单表"); + + migrationBuilder.CreateTable( + name: "sys_notice", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + Title = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "标题"), + Content = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "内容"), + Type = table.Column(type: "int", nullable: false, comment: "类型"), + PublicUserId = table.Column(type: "bigint", nullable: false, comment: "发布人Id"), + PublicUserName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "发布人姓名"), + PublicOrgId = table.Column(type: "bigint", nullable: false, comment: "发布机构Id"), + PublicOrgName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "发布机构名称"), + PublicTime = table.Column(type: "datetime", nullable: false, comment: "发布时间"), + CancelTime = table.Column(type: "datetime", nullable: false, comment: "撤回时间"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_notice", x => x.Id); + }, + comment: "通知公告表"); + + migrationBuilder.CreateTable( + name: "sys_notice_user", + columns: table => new + { + NoticeId = table.Column(type: "bigint", nullable: false, comment: "通知公告Id"), + UserId = table.Column(type: "bigint", nullable: false, comment: "用户Id"), + ReadTime = table.Column(type: "datetime", nullable: false, comment: "阅读时间"), + ReadStatus = table.Column(type: "int", nullable: false, comment: "状态") + }, + constraints: table => + { + }, + comment: "通知公告用户表"); + + migrationBuilder.CreateTable( + name: "sys_oauth_user", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + Uuid = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "UUID"), + AccessToken = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "Token"), + NickName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "昵称"), + Avatar = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "头像"), + Gender = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "性别"), + Phone = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "电话"), + Email = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "邮箱"), + Location = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "位置"), + Blog = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "用户网址"), + Company = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "所在公司"), + Source = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "用户来源"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_oauth_user", x => x.Id); + }, + comment: "Oauth登录用户表"); + + migrationBuilder.CreateTable( + name: "sys_org", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + Pid = table.Column(type: "bigint", nullable: false, comment: "父Id"), + Pids = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "父Ids"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Contacts = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "联系人"), + Tel = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "电话"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_org", x => x.Id); + }, + comment: "组织机构表"); + + migrationBuilder.CreateTable( + name: "sys_pos", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_pos", x => x.Id); + }, + comment: "职位表"); + + migrationBuilder.CreateTable( + name: "sys_role", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + DataScopeType = table.Column(type: "int", nullable: false, comment: "数据范围类型"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_role", x => x.Id); + }, + comment: "角色表"); + + migrationBuilder.CreateTable( + name: "sys_tenant", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + Name = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "名称"), + Host = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "主机"), + Email = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "电子邮箱"), + Phone = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "电话"), + Connection = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "数据库连接"), + Schema = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "架构"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_tenant", x => x.Id); + }, + comment: "租户表"); + + migrationBuilder.CreateTable( + name: "sys_timer", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + JobName = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "任务名称"), + JobGroup = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "任务分组"), + BeginTime = table.Column(type: "datetime", nullable: false, comment: "开始时间"), + EndTime = table.Column(type: "datetime", nullable: true, comment: "结束时间"), + Cron = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "Cron表达式"), + RunNumber = table.Column(type: "int", nullable: true, comment: "执行次数"), + Interval = table.Column(type: "int", nullable: true, comment: "执行间隔时间"), + TriggerType = table.Column(type: "int", nullable: false, comment: "触发器类型"), + RequestUrl = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求url"), + RequestParameters = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "请求参数"), + Headers = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "Headers"), + RequestType = table.Column(type: "int", nullable: false, comment: "请求类型"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_timer", x => x.Id); + }, + comment: "定时任务表"); + + migrationBuilder.CreateTable( + name: "sys_user", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + Account = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: false, comment: "账号"), + Password = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: false, comment: "密码"), + NickName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "昵称"), + Name = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "姓名"), + Avatar = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "头像"), + Birthday = table.Column(type: "datetime", nullable: false, comment: "生日"), + Sex = table.Column(type: "int", nullable: false, comment: "性别-男_1、女_2"), + Email = table.Column(type: "varchar(30) CHARACTER SET utf8mb4", maxLength: 30, nullable: true, comment: "邮箱"), + Phone = table.Column(type: "varchar(30) CHARACTER SET utf8mb4", maxLength: 30, nullable: true, comment: "手机"), + Tel = table.Column(type: "varchar(30) CHARACTER SET utf8mb4", maxLength: 30, nullable: true, comment: "电话"), + LastLoginIp = table.Column(type: "varchar(30) CHARACTER SET utf8mb4", maxLength: 30, nullable: true, comment: "最后登录IP"), + LastLoginTime = table.Column(type: "datetime", nullable: false, comment: "最后登录时间"), + AdminType = table.Column(type: "int", nullable: false, comment: "管理员类型-超级管理员_1、非管理员_2"), + Status = table.Column(type: "int", nullable: false, comment: "状态-正常_0、停用_1、删除_2"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_user", x => x.Id); + }, + comment: "用户表"); + + migrationBuilder.CreateTable( + name: "sys_dict_data", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false, comment: "Id主键"), + TypeId = table.Column(type: "bigint", nullable: false, comment: "字典类型Id"), + Value = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "值"), + Code = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "编码"), + Sort = table.Column(type: "int", nullable: false, comment: "排序"), + Remark = table.Column(type: "longtext CHARACTER SET utf8mb4", nullable: true, comment: "备注"), + Status = table.Column(type: "int", nullable: false, comment: "状态"), + CreatedTime = table.Column(type: "datetime", nullable: true, comment: "创建时间"), + UpdatedTime = table.Column(type: "datetime", nullable: true, comment: "更新时间"), + CreatedUserId = table.Column(type: "bigint", nullable: true, comment: "创建者Id"), + CreatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "创建者名称"), + UpdatedUserId = table.Column(type: "bigint", nullable: true, comment: "修改者Id"), + UpdatedUserName = table.Column(type: "varchar(20) CHARACTER SET utf8mb4", maxLength: 20, nullable: true, comment: "修改者名称"), + IsDeleted = table.Column(type: "tinyint(1)", nullable: false, comment: "软删除标记") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_dict_data", x => x.Id); + table.ForeignKey( + name: "FK_sys_dict_data_sys_dict_type_TypeId", + column: x => x.TypeId, + principalTable: "sys_dict_type", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "字典值表"); + + migrationBuilder.CreateTable( + name: "sys_emp_ext_org_pos", + columns: table => new + { + SysEmpId = table.Column(type: "bigint", nullable: false, comment: "员工Id"), + SysOrgId = table.Column(type: "bigint", nullable: false, comment: "机构Id"), + SysPosId = table.Column(type: "bigint", nullable: false, comment: "职位Id") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_emp_ext_org_pos", x => new { x.SysEmpId, x.SysOrgId, x.SysPosId }); + table.ForeignKey( + name: "FK_sys_emp_ext_org_pos_sys_emp_SysEmpId", + column: x => x.SysEmpId, + principalTable: "sys_emp", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_emp_ext_org_pos_sys_org_SysOrgId", + column: x => x.SysOrgId, + principalTable: "sys_org", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_emp_ext_org_pos_sys_pos_SysPosId", + column: x => x.SysPosId, + principalTable: "sys_pos", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "员工附属机构职位表"); + + migrationBuilder.CreateTable( + name: "sys_emp_pos", + columns: table => new + { + SysEmpId = table.Column(type: "bigint", nullable: false, comment: "员工Id"), + SysPosId = table.Column(type: "bigint", nullable: false, comment: "职位Id") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_emp_pos", x => new { x.SysEmpId, x.SysPosId }); + table.ForeignKey( + name: "FK_sys_emp_pos_sys_emp_SysEmpId", + column: x => x.SysEmpId, + principalTable: "sys_emp", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_emp_pos_sys_pos_SysPosId", + column: x => x.SysPosId, + principalTable: "sys_pos", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "员工职位表"); + + migrationBuilder.CreateTable( + name: "sys_role_data_scope", + columns: table => new + { + SysRoleId = table.Column(type: "bigint", nullable: false, comment: "角色Id"), + SysOrgId = table.Column(type: "bigint", nullable: false, comment: "机构Id") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_role_data_scope", x => new { x.SysRoleId, x.SysOrgId }); + table.ForeignKey( + name: "FK_sys_role_data_scope_sys_org_SysOrgId", + column: x => x.SysOrgId, + principalTable: "sys_org", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_role_data_scope_sys_role_SysRoleId", + column: x => x.SysRoleId, + principalTable: "sys_role", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "角色数据范围表"); + + migrationBuilder.CreateTable( + name: "sys_role_menu", + columns: table => new + { + SysRoleId = table.Column(type: "bigint", nullable: false, comment: "角色Id"), + SysMenuId = table.Column(type: "bigint", nullable: false, comment: "菜单Id") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_role_menu", x => new { x.SysRoleId, x.SysMenuId }); + table.ForeignKey( + name: "FK_sys_role_menu_sys_menu_SysMenuId", + column: x => x.SysMenuId, + principalTable: "sys_menu", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_role_menu_sys_role_SysRoleId", + column: x => x.SysRoleId, + principalTable: "sys_role", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "角色菜单表"); + + migrationBuilder.CreateTable( + name: "sys_user_data_scope", + columns: table => new + { + SysUserId = table.Column(type: "bigint", nullable: false, comment: "用户Id"), + SysOrgId = table.Column(type: "bigint", nullable: false, comment: "机构Id") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_user_data_scope", x => new { x.SysUserId, x.SysOrgId }); + table.ForeignKey( + name: "FK_sys_user_data_scope_sys_org_SysOrgId", + column: x => x.SysOrgId, + principalTable: "sys_org", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_user_data_scope_sys_user_SysUserId", + column: x => x.SysUserId, + principalTable: "sys_user", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "用户数据范围表"); + + migrationBuilder.CreateTable( + name: "sys_user_role", + columns: table => new + { + SysUserId = table.Column(type: "bigint", nullable: false, comment: "用户Id"), + SysRoleId = table.Column(type: "bigint", nullable: false, comment: "角色Id") + }, + constraints: table => + { + table.PrimaryKey("PK_sys_user_role", x => new { x.SysUserId, x.SysRoleId }); + table.ForeignKey( + name: "FK_sys_user_role_sys_role_SysRoleId", + column: x => x.SysRoleId, + principalTable: "sys_role", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_sys_user_role_sys_user_SysUserId", + column: x => x.SysUserId, + principalTable: "sys_user", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "用户角色表"); + + migrationBuilder.InsertData( + table: "sys_app", + columns: new[] { "Id", "Active", "Code", "Color", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Name", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[,] + { + { 142307070922869L, "N", "busapp", null, null, null, null, null, false, "业务应用", 100, 0, null, null, null }, + { 142307070898245L, "Y", "system", null, null, null, null, null, false, "系统管理", 100, 0, null, null, null }, + { 142307070902341L, "N", "system_tool", null, null, null, null, null, false, "系统工具", 100, 0, null, null, null }, + { 142307070922826L, "N", "advanced", null, null, null, null, null, false, "高级功能", 100, 0, null, null, null } + }); + + migrationBuilder.InsertData( + table: "sys_config", + columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "GroupCode", "IsDeleted", "Name", "Remark", "Status", "SysFlag", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Value" }, + values: new object[,] + { + { 142307070902360L, "DILON_EMAIL_FROM", null, null, null, "EMAIL", false, "邮箱发件人", "邮箱发件人", 0, "Y", null, null, null, "test@126.com" }, + { 142307070902362L, "DILON_FILE_UPLOAD_PATH_FOR_LINUX", null, null, null, "FILE_PATH", false, "Linux/Mac本地上传文件路径", "Linux/Mac本地上传文件路径", 0, "Y", null, null, null, "/tmp" }, + { 142307070902363L, "DILON_UN_XSS_FILTER_URL", null, null, null, "DEFAULT", false, "放开XSS过滤的接口", "多个url可以用英文逗号隔开", 0, "Y", null, null, null, "/demo/xssfilter,/demo/unxss" }, + { 142307070902364L, "DILON_ENABLE_SINGLE_LOGIN", null, null, null, "DEFAULT", false, "单用户登陆的开关", "true-打开,false-关闭,如果一个人登录两次,就会将上一次登陆挤下去", 0, "Y", null, null, null, "false" }, + { 142307070902365L, "DILON_CAPTCHA_OPEN", null, null, null, "DEFAULT", false, "登录验证码的开关", "true-打开,false-关闭", 0, "Y", null, null, null, "true" }, + { 142307070902366L, "DILON_DRUID_USERNAME", null, null, null, "DEFAULT", false, "Druid监控登录账号", "Druid监控登录账号", 0, "Y", null, null, null, "superAdmin" }, + { 142307070902367L, "DILON_DRUID_PASSWORD", null, null, null, "DEFAULT", false, "Druid监控界面登录密码", "Druid监控界面登录密码", 0, "Y", null, null, null, "123456" }, + { 142307070902369L, "DILON_IP_GEO_APP_CODE", null, null, null, "DEFAULT", false, "阿里云定位appCode", "阿里云定位appCode", 0, "Y", null, null, null, "461535aabeae4f34861884d392f5d452" }, + { 142307070902359L, "DILON_EMAIL_SSL", null, null, null, "EMAIL", false, "邮箱是否开启ssl", "邮箱是否开启ssl", 0, "Y", null, null, null, "true" }, + { 142307070902370L, "DILON_ENABLE_OAUTH_LOGIN", null, null, null, "OAUTH", false, "Oauth用户登录的开关", "Oauth用户登录的开关", 0, "Y", null, null, null, "true" }, + { 142307070902371L, "DILON_OAUTH_GITEE_CLIENT_ID", null, null, null, "OAUTH", false, "Oauth码云登录ClientId", "Oauth码云登录ClientId", 0, "Y", null, null, null, "你的clientId" }, + { 142307070902372L, "DILON_OAUTH_GITEE_CLIENT_SECRET", null, null, null, "OAUTH", false, "Oauth码云登录ClientSecret", "Oauth码云登录ClientSecret", 0, "Y", null, null, null, "你的clientSecret" }, + { 142307070902373L, "DILON_OAUTH_GITEE_REDIRECT_URI", null, null, null, "OAUTH", false, "Oauth码云登录回调地址", "Oauth码云登录回调地址", 0, "Y", null, null, null, "http://127.0.0.1:5566/oauth/callback/gitee" }, + { 142307070902374L, "DILON_DEMO_ENV_FLAG", null, null, null, "DEFAULT", false, "演示环境", "演示环境的开关,true-打开,false-关闭,如果演示环境开启,则只能读数据不能写数据", 0, "Y", null, null, null, "false" }, + { 142307070902368L, "DILON_IP_GEO_API", null, null, null, "DEFAULT", false, "阿里云定位api接口地址", "阿里云定位api接口地址", 0, "Y", null, null, null, "http://api01.aliyun.venuscn.com/ip?ip=%s" }, + { 142307070902358L, "DILON_EMAIL_PORT", null, null, null, "EMAIL", false, "邮箱端口", "邮箱端口", 0, "Y", null, null, null, "465" }, + { 142307070902361L, "DILON_FILE_UPLOAD_PATH_FOR_WINDOWS", null, null, null, "FILE_PATH", false, "Win本地上传文件路径", "Win本地上传文件路径", 0, "Y", null, null, null, "D:/tmp" }, + { 142307070902356L, "DILON_EMAIL_USERNAME", null, null, null, "EMAIL", false, "邮箱用户名", "邮箱用户名", 0, "Y", null, null, null, "test@126.com" }, + { 142307070902342L, "DILON_JWT_SECRET", null, null, null, "DEFAULT", false, "jwt密钥", "(重要)jwt密钥,默认为空,自行设置", 0, "Y", null, null, null, "xiaonuo" }, + { 142307070902343L, "DILON_DEFAULT_PASSWORD", null, null, null, "DEFAULT", false, "默认密码", "默认密码", 0, "Y", null, null, null, "123456" }, + { 142307070902344L, "DILON_TOKEN_EXPIRE", null, null, null, "DEFAULT", false, "token过期时间", "token过期时间(单位:秒)", 0, "Y", null, null, null, "86400" }, + { 142307070902357L, "DILON_EMAIL_PASSWORD", null, null, null, "EMAIL", false, "邮箱密码", "邮箱密码", 0, "Y", null, null, null, "你的邮箱密码" }, + { 142307070902346L, "DILON_ALIYUN_SMS_ACCESSKEY_ID", null, null, null, "ALIYUN_SMS", false, "阿里云短信keyId", "阿里云短信keyId", 0, "Y", null, null, null, "你的keyId" }, + { 142307070902347L, "DILON_ALIYUN_SMS_ACCESSKEY_SECRET", null, null, null, "ALIYUN_SMS", false, "阿里云短信secret", "阿里云短信secret", 0, "Y", null, null, null, "你的secret" }, + { 142307070902348L, "DILON_ALIYUN_SMS_SIGN_NAME", null, null, null, "ALIYUN_SMS", false, "阿里云短信签名", "阿里云短信签名", 0, "Y", null, null, null, "你的签名" }, + { 142307070902345L, "DILON_SESSION_EXPIRE", null, null, null, "DEFAULT", false, "session会话过期时间", "session会话过期时间(单位:秒)", 0, "Y", null, null, null, "7200" }, + { 142307070902350L, "DILON_ALIYUN_SMS_INVALIDATE_MINUTES", null, null, null, "ALIYUN_SMS", false, "阿里云短信默认失效时间", "阿里云短信默认失效时间(单位:分钟)", 0, "Y", null, null, null, "5" }, + { 142307070902351L, "DILON_TENCENT_SMS_SECRET_ID", null, null, null, "TENCENT_SMS", false, "腾讯云短信secretId", "腾讯云短信secretId", 0, "Y", null, null, null, "你的secretId" }, + { 142307070902352L, "DILON_TENCENT_SMS_SECRET_KEY", null, null, null, "TENCENT_SMS", false, "腾讯云短信secretKey", "腾讯云短信secretKey", 0, "Y", null, null, null, "你的secretkey" }, + { 142307070902353L, "DILON_TENCENT_SMS_SDK_APP_ID", null, null, null, "TENCENT_SMS", false, "腾讯云短信sdkAppId", "腾讯云短信sdkAppId", 0, "Y", null, null, null, "1400375123" }, + { 142307070902354L, "DILON_TENCENT_SMS_SIGN", null, null, null, "TENCENT_SMS", false, "腾讯云短信签名", "腾讯云短信签名", 0, "Y", null, null, null, "你的签名" }, + { 142307070902355L, "DILON_EMAIL_HOST", null, null, null, "EMAIL", false, "邮箱host", "邮箱host", 0, "Y", null, null, null, "smtp.126.com" }, + { 142307070902349L, "DILON_ALIYUN_SMS_LOGIN_TEMPLATE_CODE", null, null, null, "ALIYUN_SMS", false, "阿里云短信-登录模板号", "阿里云短信-登录模板号", 0, "Y", null, null, null, "SMS_1877123456" } + }); + + migrationBuilder.InsertData( + table: "sys_dict_type", + columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Name", "Remark", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[,] + { + { 142307070910534L, "notice_type", null, null, null, false, "通知公告类型", "通知公告类型", 100, 0, null, null, null }, + { 142307070910535L, "notice_status", null, null, null, false, "通知公告状态", "通知公告状态", 100, 0, null, null, null }, + { 142307070910536L, "yes_true_false", null, null, null, false, "是否boolean", "是否boolean", 100, 0, null, null, null }, + { 142307070910537L, "code_gen_create_type", null, null, null, false, "代码生成方式", "代码生成方式", 100, 0, null, null, null }, + { 142307070922828L, "code_gen_query_type", null, null, null, false, "代码生成查询类型", "代码生成查询类型", 100, 0, null, null, null }, + { 142307070922827L, "code_gen_effect_type", null, null, null, false, "代码生成作用类型", "代码生成作用类型", 100, 0, null, null, null }, + { 142307070922829L, "code_gen_net_type", null, null, null, false, "代码生成.NET类型", "代码生成.NET类型", 100, 0, null, null, null }, + { 142307070910533L, "run_status", null, null, null, false, "运行状态", "定时任务运行状态", 100, 0, null, null, null }, + { 142307070910538L, "request_type", null, null, null, false, "请求方式", "请求方式", 100, 0, null, null, null }, + { 142307070906494L, "op_type", null, null, null, false, "操作类型", "操作类型", 100, 0, null, null, null }, + { 142307070906495L, "file_storage_location", null, null, null, false, "文件存储位置", "文件存储位置", 100, 0, null, null, null }, + { 142307070906492L, "data_scope_type", null, null, null, false, "数据范围类型", "数据范围类型", 100, 0, null, null, null }, + { 142307070906493L, "sms_send_source", null, null, null, false, "短信发送来源", "短信发送来源", 100, 0, null, null, null }, + { 142307070906484L, "sex", null, null, null, false, "性别", "性别字典", 100, 0, null, null, null }, + { 142307070906485L, "consts_type", null, null, null, false, "常量的分类", "常量的分类,用于区别一组配置", 100, 0, null, null, null }, + { 142307070906486L, "yes_or_no", null, null, null, false, "是否", "是否", 100, 0, null, null, null }, + { 142307070906487L, "vis_type", null, null, null, false, "访问类型", "访问类型", 100, 0, null, null, null }, + { 142307070906483L, "common_status", null, null, null, false, "通用状态", "通用状态", 100, 0, null, null, null }, + { 142307070906489L, "send_type", null, null, null, false, "发送类型", "发送类型", 100, 0, null, null, null }, + { 142307070906490L, "open_type", null, null, null, false, "打开方式", "打开方式", 100, 0, null, null, null }, + { 142307070906491L, "menu_weight", null, null, null, false, "菜单权重", "菜单权重", 100, 0, null, null, null }, + { 142307070906488L, "menu_type", null, null, null, false, "菜单类型", "菜单类型", 100, 0, null, null, null } + }); + + migrationBuilder.InsertData( + table: "sys_emp", + columns: new[] { "Id", "JobNum", "OrgId", "OrgName" }, + values: new object[,] + { + { 142307070910551L, "D1001", 142307070910539L, "华夏集团" }, + { 142307070910552L, "D1002", 142307070910539L, "华夏集团" }, + { 142307070910553L, "D1003", 142307070910539L, "华夏集团" } + }); + + migrationBuilder.InsertData( + table: "sys_menu", + columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "Weight" }, + values: new object[,] + { + { 142307070918736L, "system", "sys_log_mgr_op_log", "system/log/oplog/index", null, null, null, null, false, null, "操作日志", 1, null, 142307070918732L, "[0],[142307070918732],", null, null, "/oplog", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070918732L, "system", "sys_log_mgr", "PageView", null, null, null, "read", false, null, "日志管理", 0, null, 0L, "[0],", null, null, "/log", 100, 0, 0, null, null, null, "Y", 1 }, + { 142307070918733L, "system", "sys_log_mgr_vis_log", "system/log/vislog/index", null, null, null, null, false, null, "访问日志", 1, null, 142307070918732L, "[0],[142307070918732],", null, null, "/vislog", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070918731L, "system", "sys_swagger_mgr", "Iframe", null, null, null, null, false, "http://127.0.0.1:5566/", "接口文档", 2, null, 142307070914662L, "[0],[142307070914662],", null, null, "/swagger", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070918734L, "system", "sys_log_mgr_vis_log_page", null, null, null, null, null, false, null, "访问日志查询", 0, "sysVisLog:page", 142307070918733L, "[0],[142307070918732],[142307070918733],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918735L, "system", "sys_log_mgr_vis_log_delete", null, null, null, null, null, false, null, "访问日志清空", 0, "sysVisLog:delete", 142307070918733L, "[0],[142307070918732],[142307070918733],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918737L, "system", "sys_log_mgr_op_log_page", null, null, null, null, null, false, null, "操作日志查询", 0, "sysOpLog:page", 142307070918736L, "[0],[142307070918732],[142307070918736],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918743L, "system", "sys_monitor_mgr_online_user_list", null, null, null, null, null, false, null, "在线用户列表", 0, "sysOnlineUser:list", 142307070918742L, "[0],[142307070918739],[142307070918742],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918739L, "system", "sys_monitor_mgr", "PageView", null, null, null, "deployment-unit", false, null, "系统监控", 0, null, 0L, "[0],", null, null, "/monitor", 100, 0, 0, null, null, null, "Y", 1 }, + { 142307070918740L, "system", "sys_monitor_mgr_machine_monitor", "system/machine/index", null, null, null, null, false, null, "服务监控", 1, null, 142307070918739L, "[0],[142307070918739],", null, null, "/machine", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070918741L, "system", "sys_monitor_mgr_machine_monitor_query", null, null, null, null, null, false, null, "服务监控查询", 0, "sysMachine:query", 142307070918740L, "[0],[142307070918739],[142307070918740],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918742L, "system", "sys_monitor_mgr_online_user", "system/onlineUser/index", null, null, null, null, false, null, "在线用户", 1, null, 142307070918739L, "[0],[142307070918739],", null, null, "/onlineUser", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070918730L, "system", "sys_dict_mgr_dict_change_status", null, null, null, null, null, false, null, "字典值修改状态", 0, "sysDictData:changeStatus", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918744L, "system", "sys_monitor_mgr_online_user_force_exist", null, null, null, null, null, false, null, "在线用户强退", 0, "sysOnlineUser:forceExist", 142307070918742L, "[0],[142307070918739],[142307070918742],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918745L, "system", "sys_monitor_mgr_druid", "Iframe", null, null, null, null, false, "http://localhost:82/druid/login.html", "数据监控", 2, null, 142307070918739L, "[0],[142307070918739],", null, null, "/druid", 100, 0, 1, null, null, null, "N", 1 }, + { 142307070918738L, "system", "sys_log_mgr_op_log_delete", null, null, null, null, null, false, null, "操作日志清空", 0, "sysOpLog:delete", 142307070918736L, "[0],[142307070918732],[142307070918736],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918729L, "system", "sys_role_mgr_grant_data", null, null, null, null, null, false, null, "字典值详情", 0, "sysDictData:detail", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914685L, "system", "sys_dict_mgr_dict_type_drop_down", null, null, null, null, null, false, null, "字典类型下拉", 0, "sysDictType:dropDown", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918727L, "system", "sys_dict_mgr_dict_delete", null, null, null, null, null, false, null, "字典值删除", 0, "sysDictData:delete", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918746L, "system", "sys_notice", "PageView", null, null, null, "sound", false, null, "通知公告", 0, null, 0L, "[0],", null, null, "/notice", 100, 0, 0, null, null, null, "Y", 1 }, + { 142307070914674L, "system", "sys_sms_mgr", "system/sms/index", null, null, null, null, false, null, "短信管理", 1, null, 142307070914662L, "[0],[142307070914662],", null, null, "/sms", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070914675L, "system", "sys_sms_mgr_page", null, null, null, null, null, false, null, "短信发送查询", 0, "sms:page", 142307070914674L, "[0],[142307070914662],[142307070914674],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914676L, "system", "sys_sms_mgr_send_login_message", null, null, null, null, null, false, null, "发送验证码短信", 0, "sms:sendLoginMessage", 142307070914674L, "[0],[142307070914662],[142307070914674],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914677L, "system", "sys_sms_mgr_validate_message", null, null, null, null, null, false, null, "验证短信验证码", 0, "sms:validateMessage", 142307070914674L, "[0],[142307070914662],[142307070914674],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914678L, "system", "sys_dict_mgr", "system/dict/index", null, null, null, null, false, null, "字典管理", 1, null, 142307070914662L, "[0],[142307070914662],", null, null, "/dict", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070914679L, "system", "sys_dict_mgr_dict_type_page", null, null, null, null, null, false, null, "字典类型查询", 0, "sysDictType:page", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918728L, "system", "sys_dict_mgr_dict_edit", null, null, null, null, null, false, null, "字典值编辑", 0, "sysDictData:edit", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914680L, "system", "sys_dict_mgr_dict_type_list", null, null, null, null, null, false, null, "字典类型列表", 0, "sysDictType:list", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914682L, "system", "sys_dict_mgr_dict_type_delete", null, null, null, null, null, false, null, "字典类型删除", 0, "sysDictType:delete", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914683L, "system", "sys_dict_mgr_dict_type_edit", null, null, null, null, null, false, null, "字典类型编辑", 0, "sysDictType:edit", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914684L, "system", "sys_dict_mgr_dict_type_detail", null, null, null, null, null, false, null, "字典类型详情", 0, "sysDictType:detail", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914686L, "system", "sys_dict_mgr_dict_type_change_status", null, null, null, null, null, false, null, "字典类型修改状态", 0, "sysDictType:changeStatus", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914687L, "system", "sys_dict_mgr_dict_page", null, null, null, null, null, false, null, "字典值查询", 0, "sysDictData:page", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918725L, "system", "sys_dict_mgr_dict_list", null, null, null, null, null, false, null, "字典值列表", 0, "sysDictData:list", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918726L, "system", "sys_dict_mgr_dict_add", null, null, null, null, null, false, null, "字典值增加", 0, "sysDictData:add", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914681L, "system", "sys_dict_mgr_dict_type_add", null, null, null, null, null, false, null, "字典类型增加", 0, "sysDictType:add", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918747L, "system", "sys_notice_mgr", "system/notice/index", null, null, null, null, false, null, "公告管理", 1, null, 142307070918746L, "[0],[142307070918746],", null, null, "/notice", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070918782L, "advanced", "sys_tenant", "PageView", null, null, null, "switcher", false, null, "SaaS租户", 0, null, 0L, "[0],", null, null, "/tenant", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070918749L, "system", "sys_notice_mgr_add", null, null, null, null, null, false, null, "公告增加", 0, "sysNotice:add", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918770L, "system", "sys_timers_mgr_add", null, null, null, null, null, false, null, "定时任务增加", 0, "sysTimers:add", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918771L, "system", "sys_timers_mgr_delete", null, null, null, null, null, false, null, "定时任务删除", 0, "sysTimers:delete", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918772L, "system", "sys_timers_mgr_edit", null, null, null, null, null, false, null, "定时任务编辑", 0, "sysTimers:edit", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918773L, "system", "sys_timers_mgr_get_action_classes", null, null, null, null, null, false, null, "定时任务可执行列表", 0, "sysTimers:getActionClasses", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918774L, "system", "sys_timers_mgr_start", null, null, null, null, null, false, null, "定时任务启动", 0, "sysTimers:start", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918775L, "system", "sys_timers_mgr_stop", null, null, null, null, null, false, null, "定时任务关闭", 0, "sysTimers:stop", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918776L, "system_tool", "code_gen", "gen/codeGenerate/index", null, null, null, "thunderbolt", false, null, "代码生成", 0, null, 0L, "[0],", null, null, "/codeGenerate/index", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070922870L, "system_tool", "form_design", "system/formDesign/index", null, null, null, "robot", false, null, "表单设计", 0, null, 0L, "[0],", null, null, "/formDesign/index", 100, 0, 1, null, null, null, "Y", 1 } + }); + + migrationBuilder.InsertData( + table: "sys_menu", + columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "Weight" }, + values: new object[,] + { + { 142307070914673L, "system", "sys_email_mgr_send_email_html", null, null, null, null, null, false, null, "发送html邮件", 0, "email:sendEmailHtml", 142307070914671L, "[0],[142307070914662],[142307070914671],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918783L, "advanced", "sys_tenant_mgr", "system/tenant/index", null, null, null, null, false, null, "租户管理", 1, null, 142307070918782L, "[0],[142307070918782],", null, null, "/tenant", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070922821L, "advanced", "sys_tenant_mgr_page", null, null, null, null, null, false, null, "租户查询", 0, "sysTenant:page", 142307070918783L, "[0],[142307070918782],[142307070918783],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070922822L, "advanced", "sys_tenant_mgr_detail", null, null, null, null, null, false, null, "租户详情", 0, "sysTenant:detail", 142307070918783L, "[0],[142307070918782],[142307070918783],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070922823L, "advanced", "sys_tenant_mgr_add", null, null, null, null, null, false, null, "租户增加", 0, "sysTenant:add", 142307070918783L, "[0],[142307070918782],[142307070918783],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070922824L, "advanced", "sys_tenant_mgr_delete", null, null, null, null, null, false, null, "租户删除", 0, "sysTenant:delete", 142307070918783L, "[0],[142307070918782],[142307070918783],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070922825L, "advanced", "sys_tenant_mgr_edit", null, null, null, null, null, false, null, "租户编辑", 0, "sysTenant:edit", 142307070918783L, "[0],[142307070918782],[142307070918783],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918769L, "system", "sys_timers_mgr_detail", null, null, null, null, null, false, null, "定时任务详情", 0, "sysTimers:detail", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918768L, "system", "sys_timers_mgr_list", null, null, null, null, null, false, null, "定时任务列表", 0, "sysTimers:list", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918767L, "system", "sys_timers_mgr_page", null, null, null, null, null, false, null, "定时任务查询", 0, "sysTimers:page", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918766L, "system", "sys_timers_mgr", "system/timers/index", null, null, null, null, false, null, "任务管理", 1, null, 142307070918765L, "[0],[142307070918765],", null, null, "/timers", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070918750L, "system", "sys_notice_mgr_edit", null, null, null, null, null, false, null, "公告编辑", 0, "sysNotice:edit", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918751L, "system", "sys_notice_mgr_delete", null, null, null, null, null, false, null, "公告删除", 0, "sysNotice:delete", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918752L, "system", "sys_notice_mgr_detail", null, null, null, null, null, false, null, "公告查看", 0, "sysNotice:detail", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918753L, "system", "sys_notice_mgr_changeStatus", null, null, null, null, null, false, null, "公告修改状态", 0, "sysNotice:changeStatus", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918754L, "system", "sys_notice_mgr_received", "system/noticeReceived/index", null, null, null, null, false, null, "已收公告", 1, null, 142307070918746L, "[0],[142307070918746],", null, null, "/noticeReceived", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070918755L, "system", "sys_notice_mgr_received_page", null, null, null, null, null, false, null, "已收公告查询", 0, "sysNotice:received", 142307070918754L, "[0],[142307070918746],[142307070918754],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918756L, "system", "sys_file_mgr", "PageView", null, null, null, "file", false, null, "文件管理", 0, null, 0L, "[0],", null, null, "/file", 100, 0, 0, null, null, null, "Y", 1 }, + { 142307070918748L, "system", "sys_notice_mgr_page", null, null, null, null, null, false, null, "公告查询", 0, "sysNotice:page", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918757L, "system", "sys_file_mgr_sys_file", "system/file/index", null, null, null, null, false, null, "系统文件", 1, null, 142307070918756L, "[0],[142307070918756],", null, null, "/file", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070918759L, "system", "sys_file_mgr_sys_file_list", null, null, null, null, null, false, null, "文件列表", 0, "sysFileInfo:list", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918760L, "system", "sys_file_mgr_sys_file_delete", null, null, null, null, null, false, null, "文件删除", 0, "sysFileInfo:delete", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918761L, "system", "sys_file_mgr_sys_file_detail", null, null, null, null, null, false, null, "文件详情", 0, "sysFileInfo:detail", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918762L, "system", "sys_file_mgr_sys_file_upload", null, null, null, null, null, false, null, "文件上传", 0, "sysFileInfo:upload", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918763L, "system", "sys_file_mgr_sys_file_download", null, null, null, null, null, false, null, "文件下载", 0, "sysFileInfo:download", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918764L, "system", "sys_file_mgr_sys_file_preview", null, null, null, null, null, false, null, "图片预览", 0, "sysFileInfo:preview", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918765L, "system", "sys_timers", "PageView", null, null, null, "dashboard", false, null, "定时任务", 0, null, 0L, "[0],", null, null, "/timers", 100, 0, 0, null, null, null, "Y", 1 }, + { 142307070918758L, "system", "sys_file_mgr_sys_file_page", null, null, null, null, null, false, null, "文件查询", 0, "sysFileInfo:page", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914672L, "system", "sys_email_mgr_send_email", null, null, null, null, null, false, null, "发送文本邮件", 0, "email:sendEmail", 142307070914671L, "[0],[142307070914662],[142307070914671],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914649L, "system", "sys_menu_mgr_tree", null, null, null, null, null, false, null, "菜单树", 0, "sysMenu:tree", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914670L, "system", "sys_app_mgr_set_as_default", null, null, null, null, null, false, null, "设为默认应用", 0, "sysApp:setAsDefault", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910580L, "system", "sys_user_mgr_reset_pwd", null, null, null, null, null, false, null, "用户重置密码", 0, "sysUser:resetPwd", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070918777L, "system", "sys_user_mgr_login", null, null, null, null, null, false, null, "用户登录信息", 0, "getLoginUser", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 1, 2, null, null, null, "N", 1 }, + { 142307070910581L, "system", "sys_org_mgr", "system/org/index", null, null, null, null, false, null, "机构管理", 1, null, 142307070910563L, "[0],[142307070910563],", null, null, "/org", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070910582L, "system", "sys_org_mgr_page", null, null, null, null, null, false, null, "机构查询", 0, "sysOrg:page", 142307070910581L, "[0],[142307070910563],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910583L, "system", "sys_org_mgr_list", null, null, null, null, null, false, null, "机构列表", 0, "sysOrg:list", 142307070910581L, "[0],[142307070910563],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910584L, "system", "sys_org_mgr_add", null, null, null, null, null, false, null, "机构增加", 0, "sysOrg:add", 142307070910581L, "[0],[142307070910563],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910585L, "system", "sys_org_mgr_edit", null, null, null, null, null, false, null, "机构编辑", 0, "sysOrg:edit", 142307070910581L, "[0],[142307070910563],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910586L, "system", "sys_org_mgr_delete", null, null, null, null, null, false, null, "机构删除", 0, "sysOrg:delete", 142307070910581L, "[0],[142307070910563],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914671L, "system", "sys_email_mgr", "system/email/index", null, null, null, null, false, null, "邮件发送", 1, null, 142307070914662L, "[0],[142307070914662],", null, null, "/email", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070910588L, "system", "sys_org_mgr_tree", null, null, null, null, null, false, null, "机构树", 0, "sysOrg:tree", 142307070910581L, "[0],[142307070910563],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910589L, "system", "sys_pos_mgr", "system/pos/index", null, null, null, null, false, null, "职位管理", 1, null, 142307070910563L, "[0],[142307070910563],", null, null, "/pos", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070910590L, "system", "sys_pos_mgr_page", null, null, null, null, null, false, null, "职位查询", 0, "sysPos:page", 142307070910589L, "[0],[142307070910563],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910591L, "system", "sys_pos_mgr_list", null, null, null, null, null, false, null, "职位列表", 0, "sysPos:list", 142307070910589L, "[0],[142307070910563],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914629L, "system", "sys_pos_mgr_add", null, null, null, null, null, false, null, "职位增加", 0, "sysPos:add", 142307070910589L, "[0],[142307070910563],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914630L, "system", "sys_pos_mgr_edit", null, null, null, null, null, false, null, "职位编辑", 0, "sysPos:edit", 142307070910589L, "[0],[142307070910563],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910579L, "system", "sys_user_mgr_update_avatar", null, null, null, null, null, false, null, "用户修改头像", 0, "sysUser:updateAvatar", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910578L, "system", "sys_user_mgr_change_status", null, null, null, null, null, false, null, "用户修改状态", 0, "sysUser:changeStatus", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910577L, "system", "sys_user_mgr_update_pwd", null, null, null, null, null, false, null, "用户修改密码", 0, "sysUser:updatePwd", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910576L, "system", "sys_user_mgr_update_info", null, null, null, null, null, false, null, "用户更新信息", 0, "sysUser:updateInfo", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910560L, "system", "system_index", "RouteView", null, null, null, "home", false, null, "主控面板", 0, null, 0L, "[0],", "/analysis", null, "/", 1, 0, 0, null, null, null, "Y", 1 }, + { 142307070910561L, "system", "system_index_dashboard", "system/dashboard/Analysis", null, null, null, null, false, null, "分析页", 0, null, 142307070910560L, "[0],[142307070910560],", null, null, "analysis", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070910562L, "system", "system_index_workplace", "system/dashboard/Workplace", null, null, null, null, false, null, "工作台", 0, null, 142307070910560L, "[0],[142307070910560],", null, null, "workplace", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070910563L, "system", "sys_mgr", "PageView", null, null, null, "team", false, null, "组织架构", 0, null, 0L, "[0],", null, null, "/sys", 100, 0, 0, null, null, null, "Y", 1 }, + { 142307070910564L, "system", "sys_user_mgr", "system/user/index", null, null, null, null, false, null, "用户管理", 1, null, 142307070910563L, "[0],[142307070910563],", null, null, "/mgr_user", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070910565L, "system", "sys_user_mgr_page", null, null, null, null, null, false, null, "用户查询", 0, "sysUser:page", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910566L, "system", "sys_user_mgr_edit", null, null, null, null, null, false, null, "用户编辑", 0, "sysUser:edit", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914631L, "system", "sys_pos_mgr_delete", null, null, null, null, null, false, null, "职位删除", 0, "sysPos:delete", 142307070910589L, "[0],[142307070910563],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910567L, "system", "sys_user_mgr_add", null, null, null, null, null, false, null, "用户增加", 0, "sysUser:add", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910569L, "system", "sys_user_mgr_detail", null, null, null, null, null, false, null, "用户详情", 0, "sysUser:detail", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910570L, "system", "sys_user_mgr_export", null, null, null, null, null, false, null, "用户导出", 0, "sysUser:export", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910571L, "system", "sys_user_mgr_selector", null, null, null, null, null, false, null, "用户选择器", 0, "sysUser:selector", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910572L, "system", "sys_user_mgr_grant_role", null, null, null, null, null, false, null, "用户授权角色", 0, "sysUser:grantRole", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910573L, "system", "sys_user_mgr_own_role", null, null, null, null, null, false, null, "用户拥有角色", 0, "sysUser:ownRole", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910574L, "system", "sys_user_mgr_grant_data", null, null, null, null, null, false, null, "用户授权数据", 0, "sysUser:grantData", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910575L, "system", "sys_user_mgr_own_data", null, null, null, null, null, false, null, "用户拥有数据", 0, "sysUser:ownData", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910568L, "system", "sys_user_mgr_delete", null, null, null, null, null, false, null, "用户删除", 0, "sysUser:delete", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914632L, "system", "sys_pos_mgr_detail", null, null, null, null, null, false, null, "职位详情", 0, "sysPos:detail", 142307070910589L, "[0],[142307070910563],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070910587L, "system", "sys_org_mgr_detail", null, null, null, null, null, false, null, "机构详情", 0, "sysOrg:detail", 142307070910581L, "[0],[142307070910563],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914634L, "system", "sys_app_mgr", "system/app/index", null, null, null, null, false, null, "应用管理", 1, null, 142307070914633L, "[0],[142307070914633],", null, null, "/app", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070914655L, "system", "sys_role_mgr_delete", null, null, null, null, null, false, null, "角色删除", 0, "sysRole:delete", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914656L, "system", "sys_role_mgr_detail", null, null, null, null, null, false, null, "角色详情", 0, "sysRole:detail", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914657L, "system", "sys_role_mgr_drop_down", null, null, null, null, null, false, null, "角色下拉", 0, "sysRole:dropDown", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914658L, "system", "sys_role_mgr_grant_menu", null, null, null, null, null, false, null, "角色授权菜单", 0, "sysRole:grantMenu", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914659L, "system", "sys_role_mgr_own_menu", null, null, null, null, null, false, null, "角色拥有菜单", 0, "sysRole:ownMenu", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914633L, "system", "auth_manager", "PageView", null, null, null, "safety-certificate", false, null, "权限管理", 0, null, 0L, "[0],", null, null, "/auth", 100, 0, 0, null, null, null, "Y", 1 }, + { 142307070914661L, "system", "sys_role_mgr_own_data", null, null, null, null, null, false, null, "角色拥有数据", 0, "sysRole:ownData", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914662L, "system", "system_tools", "PageView", null, null, null, "euro", false, null, "开发管理", 0, null, 0L, "[0],", null, null, "/tools", 100, 0, 0, null, null, null, "Y", 1 }, + { 142307070914663L, "system", "system_tools_config", "system/config/index", null, null, null, null, false, null, "系统配置", 1, null, 142307070914662L, "[0],[142307070914662],", null, null, "/config", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070914664L, "system", "system_tools_config_page", null, null, null, null, null, false, null, "配置查询", 0, "sysConfig:page", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 } + }); + + migrationBuilder.InsertData( + table: "sys_menu", + columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "Weight" }, + values: new object[,] + { + { 142307070914665L, "system", "system_tools_config_list", null, null, null, null, null, false, null, "配置列表", 0, "sysConfig:list", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914666L, "system", "system_tools_config_add", null, null, null, null, null, false, null, "配置增加", 0, "sysConfig:add", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914667L, "system", "system_tools_config_edit", null, null, null, null, null, false, null, "配置编辑", 0, "sysConfig:edit", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914668L, "system", "system_tools_config_delete", null, null, null, null, null, false, null, "配置删除", 0, "sysConfig:delete", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914669L, "system", "system_tools_config_detail", null, null, null, null, null, false, null, "配置详情", 0, "sysConfig:detail", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914654L, "system", "sys_role_mgr_edit", null, null, null, null, null, false, null, "角色编辑", 0, "sysRole:edit", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914653L, "system", "sys_role_mgr_add", null, null, null, null, null, false, null, "角色增加", 0, "sysRole:add", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914660L, "system", "sys_role_mgr_grant_data", null, null, null, null, null, false, null, "角色授权数据", 0, "sysRole:grantData", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914651L, "system", "sys_role_mgr", "system/role/index", null, null, null, null, false, null, "角色管理", 1, null, 142307070914633L, "[0],[142307070914633],", null, null, "/role", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070914652L, "system", "sys_role_mgr_page", null, null, null, null, null, false, null, "角色查询", 0, "sysRole:page", 142307070914651L, "[0],[142307070914633],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914635L, "system", "sys_app_mgr_page", null, null, null, null, null, false, null, "应用查询", 0, "sysApp:page", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914636L, "system", "sys_app_mgr_list", null, null, null, null, null, false, null, "应用列表", 0, "sysApp:list", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914637L, "system", "sys_app_mgr_add", null, null, null, null, null, false, null, "应用增加", 0, "sysApp:add", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914638L, "system", "sys_app_mgr_edit", null, null, null, null, null, false, null, "应用编辑", 0, "sysApp:edit", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914639L, "system", "sys_app_mgr_delete", null, null, null, null, null, false, null, "应用删除", 0, "sysApp:delete", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914640L, "system", "sys_app_mgr_detail", null, null, null, null, null, false, null, "应用详情", 0, "sysApp:detail", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914642L, "system", "sys_menu_mgr", "system/menu/index", null, null, null, null, false, null, "菜单管理", 1, null, 142307070914633L, "[0],[142307070914633],", null, null, "/menu", 100, 0, 1, null, null, null, "Y", 1 }, + { 142307070914641L, "system", "sys_app_mgr_set_as_default", null, null, null, null, null, false, null, "设为默认应用", 0, "sysApp:setAsDefault", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914644L, "system", "sys_menu_mgr_add", null, null, null, null, null, false, null, "菜单增加", 0, "sysMenu:add", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914645L, "system", "sys_menu_mgr_edit", null, null, null, null, null, false, null, "菜单编辑", 0, "sysMenu:edit", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914646L, "system", "sys_menu_mgr_delete", null, null, null, null, null, false, null, "菜单删除", 0, "sysMenu:delete", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914647L, "system", "sys_menu_mgr_detail", null, null, null, null, null, false, null, "菜单详情", 0, "sysMenu:detail", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914648L, "system", "sys_menu_mgr_grant_tree", null, null, null, null, null, false, null, "菜单授权树", 0, "sysMenu:treeForGrant", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914650L, "system", "sys_menu_mgr_change", null, null, null, null, null, false, null, "菜单切换", 0, "sysMenu:change", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, + { 142307070914643L, "system", "sys_menu_mgr_list", null, null, null, null, null, false, null, "菜单列表", 0, "sysMenu:list", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 } + }); + + migrationBuilder.InsertData( + table: "sys_org", + columns: new[] { "Id", "Code", "Contacts", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Name", "Pid", "Pids", "Remark", "Sort", "Status", "Tel", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[,] + { + { 142307070910544L, "hxjt_cd_scb", null, null, null, null, false, "市场部", 142307070910541L, "[0],[142307070910539],[142307070910541],", "华夏集团成都分公司市场部", 100, 0, null, null, null, null }, + { 142307070910546L, "hxjt_cd_scb_2b", null, null, null, null, false, "市场部二部", 142307070910544L, "[0],[142307070910539],[142307070910541],[142307070910544],", "华夏集团成都分公司市场部二部", 100, 0, null, null, null, null }, + { 142307070910545L, "hxjt_cd_cwb", null, null, null, null, false, "财务部", 142307070910541L, "[0],[142307070910539],[142307070910541],", "华夏集团成都分公司财务部", 100, 0, null, null, null, null }, + { 142307070910543L, "hxjt_bj_qhb", null, null, null, null, false, "企划部", 142307070910540L, "[0],[142307070910539],[142307070910540],", "华夏集团北京分公司企划部", 100, 0, null, null, null, null }, + { 142307070910539L, "hxjt", null, null, null, null, false, "华夏集团", 0L, "[0],", "华夏集团", 100, 0, null, null, null, null }, + { 142307070910541L, "hxjt_cd", null, null, null, null, false, "华夏集团成都分公司", 142307070910539L, "[0],[142307070910539],", "华夏集团成都分公司", 100, 0, null, null, null, null }, + { 142307070910540L, "hxjt_bj", null, null, null, null, false, "华夏集团北京分公司", 142307070910539L, "[0],[142307070910539],", "华夏集团北京分公司", 100, 0, null, null, null, null }, + { 142307070910542L, "hxjt_bj_yfb", null, null, null, null, false, "研发部", 142307070910540L, "[0],[142307070910539],[142307070910540],", "华夏集团北京分公司研发部", 100, 0, null, null, null, null } + }); + + migrationBuilder.InsertData( + table: "sys_pos", + columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Name", "Remark", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[,] + { + { 142307070910547L, "zjl", null, null, null, false, "总经理", "总经理", 100, 0, null, null, null }, + { 142307070910548L, "fzjl", null, null, null, false, "副总经理", "副总经理", 101, 0, null, null, null }, + { 142307070910549L, "bmjl", null, null, null, false, "部门经理", "部门经理", 102, 0, null, null, null }, + { 142307070910550L, "gzry", null, null, null, false, "工作人员", "工作人员", 103, 0, null, null, null } + }); + + migrationBuilder.InsertData( + table: "sys_role", + columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "DataScopeType", "IsDeleted", "Name", "Remark", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[,] + { + { 142307070910554L, "sys_manager_role", null, null, null, 1, false, "系统管理员", "系统管理员", 100, 0, null, null, null }, + { 142307070910555L, "common_role", null, null, null, 5, false, "普通用户", "普通用户", 101, 0, null, null, null } + }); + + migrationBuilder.InsertData( + table: "sys_timer", + columns: new[] { "Id", "BeginTime", "CreatedTime", "CreatedUserId", "CreatedUserName", "Cron", "EndTime", "Headers", "Interval", "IsDeleted", "JobGroup", "JobName", "Remark", "RequestParameters", "RequestType", "RequestUrl", "RunNumber", "TriggerType", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[] { 142307070910556L, new DateTimeOffset(new DateTime(2021, 3, 21, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), null, null, null, null, null, null, 30, false, "默认分组", "百度api", null, null, 2, "https://www.baidu.com", null, 1, null, null, null }); + + migrationBuilder.InsertData( + table: "sys_user", + columns: new[] { "Id", "Account", "AdminType", "Avatar", "Birthday", "CreatedTime", "CreatedUserId", "CreatedUserName", "Email", "IsDeleted", "LastLoginIp", "LastLoginTime", "Name", "NickName", "Password", "Phone", "Sex", "Status", "Tel", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, + values: new object[,] + { + { 142307070910552L, "admin", 1, null, new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), null, null, null, null, false, null, new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), "admin", null, "e10adc3949ba59abbe56e057f20f883e", "18020030720", 2, 0, null, null, null, null }, + { 142307070910551L, "superAdmin", 1, null, new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), null, null, null, null, false, null, new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), "superAdmin", null, "e10adc3949ba59abbe56e057f20f883e", "18020030720", 1, 0, null, null, null, null }, + { 142307070910553L, "zuohuaijun", 2, null, new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), null, null, null, null, false, null, new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), "zuohuaijun", null, "e10adc3949ba59abbe56e057f20f883e", "18020030720", 1, 0, null, null, null, null } + }); + + migrationBuilder.InsertData( + table: "sys_dict_data", + columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Remark", "Sort", "Status", "TypeId", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Value" }, + values: new object[,] + { + { 142307070902384L, "0", null, null, null, false, "正常", 100, 0, 142307070906483L, null, null, null, "正常" }, + { 142307070922830L, "input", null, null, null, false, "输入框", 100, 0, 142307070922827L, null, null, null, "输入框" }, + { 142307070906482L, "4", null, null, null, false, "DELETE", 100, 0, 142307070910538L, null, null, null, "DELETE" }, + { 142307070906481L, "3", null, null, null, false, "PUT", 100, 0, 142307070910538L, null, null, null, "PUT" }, + { 142307070906480L, "2", null, null, null, false, "POST", 100, 0, 142307070910538L, null, null, null, "POST" }, + { 142307070906479L, "1", null, null, null, false, "GET", 100, 0, 142307070910538L, null, null, null, "GET" }, + { 142307070906478L, "2", null, null, null, false, "生成到本项目", 100, 0, 142307070910537L, null, null, null, "生成到本项目" }, + { 142307070906477L, "1", null, null, null, false, "下载压缩包", 100, 0, 142307070910537L, null, null, null, "下载压缩包" }, + { 142307070906476L, "false", null, null, null, false, "否", 100, 0, 142307070910536L, null, null, null, "否" }, + { 142307070906475L, "true", null, null, null, false, "是", 100, 0, 142307070910536L, null, null, null, "是" }, + { 142307070922831L, "datepicker", null, null, null, false, "时间选择", 100, 0, 142307070922827L, null, null, null, "时间选择" }, + { 142307070906474L, "3", null, null, null, false, "删除", 100, 0, 142307070910535L, null, null, null, "删除" }, + { 142307070906472L, "1", null, null, null, false, "发布", 100, 0, 142307070910535L, null, null, null, "发布" }, + { 142307070906471L, "0", null, null, null, false, "草稿", 100, 0, 142307070910535L, null, null, null, "草稿" }, + { 142307070906470L, "2", null, null, null, false, "公告", 100, 0, 142307070910534L, null, null, null, "公告" }, + { 142307070906469L, "1", null, null, null, false, "通知", 100, 0, 142307070910534L, null, null, null, "通知" }, + { 142307070906468L, "2", null, null, null, false, "停止", 100, 0, 142307070910533L, null, null, null, "停止" }, + { 142307070906467L, "1", null, null, null, false, "运行", 100, 0, 142307070910533L, null, null, null, "运行" }, + { 142307070906466L, "4", null, null, null, false, "本地", 100, 0, 142307070906495L, null, null, null, "本地" }, + { 142307070906465L, "3", null, null, null, false, "minio", 100, 0, 142307070906495L, null, null, null, "minio" }, + { 142307070906463L, "1", null, null, null, false, "阿里云", 100, 0, 142307070906495L, null, null, null, "阿里云" }, + { 142307070906473L, "2", null, null, null, false, "撤回", 100, 0, 142307070910535L, null, null, null, "撤回" }, + { 142307070922832L, "select", null, null, null, false, "下拉框", 100, 0, 142307070922827L, null, null, null, "下拉框" }, + { 142307070922833L, "radio", null, null, null, false, "单选框", 100, 0, 142307070922827L, null, null, null, "单选框" }, + { 142307070922834L, "switch", null, null, null, false, "开关", 100, 0, 142307070922827L, null, null, null, "开关" }, + { 142307070922864L, "DateTimeOffset", null, null, null, false, "DateTimeOffset", 100, 0, 142307070922829L, null, null, null, "DateTimeOffset" }, + { 142307070922863L, "Guid", null, null, null, false, "Guid", 100, 0, 142307070922829L, null, null, null, "Guid" }, + { 142307070922862L, "decimal", null, null, null, false, "decimal", 100, 0, 142307070922829L, null, null, null, "decimal" }, + { 142307070922861L, "float", null, null, null, false, "float", 100, 0, 142307070922829L, null, null, null, "float" }, + { 142307070922848L, "DateTime", null, null, null, false, "DateTime", 100, 0, 142307070922829L, null, null, null, "DateTime" }, + { 142307070922852L, "double", null, null, null, false, "double", 100, 0, 142307070922829L, null, null, null, "double" }, + { 142307070922850L, "bool", null, null, null, false, "bool", 100, 0, 142307070922829L, null, null, null, "bool" }, + { 142307070922847L, "string", null, null, null, false, "string", 100, 0, 142307070922829L, null, null, null, "string" }, + { 142307070922846L, "long", null, null, null, false, "long", 100, 0, 142307070922829L, null, null, null, "long" }, + { 142307070922851L, "int", null, null, null, false, "int", 100, 0, 142307070922829L, null, null, null, "int" }, + { 142307070922845L, "isNotNull", null, null, null, false, "不为空", 8, 0, 142307070922828L, null, null, null, "不为空" }, + { 142307070922844L, "<=", null, null, null, false, "小于等于", 7, 0, 142307070922828L, null, null, null, "小于等于" }, + { 142307070922843L, ">=", null, null, null, false, "大于等于", 6, 0, 142307070922828L, null, null, null, "大于等于" }, + { 142307070922842L, "!=", null, null, null, false, "不等于", 5, 0, 142307070922828L, null, null, null, "不等于" }, + { 142307070922841L, "<", null, null, null, false, "小于", 4, 0, 142307070922828L, null, null, null, "小于" }, + { 142307070922840L, ">", null, null, null, false, "大于", 3, 0, 142307070922828L, null, null, null, "大于" }, + { 142307070922839L, "like", null, null, null, false, "模糊", 2, 0, 142307070922828L, null, null, null, "模糊" }, + { 142307070922838L, "==", null, null, null, false, "等于", 1, 0, 142307070922828L, null, null, null, "等于" }, + { 142307070922837L, "textarea", null, null, null, false, "文本域", 100, 0, 142307070922827L, null, null, null, "文本域" }, + { 142307070922836L, "inputnumber", null, null, null, false, "数字输入框", 100, 0, 142307070922827L, null, null, null, "数字输入框" }, + { 142307070922835L, "checkbox", null, null, null, false, "多选框", 100, 0, 142307070922827L, null, null, null, "多选框" }, + { 142307070906462L, "13", null, null, null, false, "修改状态", 100, 0, 142307070906494L, null, null, null, "修改状态" }, + { 142307070906461L, "12", null, null, null, false, "清空", 100, 0, 142307070906494L, null, null, null, "清空" }, + { 142307070906464L, "2", null, null, null, false, "腾讯云", 100, 0, 142307070906495L, null, null, null, "腾讯云" }, + { 142307070906459L, "10", null, null, null, false, "授权", 100, 0, 142307070906494L, null, null, null, "授权" }, + { 142307070902396L, "2", null, null, null, false, "发送失败", 100, 0, 142307070906489L, null, null, null, "发送失败" }, + { 142307070906460L, "11", null, null, null, false, "强退", 100, 0, 142307070906494L, null, null, null, "强退" }, + { 142307070902394L, "0", null, null, null, false, "未发送", 100, 0, 142307070906489L, null, null, null, "未发送" }, + { 142307070902393L, "2", null, null, null, false, "按钮", 100, 0, 142307070906488L, null, null, null, "按钮" }, + { 142307070902392L, "1", null, null, null, false, "菜单", 100, 0, 142307070906488L, null, null, null, "菜单" }, + { 142307070902391L, "0", null, null, null, false, "目录", 100, 0, 142307070906488L, null, null, null, "目录" }, + { 142307070902390L, "2", null, null, null, false, "登出", 100, 0, 142307070906487L, null, null, null, "登出" }, + { 142307070902389L, "1", null, null, null, false, "登录", 100, 0, 142307070906487L, null, null, null, "登录" }, + { 142307070902388L, "Y", null, null, null, false, "是", 100, 0, 142307070906486L, null, null, null, "是" }, + { 142307070902387L, "N", null, null, null, false, "否", 100, 0, 142307070906486L, null, null, null, "否" }, + { 142307070902383L, "OAUTH", null, null, null, false, "Oauth配置", 100, 0, 142307070906485L, null, null, null, "Oauth配置" }, + { 142307070902382L, "FILE_PATH", null, null, null, false, "文件上传路径", 100, 0, 142307070906485L, null, null, null, "文件上传路径" }, + { 142307070902381L, "EMAIL", null, null, null, false, "邮件配置", 100, 0, 142307070906485L, null, null, null, "邮件配置" }, + { 142307070902380L, "TENCENT_SMS", null, null, null, false, "腾讯云短信", 100, 0, 142307070906485L, null, null, null, "腾讯云短信" }, + { 142307070902379L, "ALIYUN_SMS", null, null, null, false, "阿里云短信配置", 100, 0, 142307070906485L, null, null, null, "阿里云短信" }, + { 142307070902378L, "DEFAULT", null, null, null, false, "默认常量,都以XIAONUO_开头的", 100, 0, 142307070906485L, null, null, null, "默认常量" }, + { 142307070902377L, "3", null, null, null, false, "未知性别", 100, 0, 142307070906484L, null, null, null, "未知" }, + { 142307070902376L, "2", null, null, null, false, "女性", 100, 0, 142307070906484L, null, null, null, "女" }, + { 142307070902375L, "1", null, null, null, false, "男性", 100, 0, 142307070906484L, null, null, null, "男" }, + { 142307070902386L, "2", null, null, null, false, "删除", 100, 0, 142307070906483L, null, null, null, "删除" }, + { 142307070902385L, "1", null, null, null, false, "停用", 100, 0, 142307070906483L, null, null, null, "停用" }, + { 142307070902397L, "3", null, null, null, false, "失效", 100, 0, 142307070906489L, null, null, null, "失效" }, + { 142307070902398L, "0", null, null, null, false, "无", 100, 0, 142307070906490L, null, null, null, "无" }, + { 142307070902395L, "1", null, null, null, false, "发送成功", 100, 0, 142307070906489L, null, null, null, "发送成功" }, + { 142307070906437L, "2", null, null, null, false, "内链", 100, 0, 142307070906490L, null, null, null, "内链" }, + { 142307070906458L, "9", null, null, null, false, "导出", 100, 0, 142307070906494L, null, null, null, "导出" }, + { 142307070906457L, "8", null, null, null, false, "导入", 100, 0, 142307070906494L, null, null, null, "导入" }, + { 142307070906456L, "7", null, null, null, false, "树", 100, 0, 142307070906494L, null, null, null, "树" }, + { 142307070906455L, "6", null, null, null, false, "详情", 100, 0, 142307070906494L, null, null, null, "详情" }, + { 142307070906454L, "5", null, null, null, false, "查询", 100, 0, 142307070906494L, null, null, null, "查询" }, + { 142307070906453L, "4", null, null, null, false, "更新", 100, 0, 142307070906494L, null, null, null, "更新" }, + { 142307070902399L, "1", null, null, null, false, "组件", 100, 0, 142307070906490L, null, null, null, "组件" }, + { 142307070906451L, "2", null, null, null, false, "删除", 100, 0, 142307070906494L, null, null, null, "删除" }, + { 142307070906450L, "1", null, null, null, false, "增加", 100, 0, 142307070906494L, null, null, null, "增加" }, + { 142307070906449L, "0", null, null, null, false, "其它", 100, 0, 142307070906494L, null, null, null, "其它" }, + { 142307070906452L, "3", null, null, null, false, "编辑", 100, 0, 142307070906494L, null, null, null, "编辑" }, + { 142307070906447L, "2", null, null, null, false, "pc", 100, 0, 142307070906493L, null, null, null, "pc" }, + { 142307070906438L, "3", null, null, null, false, "外链", 100, 0, 142307070906490L, null, null, null, "外链" }, + { 142307070906448L, "3", null, null, null, false, "其他", 100, 0, 142307070906493L, null, null, null, "其他" }, + { 142307070906440L, "2", null, null, null, false, "业务权重", 100, 0, 142307070906491L, null, null, null, "业务权重" }, + { 142307070906441L, "1", null, null, null, false, "全部数据", 100, 0, 142307070906492L, null, null, null, "全部数据" }, + { 142307070906439L, "1", null, null, null, false, "系统权重", 100, 0, 142307070906491L, null, null, null, "系统权重" }, + { 142307070906443L, "3", null, null, null, false, "本部门数据", 100, 0, 142307070906492L, null, null, null, "本部门数据" }, + { 142307070906444L, "4", null, null, null, false, "仅本人数据", 100, 0, 142307070906492L, null, null, null, "仅本人数据" }, + { 142307070906445L, "5", null, null, null, false, "自定义数据", 100, 0, 142307070906492L, null, null, null, "自定义数据" }, + { 142307070906446L, "1", null, null, null, false, "app", 100, 0, 142307070906493L, null, null, null, "app" }, + { 142307070906442L, "2", null, null, null, false, "本部门及以下数据", 100, 0, 142307070906492L, null, null, null, "本部门及以下数据" } + }); + + migrationBuilder.InsertData( + table: "sys_emp_ext_org_pos", + columns: new[] { "SysEmpId", "SysOrgId", "SysPosId" }, + values: new object[,] + { + { 142307070910551L, 142307070910539L, 142307070910547L }, + { 142307070910553L, 142307070910542L, 142307070910547L }, + { 142307070910551L, 142307070910540L, 142307070910548L }, + { 142307070910551L, 142307070910541L, 142307070910549L }, + { 142307070910551L, 142307070910542L, 142307070910550L } + }); + + migrationBuilder.InsertData( + table: "sys_emp_pos", + columns: new[] { "SysEmpId", "SysPosId" }, + values: new object[,] + { + { 142307070910552L, 142307070910549L }, + { 142307070910551L, 142307070910547L }, + { 142307070910553L, 142307070910547L }, + { 142307070910551L, 142307070910548L } + }); + + migrationBuilder.CreateIndex( + name: "IX_sys_dict_data_TypeId", + table: "sys_dict_data", + column: "TypeId"); + + migrationBuilder.CreateIndex( + name: "IX_sys_emp_ext_org_pos_SysOrgId", + table: "sys_emp_ext_org_pos", + column: "SysOrgId"); + + migrationBuilder.CreateIndex( + name: "IX_sys_emp_ext_org_pos_SysPosId", + table: "sys_emp_ext_org_pos", + column: "SysPosId"); + + migrationBuilder.CreateIndex( + name: "IX_sys_emp_pos_SysPosId", + table: "sys_emp_pos", + column: "SysPosId"); + + migrationBuilder.CreateIndex( + name: "IX_sys_role_data_scope_SysOrgId", + table: "sys_role_data_scope", + column: "SysOrgId"); + + migrationBuilder.CreateIndex( + name: "IX_sys_role_menu_SysMenuId", + table: "sys_role_menu", + column: "SysMenuId"); + + migrationBuilder.CreateIndex( + name: "IX_sys_user_data_scope_SysOrgId", + table: "sys_user_data_scope", + column: "SysOrgId"); + + migrationBuilder.CreateIndex( + name: "IX_sys_user_role_SysRoleId", + table: "sys_user_role", + column: "SysRoleId"); + } + + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "code_gen_test"); + + migrationBuilder.DropTable( + name: "sys_app"); + + migrationBuilder.DropTable( + name: "sys_code_gen"); + + migrationBuilder.DropTable( + name: "sys_code_gen_config"); + + migrationBuilder.DropTable( + name: "sys_config"); + + migrationBuilder.DropTable( + name: "sys_dict_data"); + + migrationBuilder.DropTable( + name: "sys_emp_ext_org_pos"); + + migrationBuilder.DropTable( + name: "sys_emp_pos"); + + migrationBuilder.DropTable( + name: "sys_file"); + + migrationBuilder.DropTable( + name: "sys_log_audit"); + + migrationBuilder.DropTable( + name: "sys_log_op"); + + migrationBuilder.DropTable( + name: "sys_log_vis"); + + migrationBuilder.DropTable( + name: "sys_notice"); + + migrationBuilder.DropTable( + name: "sys_notice_user"); + + migrationBuilder.DropTable( + name: "sys_oauth_user"); + + migrationBuilder.DropTable( + name: "sys_role_data_scope"); + + migrationBuilder.DropTable( + name: "sys_role_menu"); + + migrationBuilder.DropTable( + name: "sys_tenant"); + + migrationBuilder.DropTable( + name: "sys_timer"); + + migrationBuilder.DropTable( + name: "sys_user_data_scope"); + + migrationBuilder.DropTable( + name: "sys_user_role"); + + migrationBuilder.DropTable( + name: "sys_dict_type"); + + migrationBuilder.DropTable( + name: "sys_emp"); + + migrationBuilder.DropTable( + name: "sys_pos"); + + migrationBuilder.DropTable( + name: "sys_menu"); + + migrationBuilder.DropTable( + name: "sys_org"); + + migrationBuilder.DropTable( + name: "sys_role"); + + migrationBuilder.DropTable( + name: "sys_user"); + } + } +} diff --git a/Api/Dilon.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs b/Api/Ewide.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs similarity index 97% rename from Api/Dilon.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs rename to Api/Ewide.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs index 5785e90..b2e1f8f 100644 --- a/Api/Dilon.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs +++ b/Api/Ewide.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs @@ -1,6588 +1,6588 @@ -// -using System; -using Dilon.EntityFramework.Core; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; - -namespace Dilon.Database.Migrations.Migrations -{ - [DbContext(typeof(DefaultDbContext))] - partial class DefaultDbContextModelSnapshot : ModelSnapshot - { - protected override void BuildModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("Relational:MaxIdentifierLength", 64) - .HasAnnotation("ProductVersion", "5.0.5"); - - modelBuilder.Entity("Dilon.Application.CodeGenTest", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Age") - .HasColumnType("int") - .HasComment("年龄"); - - b.Property("Birthday") - .HasColumnType("datetime") - .HasComment("生日"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("NickName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("昵称"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("code_gen_test"); - - b - .HasComment("代码生成业务"); - }); - - modelBuilder.Entity("Dilon.Core.SysApp", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Active") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否默认激活"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("Color") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("图标颜色"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("Icon") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("图标"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Sort") - .HasColumnType("int") - .HasComment("排序"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_app"); - - b - .HasComment("系统应用表"); - - b.HasData( - new - { - Id = 142307070922869L, - Active = "N", - Code = "busapp", - IsDeleted = false, - Name = "业务应用", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070898245L, - Active = "Y", - Code = "system", - IsDeleted = false, - Name = "系统管理", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070902341L, - Active = "N", - Code = "system_tool", - IsDeleted = false, - Name = "系统工具", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070922826L, - Active = "N", - Code = "advanced", - IsDeleted = false, - Name = "高级功能", - Sort = 100, - Status = 0 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysCodeGen", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("AuthorName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("作者姓名"); - - b.Property("BusName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("业务名"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("GenerateType") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("生成方式"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("NameSpace") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("命名空间"); - - b.Property("TableName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("数据库表名"); - - b.Property("TablePrefix") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否移除表前缀"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_code_gen"); - - b - .HasComment("代码生成表"); - }); - - modelBuilder.Entity("Dilon.Core.SysCodeGenConfig", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("CodeGenId") - .HasColumnType("bigint") - .HasComment("代码生成主表ID"); - - b.Property("ColumnComment") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("字段描述"); - - b.Property("ColumnKey") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("主外键"); - - b.Property("ColumnName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("数据库字段名"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("DataType") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("数据库中类型"); - - b.Property("DictTypeCode") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("字典Code"); - - b.Property("EffectType") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("作用类型"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("NetType") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment(".NET数据类型"); - - b.Property("QueryType") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("查询方式"); - - b.Property("QueryWhether") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否是查询条件"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.Property("WhetherAddUpdate") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("增改"); - - b.Property("WhetherCommon") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否通用字段"); - - b.Property("WhetherRequired") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否必填"); - - b.Property("WhetherRetract") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("列表是否缩进"); - - b.Property("WhetherTable") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("列表显示"); - - b.HasKey("Id"); - - b.ToTable("sys_code_gen_config"); - - b - .HasComment("代码生成字段配置表"); - }); - - modelBuilder.Entity("Dilon.Core.SysConfig", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("GroupCode") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("常量所属分类的编码"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("SysFlag") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否是系统参数"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.Property("Value") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("属性值"); - - b.HasKey("Id"); - - b.ToTable("sys_config"); - - b - .HasComment("参数配置表"); - - b.HasData( - new - { - Id = 142307070902342L, - Code = "DILON_JWT_SECRET", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "jwt密钥", - Remark = "(重要)jwt密钥,默认为空,自行设置", - Status = 0, - SysFlag = "Y", - Value = "xiaonuo" - }, - new - { - Id = 142307070902343L, - Code = "DILON_DEFAULT_PASSWORD", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "默认密码", - Remark = "默认密码", - Status = 0, - SysFlag = "Y", - Value = "123456" - }, - new - { - Id = 142307070902344L, - Code = "DILON_TOKEN_EXPIRE", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "token过期时间", - Remark = "token过期时间(单位:秒)", - Status = 0, - SysFlag = "Y", - Value = "86400" - }, - new - { - Id = 142307070902345L, - Code = "DILON_SESSION_EXPIRE", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "session会话过期时间", - Remark = "session会话过期时间(单位:秒)", - Status = 0, - SysFlag = "Y", - Value = "7200" - }, - new - { - Id = 142307070902346L, - Code = "DILON_ALIYUN_SMS_ACCESSKEY_ID", - GroupCode = "ALIYUN_SMS", - IsDeleted = false, - Name = "阿里云短信keyId", - Remark = "阿里云短信keyId", - Status = 0, - SysFlag = "Y", - Value = "你的keyId" - }, - new - { - Id = 142307070902347L, - Code = "DILON_ALIYUN_SMS_ACCESSKEY_SECRET", - GroupCode = "ALIYUN_SMS", - IsDeleted = false, - Name = "阿里云短信secret", - Remark = "阿里云短信secret", - Status = 0, - SysFlag = "Y", - Value = "你的secret" - }, - new - { - Id = 142307070902348L, - Code = "DILON_ALIYUN_SMS_SIGN_NAME", - GroupCode = "ALIYUN_SMS", - IsDeleted = false, - Name = "阿里云短信签名", - Remark = "阿里云短信签名", - Status = 0, - SysFlag = "Y", - Value = "你的签名" - }, - new - { - Id = 142307070902349L, - Code = "DILON_ALIYUN_SMS_LOGIN_TEMPLATE_CODE", - GroupCode = "ALIYUN_SMS", - IsDeleted = false, - Name = "阿里云短信-登录模板号", - Remark = "阿里云短信-登录模板号", - Status = 0, - SysFlag = "Y", - Value = "SMS_1877123456" - }, - new - { - Id = 142307070902350L, - Code = "DILON_ALIYUN_SMS_INVALIDATE_MINUTES", - GroupCode = "ALIYUN_SMS", - IsDeleted = false, - Name = "阿里云短信默认失效时间", - Remark = "阿里云短信默认失效时间(单位:分钟)", - Status = 0, - SysFlag = "Y", - Value = "5" - }, - new - { - Id = 142307070902351L, - Code = "DILON_TENCENT_SMS_SECRET_ID", - GroupCode = "TENCENT_SMS", - IsDeleted = false, - Name = "腾讯云短信secretId", - Remark = "腾讯云短信secretId", - Status = 0, - SysFlag = "Y", - Value = "你的secretId" - }, - new - { - Id = 142307070902352L, - Code = "DILON_TENCENT_SMS_SECRET_KEY", - GroupCode = "TENCENT_SMS", - IsDeleted = false, - Name = "腾讯云短信secretKey", - Remark = "腾讯云短信secretKey", - Status = 0, - SysFlag = "Y", - Value = "你的secretkey" - }, - new - { - Id = 142307070902353L, - Code = "DILON_TENCENT_SMS_SDK_APP_ID", - GroupCode = "TENCENT_SMS", - IsDeleted = false, - Name = "腾讯云短信sdkAppId", - Remark = "腾讯云短信sdkAppId", - Status = 0, - SysFlag = "Y", - Value = "1400375123" - }, - new - { - Id = 142307070902354L, - Code = "DILON_TENCENT_SMS_SIGN", - GroupCode = "TENCENT_SMS", - IsDeleted = false, - Name = "腾讯云短信签名", - Remark = "腾讯云短信签名", - Status = 0, - SysFlag = "Y", - Value = "你的签名" - }, - new - { - Id = 142307070902355L, - Code = "DILON_EMAIL_HOST", - GroupCode = "EMAIL", - IsDeleted = false, - Name = "邮箱host", - Remark = "邮箱host", - Status = 0, - SysFlag = "Y", - Value = "smtp.126.com" - }, - new - { - Id = 142307070902356L, - Code = "DILON_EMAIL_USERNAME", - GroupCode = "EMAIL", - IsDeleted = false, - Name = "邮箱用户名", - Remark = "邮箱用户名", - Status = 0, - SysFlag = "Y", - Value = "test@126.com" - }, - new - { - Id = 142307070902357L, - Code = "DILON_EMAIL_PASSWORD", - GroupCode = "EMAIL", - IsDeleted = false, - Name = "邮箱密码", - Remark = "邮箱密码", - Status = 0, - SysFlag = "Y", - Value = "你的邮箱密码" - }, - new - { - Id = 142307070902358L, - Code = "DILON_EMAIL_PORT", - GroupCode = "EMAIL", - IsDeleted = false, - Name = "邮箱端口", - Remark = "邮箱端口", - Status = 0, - SysFlag = "Y", - Value = "465" - }, - new - { - Id = 142307070902359L, - Code = "DILON_EMAIL_SSL", - GroupCode = "EMAIL", - IsDeleted = false, - Name = "邮箱是否开启ssl", - Remark = "邮箱是否开启ssl", - Status = 0, - SysFlag = "Y", - Value = "true" - }, - new - { - Id = 142307070902360L, - Code = "DILON_EMAIL_FROM", - GroupCode = "EMAIL", - IsDeleted = false, - Name = "邮箱发件人", - Remark = "邮箱发件人", - Status = 0, - SysFlag = "Y", - Value = "test@126.com" - }, - new - { - Id = 142307070902361L, - Code = "DILON_FILE_UPLOAD_PATH_FOR_WINDOWS", - GroupCode = "FILE_PATH", - IsDeleted = false, - Name = "Win本地上传文件路径", - Remark = "Win本地上传文件路径", - Status = 0, - SysFlag = "Y", - Value = "D:/tmp" - }, - new - { - Id = 142307070902362L, - Code = "DILON_FILE_UPLOAD_PATH_FOR_LINUX", - GroupCode = "FILE_PATH", - IsDeleted = false, - Name = "Linux/Mac本地上传文件路径", - Remark = "Linux/Mac本地上传文件路径", - Status = 0, - SysFlag = "Y", - Value = "/tmp" - }, - new - { - Id = 142307070902363L, - Code = "DILON_UN_XSS_FILTER_URL", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "放开XSS过滤的接口", - Remark = "多个url可以用英文逗号隔开", - Status = 0, - SysFlag = "Y", - Value = "/demo/xssfilter,/demo/unxss" - }, - new - { - Id = 142307070902364L, - Code = "DILON_ENABLE_SINGLE_LOGIN", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "单用户登陆的开关", - Remark = "true-打开,false-关闭,如果一个人登录两次,就会将上一次登陆挤下去", - Status = 0, - SysFlag = "Y", - Value = "false" - }, - new - { - Id = 142307070902365L, - Code = "DILON_CAPTCHA_OPEN", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "登录验证码的开关", - Remark = "true-打开,false-关闭", - Status = 0, - SysFlag = "Y", - Value = "true" - }, - new - { - Id = 142307070902366L, - Code = "DILON_DRUID_USERNAME", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "Druid监控登录账号", - Remark = "Druid监控登录账号", - Status = 0, - SysFlag = "Y", - Value = "superAdmin" - }, - new - { - Id = 142307070902367L, - Code = "DILON_DRUID_PASSWORD", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "Druid监控界面登录密码", - Remark = "Druid监控界面登录密码", - Status = 0, - SysFlag = "Y", - Value = "123456" - }, - new - { - Id = 142307070902368L, - Code = "DILON_IP_GEO_API", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "阿里云定位api接口地址", - Remark = "阿里云定位api接口地址", - Status = 0, - SysFlag = "Y", - Value = "http://api01.aliyun.venuscn.com/ip?ip=%s" - }, - new - { - Id = 142307070902369L, - Code = "DILON_IP_GEO_APP_CODE", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "阿里云定位appCode", - Remark = "阿里云定位appCode", - Status = 0, - SysFlag = "Y", - Value = "461535aabeae4f34861884d392f5d452" - }, - new - { - Id = 142307070902370L, - Code = "DILON_ENABLE_OAUTH_LOGIN", - GroupCode = "OAUTH", - IsDeleted = false, - Name = "Oauth用户登录的开关", - Remark = "Oauth用户登录的开关", - Status = 0, - SysFlag = "Y", - Value = "true" - }, - new - { - Id = 142307070902371L, - Code = "DILON_OAUTH_GITEE_CLIENT_ID", - GroupCode = "OAUTH", - IsDeleted = false, - Name = "Oauth码云登录ClientId", - Remark = "Oauth码云登录ClientId", - Status = 0, - SysFlag = "Y", - Value = "你的clientId" - }, - new - { - Id = 142307070902372L, - Code = "DILON_OAUTH_GITEE_CLIENT_SECRET", - GroupCode = "OAUTH", - IsDeleted = false, - Name = "Oauth码云登录ClientSecret", - Remark = "Oauth码云登录ClientSecret", - Status = 0, - SysFlag = "Y", - Value = "你的clientSecret" - }, - new - { - Id = 142307070902373L, - Code = "DILON_OAUTH_GITEE_REDIRECT_URI", - GroupCode = "OAUTH", - IsDeleted = false, - Name = "Oauth码云登录回调地址", - Remark = "Oauth码云登录回调地址", - Status = 0, - SysFlag = "Y", - Value = "http://127.0.0.1:5566/oauth/callback/gitee" - }, - new - { - Id = 142307070902374L, - Code = "DILON_DEMO_ENV_FLAG", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "演示环境", - Remark = "演示环境的开关,true-打开,false-关闭,如果演示环境开启,则只能读数据不能写数据", - Status = 0, - SysFlag = "Y", - Value = "false" - }); - }); - - modelBuilder.Entity("Dilon.Core.SysDictData", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Sort") - .HasColumnType("int") - .HasComment("排序"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("TypeId") - .HasColumnType("bigint") - .HasComment("字典类型Id"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.Property("Value") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("值"); - - b.HasKey("Id"); - - b.HasIndex("TypeId"); - - b.ToTable("sys_dict_data"); - - b - .HasComment("字典值表"); - - b.HasData( - new - { - Id = 142307070902375L, - Code = "1", - IsDeleted = false, - Remark = "男性", - Sort = 100, - Status = 0, - TypeId = 142307070906484L, - Value = "男" - }, - new - { - Id = 142307070902376L, - Code = "2", - IsDeleted = false, - Remark = "女性", - Sort = 100, - Status = 0, - TypeId = 142307070906484L, - Value = "女" - }, - new - { - Id = 142307070902377L, - Code = "3", - IsDeleted = false, - Remark = "未知性别", - Sort = 100, - Status = 0, - TypeId = 142307070906484L, - Value = "未知" - }, - new - { - Id = 142307070902378L, - Code = "DEFAULT", - IsDeleted = false, - Remark = "默认常量,都以XIAONUO_开头的", - Sort = 100, - Status = 0, - TypeId = 142307070906485L, - Value = "默认常量" - }, - new - { - Id = 142307070902379L, - Code = "ALIYUN_SMS", - IsDeleted = false, - Remark = "阿里云短信配置", - Sort = 100, - Status = 0, - TypeId = 142307070906485L, - Value = "阿里云短信" - }, - new - { - Id = 142307070902380L, - Code = "TENCENT_SMS", - IsDeleted = false, - Remark = "腾讯云短信", - Sort = 100, - Status = 0, - TypeId = 142307070906485L, - Value = "腾讯云短信" - }, - new - { - Id = 142307070902381L, - Code = "EMAIL", - IsDeleted = false, - Remark = "邮件配置", - Sort = 100, - Status = 0, - TypeId = 142307070906485L, - Value = "邮件配置" - }, - new - { - Id = 142307070902382L, - Code = "FILE_PATH", - IsDeleted = false, - Remark = "文件上传路径", - Sort = 100, - Status = 0, - TypeId = 142307070906485L, - Value = "文件上传路径" - }, - new - { - Id = 142307070902383L, - Code = "OAUTH", - IsDeleted = false, - Remark = "Oauth配置", - Sort = 100, - Status = 0, - TypeId = 142307070906485L, - Value = "Oauth配置" - }, - new - { - Id = 142307070902384L, - Code = "0", - IsDeleted = false, - Remark = "正常", - Sort = 100, - Status = 0, - TypeId = 142307070906483L, - Value = "正常" - }, - new - { - Id = 142307070902385L, - Code = "1", - IsDeleted = false, - Remark = "停用", - Sort = 100, - Status = 0, - TypeId = 142307070906483L, - Value = "停用" - }, - new - { - Id = 142307070902386L, - Code = "2", - IsDeleted = false, - Remark = "删除", - Sort = 100, - Status = 0, - TypeId = 142307070906483L, - Value = "删除" - }, - new - { - Id = 142307070902387L, - Code = "N", - IsDeleted = false, - Remark = "否", - Sort = 100, - Status = 0, - TypeId = 142307070906486L, - Value = "否" - }, - new - { - Id = 142307070902388L, - Code = "Y", - IsDeleted = false, - Remark = "是", - Sort = 100, - Status = 0, - TypeId = 142307070906486L, - Value = "是" - }, - new - { - Id = 142307070902389L, - Code = "1", - IsDeleted = false, - Remark = "登录", - Sort = 100, - Status = 0, - TypeId = 142307070906487L, - Value = "登录" - }, - new - { - Id = 142307070902390L, - Code = "2", - IsDeleted = false, - Remark = "登出", - Sort = 100, - Status = 0, - TypeId = 142307070906487L, - Value = "登出" - }, - new - { - Id = 142307070902391L, - Code = "0", - IsDeleted = false, - Remark = "目录", - Sort = 100, - Status = 0, - TypeId = 142307070906488L, - Value = "目录" - }, - new - { - Id = 142307070902392L, - Code = "1", - IsDeleted = false, - Remark = "菜单", - Sort = 100, - Status = 0, - TypeId = 142307070906488L, - Value = "菜单" - }, - new - { - Id = 142307070902393L, - Code = "2", - IsDeleted = false, - Remark = "按钮", - Sort = 100, - Status = 0, - TypeId = 142307070906488L, - Value = "按钮" - }, - new - { - Id = 142307070902394L, - Code = "0", - IsDeleted = false, - Remark = "未发送", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "未发送" - }, - new - { - Id = 142307070902395L, - Code = "1", - IsDeleted = false, - Remark = "发送成功", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "发送成功" - }, - new - { - Id = 142307070902396L, - Code = "2", - IsDeleted = false, - Remark = "发送失败", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "发送失败" - }, - new - { - Id = 142307070902397L, - Code = "3", - IsDeleted = false, - Remark = "失效", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "失效" - }, - new - { - Id = 142307070902398L, - Code = "0", - IsDeleted = false, - Remark = "无", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "无" - }, - new - { - Id = 142307070902399L, - Code = "1", - IsDeleted = false, - Remark = "组件", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "组件" - }, - new - { - Id = 142307070906437L, - Code = "2", - IsDeleted = false, - Remark = "内链", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "内链" - }, - new - { - Id = 142307070906438L, - Code = "3", - IsDeleted = false, - Remark = "外链", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "外链" - }, - new - { - Id = 142307070906439L, - Code = "1", - IsDeleted = false, - Remark = "系统权重", - Sort = 100, - Status = 0, - TypeId = 142307070906491L, - Value = "系统权重" - }, - new - { - Id = 142307070906440L, - Code = "2", - IsDeleted = false, - Remark = "业务权重", - Sort = 100, - Status = 0, - TypeId = 142307070906491L, - Value = "业务权重" - }, - new - { - Id = 142307070906441L, - Code = "1", - IsDeleted = false, - Remark = "全部数据", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "全部数据" - }, - new - { - Id = 142307070906442L, - Code = "2", - IsDeleted = false, - Remark = "本部门及以下数据", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "本部门及以下数据" - }, - new - { - Id = 142307070906443L, - Code = "3", - IsDeleted = false, - Remark = "本部门数据", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "本部门数据" - }, - new - { - Id = 142307070906444L, - Code = "4", - IsDeleted = false, - Remark = "仅本人数据", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "仅本人数据" - }, - new - { - Id = 142307070906445L, - Code = "5", - IsDeleted = false, - Remark = "自定义数据", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "自定义数据" - }, - new - { - Id = 142307070906446L, - Code = "1", - IsDeleted = false, - Remark = "app", - Sort = 100, - Status = 0, - TypeId = 142307070906493L, - Value = "app" - }, - new - { - Id = 142307070906447L, - Code = "2", - IsDeleted = false, - Remark = "pc", - Sort = 100, - Status = 0, - TypeId = 142307070906493L, - Value = "pc" - }, - new - { - Id = 142307070906448L, - Code = "3", - IsDeleted = false, - Remark = "其他", - Sort = 100, - Status = 0, - TypeId = 142307070906493L, - Value = "其他" - }, - new - { - Id = 142307070906449L, - Code = "0", - IsDeleted = false, - Remark = "其它", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "其它" - }, - new - { - Id = 142307070906450L, - Code = "1", - IsDeleted = false, - Remark = "增加", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "增加" - }, - new - { - Id = 142307070906451L, - Code = "2", - IsDeleted = false, - Remark = "删除", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "删除" - }, - new - { - Id = 142307070906452L, - Code = "3", - IsDeleted = false, - Remark = "编辑", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "编辑" - }, - new - { - Id = 142307070906453L, - Code = "4", - IsDeleted = false, - Remark = "更新", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "更新" - }, - new - { - Id = 142307070906454L, - Code = "5", - IsDeleted = false, - Remark = "查询", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "查询" - }, - new - { - Id = 142307070906455L, - Code = "6", - IsDeleted = false, - Remark = "详情", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "详情" - }, - new - { - Id = 142307070906456L, - Code = "7", - IsDeleted = false, - Remark = "树", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "树" - }, - new - { - Id = 142307070906457L, - Code = "8", - IsDeleted = false, - Remark = "导入", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "导入" - }, - new - { - Id = 142307070906458L, - Code = "9", - IsDeleted = false, - Remark = "导出", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "导出" - }, - new - { - Id = 142307070906459L, - Code = "10", - IsDeleted = false, - Remark = "授权", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "授权" - }, - new - { - Id = 142307070906460L, - Code = "11", - IsDeleted = false, - Remark = "强退", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "强退" - }, - new - { - Id = 142307070906461L, - Code = "12", - IsDeleted = false, - Remark = "清空", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "清空" - }, - new - { - Id = 142307070906462L, - Code = "13", - IsDeleted = false, - Remark = "修改状态", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "修改状态" - }, - new - { - Id = 142307070906463L, - Code = "1", - IsDeleted = false, - Remark = "阿里云", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "阿里云" - }, - new - { - Id = 142307070906464L, - Code = "2", - IsDeleted = false, - Remark = "腾讯云", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "腾讯云" - }, - new - { - Id = 142307070906465L, - Code = "3", - IsDeleted = false, - Remark = "minio", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "minio" - }, - new - { - Id = 142307070906466L, - Code = "4", - IsDeleted = false, - Remark = "本地", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "本地" - }, - new - { - Id = 142307070906467L, - Code = "1", - IsDeleted = false, - Remark = "运行", - Sort = 100, - Status = 0, - TypeId = 142307070910533L, - Value = "运行" - }, - new - { - Id = 142307070906468L, - Code = "2", - IsDeleted = false, - Remark = "停止", - Sort = 100, - Status = 0, - TypeId = 142307070910533L, - Value = "停止" - }, - new - { - Id = 142307070906469L, - Code = "1", - IsDeleted = false, - Remark = "通知", - Sort = 100, - Status = 0, - TypeId = 142307070910534L, - Value = "通知" - }, - new - { - Id = 142307070906470L, - Code = "2", - IsDeleted = false, - Remark = "公告", - Sort = 100, - Status = 0, - TypeId = 142307070910534L, - Value = "公告" - }, - new - { - Id = 142307070906471L, - Code = "0", - IsDeleted = false, - Remark = "草稿", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "草稿" - }, - new - { - Id = 142307070906472L, - Code = "1", - IsDeleted = false, - Remark = "发布", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "发布" - }, - new - { - Id = 142307070906473L, - Code = "2", - IsDeleted = false, - Remark = "撤回", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "撤回" - }, - new - { - Id = 142307070906474L, - Code = "3", - IsDeleted = false, - Remark = "删除", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "删除" - }, - new - { - Id = 142307070906475L, - Code = "true", - IsDeleted = false, - Remark = "是", - Sort = 100, - Status = 0, - TypeId = 142307070910536L, - Value = "是" - }, - new - { - Id = 142307070906476L, - Code = "false", - IsDeleted = false, - Remark = "否", - Sort = 100, - Status = 0, - TypeId = 142307070910536L, - Value = "否" - }, - new - { - Id = 142307070906477L, - Code = "1", - IsDeleted = false, - Remark = "下载压缩包", - Sort = 100, - Status = 0, - TypeId = 142307070910537L, - Value = "下载压缩包" - }, - new - { - Id = 142307070906478L, - Code = "2", - IsDeleted = false, - Remark = "生成到本项目", - Sort = 100, - Status = 0, - TypeId = 142307070910537L, - Value = "生成到本项目" - }, - new - { - Id = 142307070906479L, - Code = "1", - IsDeleted = false, - Remark = "GET", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "GET" - }, - new - { - Id = 142307070906480L, - Code = "2", - IsDeleted = false, - Remark = "POST", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "POST" - }, - new - { - Id = 142307070906481L, - Code = "3", - IsDeleted = false, - Remark = "PUT", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "PUT" - }, - new - { - Id = 142307070906482L, - Code = "4", - IsDeleted = false, - Remark = "DELETE", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "DELETE" - }, - new - { - Id = 142307070922830L, - Code = "input", - IsDeleted = false, - Remark = "输入框", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "输入框" - }, - new - { - Id = 142307070922831L, - Code = "datepicker", - IsDeleted = false, - Remark = "时间选择", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "时间选择" - }, - new - { - Id = 142307070922832L, - Code = "select", - IsDeleted = false, - Remark = "下拉框", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "下拉框" - }, - new - { - Id = 142307070922833L, - Code = "radio", - IsDeleted = false, - Remark = "单选框", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "单选框" - }, - new - { - Id = 142307070922834L, - Code = "switch", - IsDeleted = false, - Remark = "开关", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "开关" - }, - new - { - Id = 142307070922835L, - Code = "checkbox", - IsDeleted = false, - Remark = "多选框", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "多选框" - }, - new - { - Id = 142307070922836L, - Code = "inputnumber", - IsDeleted = false, - Remark = "数字输入框", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "数字输入框" - }, - new - { - Id = 142307070922837L, - Code = "textarea", - IsDeleted = false, - Remark = "文本域", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "文本域" - }, - new - { - Id = 142307070922838L, - Code = "==", - IsDeleted = false, - Remark = "等于", - Sort = 1, - Status = 0, - TypeId = 142307070922828L, - Value = "等于" - }, - new - { - Id = 142307070922839L, - Code = "like", - IsDeleted = false, - Remark = "模糊", - Sort = 2, - Status = 0, - TypeId = 142307070922828L, - Value = "模糊" - }, - new - { - Id = 142307070922840L, - Code = ">", - IsDeleted = false, - Remark = "大于", - Sort = 3, - Status = 0, - TypeId = 142307070922828L, - Value = "大于" - }, - new - { - Id = 142307070922841L, - Code = "<", - IsDeleted = false, - Remark = "小于", - Sort = 4, - Status = 0, - TypeId = 142307070922828L, - Value = "小于" - }, - new - { - Id = 142307070922842L, - Code = "!=", - IsDeleted = false, - Remark = "不等于", - Sort = 5, - Status = 0, - TypeId = 142307070922828L, - Value = "不等于" - }, - new - { - Id = 142307070922843L, - Code = ">=", - IsDeleted = false, - Remark = "大于等于", - Sort = 6, - Status = 0, - TypeId = 142307070922828L, - Value = "大于等于" - }, - new - { - Id = 142307070922844L, - Code = "<=", - IsDeleted = false, - Remark = "小于等于", - Sort = 7, - Status = 0, - TypeId = 142307070922828L, - Value = "小于等于" - }, - new - { - Id = 142307070922845L, - Code = "isNotNull", - IsDeleted = false, - Remark = "不为空", - Sort = 8, - Status = 0, - TypeId = 142307070922828L, - Value = "不为空" - }, - new - { - Id = 142307070922851L, - Code = "int", - IsDeleted = false, - Remark = "int", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "int" - }, - new - { - Id = 142307070922846L, - Code = "long", - IsDeleted = false, - Remark = "long", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "long" - }, - new - { - Id = 142307070922847L, - Code = "string", - IsDeleted = false, - Remark = "string", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "string" - }, - new - { - Id = 142307070922850L, - Code = "bool", - IsDeleted = false, - Remark = "bool", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "bool" - }, - new - { - Id = 142307070922852L, - Code = "double", - IsDeleted = false, - Remark = "double", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "double" - }, - new - { - Id = 142307070922848L, - Code = "DateTime", - IsDeleted = false, - Remark = "DateTime", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "DateTime" - }, - new - { - Id = 142307070922861L, - Code = "float", - IsDeleted = false, - Remark = "float", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "float" - }, - new - { - Id = 142307070922862L, - Code = "decimal", - IsDeleted = false, - Remark = "decimal", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "decimal" - }, - new - { - Id = 142307070922863L, - Code = "Guid", - IsDeleted = false, - Remark = "Guid", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "Guid" - }, - new - { - Id = 142307070922864L, - Code = "DateTimeOffset", - IsDeleted = false, - Remark = "DateTimeOffset", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "DateTimeOffset" - }); - }); - - modelBuilder.Entity("Dilon.Core.SysDictType", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Sort") - .HasColumnType("int") - .HasComment("排序"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_dict_type"); - - b - .HasComment("字典类型表"); - - b.HasData( - new - { - Id = 142307070906483L, - Code = "common_status", - IsDeleted = false, - Name = "通用状态", - Remark = "通用状态", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906484L, - Code = "sex", - IsDeleted = false, - Name = "性别", - Remark = "性别字典", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906485L, - Code = "consts_type", - IsDeleted = false, - Name = "常量的分类", - Remark = "常量的分类,用于区别一组配置", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906486L, - Code = "yes_or_no", - IsDeleted = false, - Name = "是否", - Remark = "是否", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906487L, - Code = "vis_type", - IsDeleted = false, - Name = "访问类型", - Remark = "访问类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906488L, - Code = "menu_type", - IsDeleted = false, - Name = "菜单类型", - Remark = "菜单类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906489L, - Code = "send_type", - IsDeleted = false, - Name = "发送类型", - Remark = "发送类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906490L, - Code = "open_type", - IsDeleted = false, - Name = "打开方式", - Remark = "打开方式", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906491L, - Code = "menu_weight", - IsDeleted = false, - Name = "菜单权重", - Remark = "菜单权重", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906492L, - Code = "data_scope_type", - IsDeleted = false, - Name = "数据范围类型", - Remark = "数据范围类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906493L, - Code = "sms_send_source", - IsDeleted = false, - Name = "短信发送来源", - Remark = "短信发送来源", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906494L, - Code = "op_type", - IsDeleted = false, - Name = "操作类型", - Remark = "操作类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906495L, - Code = "file_storage_location", - IsDeleted = false, - Name = "文件存储位置", - Remark = "文件存储位置", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910533L, - Code = "run_status", - IsDeleted = false, - Name = "运行状态", - Remark = "定时任务运行状态", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910534L, - Code = "notice_type", - IsDeleted = false, - Name = "通知公告类型", - Remark = "通知公告类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910535L, - Code = "notice_status", - IsDeleted = false, - Name = "通知公告状态", - Remark = "通知公告状态", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910536L, - Code = "yes_true_false", - IsDeleted = false, - Name = "是否boolean", - Remark = "是否boolean", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910537L, - Code = "code_gen_create_type", - IsDeleted = false, - Name = "代码生成方式", - Remark = "代码生成方式", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910538L, - Code = "request_type", - IsDeleted = false, - Name = "请求方式", - Remark = "请求方式", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070922827L, - Code = "code_gen_effect_type", - IsDeleted = false, - Name = "代码生成作用类型", - Remark = "代码生成作用类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070922828L, - Code = "code_gen_query_type", - IsDeleted = false, - Name = "代码生成查询类型", - Remark = "代码生成查询类型", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070922829L, - Code = "code_gen_net_type", - IsDeleted = false, - Name = "代码生成.NET类型", - Remark = "代码生成.NET类型", - Sort = 100, - Status = 0 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysEmp", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("用户Id"); - - b.Property("JobNum") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("工号"); - - b.Property("OrgId") - .HasColumnType("bigint") - .HasComment("机构Id"); - - b.Property("OrgName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("机构名称"); - - b.HasKey("Id"); - - b.ToTable("sys_emp"); - - b - .HasComment("员工表"); - - b.HasData( - new - { - Id = 142307070910551L, - JobNum = "D1001", - OrgId = 142307070910539L, - OrgName = "华夏集团" - }, - new - { - Id = 142307070910552L, - JobNum = "D1002", - OrgId = 142307070910539L, - OrgName = "华夏集团" - }, - new - { - Id = 142307070910553L, - JobNum = "D1003", - OrgId = 142307070910539L, - OrgName = "华夏集团" - }); - }); - - modelBuilder.Entity("Dilon.Core.SysEmpExtOrgPos", b => - { - b.Property("SysEmpId") - .HasColumnType("bigint") - .HasComment("员工Id"); - - b.Property("SysOrgId") - .HasColumnType("bigint") - .HasComment("机构Id"); - - b.Property("SysPosId") - .HasColumnType("bigint") - .HasComment("职位Id"); - - b.HasKey("SysEmpId", "SysOrgId", "SysPosId"); - - b.HasIndex("SysOrgId"); - - b.HasIndex("SysPosId"); - - b.ToTable("sys_emp_ext_org_pos"); - - b - .HasComment("员工附属机构职位表"); - - b.HasData( - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910539L, - SysPosId = 142307070910547L - }, - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910540L, - SysPosId = 142307070910548L - }, - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910541L, - SysPosId = 142307070910549L - }, - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910542L, - SysPosId = 142307070910550L - }, - new - { - SysEmpId = 142307070910553L, - SysOrgId = 142307070910542L, - SysPosId = 142307070910547L - }); - }); - - modelBuilder.Entity("Dilon.Core.SysEmpPos", b => - { - b.Property("SysEmpId") - .HasColumnType("bigint") - .HasComment("员工Id"); - - b.Property("SysPosId") - .HasColumnType("bigint") - .HasComment("职位Id"); - - b.HasKey("SysEmpId", "SysPosId"); - - b.HasIndex("SysPosId"); - - b.ToTable("sys_emp_pos"); - - b - .HasComment("员工职位表"); - - b.HasData( - new - { - SysEmpId = 142307070910551L, - SysPosId = 142307070910547L - }, - new - { - SysEmpId = 142307070910551L, - SysPosId = 142307070910548L - }, - new - { - SysEmpId = 142307070910552L, - SysPosId = 142307070910549L - }, - new - { - SysEmpId = 142307070910553L, - SysPosId = 142307070910547L - }); - }); - - modelBuilder.Entity("Dilon.Core.SysFile", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("FileBucket") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("文件仓库"); - - b.Property("FileLocation") - .HasColumnType("int") - .HasComment("文件存储位置"); - - b.Property("FileObjectName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("存储到bucket的名称"); - - b.Property("FileOriginName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("文件名称"); - - b.Property("FilePath") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("存储路径"); - - b.Property("FileSizeInfo") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("文件大小信息"); - - b.Property("FileSizeKb") - .HasColumnType("bigint") - .HasComment("文件大小kb"); - - b.Property("FileSuffix") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("文件后缀"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_file"); - - b - .HasComment("文件信息表"); - }); - - modelBuilder.Entity("Dilon.Core.SysLogAudit", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - b.Property("ColumnName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("列名"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("操作时间"); - - b.Property("NewValue") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("新值"); - - b.Property("OldValue") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("旧值"); - - b.Property("Operate") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("操作方式"); - - b.Property("TableName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("表名"); - - b.Property("UserId") - .HasColumnType("bigint") - .HasComment("操作人Id"); - - b.Property("UserName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("操作人名称"); - - b.HasKey("Id"); - - b.ToTable("sys_log_audit"); - - b - .HasComment("审计日志表"); - }); - - modelBuilder.Entity("Dilon.Core.SysLogOp", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - b.Property("Account") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("操作人"); - - b.Property("Browser") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("浏览器"); - - b.Property("ClassName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("类名称"); - - b.Property("ElapsedTime") - .HasColumnType("bigint") - .HasComment("耗时"); - - b.Property("Ip") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("IP"); - - b.Property("Location") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("地址"); - - b.Property("Message") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("具体消息"); - - b.Property("MethodName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("方法名称"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("OpTime") - .HasColumnType("datetime") - .HasComment("操作时间"); - - b.Property("OpType") - .HasColumnType("int") - .HasComment("操作类型"); - - b.Property("Os") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("操作系统"); - - b.Property("Param") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("请求参数"); - - b.Property("ReqMethod") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("请求方式"); - - b.Property("Result") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("返回结果"); - - b.Property("Success") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否执行成功"); - - b.Property("Url") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("请求地址"); - - b.HasKey("Id"); - - b.ToTable("sys_log_op"); - - b - .HasComment("操作日志表"); - }); - - modelBuilder.Entity("Dilon.Core.SysLogVis", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - b.Property("Account") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("访问人"); - - b.Property("Browser") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("浏览器"); - - b.Property("Ip") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("IP"); - - b.Property("Location") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("地址"); - - b.Property("Message") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("具体消息"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Os") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("操作系统"); - - b.Property("Success") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否执行成功"); - - b.Property("VisTime") - .HasColumnType("datetime") - .HasComment("访问时间"); - - b.Property("VisType") - .HasColumnType("int") - .HasComment("访问类型"); - - b.HasKey("Id"); - - b.ToTable("sys_log_vis"); - - b - .HasComment("访问日志表"); - }); - - modelBuilder.Entity("Dilon.Core.SysMenu", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Application") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("应用分类"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("Component") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("组件地址"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("Icon") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("图标"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Link") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("内链地址"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("OpenType") - .HasColumnType("int") - .HasComment("打开方式"); - - b.Property("Permission") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("权限标识"); - - b.Property("Pid") - .HasColumnType("bigint") - .HasComment("父Id"); - - b.Property("Pids") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("父Ids"); - - b.Property("Redirect") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("重定向地址"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Router") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("路由地址"); - - b.Property("Sort") - .HasColumnType("int") - .HasComment("排序"); - - b.Property("Status") - .HasColumnType("int"); - - b.Property("Type") - .HasColumnType("int") - .HasComment("菜单类型"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.Property("Visible") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("是否可见"); - - b.Property("Weight") - .HasColumnType("int") - .HasComment("权重"); - - b.HasKey("Id"); - - b.ToTable("sys_menu"); - - b - .HasComment("菜单表"); - - b.HasData( - new - { - Id = 142307070910560L, - Application = "system", - Code = "system_index", - Component = "RouteView", - Icon = "home", - IsDeleted = false, - Name = "主控面板", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Redirect = "/analysis", - Router = "/", - Sort = 1, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910561L, - Application = "system", - Code = "system_index_dashboard", - Component = "system/dashboard/Analysis", - IsDeleted = false, - Name = "分析页", - OpenType = 0, - Pid = 142307070910560L, - Pids = "[0],[142307070910560],", - Router = "analysis", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910562L, - Application = "system", - Code = "system_index_workplace", - Component = "system/dashboard/Workplace", - IsDeleted = false, - Name = "工作台", - OpenType = 0, - Pid = 142307070910560L, - Pids = "[0],[142307070910560],", - Router = "workplace", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910563L, - Application = "system", - Code = "sys_mgr", - Component = "PageView", - Icon = "team", - IsDeleted = false, - Name = "组织架构", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/sys", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910564L, - Application = "system", - Code = "sys_user_mgr", - Component = "system/user/index", - IsDeleted = false, - Name = "用户管理", - OpenType = 1, - Pid = 142307070910563L, - Pids = "[0],[142307070910563],", - Router = "/mgr_user", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910565L, - Application = "system", - Code = "sys_user_mgr_page", - IsDeleted = false, - Name = "用户查询", - OpenType = 0, - Permission = "sysUser:page", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910566L, - Application = "system", - Code = "sys_user_mgr_edit", - IsDeleted = false, - Name = "用户编辑", - OpenType = 0, - Permission = "sysUser:edit", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910567L, - Application = "system", - Code = "sys_user_mgr_add", - IsDeleted = false, - Name = "用户增加", - OpenType = 0, - Permission = "sysUser:add", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910568L, - Application = "system", - Code = "sys_user_mgr_delete", - IsDeleted = false, - Name = "用户删除", - OpenType = 0, - Permission = "sysUser:delete", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910569L, - Application = "system", - Code = "sys_user_mgr_detail", - IsDeleted = false, - Name = "用户详情", - OpenType = 0, - Permission = "sysUser:detail", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910570L, - Application = "system", - Code = "sys_user_mgr_export", - IsDeleted = false, - Name = "用户导出", - OpenType = 0, - Permission = "sysUser:export", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910571L, - Application = "system", - Code = "sys_user_mgr_selector", - IsDeleted = false, - Name = "用户选择器", - OpenType = 0, - Permission = "sysUser:selector", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910572L, - Application = "system", - Code = "sys_user_mgr_grant_role", - IsDeleted = false, - Name = "用户授权角色", - OpenType = 0, - Permission = "sysUser:grantRole", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910573L, - Application = "system", - Code = "sys_user_mgr_own_role", - IsDeleted = false, - Name = "用户拥有角色", - OpenType = 0, - Permission = "sysUser:ownRole", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910574L, - Application = "system", - Code = "sys_user_mgr_grant_data", - IsDeleted = false, - Name = "用户授权数据", - OpenType = 0, - Permission = "sysUser:grantData", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910575L, - Application = "system", - Code = "sys_user_mgr_own_data", - IsDeleted = false, - Name = "用户拥有数据", - OpenType = 0, - Permission = "sysUser:ownData", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910576L, - Application = "system", - Code = "sys_user_mgr_update_info", - IsDeleted = false, - Name = "用户更新信息", - OpenType = 0, - Permission = "sysUser:updateInfo", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910577L, - Application = "system", - Code = "sys_user_mgr_update_pwd", - IsDeleted = false, - Name = "用户修改密码", - OpenType = 0, - Permission = "sysUser:updatePwd", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910578L, - Application = "system", - Code = "sys_user_mgr_change_status", - IsDeleted = false, - Name = "用户修改状态", - OpenType = 0, - Permission = "sysUser:changeStatus", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910579L, - Application = "system", - Code = "sys_user_mgr_update_avatar", - IsDeleted = false, - Name = "用户修改头像", - OpenType = 0, - Permission = "sysUser:updateAvatar", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910580L, - Application = "system", - Code = "sys_user_mgr_reset_pwd", - IsDeleted = false, - Name = "用户重置密码", - OpenType = 0, - Permission = "sysUser:resetPwd", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918777L, - Application = "system", - Code = "sys_user_mgr_login", - IsDeleted = false, - Name = "用户登录信息", - OpenType = 0, - Permission = "getLoginUser", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 1, - Type = 2, - Visible = "N", - Weight = 1 - }, - new - { - Id = 142307070910581L, - Application = "system", - Code = "sys_org_mgr", - Component = "system/org/index", - IsDeleted = false, - Name = "机构管理", - OpenType = 1, - Pid = 142307070910563L, - Pids = "[0],[142307070910563],", - Router = "/org", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910582L, - Application = "system", - Code = "sys_org_mgr_page", - IsDeleted = false, - Name = "机构查询", - OpenType = 0, - Permission = "sysOrg:page", - Pid = 142307070910581L, - Pids = "[0],[142307070910563],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910583L, - Application = "system", - Code = "sys_org_mgr_list", - IsDeleted = false, - Name = "机构列表", - OpenType = 0, - Permission = "sysOrg:list", - Pid = 142307070910581L, - Pids = "[0],[142307070910563],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910584L, - Application = "system", - Code = "sys_org_mgr_add", - IsDeleted = false, - Name = "机构增加", - OpenType = 0, - Permission = "sysOrg:add", - Pid = 142307070910581L, - Pids = "[0],[142307070910563],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910585L, - Application = "system", - Code = "sys_org_mgr_edit", - IsDeleted = false, - Name = "机构编辑", - OpenType = 0, - Permission = "sysOrg:edit", - Pid = 142307070910581L, - Pids = "[0],[142307070910563],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910586L, - Application = "system", - Code = "sys_org_mgr_delete", - IsDeleted = false, - Name = "机构删除", - OpenType = 0, - Permission = "sysOrg:delete", - Pid = 142307070910581L, - Pids = "[0],[142307070910563],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910587L, - Application = "system", - Code = "sys_org_mgr_detail", - IsDeleted = false, - Name = "机构详情", - OpenType = 0, - Permission = "sysOrg:detail", - Pid = 142307070910581L, - Pids = "[0],[142307070910563],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910588L, - Application = "system", - Code = "sys_org_mgr_tree", - IsDeleted = false, - Name = "机构树", - OpenType = 0, - Permission = "sysOrg:tree", - Pid = 142307070910581L, - Pids = "[0],[142307070910563],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910589L, - Application = "system", - Code = "sys_pos_mgr", - Component = "system/pos/index", - IsDeleted = false, - Name = "职位管理", - OpenType = 1, - Pid = 142307070910563L, - Pids = "[0],[142307070910563],", - Router = "/pos", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910590L, - Application = "system", - Code = "sys_pos_mgr_page", - IsDeleted = false, - Name = "职位查询", - OpenType = 0, - Permission = "sysPos:page", - Pid = 142307070910589L, - Pids = "[0],[142307070910563],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910591L, - Application = "system", - Code = "sys_pos_mgr_list", - IsDeleted = false, - Name = "职位列表", - OpenType = 0, - Permission = "sysPos:list", - Pid = 142307070910589L, - Pids = "[0],[142307070910563],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914629L, - Application = "system", - Code = "sys_pos_mgr_add", - IsDeleted = false, - Name = "职位增加", - OpenType = 0, - Permission = "sysPos:add", - Pid = 142307070910589L, - Pids = "[0],[142307070910563],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914630L, - Application = "system", - Code = "sys_pos_mgr_edit", - IsDeleted = false, - Name = "职位编辑", - OpenType = 0, - Permission = "sysPos:edit", - Pid = 142307070910589L, - Pids = "[0],[142307070910563],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914631L, - Application = "system", - Code = "sys_pos_mgr_delete", - IsDeleted = false, - Name = "职位删除", - OpenType = 0, - Permission = "sysPos:delete", - Pid = 142307070910589L, - Pids = "[0],[142307070910563],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914632L, - Application = "system", - Code = "sys_pos_mgr_detail", - IsDeleted = false, - Name = "职位详情", - OpenType = 0, - Permission = "sysPos:detail", - Pid = 142307070910589L, - Pids = "[0],[142307070910563],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914633L, - Application = "system", - Code = "auth_manager", - Component = "PageView", - Icon = "safety-certificate", - IsDeleted = false, - Name = "权限管理", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/auth", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914634L, - Application = "system", - Code = "sys_app_mgr", - Component = "system/app/index", - IsDeleted = false, - Name = "应用管理", - OpenType = 1, - Pid = 142307070914633L, - Pids = "[0],[142307070914633],", - Router = "/app", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914635L, - Application = "system", - Code = "sys_app_mgr_page", - IsDeleted = false, - Name = "应用查询", - OpenType = 0, - Permission = "sysApp:page", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914636L, - Application = "system", - Code = "sys_app_mgr_list", - IsDeleted = false, - Name = "应用列表", - OpenType = 0, - Permission = "sysApp:list", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914637L, - Application = "system", - Code = "sys_app_mgr_add", - IsDeleted = false, - Name = "应用增加", - OpenType = 0, - Permission = "sysApp:add", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914638L, - Application = "system", - Code = "sys_app_mgr_edit", - IsDeleted = false, - Name = "应用编辑", - OpenType = 0, - Permission = "sysApp:edit", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914639L, - Application = "system", - Code = "sys_app_mgr_delete", - IsDeleted = false, - Name = "应用删除", - OpenType = 0, - Permission = "sysApp:delete", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914640L, - Application = "system", - Code = "sys_app_mgr_detail", - IsDeleted = false, - Name = "应用详情", - OpenType = 0, - Permission = "sysApp:detail", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914641L, - Application = "system", - Code = "sys_app_mgr_set_as_default", - IsDeleted = false, - Name = "设为默认应用", - OpenType = 0, - Permission = "sysApp:setAsDefault", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914642L, - Application = "system", - Code = "sys_menu_mgr", - Component = "system/menu/index", - IsDeleted = false, - Name = "菜单管理", - OpenType = 1, - Pid = 142307070914633L, - Pids = "[0],[142307070914633],", - Router = "/menu", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914643L, - Application = "system", - Code = "sys_menu_mgr_list", - IsDeleted = false, - Name = "菜单列表", - OpenType = 0, - Permission = "sysMenu:list", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914644L, - Application = "system", - Code = "sys_menu_mgr_add", - IsDeleted = false, - Name = "菜单增加", - OpenType = 0, - Permission = "sysMenu:add", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914645L, - Application = "system", - Code = "sys_menu_mgr_edit", - IsDeleted = false, - Name = "菜单编辑", - OpenType = 0, - Permission = "sysMenu:edit", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914646L, - Application = "system", - Code = "sys_menu_mgr_delete", - IsDeleted = false, - Name = "菜单删除", - OpenType = 0, - Permission = "sysMenu:delete", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914647L, - Application = "system", - Code = "sys_menu_mgr_detail", - IsDeleted = false, - Name = "菜单详情", - OpenType = 0, - Permission = "sysMenu:detail", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914648L, - Application = "system", - Code = "sys_menu_mgr_grant_tree", - IsDeleted = false, - Name = "菜单授权树", - OpenType = 0, - Permission = "sysMenu:treeForGrant", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914649L, - Application = "system", - Code = "sys_menu_mgr_tree", - IsDeleted = false, - Name = "菜单树", - OpenType = 0, - Permission = "sysMenu:tree", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914650L, - Application = "system", - Code = "sys_menu_mgr_change", - IsDeleted = false, - Name = "菜单切换", - OpenType = 0, - Permission = "sysMenu:change", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914651L, - Application = "system", - Code = "sys_role_mgr", - Component = "system/role/index", - IsDeleted = false, - Name = "角色管理", - OpenType = 1, - Pid = 142307070914633L, - Pids = "[0],[142307070914633],", - Router = "/role", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914652L, - Application = "system", - Code = "sys_role_mgr_page", - IsDeleted = false, - Name = "角色查询", - OpenType = 0, - Permission = "sysRole:page", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914653L, - Application = "system", - Code = "sys_role_mgr_add", - IsDeleted = false, - Name = "角色增加", - OpenType = 0, - Permission = "sysRole:add", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914654L, - Application = "system", - Code = "sys_role_mgr_edit", - IsDeleted = false, - Name = "角色编辑", - OpenType = 0, - Permission = "sysRole:edit", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914655L, - Application = "system", - Code = "sys_role_mgr_delete", - IsDeleted = false, - Name = "角色删除", - OpenType = 0, - Permission = "sysRole:delete", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914656L, - Application = "system", - Code = "sys_role_mgr_detail", - IsDeleted = false, - Name = "角色详情", - OpenType = 0, - Permission = "sysRole:detail", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914657L, - Application = "system", - Code = "sys_role_mgr_drop_down", - IsDeleted = false, - Name = "角色下拉", - OpenType = 0, - Permission = "sysRole:dropDown", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914658L, - Application = "system", - Code = "sys_role_mgr_grant_menu", - IsDeleted = false, - Name = "角色授权菜单", - OpenType = 0, - Permission = "sysRole:grantMenu", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914659L, - Application = "system", - Code = "sys_role_mgr_own_menu", - IsDeleted = false, - Name = "角色拥有菜单", - OpenType = 0, - Permission = "sysRole:ownMenu", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914660L, - Application = "system", - Code = "sys_role_mgr_grant_data", - IsDeleted = false, - Name = "角色授权数据", - OpenType = 0, - Permission = "sysRole:grantData", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914661L, - Application = "system", - Code = "sys_role_mgr_own_data", - IsDeleted = false, - Name = "角色拥有数据", - OpenType = 0, - Permission = "sysRole:ownData", - Pid = 142307070914651L, - Pids = "[0],[142307070914633],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914662L, - Application = "system", - Code = "system_tools", - Component = "PageView", - Icon = "euro", - IsDeleted = false, - Name = "开发管理", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/tools", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914663L, - Application = "system", - Code = "system_tools_config", - Component = "system/config/index", - IsDeleted = false, - Name = "系统配置", - OpenType = 1, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/config", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914664L, - Application = "system", - Code = "system_tools_config_page", - IsDeleted = false, - Name = "配置查询", - OpenType = 0, - Permission = "sysConfig:page", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914665L, - Application = "system", - Code = "system_tools_config_list", - IsDeleted = false, - Name = "配置列表", - OpenType = 0, - Permission = "sysConfig:list", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914666L, - Application = "system", - Code = "system_tools_config_add", - IsDeleted = false, - Name = "配置增加", - OpenType = 0, - Permission = "sysConfig:add", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914667L, - Application = "system", - Code = "system_tools_config_edit", - IsDeleted = false, - Name = "配置编辑", - OpenType = 0, - Permission = "sysConfig:edit", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914668L, - Application = "system", - Code = "system_tools_config_delete", - IsDeleted = false, - Name = "配置删除", - OpenType = 0, - Permission = "sysConfig:delete", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914669L, - Application = "system", - Code = "system_tools_config_detail", - IsDeleted = false, - Name = "配置详情", - OpenType = 0, - Permission = "sysConfig:detail", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914670L, - Application = "system", - Code = "sys_app_mgr_set_as_default", - IsDeleted = false, - Name = "设为默认应用", - OpenType = 0, - Permission = "sysApp:setAsDefault", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914671L, - Application = "system", - Code = "sys_email_mgr", - Component = "system/email/index", - IsDeleted = false, - Name = "邮件发送", - OpenType = 1, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/email", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914672L, - Application = "system", - Code = "sys_email_mgr_send_email", - IsDeleted = false, - Name = "发送文本邮件", - OpenType = 0, - Permission = "email:sendEmail", - Pid = 142307070914671L, - Pids = "[0],[142307070914662],[142307070914671],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914673L, - Application = "system", - Code = "sys_email_mgr_send_email_html", - IsDeleted = false, - Name = "发送html邮件", - OpenType = 0, - Permission = "email:sendEmailHtml", - Pid = 142307070914671L, - Pids = "[0],[142307070914662],[142307070914671],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914674L, - Application = "system", - Code = "sys_sms_mgr", - Component = "system/sms/index", - IsDeleted = false, - Name = "短信管理", - OpenType = 1, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/sms", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914675L, - Application = "system", - Code = "sys_sms_mgr_page", - IsDeleted = false, - Name = "短信发送查询", - OpenType = 0, - Permission = "sms:page", - Pid = 142307070914674L, - Pids = "[0],[142307070914662],[142307070914674],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914676L, - Application = "system", - Code = "sys_sms_mgr_send_login_message", - IsDeleted = false, - Name = "发送验证码短信", - OpenType = 0, - Permission = "sms:sendLoginMessage", - Pid = 142307070914674L, - Pids = "[0],[142307070914662],[142307070914674],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914677L, - Application = "system", - Code = "sys_sms_mgr_validate_message", - IsDeleted = false, - Name = "验证短信验证码", - OpenType = 0, - Permission = "sms:validateMessage", - Pid = 142307070914674L, - Pids = "[0],[142307070914662],[142307070914674],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914678L, - Application = "system", - Code = "sys_dict_mgr", - Component = "system/dict/index", - IsDeleted = false, - Name = "字典管理", - OpenType = 1, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/dict", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914679L, - Application = "system", - Code = "sys_dict_mgr_dict_type_page", - IsDeleted = false, - Name = "字典类型查询", - OpenType = 0, - Permission = "sysDictType:page", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914680L, - Application = "system", - Code = "sys_dict_mgr_dict_type_list", - IsDeleted = false, - Name = "字典类型列表", - OpenType = 0, - Permission = "sysDictType:list", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914681L, - Application = "system", - Code = "sys_dict_mgr_dict_type_add", - IsDeleted = false, - Name = "字典类型增加", - OpenType = 0, - Permission = "sysDictType:add", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914682L, - Application = "system", - Code = "sys_dict_mgr_dict_type_delete", - IsDeleted = false, - Name = "字典类型删除", - OpenType = 0, - Permission = "sysDictType:delete", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914683L, - Application = "system", - Code = "sys_dict_mgr_dict_type_edit", - IsDeleted = false, - Name = "字典类型编辑", - OpenType = 0, - Permission = "sysDictType:edit", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914684L, - Application = "system", - Code = "sys_dict_mgr_dict_type_detail", - IsDeleted = false, - Name = "字典类型详情", - OpenType = 0, - Permission = "sysDictType:detail", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914685L, - Application = "system", - Code = "sys_dict_mgr_dict_type_drop_down", - IsDeleted = false, - Name = "字典类型下拉", - OpenType = 0, - Permission = "sysDictType:dropDown", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914686L, - Application = "system", - Code = "sys_dict_mgr_dict_type_change_status", - IsDeleted = false, - Name = "字典类型修改状态", - OpenType = 0, - Permission = "sysDictType:changeStatus", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914687L, - Application = "system", - Code = "sys_dict_mgr_dict_page", - IsDeleted = false, - Name = "字典值查询", - OpenType = 0, - Permission = "sysDictData:page", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918725L, - Application = "system", - Code = "sys_dict_mgr_dict_list", - IsDeleted = false, - Name = "字典值列表", - OpenType = 0, - Permission = "sysDictData:list", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918726L, - Application = "system", - Code = "sys_dict_mgr_dict_add", - IsDeleted = false, - Name = "字典值增加", - OpenType = 0, - Permission = "sysDictData:add", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918727L, - Application = "system", - Code = "sys_dict_mgr_dict_delete", - IsDeleted = false, - Name = "字典值删除", - OpenType = 0, - Permission = "sysDictData:delete", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918728L, - Application = "system", - Code = "sys_dict_mgr_dict_edit", - IsDeleted = false, - Name = "字典值编辑", - OpenType = 0, - Permission = "sysDictData:edit", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918729L, - Application = "system", - Code = "sys_role_mgr_grant_data", - IsDeleted = false, - Name = "字典值详情", - OpenType = 0, - Permission = "sysDictData:detail", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918730L, - Application = "system", - Code = "sys_dict_mgr_dict_change_status", - IsDeleted = false, - Name = "字典值修改状态", - OpenType = 0, - Permission = "sysDictData:changeStatus", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918731L, - Application = "system", - Code = "sys_swagger_mgr", - Component = "Iframe", - IsDeleted = false, - Link = "http://127.0.0.1:5566/", - Name = "接口文档", - OpenType = 2, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/swagger", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918732L, - Application = "system", - Code = "sys_log_mgr", - Component = "PageView", - Icon = "read", - IsDeleted = false, - Name = "日志管理", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/log", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918733L, - Application = "system", - Code = "sys_log_mgr_vis_log", - Component = "system/log/vislog/index", - IsDeleted = false, - Name = "访问日志", - OpenType = 1, - Pid = 142307070918732L, - Pids = "[0],[142307070918732],", - Router = "/vislog", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918734L, - Application = "system", - Code = "sys_log_mgr_vis_log_page", - IsDeleted = false, - Name = "访问日志查询", - OpenType = 0, - Permission = "sysVisLog:page", - Pid = 142307070918733L, - Pids = "[0],[142307070918732],[142307070918733],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918735L, - Application = "system", - Code = "sys_log_mgr_vis_log_delete", - IsDeleted = false, - Name = "访问日志清空", - OpenType = 0, - Permission = "sysVisLog:delete", - Pid = 142307070918733L, - Pids = "[0],[142307070918732],[142307070918733],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918736L, - Application = "system", - Code = "sys_log_mgr_op_log", - Component = "system/log/oplog/index", - IsDeleted = false, - Name = "操作日志", - OpenType = 1, - Pid = 142307070918732L, - Pids = "[0],[142307070918732],", - Router = "/oplog", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918737L, - Application = "system", - Code = "sys_log_mgr_op_log_page", - IsDeleted = false, - Name = "操作日志查询", - OpenType = 0, - Permission = "sysOpLog:page", - Pid = 142307070918736L, - Pids = "[0],[142307070918732],[142307070918736],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918738L, - Application = "system", - Code = "sys_log_mgr_op_log_delete", - IsDeleted = false, - Name = "操作日志清空", - OpenType = 0, - Permission = "sysOpLog:delete", - Pid = 142307070918736L, - Pids = "[0],[142307070918732],[142307070918736],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918739L, - Application = "system", - Code = "sys_monitor_mgr", - Component = "PageView", - Icon = "deployment-unit", - IsDeleted = false, - Name = "系统监控", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/monitor", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918740L, - Application = "system", - Code = "sys_monitor_mgr_machine_monitor", - Component = "system/machine/index", - IsDeleted = false, - Name = "服务监控", - OpenType = 1, - Pid = 142307070918739L, - Pids = "[0],[142307070918739],", - Router = "/machine", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918741L, - Application = "system", - Code = "sys_monitor_mgr_machine_monitor_query", - IsDeleted = false, - Name = "服务监控查询", - OpenType = 0, - Permission = "sysMachine:query", - Pid = 142307070918740L, - Pids = "[0],[142307070918739],[142307070918740],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918742L, - Application = "system", - Code = "sys_monitor_mgr_online_user", - Component = "system/onlineUser/index", - IsDeleted = false, - Name = "在线用户", - OpenType = 1, - Pid = 142307070918739L, - Pids = "[0],[142307070918739],", - Router = "/onlineUser", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918743L, - Application = "system", - Code = "sys_monitor_mgr_online_user_list", - IsDeleted = false, - Name = "在线用户列表", - OpenType = 0, - Permission = "sysOnlineUser:list", - Pid = 142307070918742L, - Pids = "[0],[142307070918739],[142307070918742],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918744L, - Application = "system", - Code = "sys_monitor_mgr_online_user_force_exist", - IsDeleted = false, - Name = "在线用户强退", - OpenType = 0, - Permission = "sysOnlineUser:forceExist", - Pid = 142307070918742L, - Pids = "[0],[142307070918739],[142307070918742],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918745L, - Application = "system", - Code = "sys_monitor_mgr_druid", - Component = "Iframe", - IsDeleted = false, - Link = "http://localhost:82/druid/login.html", - Name = "数据监控", - OpenType = 2, - Pid = 142307070918739L, - Pids = "[0],[142307070918739],", - Router = "/druid", - Sort = 100, - Status = 0, - Type = 1, - Visible = "N", - Weight = 1 - }, - new - { - Id = 142307070918746L, - Application = "system", - Code = "sys_notice", - Component = "PageView", - Icon = "sound", - IsDeleted = false, - Name = "通知公告", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/notice", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918747L, - Application = "system", - Code = "sys_notice_mgr", - Component = "system/notice/index", - IsDeleted = false, - Name = "公告管理", - OpenType = 1, - Pid = 142307070918746L, - Pids = "[0],[142307070918746],", - Router = "/notice", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918748L, - Application = "system", - Code = "sys_notice_mgr_page", - IsDeleted = false, - Name = "公告查询", - OpenType = 0, - Permission = "sysNotice:page", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918749L, - Application = "system", - Code = "sys_notice_mgr_add", - IsDeleted = false, - Name = "公告增加", - OpenType = 0, - Permission = "sysNotice:add", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918750L, - Application = "system", - Code = "sys_notice_mgr_edit", - IsDeleted = false, - Name = "公告编辑", - OpenType = 0, - Permission = "sysNotice:edit", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918751L, - Application = "system", - Code = "sys_notice_mgr_delete", - IsDeleted = false, - Name = "公告删除", - OpenType = 0, - Permission = "sysNotice:delete", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918752L, - Application = "system", - Code = "sys_notice_mgr_detail", - IsDeleted = false, - Name = "公告查看", - OpenType = 0, - Permission = "sysNotice:detail", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918753L, - Application = "system", - Code = "sys_notice_mgr_changeStatus", - IsDeleted = false, - Name = "公告修改状态", - OpenType = 0, - Permission = "sysNotice:changeStatus", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918754L, - Application = "system", - Code = "sys_notice_mgr_received", - Component = "system/noticeReceived/index", - IsDeleted = false, - Name = "已收公告", - OpenType = 1, - Pid = 142307070918746L, - Pids = "[0],[142307070918746],", - Router = "/noticeReceived", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918755L, - Application = "system", - Code = "sys_notice_mgr_received_page", - IsDeleted = false, - Name = "已收公告查询", - OpenType = 0, - Permission = "sysNotice:received", - Pid = 142307070918754L, - Pids = "[0],[142307070918746],[142307070918754],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918756L, - Application = "system", - Code = "sys_file_mgr", - Component = "PageView", - Icon = "file", - IsDeleted = false, - Name = "文件管理", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/file", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918757L, - Application = "system", - Code = "sys_file_mgr_sys_file", - Component = "system/file/index", - IsDeleted = false, - Name = "系统文件", - OpenType = 1, - Pid = 142307070918756L, - Pids = "[0],[142307070918756],", - Router = "/file", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918758L, - Application = "system", - Code = "sys_file_mgr_sys_file_page", - IsDeleted = false, - Name = "文件查询", - OpenType = 0, - Permission = "sysFileInfo:page", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918759L, - Application = "system", - Code = "sys_file_mgr_sys_file_list", - IsDeleted = false, - Name = "文件列表", - OpenType = 0, - Permission = "sysFileInfo:list", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918760L, - Application = "system", - Code = "sys_file_mgr_sys_file_delete", - IsDeleted = false, - Name = "文件删除", - OpenType = 0, - Permission = "sysFileInfo:delete", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918761L, - Application = "system", - Code = "sys_file_mgr_sys_file_detail", - IsDeleted = false, - Name = "文件详情", - OpenType = 0, - Permission = "sysFileInfo:detail", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918762L, - Application = "system", - Code = "sys_file_mgr_sys_file_upload", - IsDeleted = false, - Name = "文件上传", - OpenType = 0, - Permission = "sysFileInfo:upload", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918763L, - Application = "system", - Code = "sys_file_mgr_sys_file_download", - IsDeleted = false, - Name = "文件下载", - OpenType = 0, - Permission = "sysFileInfo:download", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918764L, - Application = "system", - Code = "sys_file_mgr_sys_file_preview", - IsDeleted = false, - Name = "图片预览", - OpenType = 0, - Permission = "sysFileInfo:preview", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918765L, - Application = "system", - Code = "sys_timers", - Component = "PageView", - Icon = "dashboard", - IsDeleted = false, - Name = "定时任务", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/timers", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918766L, - Application = "system", - Code = "sys_timers_mgr", - Component = "system/timers/index", - IsDeleted = false, - Name = "任务管理", - OpenType = 1, - Pid = 142307070918765L, - Pids = "[0],[142307070918765],", - Router = "/timers", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918767L, - Application = "system", - Code = "sys_timers_mgr_page", - IsDeleted = false, - Name = "定时任务查询", - OpenType = 0, - Permission = "sysTimers:page", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918768L, - Application = "system", - Code = "sys_timers_mgr_list", - IsDeleted = false, - Name = "定时任务列表", - OpenType = 0, - Permission = "sysTimers:list", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918769L, - Application = "system", - Code = "sys_timers_mgr_detail", - IsDeleted = false, - Name = "定时任务详情", - OpenType = 0, - Permission = "sysTimers:detail", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918770L, - Application = "system", - Code = "sys_timers_mgr_add", - IsDeleted = false, - Name = "定时任务增加", - OpenType = 0, - Permission = "sysTimers:add", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918771L, - Application = "system", - Code = "sys_timers_mgr_delete", - IsDeleted = false, - Name = "定时任务删除", - OpenType = 0, - Permission = "sysTimers:delete", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918772L, - Application = "system", - Code = "sys_timers_mgr_edit", - IsDeleted = false, - Name = "定时任务编辑", - OpenType = 0, - Permission = "sysTimers:edit", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918773L, - Application = "system", - Code = "sys_timers_mgr_get_action_classes", - IsDeleted = false, - Name = "定时任务可执行列表", - OpenType = 0, - Permission = "sysTimers:getActionClasses", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918774L, - Application = "system", - Code = "sys_timers_mgr_start", - IsDeleted = false, - Name = "定时任务启动", - OpenType = 0, - Permission = "sysTimers:start", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918775L, - Application = "system", - Code = "sys_timers_mgr_stop", - IsDeleted = false, - Name = "定时任务关闭", - OpenType = 0, - Permission = "sysTimers:stop", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918776L, - Application = "system_tool", - Code = "code_gen", - Component = "gen/codeGenerate/index", - Icon = "thunderbolt", - IsDeleted = false, - Name = "代码生成", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/codeGenerate/index", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922870L, - Application = "system_tool", - Code = "form_design", - Component = "system/formDesign/index", - Icon = "robot", - IsDeleted = false, - Name = "表单设计", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/formDesign/index", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918782L, - Application = "advanced", - Code = "sys_tenant", - Component = "PageView", - Icon = "switcher", - IsDeleted = false, - Name = "SaaS租户", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/tenant", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918783L, - Application = "advanced", - Code = "sys_tenant_mgr", - Component = "system/tenant/index", - IsDeleted = false, - Name = "租户管理", - OpenType = 1, - Pid = 142307070918782L, - Pids = "[0],[142307070918782],", - Router = "/tenant", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922821L, - Application = "advanced", - Code = "sys_tenant_mgr_page", - IsDeleted = false, - Name = "租户查询", - OpenType = 0, - Permission = "sysTenant:page", - Pid = 142307070918783L, - Pids = "[0],[142307070918782],[142307070918783],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922822L, - Application = "advanced", - Code = "sys_tenant_mgr_detail", - IsDeleted = false, - Name = "租户详情", - OpenType = 0, - Permission = "sysTenant:detail", - Pid = 142307070918783L, - Pids = "[0],[142307070918782],[142307070918783],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922823L, - Application = "advanced", - Code = "sys_tenant_mgr_add", - IsDeleted = false, - Name = "租户增加", - OpenType = 0, - Permission = "sysTenant:add", - Pid = 142307070918783L, - Pids = "[0],[142307070918782],[142307070918783],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922824L, - Application = "advanced", - Code = "sys_tenant_mgr_delete", - IsDeleted = false, - Name = "租户删除", - OpenType = 0, - Permission = "sysTenant:delete", - Pid = 142307070918783L, - Pids = "[0],[142307070918782],[142307070918783],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922825L, - Application = "advanced", - Code = "sys_tenant_mgr_edit", - IsDeleted = false, - Name = "租户编辑", - OpenType = 0, - Permission = "sysTenant:edit", - Pid = 142307070918783L, - Pids = "[0],[142307070918782],[142307070918783],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysNotice", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("CancelTime") - .HasColumnType("datetime") - .HasComment("撤回时间"); - - b.Property("Content") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("内容"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("PublicOrgId") - .HasColumnType("bigint") - .HasComment("发布机构Id"); - - b.Property("PublicOrgName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("发布机构名称"); - - b.Property("PublicTime") - .HasColumnType("datetime") - .HasComment("发布时间"); - - b.Property("PublicUserId") - .HasColumnType("bigint") - .HasComment("发布人Id"); - - b.Property("PublicUserName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("发布人姓名"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("Title") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("标题"); - - b.Property("Type") - .HasColumnType("int") - .HasComment("类型"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_notice"); - - b - .HasComment("通知公告表"); - }); - - modelBuilder.Entity("Dilon.Core.SysNoticeUser", b => - { - b.Property("NoticeId") - .HasColumnType("bigint") - .HasComment("通知公告Id"); - - b.Property("ReadStatus") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("ReadTime") - .HasColumnType("datetime") - .HasComment("阅读时间"); - - b.Property("UserId") - .HasColumnType("bigint") - .HasComment("用户Id"); - - b.ToTable("sys_notice_user"); - - b - .HasComment("通知公告用户表"); - }); - - modelBuilder.Entity("Dilon.Core.SysOauthUser", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("AccessToken") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("Token"); - - b.Property("Avatar") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("头像"); - - b.Property("Blog") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("用户网址"); - - b.Property("Company") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("所在公司"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("Email") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("邮箱"); - - b.Property("Gender") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("性别"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Location") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("位置"); - - b.Property("NickName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("昵称"); - - b.Property("Phone") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("电话"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Source") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("用户来源"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.Property("Uuid") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("UUID"); - - b.HasKey("Id"); - - b.ToTable("sys_oauth_user"); - - b - .HasComment("Oauth登录用户表"); - }); - - modelBuilder.Entity("Dilon.Core.SysOrg", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("Contacts") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("联系人"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Pid") - .HasColumnType("bigint") - .HasComment("父Id"); - - b.Property("Pids") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("父Ids"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Sort") - .HasColumnType("int") - .HasComment("排序"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("Tel") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("电话"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_org"); - - b - .HasComment("组织机构表"); - - b.HasData( - new - { - Id = 142307070910539L, - Code = "hxjt", - IsDeleted = false, - Name = "华夏集团", - Pid = 0L, - Pids = "[0],", - Remark = "华夏集团", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910540L, - Code = "hxjt_bj", - IsDeleted = false, - Name = "华夏集团北京分公司", - Pid = 142307070910539L, - Pids = "[0],[142307070910539],", - Remark = "华夏集团北京分公司", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910541L, - Code = "hxjt_cd", - IsDeleted = false, - Name = "华夏集团成都分公司", - Pid = 142307070910539L, - Pids = "[0],[142307070910539],", - Remark = "华夏集团成都分公司", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910542L, - Code = "hxjt_bj_yfb", - IsDeleted = false, - Name = "研发部", - Pid = 142307070910540L, - Pids = "[0],[142307070910539],[142307070910540],", - Remark = "华夏集团北京分公司研发部", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910543L, - Code = "hxjt_bj_qhb", - IsDeleted = false, - Name = "企划部", - Pid = 142307070910540L, - Pids = "[0],[142307070910539],[142307070910540],", - Remark = "华夏集团北京分公司企划部", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910544L, - Code = "hxjt_cd_scb", - IsDeleted = false, - Name = "市场部", - Pid = 142307070910541L, - Pids = "[0],[142307070910539],[142307070910541],", - Remark = "华夏集团成都分公司市场部", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910545L, - Code = "hxjt_cd_cwb", - IsDeleted = false, - Name = "财务部", - Pid = 142307070910541L, - Pids = "[0],[142307070910539],[142307070910541],", - Remark = "华夏集团成都分公司财务部", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910546L, - Code = "hxjt_cd_scb_2b", - IsDeleted = false, - Name = "市场部二部", - Pid = 142307070910544L, - Pids = "[0],[142307070910539],[142307070910541],[142307070910544],", - Remark = "华夏集团成都分公司市场部二部", - Sort = 100, - Status = 0 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysPos", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Sort") - .HasColumnType("int") - .HasComment("排序"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_pos"); - - b - .HasComment("职位表"); - - b.HasData( - new - { - Id = 142307070910547L, - Code = "zjl", - IsDeleted = false, - Name = "总经理", - Remark = "总经理", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910548L, - Code = "fzjl", - IsDeleted = false, - Name = "副总经理", - Remark = "副总经理", - Sort = 101, - Status = 0 - }, - new - { - Id = 142307070910549L, - Code = "bmjl", - IsDeleted = false, - Name = "部门经理", - Remark = "部门经理", - Sort = 102, - Status = 0 - }, - new - { - Id = 142307070910550L, - Code = "gzry", - IsDeleted = false, - Name = "工作人员", - Remark = "工作人员", - Sort = 103, - Status = 0 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysRole", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Code") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("编码"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("DataScopeType") - .HasColumnType("int") - .HasComment("数据范围类型"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Sort") - .HasColumnType("int") - .HasComment("排序"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_role"); - - b - .HasComment("角色表"); - - b.HasData( - new - { - Id = 142307070910554L, - Code = "sys_manager_role", - DataScopeType = 1, - IsDeleted = false, - Name = "系统管理员", - Remark = "系统管理员", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910555L, - Code = "common_role", - DataScopeType = 5, - IsDeleted = false, - Name = "普通用户", - Remark = "普通用户", - Sort = 101, - Status = 0 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysRoleDataScope", b => - { - b.Property("SysRoleId") - .HasColumnType("bigint") - .HasComment("角色Id"); - - b.Property("SysOrgId") - .HasColumnType("bigint") - .HasComment("机构Id"); - - b.HasKey("SysRoleId", "SysOrgId"); - - b.HasIndex("SysOrgId"); - - b.ToTable("sys_role_data_scope"); - - b - .HasComment("角色数据范围表"); - }); - - modelBuilder.Entity("Dilon.Core.SysRoleMenu", b => - { - b.Property("SysRoleId") - .HasColumnType("bigint") - .HasComment("角色Id"); - - b.Property("SysMenuId") - .HasColumnType("bigint") - .HasComment("菜单Id"); - - b.HasKey("SysRoleId", "SysMenuId"); - - b.HasIndex("SysMenuId"); - - b.ToTable("sys_role_menu"); - - b - .HasComment("角色菜单表"); - }); - - modelBuilder.Entity("Dilon.Core.SysTenant", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Connection") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("数据库连接"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("Email") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("电子邮箱"); - - b.Property("Host") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("主机"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("Name") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("名称"); - - b.Property("Phone") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("电话"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("Schema") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("架构"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_tenant"); - - b - .HasComment("租户表"); - }); - - modelBuilder.Entity("Dilon.Core.SysTimer", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("BeginTime") - .HasColumnType("datetime") - .HasComment("开始时间"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("Cron") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("Cron表达式"); - - b.Property("EndTime") - .HasColumnType("datetime") - .HasComment("结束时间"); - - b.Property("Headers") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("Headers"); - - b.Property("Interval") - .HasColumnType("int") - .HasComment("执行间隔时间"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("JobGroup") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("任务分组"); - - b.Property("JobName") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("任务名称"); - - b.Property("Remark") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("备注"); - - b.Property("RequestParameters") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("请求参数"); - - b.Property("RequestType") - .HasColumnType("int") - .HasComment("请求类型"); - - b.Property("RequestUrl") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("请求url"); - - b.Property("RunNumber") - .HasColumnType("int") - .HasComment("执行次数"); - - b.Property("TriggerType") - .HasColumnType("int") - .HasComment("触发器类型"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_timer"); - - b - .HasComment("定时任务表"); - - b.HasData( - new - { - Id = 142307070910556L, - BeginTime = new DateTimeOffset(new DateTime(2021, 3, 21, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - Interval = 30, - IsDeleted = false, - JobGroup = "默认分组", - JobName = "百度api", - RequestType = 2, - RequestUrl = "https://www.baidu.com", - TriggerType = 1 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysUser", b => - { - b.Property("Id") - .HasColumnType("bigint") - .HasComment("Id主键"); - - b.Property("Account") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("账号"); - - b.Property("AdminType") - .HasColumnType("int") - .HasComment("管理员类型-超级管理员_1、非管理员_2"); - - b.Property("Avatar") - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("头像"); - - b.Property("Birthday") - .HasColumnType("datetime") - .HasComment("生日"); - - b.Property("CreatedTime") - .HasColumnType("datetime") - .HasComment("创建时间"); - - b.Property("CreatedUserId") - .HasColumnType("bigint") - .HasComment("创建者Id"); - - b.Property("CreatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("创建者名称"); - - b.Property("Email") - .HasMaxLength(30) - .HasColumnType("varchar(30) CHARACTER SET utf8mb4") - .HasComment("邮箱"); - - b.Property("IsDeleted") - .HasColumnType("tinyint(1)") - .HasComment("软删除标记"); - - b.Property("LastLoginIp") - .HasMaxLength(30) - .HasColumnType("varchar(30) CHARACTER SET utf8mb4") - .HasComment("最后登录IP"); - - b.Property("LastLoginTime") - .HasColumnType("datetime") - .HasComment("最后登录时间"); - - b.Property("Name") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("姓名"); - - b.Property("NickName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("昵称"); - - b.Property("Password") - .IsRequired() - .HasColumnType("longtext CHARACTER SET utf8mb4") - .HasComment("密码"); - - b.Property("Phone") - .HasMaxLength(30) - .HasColumnType("varchar(30) CHARACTER SET utf8mb4") - .HasComment("手机"); - - b.Property("Sex") - .HasColumnType("int") - .HasComment("性别-男_1、女_2"); - - b.Property("Status") - .HasColumnType("int") - .HasComment("状态-正常_0、停用_1、删除_2"); - - b.Property("Tel") - .HasMaxLength(30) - .HasColumnType("varchar(30) CHARACTER SET utf8mb4") - .HasComment("电话"); - - b.Property("UpdatedTime") - .HasColumnType("datetime") - .HasComment("更新时间"); - - b.Property("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("修改者Id"); - - b.Property("UpdatedUserName") - .HasMaxLength(20) - .HasColumnType("varchar(20) CHARACTER SET utf8mb4") - .HasComment("修改者名称"); - - b.HasKey("Id"); - - b.ToTable("sys_user"); - - b - .HasComment("用户表"); - - b.HasData( - new - { - Id = 142307070910551L, - Account = "superAdmin", - AdminType = 1, - Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - IsDeleted = false, - LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), - Name = "superAdmin", - Password = "e10adc3949ba59abbe56e057f20f883e", - Phone = "18020030720", - Sex = 1, - Status = 0 - }, - new - { - Id = 142307070910552L, - Account = "admin", - AdminType = 1, - Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - IsDeleted = false, - LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), - Name = "admin", - Password = "e10adc3949ba59abbe56e057f20f883e", - Phone = "18020030720", - Sex = 2, - Status = 0 - }, - new - { - Id = 142307070910553L, - Account = "zuohuaijun", - AdminType = 2, - Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - IsDeleted = false, - LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), - Name = "zuohuaijun", - Password = "e10adc3949ba59abbe56e057f20f883e", - Phone = "18020030720", - Sex = 1, - Status = 0 - }); - }); - - modelBuilder.Entity("Dilon.Core.SysUserDataScope", b => - { - b.Property("SysUserId") - .HasColumnType("bigint") - .HasComment("用户Id"); - - b.Property("SysOrgId") - .HasColumnType("bigint") - .HasComment("机构Id"); - - b.HasKey("SysUserId", "SysOrgId"); - - b.HasIndex("SysOrgId"); - - b.ToTable("sys_user_data_scope"); - - b - .HasComment("用户数据范围表"); - }); - - modelBuilder.Entity("Dilon.Core.SysUserRole", b => - { - b.Property("SysUserId") - .HasColumnType("bigint") - .HasComment("用户Id"); - - b.Property("SysRoleId") - .HasColumnType("bigint") - .HasComment("角色Id"); - - b.HasKey("SysUserId", "SysRoleId"); - - b.HasIndex("SysRoleId"); - - b.ToTable("sys_user_role"); - - b - .HasComment("用户角色表"); - }); - - modelBuilder.Entity("Dilon.Core.SysDictData", b => - { - b.HasOne("Dilon.Core.SysDictType", "SysDictType") - .WithMany("SysDictDatas") - .HasForeignKey("TypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysDictType"); - }); - - modelBuilder.Entity("Dilon.Core.SysEmpExtOrgPos", b => - { - b.HasOne("Dilon.Core.SysEmp", "SysEmp") - .WithMany() - .HasForeignKey("SysEmpId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Dilon.Core.SysOrg", "SysOrg") - .WithMany() - .HasForeignKey("SysOrgId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Dilon.Core.SysPos", "SysPos") - .WithMany() - .HasForeignKey("SysPosId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysEmp"); - - b.Navigation("SysOrg"); - - b.Navigation("SysPos"); - }); - - modelBuilder.Entity("Dilon.Core.SysEmpPos", b => - { - b.HasOne("Dilon.Core.SysEmp", "SysEmp") - .WithMany("SysEmpPos") - .HasForeignKey("SysEmpId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Dilon.Core.SysPos", "SysPos") - .WithMany("SysEmpPos") - .HasForeignKey("SysPosId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysEmp"); - - b.Navigation("SysPos"); - }); - - modelBuilder.Entity("Dilon.Core.SysRoleDataScope", b => - { - b.HasOne("Dilon.Core.SysOrg", "SysOrg") - .WithMany("SysRoleDataScopes") - .HasForeignKey("SysOrgId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Dilon.Core.SysRole", "SysRole") - .WithMany("SysRoleDataScopes") - .HasForeignKey("SysRoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysOrg"); - - b.Navigation("SysRole"); - }); - - modelBuilder.Entity("Dilon.Core.SysRoleMenu", b => - { - b.HasOne("Dilon.Core.SysMenu", "SysMenu") - .WithMany("SysRoleMenus") - .HasForeignKey("SysMenuId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Dilon.Core.SysRole", "SysRole") - .WithMany("SysRoleMenus") - .HasForeignKey("SysRoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysMenu"); - - b.Navigation("SysRole"); - }); - - modelBuilder.Entity("Dilon.Core.SysUserDataScope", b => - { - b.HasOne("Dilon.Core.SysOrg", "SysOrg") - .WithMany("SysUserDataScopes") - .HasForeignKey("SysOrgId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Dilon.Core.SysUser", "SysUser") - .WithMany("SysUserDataScopes") - .HasForeignKey("SysUserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysOrg"); - - b.Navigation("SysUser"); - }); - - modelBuilder.Entity("Dilon.Core.SysUserRole", b => - { - b.HasOne("Dilon.Core.SysRole", "SysRole") - .WithMany("SysUserRoles") - .HasForeignKey("SysRoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Dilon.Core.SysUser", "SysUser") - .WithMany("SysUserRoles") - .HasForeignKey("SysUserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysRole"); - - b.Navigation("SysUser"); - }); - - modelBuilder.Entity("Dilon.Core.SysDictType", b => - { - b.Navigation("SysDictDatas"); - }); - - modelBuilder.Entity("Dilon.Core.SysEmp", b => - { - b.Navigation("SysEmpPos"); - }); - - modelBuilder.Entity("Dilon.Core.SysMenu", b => - { - b.Navigation("SysRoleMenus"); - }); - - modelBuilder.Entity("Dilon.Core.SysOrg", b => - { - b.Navigation("SysRoleDataScopes"); - - b.Navigation("SysUserDataScopes"); - }); - - modelBuilder.Entity("Dilon.Core.SysPos", b => - { - b.Navigation("SysEmpPos"); - }); - - modelBuilder.Entity("Dilon.Core.SysRole", b => - { - b.Navigation("SysRoleDataScopes"); - - b.Navigation("SysRoleMenus"); - - b.Navigation("SysUserRoles"); - }); - - modelBuilder.Entity("Dilon.Core.SysUser", b => - { - b.Navigation("SysUserDataScopes"); - - b.Navigation("SysUserRoles"); - }); -#pragma warning restore 612, 618 - } - } -} +// +using System; +using Dilon.EntityFramework.Core; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; + +namespace Ewide.Database.Migrations.Migrations +{ + [DbContext(typeof(DefaultDbContext))] + partial class DefaultDbContextModelSnapshot : ModelSnapshot + { + protected override void BuildModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("Relational:MaxIdentifierLength", 64) + .HasAnnotation("ProductVersion", "5.0.5"); + + modelBuilder.Entity("Dilon.Application.CodeGenTest", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Age") + .HasColumnType("int") + .HasComment("年龄"); + + b.Property("Birthday") + .HasColumnType("datetime") + .HasComment("生日"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("NickName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("昵称"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("code_gen_test"); + + b + .HasComment("代码生成业务"); + }); + + modelBuilder.Entity("Dilon.Core.SysApp", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Active") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否默认激活"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("Color") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("图标颜色"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Icon") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("图标"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_app"); + + b + .HasComment("系统应用表"); + + b.HasData( + new + { + Id = 142307070922869L, + Active = "N", + Code = "busapp", + IsDeleted = false, + Name = "业务应用", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070898245L, + Active = "Y", + Code = "system", + IsDeleted = false, + Name = "系统管理", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070902341L, + Active = "N", + Code = "system_tool", + IsDeleted = false, + Name = "系统工具", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070922826L, + Active = "N", + Code = "advanced", + IsDeleted = false, + Name = "高级功能", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysCodeGen", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("AuthorName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("作者姓名"); + + b.Property("BusName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("业务名"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("GenerateType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("生成方式"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("NameSpace") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("命名空间"); + + b.Property("TableName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库表名"); + + b.Property("TablePrefix") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否移除表前缀"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_code_gen"); + + b + .HasComment("代码生成表"); + }); + + modelBuilder.Entity("Dilon.Core.SysCodeGenConfig", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("CodeGenId") + .HasColumnType("bigint") + .HasComment("代码生成主表ID"); + + b.Property("ColumnComment") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("字段描述"); + + b.Property("ColumnKey") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("主外键"); + + b.Property("ColumnName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库字段名"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("DataType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库中类型"); + + b.Property("DictTypeCode") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("字典Code"); + + b.Property("EffectType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("作用类型"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("NetType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment(".NET数据类型"); + + b.Property("QueryType") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("查询方式"); + + b.Property("QueryWhether") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否是查询条件"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("WhetherAddUpdate") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("增改"); + + b.Property("WhetherCommon") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否通用字段"); + + b.Property("WhetherRequired") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否必填"); + + b.Property("WhetherRetract") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("列表是否缩进"); + + b.Property("WhetherTable") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("列表显示"); + + b.HasKey("Id"); + + b.ToTable("sys_code_gen_config"); + + b + .HasComment("代码生成字段配置表"); + }); + + modelBuilder.Entity("Dilon.Core.SysConfig", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("GroupCode") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("常量所属分类的编码"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("SysFlag") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否是系统参数"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Value") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("属性值"); + + b.HasKey("Id"); + + b.ToTable("sys_config"); + + b + .HasComment("参数配置表"); + + b.HasData( + new + { + Id = 142307070902342L, + Code = "DILON_JWT_SECRET", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "jwt密钥", + Remark = "(重要)jwt密钥,默认为空,自行设置", + Status = 0, + SysFlag = "Y", + Value = "xiaonuo" + }, + new + { + Id = 142307070902343L, + Code = "DILON_DEFAULT_PASSWORD", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "默认密码", + Remark = "默认密码", + Status = 0, + SysFlag = "Y", + Value = "123456" + }, + new + { + Id = 142307070902344L, + Code = "DILON_TOKEN_EXPIRE", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "token过期时间", + Remark = "token过期时间(单位:秒)", + Status = 0, + SysFlag = "Y", + Value = "86400" + }, + new + { + Id = 142307070902345L, + Code = "DILON_SESSION_EXPIRE", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "session会话过期时间", + Remark = "session会话过期时间(单位:秒)", + Status = 0, + SysFlag = "Y", + Value = "7200" + }, + new + { + Id = 142307070902346L, + Code = "DILON_ALIYUN_SMS_ACCESSKEY_ID", + GroupCode = "ALIYUN_SMS", + IsDeleted = false, + Name = "阿里云短信keyId", + Remark = "阿里云短信keyId", + Status = 0, + SysFlag = "Y", + Value = "你的keyId" + }, + new + { + Id = 142307070902347L, + Code = "DILON_ALIYUN_SMS_ACCESSKEY_SECRET", + GroupCode = "ALIYUN_SMS", + IsDeleted = false, + Name = "阿里云短信secret", + Remark = "阿里云短信secret", + Status = 0, + SysFlag = "Y", + Value = "你的secret" + }, + new + { + Id = 142307070902348L, + Code = "DILON_ALIYUN_SMS_SIGN_NAME", + GroupCode = "ALIYUN_SMS", + IsDeleted = false, + Name = "阿里云短信签名", + Remark = "阿里云短信签名", + Status = 0, + SysFlag = "Y", + Value = "你的签名" + }, + new + { + Id = 142307070902349L, + Code = "DILON_ALIYUN_SMS_LOGIN_TEMPLATE_CODE", + GroupCode = "ALIYUN_SMS", + IsDeleted = false, + Name = "阿里云短信-登录模板号", + Remark = "阿里云短信-登录模板号", + Status = 0, + SysFlag = "Y", + Value = "SMS_1877123456" + }, + new + { + Id = 142307070902350L, + Code = "DILON_ALIYUN_SMS_INVALIDATE_MINUTES", + GroupCode = "ALIYUN_SMS", + IsDeleted = false, + Name = "阿里云短信默认失效时间", + Remark = "阿里云短信默认失效时间(单位:分钟)", + Status = 0, + SysFlag = "Y", + Value = "5" + }, + new + { + Id = 142307070902351L, + Code = "DILON_TENCENT_SMS_SECRET_ID", + GroupCode = "TENCENT_SMS", + IsDeleted = false, + Name = "腾讯云短信secretId", + Remark = "腾讯云短信secretId", + Status = 0, + SysFlag = "Y", + Value = "你的secretId" + }, + new + { + Id = 142307070902352L, + Code = "DILON_TENCENT_SMS_SECRET_KEY", + GroupCode = "TENCENT_SMS", + IsDeleted = false, + Name = "腾讯云短信secretKey", + Remark = "腾讯云短信secretKey", + Status = 0, + SysFlag = "Y", + Value = "你的secretkey" + }, + new + { + Id = 142307070902353L, + Code = "DILON_TENCENT_SMS_SDK_APP_ID", + GroupCode = "TENCENT_SMS", + IsDeleted = false, + Name = "腾讯云短信sdkAppId", + Remark = "腾讯云短信sdkAppId", + Status = 0, + SysFlag = "Y", + Value = "1400375123" + }, + new + { + Id = 142307070902354L, + Code = "DILON_TENCENT_SMS_SIGN", + GroupCode = "TENCENT_SMS", + IsDeleted = false, + Name = "腾讯云短信签名", + Remark = "腾讯云短信签名", + Status = 0, + SysFlag = "Y", + Value = "你的签名" + }, + new + { + Id = 142307070902355L, + Code = "DILON_EMAIL_HOST", + GroupCode = "EMAIL", + IsDeleted = false, + Name = "邮箱host", + Remark = "邮箱host", + Status = 0, + SysFlag = "Y", + Value = "smtp.126.com" + }, + new + { + Id = 142307070902356L, + Code = "DILON_EMAIL_USERNAME", + GroupCode = "EMAIL", + IsDeleted = false, + Name = "邮箱用户名", + Remark = "邮箱用户名", + Status = 0, + SysFlag = "Y", + Value = "test@126.com" + }, + new + { + Id = 142307070902357L, + Code = "DILON_EMAIL_PASSWORD", + GroupCode = "EMAIL", + IsDeleted = false, + Name = "邮箱密码", + Remark = "邮箱密码", + Status = 0, + SysFlag = "Y", + Value = "你的邮箱密码" + }, + new + { + Id = 142307070902358L, + Code = "DILON_EMAIL_PORT", + GroupCode = "EMAIL", + IsDeleted = false, + Name = "邮箱端口", + Remark = "邮箱端口", + Status = 0, + SysFlag = "Y", + Value = "465" + }, + new + { + Id = 142307070902359L, + Code = "DILON_EMAIL_SSL", + GroupCode = "EMAIL", + IsDeleted = false, + Name = "邮箱是否开启ssl", + Remark = "邮箱是否开启ssl", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = 142307070902360L, + Code = "DILON_EMAIL_FROM", + GroupCode = "EMAIL", + IsDeleted = false, + Name = "邮箱发件人", + Remark = "邮箱发件人", + Status = 0, + SysFlag = "Y", + Value = "test@126.com" + }, + new + { + Id = 142307070902361L, + Code = "DILON_FILE_UPLOAD_PATH_FOR_WINDOWS", + GroupCode = "FILE_PATH", + IsDeleted = false, + Name = "Win本地上传文件路径", + Remark = "Win本地上传文件路径", + Status = 0, + SysFlag = "Y", + Value = "D:/tmp" + }, + new + { + Id = 142307070902362L, + Code = "DILON_FILE_UPLOAD_PATH_FOR_LINUX", + GroupCode = "FILE_PATH", + IsDeleted = false, + Name = "Linux/Mac本地上传文件路径", + Remark = "Linux/Mac本地上传文件路径", + Status = 0, + SysFlag = "Y", + Value = "/tmp" + }, + new + { + Id = 142307070902363L, + Code = "DILON_UN_XSS_FILTER_URL", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "放开XSS过滤的接口", + Remark = "多个url可以用英文逗号隔开", + Status = 0, + SysFlag = "Y", + Value = "/demo/xssfilter,/demo/unxss" + }, + new + { + Id = 142307070902364L, + Code = "DILON_ENABLE_SINGLE_LOGIN", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "单用户登陆的开关", + Remark = "true-打开,false-关闭,如果一个人登录两次,就会将上一次登陆挤下去", + Status = 0, + SysFlag = "Y", + Value = "false" + }, + new + { + Id = 142307070902365L, + Code = "DILON_CAPTCHA_OPEN", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "登录验证码的开关", + Remark = "true-打开,false-关闭", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = 142307070902366L, + Code = "DILON_DRUID_USERNAME", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "Druid监控登录账号", + Remark = "Druid监控登录账号", + Status = 0, + SysFlag = "Y", + Value = "superAdmin" + }, + new + { + Id = 142307070902367L, + Code = "DILON_DRUID_PASSWORD", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "Druid监控界面登录密码", + Remark = "Druid监控界面登录密码", + Status = 0, + SysFlag = "Y", + Value = "123456" + }, + new + { + Id = 142307070902368L, + Code = "DILON_IP_GEO_API", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "阿里云定位api接口地址", + Remark = "阿里云定位api接口地址", + Status = 0, + SysFlag = "Y", + Value = "http://api01.aliyun.venuscn.com/ip?ip=%s" + }, + new + { + Id = 142307070902369L, + Code = "DILON_IP_GEO_APP_CODE", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "阿里云定位appCode", + Remark = "阿里云定位appCode", + Status = 0, + SysFlag = "Y", + Value = "461535aabeae4f34861884d392f5d452" + }, + new + { + Id = 142307070902370L, + Code = "DILON_ENABLE_OAUTH_LOGIN", + GroupCode = "OAUTH", + IsDeleted = false, + Name = "Oauth用户登录的开关", + Remark = "Oauth用户登录的开关", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = 142307070902371L, + Code = "DILON_OAUTH_GITEE_CLIENT_ID", + GroupCode = "OAUTH", + IsDeleted = false, + Name = "Oauth码云登录ClientId", + Remark = "Oauth码云登录ClientId", + Status = 0, + SysFlag = "Y", + Value = "你的clientId" + }, + new + { + Id = 142307070902372L, + Code = "DILON_OAUTH_GITEE_CLIENT_SECRET", + GroupCode = "OAUTH", + IsDeleted = false, + Name = "Oauth码云登录ClientSecret", + Remark = "Oauth码云登录ClientSecret", + Status = 0, + SysFlag = "Y", + Value = "你的clientSecret" + }, + new + { + Id = 142307070902373L, + Code = "DILON_OAUTH_GITEE_REDIRECT_URI", + GroupCode = "OAUTH", + IsDeleted = false, + Name = "Oauth码云登录回调地址", + Remark = "Oauth码云登录回调地址", + Status = 0, + SysFlag = "Y", + Value = "http://127.0.0.1:5566/oauth/callback/gitee" + }, + new + { + Id = 142307070902374L, + Code = "DILON_DEMO_ENV_FLAG", + GroupCode = "DEFAULT", + IsDeleted = false, + Name = "演示环境", + Remark = "演示环境的开关,true-打开,false-关闭,如果演示环境开启,则只能读数据不能写数据", + Status = 0, + SysFlag = "Y", + Value = "false" + }); + }); + + modelBuilder.Entity("Dilon.Core.SysDictData", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("TypeId") + .HasColumnType("bigint") + .HasComment("字典类型Id"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Value") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("值"); + + b.HasKey("Id"); + + b.HasIndex("TypeId"); + + b.ToTable("sys_dict_data"); + + b + .HasComment("字典值表"); + + b.HasData( + new + { + Id = 142307070902375L, + Code = "1", + IsDeleted = false, + Remark = "男性", + Sort = 100, + Status = 0, + TypeId = 142307070906484L, + Value = "男" + }, + new + { + Id = 142307070902376L, + Code = "2", + IsDeleted = false, + Remark = "女性", + Sort = 100, + Status = 0, + TypeId = 142307070906484L, + Value = "女" + }, + new + { + Id = 142307070902377L, + Code = "3", + IsDeleted = false, + Remark = "未知性别", + Sort = 100, + Status = 0, + TypeId = 142307070906484L, + Value = "未知" + }, + new + { + Id = 142307070902378L, + Code = "DEFAULT", + IsDeleted = false, + Remark = "默认常量,都以XIAONUO_开头的", + Sort = 100, + Status = 0, + TypeId = 142307070906485L, + Value = "默认常量" + }, + new + { + Id = 142307070902379L, + Code = "ALIYUN_SMS", + IsDeleted = false, + Remark = "阿里云短信配置", + Sort = 100, + Status = 0, + TypeId = 142307070906485L, + Value = "阿里云短信" + }, + new + { + Id = 142307070902380L, + Code = "TENCENT_SMS", + IsDeleted = false, + Remark = "腾讯云短信", + Sort = 100, + Status = 0, + TypeId = 142307070906485L, + Value = "腾讯云短信" + }, + new + { + Id = 142307070902381L, + Code = "EMAIL", + IsDeleted = false, + Remark = "邮件配置", + Sort = 100, + Status = 0, + TypeId = 142307070906485L, + Value = "邮件配置" + }, + new + { + Id = 142307070902382L, + Code = "FILE_PATH", + IsDeleted = false, + Remark = "文件上传路径", + Sort = 100, + Status = 0, + TypeId = 142307070906485L, + Value = "文件上传路径" + }, + new + { + Id = 142307070902383L, + Code = "OAUTH", + IsDeleted = false, + Remark = "Oauth配置", + Sort = 100, + Status = 0, + TypeId = 142307070906485L, + Value = "Oauth配置" + }, + new + { + Id = 142307070902384L, + Code = "0", + IsDeleted = false, + Remark = "正常", + Sort = 100, + Status = 0, + TypeId = 142307070906483L, + Value = "正常" + }, + new + { + Id = 142307070902385L, + Code = "1", + IsDeleted = false, + Remark = "停用", + Sort = 100, + Status = 0, + TypeId = 142307070906483L, + Value = "停用" + }, + new + { + Id = 142307070902386L, + Code = "2", + IsDeleted = false, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = 142307070906483L, + Value = "删除" + }, + new + { + Id = 142307070902387L, + Code = "N", + IsDeleted = false, + Remark = "否", + Sort = 100, + Status = 0, + TypeId = 142307070906486L, + Value = "否" + }, + new + { + Id = 142307070902388L, + Code = "Y", + IsDeleted = false, + Remark = "是", + Sort = 100, + Status = 0, + TypeId = 142307070906486L, + Value = "是" + }, + new + { + Id = 142307070902389L, + Code = "1", + IsDeleted = false, + Remark = "登录", + Sort = 100, + Status = 0, + TypeId = 142307070906487L, + Value = "登录" + }, + new + { + Id = 142307070902390L, + Code = "2", + IsDeleted = false, + Remark = "登出", + Sort = 100, + Status = 0, + TypeId = 142307070906487L, + Value = "登出" + }, + new + { + Id = 142307070902391L, + Code = "0", + IsDeleted = false, + Remark = "目录", + Sort = 100, + Status = 0, + TypeId = 142307070906488L, + Value = "目录" + }, + new + { + Id = 142307070902392L, + Code = "1", + IsDeleted = false, + Remark = "菜单", + Sort = 100, + Status = 0, + TypeId = 142307070906488L, + Value = "菜单" + }, + new + { + Id = 142307070902393L, + Code = "2", + IsDeleted = false, + Remark = "按钮", + Sort = 100, + Status = 0, + TypeId = 142307070906488L, + Value = "按钮" + }, + new + { + Id = 142307070902394L, + Code = "0", + IsDeleted = false, + Remark = "未发送", + Sort = 100, + Status = 0, + TypeId = 142307070906489L, + Value = "未发送" + }, + new + { + Id = 142307070902395L, + Code = "1", + IsDeleted = false, + Remark = "发送成功", + Sort = 100, + Status = 0, + TypeId = 142307070906489L, + Value = "发送成功" + }, + new + { + Id = 142307070902396L, + Code = "2", + IsDeleted = false, + Remark = "发送失败", + Sort = 100, + Status = 0, + TypeId = 142307070906489L, + Value = "发送失败" + }, + new + { + Id = 142307070902397L, + Code = "3", + IsDeleted = false, + Remark = "失效", + Sort = 100, + Status = 0, + TypeId = 142307070906489L, + Value = "失效" + }, + new + { + Id = 142307070902398L, + Code = "0", + IsDeleted = false, + Remark = "无", + Sort = 100, + Status = 0, + TypeId = 142307070906490L, + Value = "无" + }, + new + { + Id = 142307070902399L, + Code = "1", + IsDeleted = false, + Remark = "组件", + Sort = 100, + Status = 0, + TypeId = 142307070906490L, + Value = "组件" + }, + new + { + Id = 142307070906437L, + Code = "2", + IsDeleted = false, + Remark = "内链", + Sort = 100, + Status = 0, + TypeId = 142307070906490L, + Value = "内链" + }, + new + { + Id = 142307070906438L, + Code = "3", + IsDeleted = false, + Remark = "外链", + Sort = 100, + Status = 0, + TypeId = 142307070906490L, + Value = "外链" + }, + new + { + Id = 142307070906439L, + Code = "1", + IsDeleted = false, + Remark = "系统权重", + Sort = 100, + Status = 0, + TypeId = 142307070906491L, + Value = "系统权重" + }, + new + { + Id = 142307070906440L, + Code = "2", + IsDeleted = false, + Remark = "业务权重", + Sort = 100, + Status = 0, + TypeId = 142307070906491L, + Value = "业务权重" + }, + new + { + Id = 142307070906441L, + Code = "1", + IsDeleted = false, + Remark = "全部数据", + Sort = 100, + Status = 0, + TypeId = 142307070906492L, + Value = "全部数据" + }, + new + { + Id = 142307070906442L, + Code = "2", + IsDeleted = false, + Remark = "本部门及以下数据", + Sort = 100, + Status = 0, + TypeId = 142307070906492L, + Value = "本部门及以下数据" + }, + new + { + Id = 142307070906443L, + Code = "3", + IsDeleted = false, + Remark = "本部门数据", + Sort = 100, + Status = 0, + TypeId = 142307070906492L, + Value = "本部门数据" + }, + new + { + Id = 142307070906444L, + Code = "4", + IsDeleted = false, + Remark = "仅本人数据", + Sort = 100, + Status = 0, + TypeId = 142307070906492L, + Value = "仅本人数据" + }, + new + { + Id = 142307070906445L, + Code = "5", + IsDeleted = false, + Remark = "自定义数据", + Sort = 100, + Status = 0, + TypeId = 142307070906492L, + Value = "自定义数据" + }, + new + { + Id = 142307070906446L, + Code = "1", + IsDeleted = false, + Remark = "app", + Sort = 100, + Status = 0, + TypeId = 142307070906493L, + Value = "app" + }, + new + { + Id = 142307070906447L, + Code = "2", + IsDeleted = false, + Remark = "pc", + Sort = 100, + Status = 0, + TypeId = 142307070906493L, + Value = "pc" + }, + new + { + Id = 142307070906448L, + Code = "3", + IsDeleted = false, + Remark = "其他", + Sort = 100, + Status = 0, + TypeId = 142307070906493L, + Value = "其他" + }, + new + { + Id = 142307070906449L, + Code = "0", + IsDeleted = false, + Remark = "其它", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "其它" + }, + new + { + Id = 142307070906450L, + Code = "1", + IsDeleted = false, + Remark = "增加", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "增加" + }, + new + { + Id = 142307070906451L, + Code = "2", + IsDeleted = false, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "删除" + }, + new + { + Id = 142307070906452L, + Code = "3", + IsDeleted = false, + Remark = "编辑", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "编辑" + }, + new + { + Id = 142307070906453L, + Code = "4", + IsDeleted = false, + Remark = "更新", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "更新" + }, + new + { + Id = 142307070906454L, + Code = "5", + IsDeleted = false, + Remark = "查询", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "查询" + }, + new + { + Id = 142307070906455L, + Code = "6", + IsDeleted = false, + Remark = "详情", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "详情" + }, + new + { + Id = 142307070906456L, + Code = "7", + IsDeleted = false, + Remark = "树", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "树" + }, + new + { + Id = 142307070906457L, + Code = "8", + IsDeleted = false, + Remark = "导入", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "导入" + }, + new + { + Id = 142307070906458L, + Code = "9", + IsDeleted = false, + Remark = "导出", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "导出" + }, + new + { + Id = 142307070906459L, + Code = "10", + IsDeleted = false, + Remark = "授权", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "授权" + }, + new + { + Id = 142307070906460L, + Code = "11", + IsDeleted = false, + Remark = "强退", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "强退" + }, + new + { + Id = 142307070906461L, + Code = "12", + IsDeleted = false, + Remark = "清空", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "清空" + }, + new + { + Id = 142307070906462L, + Code = "13", + IsDeleted = false, + Remark = "修改状态", + Sort = 100, + Status = 0, + TypeId = 142307070906494L, + Value = "修改状态" + }, + new + { + Id = 142307070906463L, + Code = "1", + IsDeleted = false, + Remark = "阿里云", + Sort = 100, + Status = 0, + TypeId = 142307070906495L, + Value = "阿里云" + }, + new + { + Id = 142307070906464L, + Code = "2", + IsDeleted = false, + Remark = "腾讯云", + Sort = 100, + Status = 0, + TypeId = 142307070906495L, + Value = "腾讯云" + }, + new + { + Id = 142307070906465L, + Code = "3", + IsDeleted = false, + Remark = "minio", + Sort = 100, + Status = 0, + TypeId = 142307070906495L, + Value = "minio" + }, + new + { + Id = 142307070906466L, + Code = "4", + IsDeleted = false, + Remark = "本地", + Sort = 100, + Status = 0, + TypeId = 142307070906495L, + Value = "本地" + }, + new + { + Id = 142307070906467L, + Code = "1", + IsDeleted = false, + Remark = "运行", + Sort = 100, + Status = 0, + TypeId = 142307070910533L, + Value = "运行" + }, + new + { + Id = 142307070906468L, + Code = "2", + IsDeleted = false, + Remark = "停止", + Sort = 100, + Status = 0, + TypeId = 142307070910533L, + Value = "停止" + }, + new + { + Id = 142307070906469L, + Code = "1", + IsDeleted = false, + Remark = "通知", + Sort = 100, + Status = 0, + TypeId = 142307070910534L, + Value = "通知" + }, + new + { + Id = 142307070906470L, + Code = "2", + IsDeleted = false, + Remark = "公告", + Sort = 100, + Status = 0, + TypeId = 142307070910534L, + Value = "公告" + }, + new + { + Id = 142307070906471L, + Code = "0", + IsDeleted = false, + Remark = "草稿", + Sort = 100, + Status = 0, + TypeId = 142307070910535L, + Value = "草稿" + }, + new + { + Id = 142307070906472L, + Code = "1", + IsDeleted = false, + Remark = "发布", + Sort = 100, + Status = 0, + TypeId = 142307070910535L, + Value = "发布" + }, + new + { + Id = 142307070906473L, + Code = "2", + IsDeleted = false, + Remark = "撤回", + Sort = 100, + Status = 0, + TypeId = 142307070910535L, + Value = "撤回" + }, + new + { + Id = 142307070906474L, + Code = "3", + IsDeleted = false, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = 142307070910535L, + Value = "删除" + }, + new + { + Id = 142307070906475L, + Code = "true", + IsDeleted = false, + Remark = "是", + Sort = 100, + Status = 0, + TypeId = 142307070910536L, + Value = "是" + }, + new + { + Id = 142307070906476L, + Code = "false", + IsDeleted = false, + Remark = "否", + Sort = 100, + Status = 0, + TypeId = 142307070910536L, + Value = "否" + }, + new + { + Id = 142307070906477L, + Code = "1", + IsDeleted = false, + Remark = "下载压缩包", + Sort = 100, + Status = 0, + TypeId = 142307070910537L, + Value = "下载压缩包" + }, + new + { + Id = 142307070906478L, + Code = "2", + IsDeleted = false, + Remark = "生成到本项目", + Sort = 100, + Status = 0, + TypeId = 142307070910537L, + Value = "生成到本项目" + }, + new + { + Id = 142307070906479L, + Code = "1", + IsDeleted = false, + Remark = "GET", + Sort = 100, + Status = 0, + TypeId = 142307070910538L, + Value = "GET" + }, + new + { + Id = 142307070906480L, + Code = "2", + IsDeleted = false, + Remark = "POST", + Sort = 100, + Status = 0, + TypeId = 142307070910538L, + Value = "POST" + }, + new + { + Id = 142307070906481L, + Code = "3", + IsDeleted = false, + Remark = "PUT", + Sort = 100, + Status = 0, + TypeId = 142307070910538L, + Value = "PUT" + }, + new + { + Id = 142307070906482L, + Code = "4", + IsDeleted = false, + Remark = "DELETE", + Sort = 100, + Status = 0, + TypeId = 142307070910538L, + Value = "DELETE" + }, + new + { + Id = 142307070922830L, + Code = "input", + IsDeleted = false, + Remark = "输入框", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "输入框" + }, + new + { + Id = 142307070922831L, + Code = "datepicker", + IsDeleted = false, + Remark = "时间选择", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "时间选择" + }, + new + { + Id = 142307070922832L, + Code = "select", + IsDeleted = false, + Remark = "下拉框", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "下拉框" + }, + new + { + Id = 142307070922833L, + Code = "radio", + IsDeleted = false, + Remark = "单选框", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "单选框" + }, + new + { + Id = 142307070922834L, + Code = "switch", + IsDeleted = false, + Remark = "开关", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "开关" + }, + new + { + Id = 142307070922835L, + Code = "checkbox", + IsDeleted = false, + Remark = "多选框", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "多选框" + }, + new + { + Id = 142307070922836L, + Code = "inputnumber", + IsDeleted = false, + Remark = "数字输入框", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "数字输入框" + }, + new + { + Id = 142307070922837L, + Code = "textarea", + IsDeleted = false, + Remark = "文本域", + Sort = 100, + Status = 0, + TypeId = 142307070922827L, + Value = "文本域" + }, + new + { + Id = 142307070922838L, + Code = "==", + IsDeleted = false, + Remark = "等于", + Sort = 1, + Status = 0, + TypeId = 142307070922828L, + Value = "等于" + }, + new + { + Id = 142307070922839L, + Code = "like", + IsDeleted = false, + Remark = "模糊", + Sort = 2, + Status = 0, + TypeId = 142307070922828L, + Value = "模糊" + }, + new + { + Id = 142307070922840L, + Code = ">", + IsDeleted = false, + Remark = "大于", + Sort = 3, + Status = 0, + TypeId = 142307070922828L, + Value = "大于" + }, + new + { + Id = 142307070922841L, + Code = "<", + IsDeleted = false, + Remark = "小于", + Sort = 4, + Status = 0, + TypeId = 142307070922828L, + Value = "小于" + }, + new + { + Id = 142307070922842L, + Code = "!=", + IsDeleted = false, + Remark = "不等于", + Sort = 5, + Status = 0, + TypeId = 142307070922828L, + Value = "不等于" + }, + new + { + Id = 142307070922843L, + Code = ">=", + IsDeleted = false, + Remark = "大于等于", + Sort = 6, + Status = 0, + TypeId = 142307070922828L, + Value = "大于等于" + }, + new + { + Id = 142307070922844L, + Code = "<=", + IsDeleted = false, + Remark = "小于等于", + Sort = 7, + Status = 0, + TypeId = 142307070922828L, + Value = "小于等于" + }, + new + { + Id = 142307070922845L, + Code = "isNotNull", + IsDeleted = false, + Remark = "不为空", + Sort = 8, + Status = 0, + TypeId = 142307070922828L, + Value = "不为空" + }, + new + { + Id = 142307070922851L, + Code = "int", + IsDeleted = false, + Remark = "int", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "int" + }, + new + { + Id = 142307070922846L, + Code = "long", + IsDeleted = false, + Remark = "long", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "long" + }, + new + { + Id = 142307070922847L, + Code = "string", + IsDeleted = false, + Remark = "string", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "string" + }, + new + { + Id = 142307070922850L, + Code = "bool", + IsDeleted = false, + Remark = "bool", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "bool" + }, + new + { + Id = 142307070922852L, + Code = "double", + IsDeleted = false, + Remark = "double", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "double" + }, + new + { + Id = 142307070922848L, + Code = "DateTime", + IsDeleted = false, + Remark = "DateTime", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "DateTime" + }, + new + { + Id = 142307070922861L, + Code = "float", + IsDeleted = false, + Remark = "float", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "float" + }, + new + { + Id = 142307070922862L, + Code = "decimal", + IsDeleted = false, + Remark = "decimal", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "decimal" + }, + new + { + Id = 142307070922863L, + Code = "Guid", + IsDeleted = false, + Remark = "Guid", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "Guid" + }, + new + { + Id = 142307070922864L, + Code = "DateTimeOffset", + IsDeleted = false, + Remark = "DateTimeOffset", + Sort = 100, + Status = 0, + TypeId = 142307070922829L, + Value = "DateTimeOffset" + }); + }); + + modelBuilder.Entity("Dilon.Core.SysDictType", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_dict_type"); + + b + .HasComment("字典类型表"); + + b.HasData( + new + { + Id = 142307070906483L, + Code = "common_status", + IsDeleted = false, + Name = "通用状态", + Remark = "通用状态", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906484L, + Code = "sex", + IsDeleted = false, + Name = "性别", + Remark = "性别字典", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906485L, + Code = "consts_type", + IsDeleted = false, + Name = "常量的分类", + Remark = "常量的分类,用于区别一组配置", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906486L, + Code = "yes_or_no", + IsDeleted = false, + Name = "是否", + Remark = "是否", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906487L, + Code = "vis_type", + IsDeleted = false, + Name = "访问类型", + Remark = "访问类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906488L, + Code = "menu_type", + IsDeleted = false, + Name = "菜单类型", + Remark = "菜单类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906489L, + Code = "send_type", + IsDeleted = false, + Name = "发送类型", + Remark = "发送类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906490L, + Code = "open_type", + IsDeleted = false, + Name = "打开方式", + Remark = "打开方式", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906491L, + Code = "menu_weight", + IsDeleted = false, + Name = "菜单权重", + Remark = "菜单权重", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906492L, + Code = "data_scope_type", + IsDeleted = false, + Name = "数据范围类型", + Remark = "数据范围类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906493L, + Code = "sms_send_source", + IsDeleted = false, + Name = "短信发送来源", + Remark = "短信发送来源", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906494L, + Code = "op_type", + IsDeleted = false, + Name = "操作类型", + Remark = "操作类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070906495L, + Code = "file_storage_location", + IsDeleted = false, + Name = "文件存储位置", + Remark = "文件存储位置", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910533L, + Code = "run_status", + IsDeleted = false, + Name = "运行状态", + Remark = "定时任务运行状态", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910534L, + Code = "notice_type", + IsDeleted = false, + Name = "通知公告类型", + Remark = "通知公告类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910535L, + Code = "notice_status", + IsDeleted = false, + Name = "通知公告状态", + Remark = "通知公告状态", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910536L, + Code = "yes_true_false", + IsDeleted = false, + Name = "是否boolean", + Remark = "是否boolean", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910537L, + Code = "code_gen_create_type", + IsDeleted = false, + Name = "代码生成方式", + Remark = "代码生成方式", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910538L, + Code = "request_type", + IsDeleted = false, + Name = "请求方式", + Remark = "请求方式", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070922827L, + Code = "code_gen_effect_type", + IsDeleted = false, + Name = "代码生成作用类型", + Remark = "代码生成作用类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070922828L, + Code = "code_gen_query_type", + IsDeleted = false, + Name = "代码生成查询类型", + Remark = "代码生成查询类型", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070922829L, + Code = "code_gen_net_type", + IsDeleted = false, + Name = "代码生成.NET类型", + Remark = "代码生成.NET类型", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysEmp", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("用户Id"); + + b.Property("JobNum") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("工号"); + + b.Property("OrgId") + .HasColumnType("bigint") + .HasComment("机构Id"); + + b.Property("OrgName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("机构名称"); + + b.HasKey("Id"); + + b.ToTable("sys_emp"); + + b + .HasComment("员工表"); + + b.HasData( + new + { + Id = 142307070910551L, + JobNum = "D1001", + OrgId = 142307070910539L, + OrgName = "华夏集团" + }, + new + { + Id = 142307070910552L, + JobNum = "D1002", + OrgId = 142307070910539L, + OrgName = "华夏集团" + }, + new + { + Id = 142307070910553L, + JobNum = "D1003", + OrgId = 142307070910539L, + OrgName = "华夏集团" + }); + }); + + modelBuilder.Entity("Dilon.Core.SysEmpExtOrgPos", b => + { + b.Property("SysEmpId") + .HasColumnType("bigint") + .HasComment("员工Id"); + + b.Property("SysOrgId") + .HasColumnType("bigint") + .HasComment("机构Id"); + + b.Property("SysPosId") + .HasColumnType("bigint") + .HasComment("职位Id"); + + b.HasKey("SysEmpId", "SysOrgId", "SysPosId"); + + b.HasIndex("SysOrgId"); + + b.HasIndex("SysPosId"); + + b.ToTable("sys_emp_ext_org_pos"); + + b + .HasComment("员工附属机构职位表"); + + b.HasData( + new + { + SysEmpId = 142307070910551L, + SysOrgId = 142307070910539L, + SysPosId = 142307070910547L + }, + new + { + SysEmpId = 142307070910551L, + SysOrgId = 142307070910540L, + SysPosId = 142307070910548L + }, + new + { + SysEmpId = 142307070910551L, + SysOrgId = 142307070910541L, + SysPosId = 142307070910549L + }, + new + { + SysEmpId = 142307070910551L, + SysOrgId = 142307070910542L, + SysPosId = 142307070910550L + }, + new + { + SysEmpId = 142307070910553L, + SysOrgId = 142307070910542L, + SysPosId = 142307070910547L + }); + }); + + modelBuilder.Entity("Dilon.Core.SysEmpPos", b => + { + b.Property("SysEmpId") + .HasColumnType("bigint") + .HasComment("员工Id"); + + b.Property("SysPosId") + .HasColumnType("bigint") + .HasComment("职位Id"); + + b.HasKey("SysEmpId", "SysPosId"); + + b.HasIndex("SysPosId"); + + b.ToTable("sys_emp_pos"); + + b + .HasComment("员工职位表"); + + b.HasData( + new + { + SysEmpId = 142307070910551L, + SysPosId = 142307070910547L + }, + new + { + SysEmpId = 142307070910551L, + SysPosId = 142307070910548L + }, + new + { + SysEmpId = 142307070910552L, + SysPosId = 142307070910549L + }, + new + { + SysEmpId = 142307070910553L, + SysPosId = 142307070910547L + }); + }); + + modelBuilder.Entity("Dilon.Core.SysFile", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("FileBucket") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件仓库"); + + b.Property("FileLocation") + .HasColumnType("int") + .HasComment("文件存储位置"); + + b.Property("FileObjectName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("存储到bucket的名称"); + + b.Property("FileOriginName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件名称"); + + b.Property("FilePath") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("存储路径"); + + b.Property("FileSizeInfo") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件大小信息"); + + b.Property("FileSizeKb") + .HasColumnType("bigint") + .HasComment("文件大小kb"); + + b.Property("FileSuffix") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("文件后缀"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_file"); + + b + .HasComment("文件信息表"); + }); + + modelBuilder.Entity("Dilon.Core.SysLogAudit", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + b.Property("ColumnName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("列名"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("操作时间"); + + b.Property("NewValue") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("新值"); + + b.Property("OldValue") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("旧值"); + + b.Property("Operate") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作方式"); + + b.Property("TableName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("表名"); + + b.Property("UserId") + .HasColumnType("bigint") + .HasComment("操作人Id"); + + b.Property("UserName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作人名称"); + + b.HasKey("Id"); + + b.ToTable("sys_log_audit"); + + b + .HasComment("审计日志表"); + }); + + modelBuilder.Entity("Dilon.Core.SysLogOp", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + b.Property("Account") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作人"); + + b.Property("Browser") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("浏览器"); + + b.Property("ClassName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("类名称"); + + b.Property("ElapsedTime") + .HasColumnType("bigint") + .HasComment("耗时"); + + b.Property("Ip") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("IP"); + + b.Property("Location") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("地址"); + + b.Property("Message") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("具体消息"); + + b.Property("MethodName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("方法名称"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("OpTime") + .HasColumnType("datetime") + .HasComment("操作时间"); + + b.Property("OpType") + .HasColumnType("int") + .HasComment("操作类型"); + + b.Property("Os") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作系统"); + + b.Property("Param") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求参数"); + + b.Property("ReqMethod") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求方式"); + + b.Property("Result") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("返回结果"); + + b.Property("Success") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否执行成功"); + + b.Property("Url") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求地址"); + + b.HasKey("Id"); + + b.ToTable("sys_log_op"); + + b + .HasComment("操作日志表"); + }); + + modelBuilder.Entity("Dilon.Core.SysLogVis", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + b.Property("Account") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("访问人"); + + b.Property("Browser") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("浏览器"); + + b.Property("Ip") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("IP"); + + b.Property("Location") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("地址"); + + b.Property("Message") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("具体消息"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Os") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作系统"); + + b.Property("Success") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否执行成功"); + + b.Property("VisTime") + .HasColumnType("datetime") + .HasComment("访问时间"); + + b.Property("VisType") + .HasColumnType("int") + .HasComment("访问类型"); + + b.HasKey("Id"); + + b.ToTable("sys_log_vis"); + + b + .HasComment("访问日志表"); + }); + + modelBuilder.Entity("Dilon.Core.SysMenu", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Application") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("应用分类"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("Component") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("组件地址"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Icon") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("图标"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Link") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("内链地址"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("OpenType") + .HasColumnType("int") + .HasComment("打开方式"); + + b.Property("Permission") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("权限标识"); + + b.Property("Pid") + .HasColumnType("bigint") + .HasComment("父Id"); + + b.Property("Pids") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("父Ids"); + + b.Property("Redirect") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("重定向地址"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Router") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("路由地址"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int"); + + b.Property("Type") + .HasColumnType("int") + .HasComment("菜单类型"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Visible") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("是否可见"); + + b.Property("Weight") + .HasColumnType("int") + .HasComment("权重"); + + b.HasKey("Id"); + + b.ToTable("sys_menu"); + + b + .HasComment("菜单表"); + + b.HasData( + new + { + Id = 142307070910560L, + Application = "system", + Code = "system_index", + Component = "RouteView", + Icon = "home", + IsDeleted = false, + Name = "主控面板", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Redirect = "/analysis", + Router = "/", + Sort = 1, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910561L, + Application = "system", + Code = "system_index_dashboard", + Component = "system/dashboard/Analysis", + IsDeleted = false, + Name = "分析页", + OpenType = 0, + Pid = 142307070910560L, + Pids = "[0],[142307070910560],", + Router = "analysis", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910562L, + Application = "system", + Code = "system_index_workplace", + Component = "system/dashboard/Workplace", + IsDeleted = false, + Name = "工作台", + OpenType = 0, + Pid = 142307070910560L, + Pids = "[0],[142307070910560],", + Router = "workplace", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910563L, + Application = "system", + Code = "sys_mgr", + Component = "PageView", + Icon = "team", + IsDeleted = false, + Name = "组织架构", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/sys", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910564L, + Application = "system", + Code = "sys_user_mgr", + Component = "system/user/index", + IsDeleted = false, + Name = "用户管理", + OpenType = 1, + Pid = 142307070910563L, + Pids = "[0],[142307070910563],", + Router = "/mgr_user", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910565L, + Application = "system", + Code = "sys_user_mgr_page", + IsDeleted = false, + Name = "用户查询", + OpenType = 0, + Permission = "sysUser:page", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910566L, + Application = "system", + Code = "sys_user_mgr_edit", + IsDeleted = false, + Name = "用户编辑", + OpenType = 0, + Permission = "sysUser:edit", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910567L, + Application = "system", + Code = "sys_user_mgr_add", + IsDeleted = false, + Name = "用户增加", + OpenType = 0, + Permission = "sysUser:add", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910568L, + Application = "system", + Code = "sys_user_mgr_delete", + IsDeleted = false, + Name = "用户删除", + OpenType = 0, + Permission = "sysUser:delete", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910569L, + Application = "system", + Code = "sys_user_mgr_detail", + IsDeleted = false, + Name = "用户详情", + OpenType = 0, + Permission = "sysUser:detail", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910570L, + Application = "system", + Code = "sys_user_mgr_export", + IsDeleted = false, + Name = "用户导出", + OpenType = 0, + Permission = "sysUser:export", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910571L, + Application = "system", + Code = "sys_user_mgr_selector", + IsDeleted = false, + Name = "用户选择器", + OpenType = 0, + Permission = "sysUser:selector", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910572L, + Application = "system", + Code = "sys_user_mgr_grant_role", + IsDeleted = false, + Name = "用户授权角色", + OpenType = 0, + Permission = "sysUser:grantRole", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910573L, + Application = "system", + Code = "sys_user_mgr_own_role", + IsDeleted = false, + Name = "用户拥有角色", + OpenType = 0, + Permission = "sysUser:ownRole", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910574L, + Application = "system", + Code = "sys_user_mgr_grant_data", + IsDeleted = false, + Name = "用户授权数据", + OpenType = 0, + Permission = "sysUser:grantData", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910575L, + Application = "system", + Code = "sys_user_mgr_own_data", + IsDeleted = false, + Name = "用户拥有数据", + OpenType = 0, + Permission = "sysUser:ownData", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910576L, + Application = "system", + Code = "sys_user_mgr_update_info", + IsDeleted = false, + Name = "用户更新信息", + OpenType = 0, + Permission = "sysUser:updateInfo", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910577L, + Application = "system", + Code = "sys_user_mgr_update_pwd", + IsDeleted = false, + Name = "用户修改密码", + OpenType = 0, + Permission = "sysUser:updatePwd", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910578L, + Application = "system", + Code = "sys_user_mgr_change_status", + IsDeleted = false, + Name = "用户修改状态", + OpenType = 0, + Permission = "sysUser:changeStatus", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910579L, + Application = "system", + Code = "sys_user_mgr_update_avatar", + IsDeleted = false, + Name = "用户修改头像", + OpenType = 0, + Permission = "sysUser:updateAvatar", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910580L, + Application = "system", + Code = "sys_user_mgr_reset_pwd", + IsDeleted = false, + Name = "用户重置密码", + OpenType = 0, + Permission = "sysUser:resetPwd", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918777L, + Application = "system", + Code = "sys_user_mgr_login", + IsDeleted = false, + Name = "用户登录信息", + OpenType = 0, + Permission = "getLoginUser", + Pid = 142307070910564L, + Pids = "[0],[142307070910563],[142307070910564],", + Sort = 100, + Status = 1, + Type = 2, + Visible = "N", + Weight = 1 + }, + new + { + Id = 142307070910581L, + Application = "system", + Code = "sys_org_mgr", + Component = "system/org/index", + IsDeleted = false, + Name = "机构管理", + OpenType = 1, + Pid = 142307070910563L, + Pids = "[0],[142307070910563],", + Router = "/org", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910582L, + Application = "system", + Code = "sys_org_mgr_page", + IsDeleted = false, + Name = "机构查询", + OpenType = 0, + Permission = "sysOrg:page", + Pid = 142307070910581L, + Pids = "[0],[142307070910563],[142307070910581],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910583L, + Application = "system", + Code = "sys_org_mgr_list", + IsDeleted = false, + Name = "机构列表", + OpenType = 0, + Permission = "sysOrg:list", + Pid = 142307070910581L, + Pids = "[0],[142307070910563],[142307070910581],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910584L, + Application = "system", + Code = "sys_org_mgr_add", + IsDeleted = false, + Name = "机构增加", + OpenType = 0, + Permission = "sysOrg:add", + Pid = 142307070910581L, + Pids = "[0],[142307070910563],[142307070910581],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910585L, + Application = "system", + Code = "sys_org_mgr_edit", + IsDeleted = false, + Name = "机构编辑", + OpenType = 0, + Permission = "sysOrg:edit", + Pid = 142307070910581L, + Pids = "[0],[142307070910563],[142307070910581],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910586L, + Application = "system", + Code = "sys_org_mgr_delete", + IsDeleted = false, + Name = "机构删除", + OpenType = 0, + Permission = "sysOrg:delete", + Pid = 142307070910581L, + Pids = "[0],[142307070910563],[142307070910581],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910587L, + Application = "system", + Code = "sys_org_mgr_detail", + IsDeleted = false, + Name = "机构详情", + OpenType = 0, + Permission = "sysOrg:detail", + Pid = 142307070910581L, + Pids = "[0],[142307070910563],[142307070910581],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910588L, + Application = "system", + Code = "sys_org_mgr_tree", + IsDeleted = false, + Name = "机构树", + OpenType = 0, + Permission = "sysOrg:tree", + Pid = 142307070910581L, + Pids = "[0],[142307070910563],[142307070910581],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910589L, + Application = "system", + Code = "sys_pos_mgr", + Component = "system/pos/index", + IsDeleted = false, + Name = "职位管理", + OpenType = 1, + Pid = 142307070910563L, + Pids = "[0],[142307070910563],", + Router = "/pos", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910590L, + Application = "system", + Code = "sys_pos_mgr_page", + IsDeleted = false, + Name = "职位查询", + OpenType = 0, + Permission = "sysPos:page", + Pid = 142307070910589L, + Pids = "[0],[142307070910563],[142307070910589],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070910591L, + Application = "system", + Code = "sys_pos_mgr_list", + IsDeleted = false, + Name = "职位列表", + OpenType = 0, + Permission = "sysPos:list", + Pid = 142307070910589L, + Pids = "[0],[142307070910563],[142307070910589],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914629L, + Application = "system", + Code = "sys_pos_mgr_add", + IsDeleted = false, + Name = "职位增加", + OpenType = 0, + Permission = "sysPos:add", + Pid = 142307070910589L, + Pids = "[0],[142307070910563],[142307070910589],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914630L, + Application = "system", + Code = "sys_pos_mgr_edit", + IsDeleted = false, + Name = "职位编辑", + OpenType = 0, + Permission = "sysPos:edit", + Pid = 142307070910589L, + Pids = "[0],[142307070910563],[142307070910589],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914631L, + Application = "system", + Code = "sys_pos_mgr_delete", + IsDeleted = false, + Name = "职位删除", + OpenType = 0, + Permission = "sysPos:delete", + Pid = 142307070910589L, + Pids = "[0],[142307070910563],[142307070910589],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914632L, + Application = "system", + Code = "sys_pos_mgr_detail", + IsDeleted = false, + Name = "职位详情", + OpenType = 0, + Permission = "sysPos:detail", + Pid = 142307070910589L, + Pids = "[0],[142307070910563],[142307070910589],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914633L, + Application = "system", + Code = "auth_manager", + Component = "PageView", + Icon = "safety-certificate", + IsDeleted = false, + Name = "权限管理", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/auth", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914634L, + Application = "system", + Code = "sys_app_mgr", + Component = "system/app/index", + IsDeleted = false, + Name = "应用管理", + OpenType = 1, + Pid = 142307070914633L, + Pids = "[0],[142307070914633],", + Router = "/app", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914635L, + Application = "system", + Code = "sys_app_mgr_page", + IsDeleted = false, + Name = "应用查询", + OpenType = 0, + Permission = "sysApp:page", + Pid = 142307070914634L, + Pids = "[0],[142307070914633],[142307070914634],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914636L, + Application = "system", + Code = "sys_app_mgr_list", + IsDeleted = false, + Name = "应用列表", + OpenType = 0, + Permission = "sysApp:list", + Pid = 142307070914634L, + Pids = "[0],[142307070914633],[142307070914634],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914637L, + Application = "system", + Code = "sys_app_mgr_add", + IsDeleted = false, + Name = "应用增加", + OpenType = 0, + Permission = "sysApp:add", + Pid = 142307070914634L, + Pids = "[0],[142307070914633],[142307070914634],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914638L, + Application = "system", + Code = "sys_app_mgr_edit", + IsDeleted = false, + Name = "应用编辑", + OpenType = 0, + Permission = "sysApp:edit", + Pid = 142307070914634L, + Pids = "[0],[142307070914633],[142307070914634],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914639L, + Application = "system", + Code = "sys_app_mgr_delete", + IsDeleted = false, + Name = "应用删除", + OpenType = 0, + Permission = "sysApp:delete", + Pid = 142307070914634L, + Pids = "[0],[142307070914633],[142307070914634],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914640L, + Application = "system", + Code = "sys_app_mgr_detail", + IsDeleted = false, + Name = "应用详情", + OpenType = 0, + Permission = "sysApp:detail", + Pid = 142307070914634L, + Pids = "[0],[142307070914633],[142307070914634],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914641L, + Application = "system", + Code = "sys_app_mgr_set_as_default", + IsDeleted = false, + Name = "设为默认应用", + OpenType = 0, + Permission = "sysApp:setAsDefault", + Pid = 142307070914634L, + Pids = "[0],[142307070914633],[142307070914634],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914642L, + Application = "system", + Code = "sys_menu_mgr", + Component = "system/menu/index", + IsDeleted = false, + Name = "菜单管理", + OpenType = 1, + Pid = 142307070914633L, + Pids = "[0],[142307070914633],", + Router = "/menu", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914643L, + Application = "system", + Code = "sys_menu_mgr_list", + IsDeleted = false, + Name = "菜单列表", + OpenType = 0, + Permission = "sysMenu:list", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914644L, + Application = "system", + Code = "sys_menu_mgr_add", + IsDeleted = false, + Name = "菜单增加", + OpenType = 0, + Permission = "sysMenu:add", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914645L, + Application = "system", + Code = "sys_menu_mgr_edit", + IsDeleted = false, + Name = "菜单编辑", + OpenType = 0, + Permission = "sysMenu:edit", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914646L, + Application = "system", + Code = "sys_menu_mgr_delete", + IsDeleted = false, + Name = "菜单删除", + OpenType = 0, + Permission = "sysMenu:delete", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914647L, + Application = "system", + Code = "sys_menu_mgr_detail", + IsDeleted = false, + Name = "菜单详情", + OpenType = 0, + Permission = "sysMenu:detail", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914648L, + Application = "system", + Code = "sys_menu_mgr_grant_tree", + IsDeleted = false, + Name = "菜单授权树", + OpenType = 0, + Permission = "sysMenu:treeForGrant", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914649L, + Application = "system", + Code = "sys_menu_mgr_tree", + IsDeleted = false, + Name = "菜单树", + OpenType = 0, + Permission = "sysMenu:tree", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914650L, + Application = "system", + Code = "sys_menu_mgr_change", + IsDeleted = false, + Name = "菜单切换", + OpenType = 0, + Permission = "sysMenu:change", + Pid = 142307070914642L, + Pids = "[0],[142307070914633],[142307070914642],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914651L, + Application = "system", + Code = "sys_role_mgr", + Component = "system/role/index", + IsDeleted = false, + Name = "角色管理", + OpenType = 1, + Pid = 142307070914633L, + Pids = "[0],[142307070914633],", + Router = "/role", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914652L, + Application = "system", + Code = "sys_role_mgr_page", + IsDeleted = false, + Name = "角色查询", + OpenType = 0, + Permission = "sysRole:page", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914653L, + Application = "system", + Code = "sys_role_mgr_add", + IsDeleted = false, + Name = "角色增加", + OpenType = 0, + Permission = "sysRole:add", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914654L, + Application = "system", + Code = "sys_role_mgr_edit", + IsDeleted = false, + Name = "角色编辑", + OpenType = 0, + Permission = "sysRole:edit", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914655L, + Application = "system", + Code = "sys_role_mgr_delete", + IsDeleted = false, + Name = "角色删除", + OpenType = 0, + Permission = "sysRole:delete", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914656L, + Application = "system", + Code = "sys_role_mgr_detail", + IsDeleted = false, + Name = "角色详情", + OpenType = 0, + Permission = "sysRole:detail", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914657L, + Application = "system", + Code = "sys_role_mgr_drop_down", + IsDeleted = false, + Name = "角色下拉", + OpenType = 0, + Permission = "sysRole:dropDown", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914658L, + Application = "system", + Code = "sys_role_mgr_grant_menu", + IsDeleted = false, + Name = "角色授权菜单", + OpenType = 0, + Permission = "sysRole:grantMenu", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914659L, + Application = "system", + Code = "sys_role_mgr_own_menu", + IsDeleted = false, + Name = "角色拥有菜单", + OpenType = 0, + Permission = "sysRole:ownMenu", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914660L, + Application = "system", + Code = "sys_role_mgr_grant_data", + IsDeleted = false, + Name = "角色授权数据", + OpenType = 0, + Permission = "sysRole:grantData", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914661L, + Application = "system", + Code = "sys_role_mgr_own_data", + IsDeleted = false, + Name = "角色拥有数据", + OpenType = 0, + Permission = "sysRole:ownData", + Pid = 142307070914651L, + Pids = "[0],[142307070914633],[142307070914651],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914662L, + Application = "system", + Code = "system_tools", + Component = "PageView", + Icon = "euro", + IsDeleted = false, + Name = "开发管理", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/tools", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914663L, + Application = "system", + Code = "system_tools_config", + Component = "system/config/index", + IsDeleted = false, + Name = "系统配置", + OpenType = 1, + Pid = 142307070914662L, + Pids = "[0],[142307070914662],", + Router = "/config", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914664L, + Application = "system", + Code = "system_tools_config_page", + IsDeleted = false, + Name = "配置查询", + OpenType = 0, + Permission = "sysConfig:page", + Pid = 142307070914663L, + Pids = "[0],[142307070914662],[142307070914663],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914665L, + Application = "system", + Code = "system_tools_config_list", + IsDeleted = false, + Name = "配置列表", + OpenType = 0, + Permission = "sysConfig:list", + Pid = 142307070914663L, + Pids = "[0],[142307070914662],[142307070914663],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914666L, + Application = "system", + Code = "system_tools_config_add", + IsDeleted = false, + Name = "配置增加", + OpenType = 0, + Permission = "sysConfig:add", + Pid = 142307070914663L, + Pids = "[0],[142307070914662],[142307070914663],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914667L, + Application = "system", + Code = "system_tools_config_edit", + IsDeleted = false, + Name = "配置编辑", + OpenType = 0, + Permission = "sysConfig:edit", + Pid = 142307070914663L, + Pids = "[0],[142307070914662],[142307070914663],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914668L, + Application = "system", + Code = "system_tools_config_delete", + IsDeleted = false, + Name = "配置删除", + OpenType = 0, + Permission = "sysConfig:delete", + Pid = 142307070914663L, + Pids = "[0],[142307070914662],[142307070914663],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914669L, + Application = "system", + Code = "system_tools_config_detail", + IsDeleted = false, + Name = "配置详情", + OpenType = 0, + Permission = "sysConfig:detail", + Pid = 142307070914663L, + Pids = "[0],[142307070914662],[142307070914663],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914670L, + Application = "system", + Code = "sys_app_mgr_set_as_default", + IsDeleted = false, + Name = "设为默认应用", + OpenType = 0, + Permission = "sysApp:setAsDefault", + Pid = 142307070914663L, + Pids = "[0],[142307070914662],[142307070914663],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914671L, + Application = "system", + Code = "sys_email_mgr", + Component = "system/email/index", + IsDeleted = false, + Name = "邮件发送", + OpenType = 1, + Pid = 142307070914662L, + Pids = "[0],[142307070914662],", + Router = "/email", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914672L, + Application = "system", + Code = "sys_email_mgr_send_email", + IsDeleted = false, + Name = "发送文本邮件", + OpenType = 0, + Permission = "email:sendEmail", + Pid = 142307070914671L, + Pids = "[0],[142307070914662],[142307070914671],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914673L, + Application = "system", + Code = "sys_email_mgr_send_email_html", + IsDeleted = false, + Name = "发送html邮件", + OpenType = 0, + Permission = "email:sendEmailHtml", + Pid = 142307070914671L, + Pids = "[0],[142307070914662],[142307070914671],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914674L, + Application = "system", + Code = "sys_sms_mgr", + Component = "system/sms/index", + IsDeleted = false, + Name = "短信管理", + OpenType = 1, + Pid = 142307070914662L, + Pids = "[0],[142307070914662],", + Router = "/sms", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914675L, + Application = "system", + Code = "sys_sms_mgr_page", + IsDeleted = false, + Name = "短信发送查询", + OpenType = 0, + Permission = "sms:page", + Pid = 142307070914674L, + Pids = "[0],[142307070914662],[142307070914674],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914676L, + Application = "system", + Code = "sys_sms_mgr_send_login_message", + IsDeleted = false, + Name = "发送验证码短信", + OpenType = 0, + Permission = "sms:sendLoginMessage", + Pid = 142307070914674L, + Pids = "[0],[142307070914662],[142307070914674],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914677L, + Application = "system", + Code = "sys_sms_mgr_validate_message", + IsDeleted = false, + Name = "验证短信验证码", + OpenType = 0, + Permission = "sms:validateMessage", + Pid = 142307070914674L, + Pids = "[0],[142307070914662],[142307070914674],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914678L, + Application = "system", + Code = "sys_dict_mgr", + Component = "system/dict/index", + IsDeleted = false, + Name = "字典管理", + OpenType = 1, + Pid = 142307070914662L, + Pids = "[0],[142307070914662],", + Router = "/dict", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914679L, + Application = "system", + Code = "sys_dict_mgr_dict_type_page", + IsDeleted = false, + Name = "字典类型查询", + OpenType = 0, + Permission = "sysDictType:page", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914680L, + Application = "system", + Code = "sys_dict_mgr_dict_type_list", + IsDeleted = false, + Name = "字典类型列表", + OpenType = 0, + Permission = "sysDictType:list", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914681L, + Application = "system", + Code = "sys_dict_mgr_dict_type_add", + IsDeleted = false, + Name = "字典类型增加", + OpenType = 0, + Permission = "sysDictType:add", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914682L, + Application = "system", + Code = "sys_dict_mgr_dict_type_delete", + IsDeleted = false, + Name = "字典类型删除", + OpenType = 0, + Permission = "sysDictType:delete", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914683L, + Application = "system", + Code = "sys_dict_mgr_dict_type_edit", + IsDeleted = false, + Name = "字典类型编辑", + OpenType = 0, + Permission = "sysDictType:edit", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914684L, + Application = "system", + Code = "sys_dict_mgr_dict_type_detail", + IsDeleted = false, + Name = "字典类型详情", + OpenType = 0, + Permission = "sysDictType:detail", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914685L, + Application = "system", + Code = "sys_dict_mgr_dict_type_drop_down", + IsDeleted = false, + Name = "字典类型下拉", + OpenType = 0, + Permission = "sysDictType:dropDown", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914686L, + Application = "system", + Code = "sys_dict_mgr_dict_type_change_status", + IsDeleted = false, + Name = "字典类型修改状态", + OpenType = 0, + Permission = "sysDictType:changeStatus", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070914687L, + Application = "system", + Code = "sys_dict_mgr_dict_page", + IsDeleted = false, + Name = "字典值查询", + OpenType = 0, + Permission = "sysDictData:page", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918725L, + Application = "system", + Code = "sys_dict_mgr_dict_list", + IsDeleted = false, + Name = "字典值列表", + OpenType = 0, + Permission = "sysDictData:list", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918726L, + Application = "system", + Code = "sys_dict_mgr_dict_add", + IsDeleted = false, + Name = "字典值增加", + OpenType = 0, + Permission = "sysDictData:add", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918727L, + Application = "system", + Code = "sys_dict_mgr_dict_delete", + IsDeleted = false, + Name = "字典值删除", + OpenType = 0, + Permission = "sysDictData:delete", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918728L, + Application = "system", + Code = "sys_dict_mgr_dict_edit", + IsDeleted = false, + Name = "字典值编辑", + OpenType = 0, + Permission = "sysDictData:edit", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918729L, + Application = "system", + Code = "sys_role_mgr_grant_data", + IsDeleted = false, + Name = "字典值详情", + OpenType = 0, + Permission = "sysDictData:detail", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918730L, + Application = "system", + Code = "sys_dict_mgr_dict_change_status", + IsDeleted = false, + Name = "字典值修改状态", + OpenType = 0, + Permission = "sysDictData:changeStatus", + Pid = 142307070914678L, + Pids = "[0],[142307070914662],[142307070914678],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918731L, + Application = "system", + Code = "sys_swagger_mgr", + Component = "Iframe", + IsDeleted = false, + Link = "http://127.0.0.1:5566/", + Name = "接口文档", + OpenType = 2, + Pid = 142307070914662L, + Pids = "[0],[142307070914662],", + Router = "/swagger", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918732L, + Application = "system", + Code = "sys_log_mgr", + Component = "PageView", + Icon = "read", + IsDeleted = false, + Name = "日志管理", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/log", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918733L, + Application = "system", + Code = "sys_log_mgr_vis_log", + Component = "system/log/vislog/index", + IsDeleted = false, + Name = "访问日志", + OpenType = 1, + Pid = 142307070918732L, + Pids = "[0],[142307070918732],", + Router = "/vislog", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918734L, + Application = "system", + Code = "sys_log_mgr_vis_log_page", + IsDeleted = false, + Name = "访问日志查询", + OpenType = 0, + Permission = "sysVisLog:page", + Pid = 142307070918733L, + Pids = "[0],[142307070918732],[142307070918733],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918735L, + Application = "system", + Code = "sys_log_mgr_vis_log_delete", + IsDeleted = false, + Name = "访问日志清空", + OpenType = 0, + Permission = "sysVisLog:delete", + Pid = 142307070918733L, + Pids = "[0],[142307070918732],[142307070918733],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918736L, + Application = "system", + Code = "sys_log_mgr_op_log", + Component = "system/log/oplog/index", + IsDeleted = false, + Name = "操作日志", + OpenType = 1, + Pid = 142307070918732L, + Pids = "[0],[142307070918732],", + Router = "/oplog", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918737L, + Application = "system", + Code = "sys_log_mgr_op_log_page", + IsDeleted = false, + Name = "操作日志查询", + OpenType = 0, + Permission = "sysOpLog:page", + Pid = 142307070918736L, + Pids = "[0],[142307070918732],[142307070918736],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918738L, + Application = "system", + Code = "sys_log_mgr_op_log_delete", + IsDeleted = false, + Name = "操作日志清空", + OpenType = 0, + Permission = "sysOpLog:delete", + Pid = 142307070918736L, + Pids = "[0],[142307070918732],[142307070918736],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918739L, + Application = "system", + Code = "sys_monitor_mgr", + Component = "PageView", + Icon = "deployment-unit", + IsDeleted = false, + Name = "系统监控", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/monitor", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918740L, + Application = "system", + Code = "sys_monitor_mgr_machine_monitor", + Component = "system/machine/index", + IsDeleted = false, + Name = "服务监控", + OpenType = 1, + Pid = 142307070918739L, + Pids = "[0],[142307070918739],", + Router = "/machine", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918741L, + Application = "system", + Code = "sys_monitor_mgr_machine_monitor_query", + IsDeleted = false, + Name = "服务监控查询", + OpenType = 0, + Permission = "sysMachine:query", + Pid = 142307070918740L, + Pids = "[0],[142307070918739],[142307070918740],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918742L, + Application = "system", + Code = "sys_monitor_mgr_online_user", + Component = "system/onlineUser/index", + IsDeleted = false, + Name = "在线用户", + OpenType = 1, + Pid = 142307070918739L, + Pids = "[0],[142307070918739],", + Router = "/onlineUser", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918743L, + Application = "system", + Code = "sys_monitor_mgr_online_user_list", + IsDeleted = false, + Name = "在线用户列表", + OpenType = 0, + Permission = "sysOnlineUser:list", + Pid = 142307070918742L, + Pids = "[0],[142307070918739],[142307070918742],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918744L, + Application = "system", + Code = "sys_monitor_mgr_online_user_force_exist", + IsDeleted = false, + Name = "在线用户强退", + OpenType = 0, + Permission = "sysOnlineUser:forceExist", + Pid = 142307070918742L, + Pids = "[0],[142307070918739],[142307070918742],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918745L, + Application = "system", + Code = "sys_monitor_mgr_druid", + Component = "Iframe", + IsDeleted = false, + Link = "http://localhost:82/druid/login.html", + Name = "数据监控", + OpenType = 2, + Pid = 142307070918739L, + Pids = "[0],[142307070918739],", + Router = "/druid", + Sort = 100, + Status = 0, + Type = 1, + Visible = "N", + Weight = 1 + }, + new + { + Id = 142307070918746L, + Application = "system", + Code = "sys_notice", + Component = "PageView", + Icon = "sound", + IsDeleted = false, + Name = "通知公告", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/notice", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918747L, + Application = "system", + Code = "sys_notice_mgr", + Component = "system/notice/index", + IsDeleted = false, + Name = "公告管理", + OpenType = 1, + Pid = 142307070918746L, + Pids = "[0],[142307070918746],", + Router = "/notice", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918748L, + Application = "system", + Code = "sys_notice_mgr_page", + IsDeleted = false, + Name = "公告查询", + OpenType = 0, + Permission = "sysNotice:page", + Pid = 142307070918747L, + Pids = "[0],[142307070918746],[142307070918747],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918749L, + Application = "system", + Code = "sys_notice_mgr_add", + IsDeleted = false, + Name = "公告增加", + OpenType = 0, + Permission = "sysNotice:add", + Pid = 142307070918747L, + Pids = "[0],[142307070918746],[142307070918747],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918750L, + Application = "system", + Code = "sys_notice_mgr_edit", + IsDeleted = false, + Name = "公告编辑", + OpenType = 0, + Permission = "sysNotice:edit", + Pid = 142307070918747L, + Pids = "[0],[142307070918746],[142307070918747],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918751L, + Application = "system", + Code = "sys_notice_mgr_delete", + IsDeleted = false, + Name = "公告删除", + OpenType = 0, + Permission = "sysNotice:delete", + Pid = 142307070918747L, + Pids = "[0],[142307070918746],[142307070918747],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918752L, + Application = "system", + Code = "sys_notice_mgr_detail", + IsDeleted = false, + Name = "公告查看", + OpenType = 0, + Permission = "sysNotice:detail", + Pid = 142307070918747L, + Pids = "[0],[142307070918746],[142307070918747],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918753L, + Application = "system", + Code = "sys_notice_mgr_changeStatus", + IsDeleted = false, + Name = "公告修改状态", + OpenType = 0, + Permission = "sysNotice:changeStatus", + Pid = 142307070918747L, + Pids = "[0],[142307070918746],[142307070918747],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918754L, + Application = "system", + Code = "sys_notice_mgr_received", + Component = "system/noticeReceived/index", + IsDeleted = false, + Name = "已收公告", + OpenType = 1, + Pid = 142307070918746L, + Pids = "[0],[142307070918746],", + Router = "/noticeReceived", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918755L, + Application = "system", + Code = "sys_notice_mgr_received_page", + IsDeleted = false, + Name = "已收公告查询", + OpenType = 0, + Permission = "sysNotice:received", + Pid = 142307070918754L, + Pids = "[0],[142307070918746],[142307070918754],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918756L, + Application = "system", + Code = "sys_file_mgr", + Component = "PageView", + Icon = "file", + IsDeleted = false, + Name = "文件管理", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/file", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918757L, + Application = "system", + Code = "sys_file_mgr_sys_file", + Component = "system/file/index", + IsDeleted = false, + Name = "系统文件", + OpenType = 1, + Pid = 142307070918756L, + Pids = "[0],[142307070918756],", + Router = "/file", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918758L, + Application = "system", + Code = "sys_file_mgr_sys_file_page", + IsDeleted = false, + Name = "文件查询", + OpenType = 0, + Permission = "sysFileInfo:page", + Pid = 142307070918757L, + Pids = "[0],[142307070918756],[142307070918757],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918759L, + Application = "system", + Code = "sys_file_mgr_sys_file_list", + IsDeleted = false, + Name = "文件列表", + OpenType = 0, + Permission = "sysFileInfo:list", + Pid = 142307070918757L, + Pids = "[0],[142307070918756],[142307070918757],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918760L, + Application = "system", + Code = "sys_file_mgr_sys_file_delete", + IsDeleted = false, + Name = "文件删除", + OpenType = 0, + Permission = "sysFileInfo:delete", + Pid = 142307070918757L, + Pids = "[0],[142307070918756],[142307070918757],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918761L, + Application = "system", + Code = "sys_file_mgr_sys_file_detail", + IsDeleted = false, + Name = "文件详情", + OpenType = 0, + Permission = "sysFileInfo:detail", + Pid = 142307070918757L, + Pids = "[0],[142307070918756],[142307070918757],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918762L, + Application = "system", + Code = "sys_file_mgr_sys_file_upload", + IsDeleted = false, + Name = "文件上传", + OpenType = 0, + Permission = "sysFileInfo:upload", + Pid = 142307070918757L, + Pids = "[0],[142307070918756],[142307070918757],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918763L, + Application = "system", + Code = "sys_file_mgr_sys_file_download", + IsDeleted = false, + Name = "文件下载", + OpenType = 0, + Permission = "sysFileInfo:download", + Pid = 142307070918757L, + Pids = "[0],[142307070918756],[142307070918757],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918764L, + Application = "system", + Code = "sys_file_mgr_sys_file_preview", + IsDeleted = false, + Name = "图片预览", + OpenType = 0, + Permission = "sysFileInfo:preview", + Pid = 142307070918757L, + Pids = "[0],[142307070918756],[142307070918757],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918765L, + Application = "system", + Code = "sys_timers", + Component = "PageView", + Icon = "dashboard", + IsDeleted = false, + Name = "定时任务", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/timers", + Sort = 100, + Status = 0, + Type = 0, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918766L, + Application = "system", + Code = "sys_timers_mgr", + Component = "system/timers/index", + IsDeleted = false, + Name = "任务管理", + OpenType = 1, + Pid = 142307070918765L, + Pids = "[0],[142307070918765],", + Router = "/timers", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918767L, + Application = "system", + Code = "sys_timers_mgr_page", + IsDeleted = false, + Name = "定时任务查询", + OpenType = 0, + Permission = "sysTimers:page", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918768L, + Application = "system", + Code = "sys_timers_mgr_list", + IsDeleted = false, + Name = "定时任务列表", + OpenType = 0, + Permission = "sysTimers:list", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918769L, + Application = "system", + Code = "sys_timers_mgr_detail", + IsDeleted = false, + Name = "定时任务详情", + OpenType = 0, + Permission = "sysTimers:detail", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918770L, + Application = "system", + Code = "sys_timers_mgr_add", + IsDeleted = false, + Name = "定时任务增加", + OpenType = 0, + Permission = "sysTimers:add", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918771L, + Application = "system", + Code = "sys_timers_mgr_delete", + IsDeleted = false, + Name = "定时任务删除", + OpenType = 0, + Permission = "sysTimers:delete", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918772L, + Application = "system", + Code = "sys_timers_mgr_edit", + IsDeleted = false, + Name = "定时任务编辑", + OpenType = 0, + Permission = "sysTimers:edit", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918773L, + Application = "system", + Code = "sys_timers_mgr_get_action_classes", + IsDeleted = false, + Name = "定时任务可执行列表", + OpenType = 0, + Permission = "sysTimers:getActionClasses", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918774L, + Application = "system", + Code = "sys_timers_mgr_start", + IsDeleted = false, + Name = "定时任务启动", + OpenType = 0, + Permission = "sysTimers:start", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918775L, + Application = "system", + Code = "sys_timers_mgr_stop", + IsDeleted = false, + Name = "定时任务关闭", + OpenType = 0, + Permission = "sysTimers:stop", + Pid = 142307070918766L, + Pids = "[0],[142307070918765],[142307070918766],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918776L, + Application = "system_tool", + Code = "code_gen", + Component = "gen/codeGenerate/index", + Icon = "thunderbolt", + IsDeleted = false, + Name = "代码生成", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/codeGenerate/index", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070922870L, + Application = "system_tool", + Code = "form_design", + Component = "system/formDesign/index", + Icon = "robot", + IsDeleted = false, + Name = "表单设计", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/formDesign/index", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918782L, + Application = "advanced", + Code = "sys_tenant", + Component = "PageView", + Icon = "switcher", + IsDeleted = false, + Name = "SaaS租户", + OpenType = 0, + Pid = 0L, + Pids = "[0],", + Router = "/tenant", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070918783L, + Application = "advanced", + Code = "sys_tenant_mgr", + Component = "system/tenant/index", + IsDeleted = false, + Name = "租户管理", + OpenType = 1, + Pid = 142307070918782L, + Pids = "[0],[142307070918782],", + Router = "/tenant", + Sort = 100, + Status = 0, + Type = 1, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070922821L, + Application = "advanced", + Code = "sys_tenant_mgr_page", + IsDeleted = false, + Name = "租户查询", + OpenType = 0, + Permission = "sysTenant:page", + Pid = 142307070918783L, + Pids = "[0],[142307070918782],[142307070918783],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070922822L, + Application = "advanced", + Code = "sys_tenant_mgr_detail", + IsDeleted = false, + Name = "租户详情", + OpenType = 0, + Permission = "sysTenant:detail", + Pid = 142307070918783L, + Pids = "[0],[142307070918782],[142307070918783],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070922823L, + Application = "advanced", + Code = "sys_tenant_mgr_add", + IsDeleted = false, + Name = "租户增加", + OpenType = 0, + Permission = "sysTenant:add", + Pid = 142307070918783L, + Pids = "[0],[142307070918782],[142307070918783],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070922824L, + Application = "advanced", + Code = "sys_tenant_mgr_delete", + IsDeleted = false, + Name = "租户删除", + OpenType = 0, + Permission = "sysTenant:delete", + Pid = 142307070918783L, + Pids = "[0],[142307070918782],[142307070918783],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }, + new + { + Id = 142307070922825L, + Application = "advanced", + Code = "sys_tenant_mgr_edit", + IsDeleted = false, + Name = "租户编辑", + OpenType = 0, + Permission = "sysTenant:edit", + Pid = 142307070918783L, + Pids = "[0],[142307070918782],[142307070918783],", + Sort = 100, + Status = 0, + Type = 2, + Visible = "Y", + Weight = 1 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysNotice", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("CancelTime") + .HasColumnType("datetime") + .HasComment("撤回时间"); + + b.Property("Content") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("内容"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("PublicOrgId") + .HasColumnType("bigint") + .HasComment("发布机构Id"); + + b.Property("PublicOrgName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("发布机构名称"); + + b.Property("PublicTime") + .HasColumnType("datetime") + .HasComment("发布时间"); + + b.Property("PublicUserId") + .HasColumnType("bigint") + .HasComment("发布人Id"); + + b.Property("PublicUserName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("发布人姓名"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("Title") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("标题"); + + b.Property("Type") + .HasColumnType("int") + .HasComment("类型"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_notice"); + + b + .HasComment("通知公告表"); + }); + + modelBuilder.Entity("Dilon.Core.SysNoticeUser", b => + { + b.Property("NoticeId") + .HasColumnType("bigint") + .HasComment("通知公告Id"); + + b.Property("ReadStatus") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("ReadTime") + .HasColumnType("datetime") + .HasComment("阅读时间"); + + b.Property("UserId") + .HasColumnType("bigint") + .HasComment("用户Id"); + + b.ToTable("sys_notice_user"); + + b + .HasComment("通知公告用户表"); + }); + + modelBuilder.Entity("Dilon.Core.SysOauthUser", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("AccessToken") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Token"); + + b.Property("Avatar") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("头像"); + + b.Property("Blog") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("用户网址"); + + b.Property("Company") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("所在公司"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Email") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("邮箱"); + + b.Property("Gender") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("性别"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Location") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("位置"); + + b.Property("NickName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("昵称"); + + b.Property("Phone") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Source") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("用户来源"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Uuid") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("UUID"); + + b.HasKey("Id"); + + b.ToTable("sys_oauth_user"); + + b + .HasComment("Oauth登录用户表"); + }); + + modelBuilder.Entity("Dilon.Core.SysOrg", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("Contacts") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("联系人"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Pid") + .HasColumnType("bigint") + .HasComment("父Id"); + + b.Property("Pids") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("父Ids"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("Tel") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_org"); + + b + .HasComment("组织机构表"); + + b.HasData( + new + { + Id = 142307070910539L, + Code = "hxjt", + IsDeleted = false, + Name = "华夏集团", + Pid = 0L, + Pids = "[0],", + Remark = "华夏集团", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910540L, + Code = "hxjt_bj", + IsDeleted = false, + Name = "华夏集团北京分公司", + Pid = 142307070910539L, + Pids = "[0],[142307070910539],", + Remark = "华夏集团北京分公司", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910541L, + Code = "hxjt_cd", + IsDeleted = false, + Name = "华夏集团成都分公司", + Pid = 142307070910539L, + Pids = "[0],[142307070910539],", + Remark = "华夏集团成都分公司", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910542L, + Code = "hxjt_bj_yfb", + IsDeleted = false, + Name = "研发部", + Pid = 142307070910540L, + Pids = "[0],[142307070910539],[142307070910540],", + Remark = "华夏集团北京分公司研发部", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910543L, + Code = "hxjt_bj_qhb", + IsDeleted = false, + Name = "企划部", + Pid = 142307070910540L, + Pids = "[0],[142307070910539],[142307070910540],", + Remark = "华夏集团北京分公司企划部", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910544L, + Code = "hxjt_cd_scb", + IsDeleted = false, + Name = "市场部", + Pid = 142307070910541L, + Pids = "[0],[142307070910539],[142307070910541],", + Remark = "华夏集团成都分公司市场部", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910545L, + Code = "hxjt_cd_cwb", + IsDeleted = false, + Name = "财务部", + Pid = 142307070910541L, + Pids = "[0],[142307070910539],[142307070910541],", + Remark = "华夏集团成都分公司财务部", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910546L, + Code = "hxjt_cd_scb_2b", + IsDeleted = false, + Name = "市场部二部", + Pid = 142307070910544L, + Pids = "[0],[142307070910539],[142307070910541],[142307070910544],", + Remark = "华夏集团成都分公司市场部二部", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysPos", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_pos"); + + b + .HasComment("职位表"); + + b.HasData( + new + { + Id = 142307070910547L, + Code = "zjl", + IsDeleted = false, + Name = "总经理", + Remark = "总经理", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910548L, + Code = "fzjl", + IsDeleted = false, + Name = "副总经理", + Remark = "副总经理", + Sort = 101, + Status = 0 + }, + new + { + Id = 142307070910549L, + Code = "bmjl", + IsDeleted = false, + Name = "部门经理", + Remark = "部门经理", + Sort = 102, + Status = 0 + }, + new + { + Id = 142307070910550L, + Code = "gzry", + IsDeleted = false, + Name = "工作人员", + Remark = "工作人员", + Sort = 103, + Status = 0 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysRole", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("DataScopeType") + .HasColumnType("int") + .HasComment("数据范围类型"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_role"); + + b + .HasComment("角色表"); + + b.HasData( + new + { + Id = 142307070910554L, + Code = "sys_manager_role", + DataScopeType = 1, + IsDeleted = false, + Name = "系统管理员", + Remark = "系统管理员", + Sort = 100, + Status = 0 + }, + new + { + Id = 142307070910555L, + Code = "common_role", + DataScopeType = 5, + IsDeleted = false, + Name = "普通用户", + Remark = "普通用户", + Sort = 101, + Status = 0 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysRoleDataScope", b => + { + b.Property("SysRoleId") + .HasColumnType("bigint") + .HasComment("角色Id"); + + b.Property("SysOrgId") + .HasColumnType("bigint") + .HasComment("机构Id"); + + b.HasKey("SysRoleId", "SysOrgId"); + + b.HasIndex("SysOrgId"); + + b.ToTable("sys_role_data_scope"); + + b + .HasComment("角色数据范围表"); + }); + + modelBuilder.Entity("Dilon.Core.SysRoleMenu", b => + { + b.Property("SysRoleId") + .HasColumnType("bigint") + .HasComment("角色Id"); + + b.Property("SysMenuId") + .HasColumnType("bigint") + .HasComment("菜单Id"); + + b.HasKey("SysRoleId", "SysMenuId"); + + b.HasIndex("SysMenuId"); + + b.ToTable("sys_role_menu"); + + b + .HasComment("角色菜单表"); + }); + + modelBuilder.Entity("Dilon.Core.SysTenant", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Connection") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库连接"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Email") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电子邮箱"); + + b.Property("Host") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("主机"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Phone") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("Schema") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("架构"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_tenant"); + + b + .HasComment("租户表"); + }); + + modelBuilder.Entity("Dilon.Core.SysTimer", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("BeginTime") + .HasColumnType("datetime") + .HasComment("开始时间"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Cron") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Cron表达式"); + + b.Property("EndTime") + .HasColumnType("datetime") + .HasComment("结束时间"); + + b.Property("Headers") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Headers"); + + b.Property("Interval") + .HasColumnType("int") + .HasComment("执行间隔时间"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("JobGroup") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("任务分组"); + + b.Property("JobName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("任务名称"); + + b.Property("Remark") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("RequestParameters") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求参数"); + + b.Property("RequestType") + .HasColumnType("int") + .HasComment("请求类型"); + + b.Property("RequestUrl") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求url"); + + b.Property("RunNumber") + .HasColumnType("int") + .HasComment("执行次数"); + + b.Property("TriggerType") + .HasColumnType("int") + .HasComment("触发器类型"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_timer"); + + b + .HasComment("定时任务表"); + + b.HasData( + new + { + Id = 142307070910556L, + BeginTime = new DateTimeOffset(new DateTime(2021, 3, 21, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), + Interval = 30, + IsDeleted = false, + JobGroup = "默认分组", + JobName = "百度api", + RequestType = 2, + RequestUrl = "https://www.baidu.com", + TriggerType = 1 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysUser", b => + { + b.Property("Id") + .HasColumnType("bigint") + .HasComment("Id主键"); + + b.Property("Account") + .IsRequired() + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("账号"); + + b.Property("AdminType") + .HasColumnType("int") + .HasComment("管理员类型-超级管理员_1、非管理员_2"); + + b.Property("Avatar") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("头像"); + + b.Property("Birthday") + .HasColumnType("datetime") + .HasComment("生日"); + + b.Property("CreatedTime") + .HasColumnType("datetime") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("bigint") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("Email") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("邮箱"); + + b.Property("IsDeleted") + .HasColumnType("tinyint(1)") + .HasComment("软删除标记"); + + b.Property("LastLoginIp") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("最后登录IP"); + + b.Property("LastLoginTime") + .HasColumnType("datetime") + .HasComment("最后登录时间"); + + b.Property("Name") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("姓名"); + + b.Property("NickName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("昵称"); + + b.Property("Password") + .IsRequired() + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("密码"); + + b.Property("Phone") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("手机"); + + b.Property("Sex") + .HasColumnType("int") + .HasComment("性别-男_1、女_2"); + + b.Property("Status") + .HasColumnType("int") + .HasComment("状态-正常_0、停用_1、删除_2"); + + b.Property("Tel") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("电话"); + + b.Property("UpdatedTime") + .HasColumnType("datetime") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("bigint") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.HasKey("Id"); + + b.ToTable("sys_user"); + + b + .HasComment("用户表"); + + b.HasData( + new + { + Id = 142307070910551L, + Account = "superAdmin", + AdminType = 1, + Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), + IsDeleted = false, + LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Name = "superAdmin", + Password = "e10adc3949ba59abbe56e057f20f883e", + Phone = "18020030720", + Sex = 1, + Status = 0 + }, + new + { + Id = 142307070910552L, + Account = "admin", + AdminType = 1, + Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), + IsDeleted = false, + LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Name = "admin", + Password = "e10adc3949ba59abbe56e057f20f883e", + Phone = "18020030720", + Sex = 2, + Status = 0 + }, + new + { + Id = 142307070910553L, + Account = "zuohuaijun", + AdminType = 2, + Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), + IsDeleted = false, + LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)), + Name = "zuohuaijun", + Password = "e10adc3949ba59abbe56e057f20f883e", + Phone = "18020030720", + Sex = 1, + Status = 0 + }); + }); + + modelBuilder.Entity("Dilon.Core.SysUserDataScope", b => + { + b.Property("SysUserId") + .HasColumnType("bigint") + .HasComment("用户Id"); + + b.Property("SysOrgId") + .HasColumnType("bigint") + .HasComment("机构Id"); + + b.HasKey("SysUserId", "SysOrgId"); + + b.HasIndex("SysOrgId"); + + b.ToTable("sys_user_data_scope"); + + b + .HasComment("用户数据范围表"); + }); + + modelBuilder.Entity("Dilon.Core.SysUserRole", b => + { + b.Property("SysUserId") + .HasColumnType("bigint") + .HasComment("用户Id"); + + b.Property("SysRoleId") + .HasColumnType("bigint") + .HasComment("角色Id"); + + b.HasKey("SysUserId", "SysRoleId"); + + b.HasIndex("SysRoleId"); + + b.ToTable("sys_user_role"); + + b + .HasComment("用户角色表"); + }); + + modelBuilder.Entity("Dilon.Core.SysDictData", b => + { + b.HasOne("Dilon.Core.SysDictType", "SysDictType") + .WithMany("SysDictDatas") + .HasForeignKey("TypeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysDictType"); + }); + + modelBuilder.Entity("Dilon.Core.SysEmpExtOrgPos", b => + { + b.HasOne("Dilon.Core.SysEmp", "SysEmp") + .WithMany() + .HasForeignKey("SysEmpId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Dilon.Core.SysOrg", "SysOrg") + .WithMany() + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Dilon.Core.SysPos", "SysPos") + .WithMany() + .HasForeignKey("SysPosId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysEmp"); + + b.Navigation("SysOrg"); + + b.Navigation("SysPos"); + }); + + modelBuilder.Entity("Dilon.Core.SysEmpPos", b => + { + b.HasOne("Dilon.Core.SysEmp", "SysEmp") + .WithMany("SysEmpPos") + .HasForeignKey("SysEmpId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Dilon.Core.SysPos", "SysPos") + .WithMany("SysEmpPos") + .HasForeignKey("SysPosId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysEmp"); + + b.Navigation("SysPos"); + }); + + modelBuilder.Entity("Dilon.Core.SysRoleDataScope", b => + { + b.HasOne("Dilon.Core.SysOrg", "SysOrg") + .WithMany("SysRoleDataScopes") + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Dilon.Core.SysRole", "SysRole") + .WithMany("SysRoleDataScopes") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysOrg"); + + b.Navigation("SysRole"); + }); + + modelBuilder.Entity("Dilon.Core.SysRoleMenu", b => + { + b.HasOne("Dilon.Core.SysMenu", "SysMenu") + .WithMany("SysRoleMenus") + .HasForeignKey("SysMenuId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Dilon.Core.SysRole", "SysRole") + .WithMany("SysRoleMenus") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysMenu"); + + b.Navigation("SysRole"); + }); + + modelBuilder.Entity("Dilon.Core.SysUserDataScope", b => + { + b.HasOne("Dilon.Core.SysOrg", "SysOrg") + .WithMany("SysUserDataScopes") + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Dilon.Core.SysUser", "SysUser") + .WithMany("SysUserDataScopes") + .HasForeignKey("SysUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysOrg"); + + b.Navigation("SysUser"); + }); + + modelBuilder.Entity("Dilon.Core.SysUserRole", b => + { + b.HasOne("Dilon.Core.SysRole", "SysRole") + .WithMany("SysUserRoles") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Dilon.Core.SysUser", "SysUser") + .WithMany("SysUserRoles") + .HasForeignKey("SysUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysRole"); + + b.Navigation("SysUser"); + }); + + modelBuilder.Entity("Dilon.Core.SysDictType", b => + { + b.Navigation("SysDictDatas"); + }); + + modelBuilder.Entity("Dilon.Core.SysEmp", b => + { + b.Navigation("SysEmpPos"); + }); + + modelBuilder.Entity("Dilon.Core.SysMenu", b => + { + b.Navigation("SysRoleMenus"); + }); + + modelBuilder.Entity("Dilon.Core.SysOrg", b => + { + b.Navigation("SysRoleDataScopes"); + + b.Navigation("SysUserDataScopes"); + }); + + modelBuilder.Entity("Dilon.Core.SysPos", b => + { + b.Navigation("SysEmpPos"); + }); + + modelBuilder.Entity("Dilon.Core.SysRole", b => + { + b.Navigation("SysRoleDataScopes"); + + b.Navigation("SysRoleMenus"); + + b.Navigation("SysUserRoles"); + }); + + modelBuilder.Entity("Dilon.Core.SysUser", b => + { + b.Navigation("SysUserDataScopes"); + + b.Navigation("SysUserRoles"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/Api/Dilon.EntityFramework.Core/DbContexts/DefaultDbContext.cs b/Api/Ewide.EntityFramework.Core/DbContexts/DefaultDbContext.cs similarity index 99% rename from Api/Dilon.EntityFramework.Core/DbContexts/DefaultDbContext.cs rename to Api/Ewide.EntityFramework.Core/DbContexts/DefaultDbContext.cs index 190bfeb..20f0693 100644 --- a/Api/Dilon.EntityFramework.Core/DbContexts/DefaultDbContext.cs +++ b/Api/Ewide.EntityFramework.Core/DbContexts/DefaultDbContext.cs @@ -12,7 +12,7 @@ using Microsoft.Extensions.Caching.Distributed; using System; using System.Linq; -namespace Dilon.EntityFramework.Core +namespace Ewide.EntityFramework.Core { [AppDbContext("DefaultConnection", DbProvider.MySql)] public class DefaultDbContext : AppDbContext, IModelBuilderFilter diff --git a/Api/Dilon.EntityFramework.Core/DbContexts/MultiTenantDbContext.cs b/Api/Ewide.EntityFramework.Core/DbContexts/MultiTenantDbContext.cs similarity index 98% rename from Api/Dilon.EntityFramework.Core/DbContexts/MultiTenantDbContext.cs rename to Api/Ewide.EntityFramework.Core/DbContexts/MultiTenantDbContext.cs index e7cc8e7..6d6549b 100644 --- a/Api/Dilon.EntityFramework.Core/DbContexts/MultiTenantDbContext.cs +++ b/Api/Ewide.EntityFramework.Core/DbContexts/MultiTenantDbContext.cs @@ -9,7 +9,7 @@ using Microsoft.EntityFrameworkCore.Diagnostics; using System; using System.Linq; -namespace Dilon.EntityFramework.Core +namespace Ewide.EntityFramework.Core { [AppDbContext("MultiTenantConnection", DbProvider.Sqlite)] public class MultiTenantDbContext : AppDbContext diff --git a/Api/Dilon.EntityFramework.Core/Dilon.EntityFramework.Core.csproj b/Api/Ewide.EntityFramework.Core/Dilon.EntityFramework.Core.csproj similarity index 100% rename from Api/Dilon.EntityFramework.Core/Dilon.EntityFramework.Core.csproj rename to Api/Ewide.EntityFramework.Core/Dilon.EntityFramework.Core.csproj diff --git a/Api/Dilon.EntityFramework.Core/Startup.cs b/Api/Ewide.EntityFramework.Core/Startup.cs similarity index 93% rename from Api/Dilon.EntityFramework.Core/Startup.cs rename to Api/Ewide.EntityFramework.Core/Startup.cs index e89fa6d..dad6388 100644 --- a/Api/Dilon.EntityFramework.Core/Startup.cs +++ b/Api/Ewide.EntityFramework.Core/Startup.cs @@ -2,7 +2,7 @@ using Furion.DatabaseAccessor; using Microsoft.Extensions.DependencyInjection; -namespace Dilon.EntityFramework.Core +namespace Ewide.EntityFramework.Core { public class Startup : AppStartup { diff --git a/Api/Dilon.EntityFramework.Core/dbsettings.json b/Api/Ewide.EntityFramework.Core/dbsettings.json similarity index 100% rename from Api/Dilon.EntityFramework.Core/dbsettings.json rename to Api/Ewide.EntityFramework.Core/dbsettings.json diff --git a/Api/Dilon.Web.Core/Dilon.Web.Core.csproj b/Api/Ewide.Web.Core/Dilon.Web.Core.csproj similarity index 99% rename from Api/Dilon.Web.Core/Dilon.Web.Core.csproj rename to Api/Ewide.Web.Core/Dilon.Web.Core.csproj index 59b97ea..930ede1 100644 --- a/Api/Dilon.Web.Core/Dilon.Web.Core.csproj +++ b/Api/Ewide.Web.Core/Dilon.Web.Core.csproj @@ -10,8 +10,8 @@ - - + + diff --git a/Api/Dilon.Web.Core/Dilon.Web.Core.xml b/Api/Ewide.Web.Core/Dilon.Web.Core.xml similarity index 97% rename from Api/Dilon.Web.Core/Dilon.Web.Core.xml rename to Api/Ewide.Web.Core/Dilon.Web.Core.xml index 565e546..2a72fdc 100644 --- a/Api/Dilon.Web.Core/Dilon.Web.Core.xml +++ b/Api/Ewide.Web.Core/Dilon.Web.Core.xml @@ -1,30 +1,30 @@ - - - - Dilon.Web.Core - - - - - 重写 Handler 添加自动刷新 - - - - - - - 授权判断逻辑,授权通过返回 true,否则返回 false - - - - - - - - 检查权限 - - - - - - + + + + Dilon.Web.Core + + + + + 重写 Handler 添加自动刷新 + + + + + + + 授权判断逻辑,授权通过返回 true,否则返回 false + + + + + + + + 检查权限 + + + + + + diff --git a/Api/Dilon.Web.Core/Handlers/JwtHandler.cs b/Api/Ewide.Web.Core/Handlers/JwtHandler.cs similarity index 98% rename from Api/Dilon.Web.Core/Handlers/JwtHandler.cs rename to Api/Ewide.Web.Core/Handlers/JwtHandler.cs index e9a2084..e698c20 100644 --- a/Api/Dilon.Web.Core/Handlers/JwtHandler.cs +++ b/Api/Ewide.Web.Core/Handlers/JwtHandler.cs @@ -8,7 +8,7 @@ using Microsoft.AspNetCore.Http; using System.Collections.Generic; using System.Threading.Tasks; -namespace Dilon.Web.Core +namespace Ewide.Web.Core { public class JwtHandler : AppAuthorizeHandler { diff --git a/Api/Dilon.Web.Core/Startup.cs b/Api/Ewide.Web.Core/Startup.cs similarity index 99% rename from Api/Dilon.Web.Core/Startup.cs rename to Api/Ewide.Web.Core/Startup.cs index 77e3bfb..c128844 100644 --- a/Api/Dilon.Web.Core/Startup.cs +++ b/Api/Ewide.Web.Core/Startup.cs @@ -8,7 +8,7 @@ using Microsoft.Extensions.Hosting; using Serilog; using System.Text.Json; -namespace Dilon.Web.Core +namespace Ewide.Web.Core { public class Startup : AppStartup { @@ -24,8 +24,8 @@ namespace Dilon.Web.Core services.AddControllersWithViews() .AddMvcFilter() - .AddInjectWithUnifyResult() - // 在管道中增加NewtonsoftJson,防止参数类型严格验证 + .AddInjectWithUnifyResult() + // 在管道中增加NewtonsoftJson,防止参数类型严格验证 .AddNewtonsoftJson() .AddJsonOptions(options => { diff --git a/Api/Dilon.Web.Entry/.config/dotnet-tools.json b/Api/Ewide.Web.Entry/.config/dotnet-tools.json similarity index 100% rename from Api/Dilon.Web.Entry/.config/dotnet-tools.json rename to Api/Ewide.Web.Entry/.config/dotnet-tools.json diff --git a/Api/Dilon.Web.Entry/Controllers/HomeController.cs b/Api/Ewide.Web.Entry/Controllers/HomeController.cs similarity index 92% rename from Api/Dilon.Web.Entry/Controllers/HomeController.cs rename to Api/Ewide.Web.Entry/Controllers/HomeController.cs index 72fdb55..6131c97 100644 --- a/Api/Dilon.Web.Entry/Controllers/HomeController.cs +++ b/Api/Ewide.Web.Entry/Controllers/HomeController.cs @@ -2,7 +2,7 @@ using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; -namespace Dilon.Web.Entry.Controllers +namespace Ewide.Web.Entry.Controllers { [AllowAnonymous] public class HomeController : Controller diff --git a/Api/Dilon.Web.Entry/Dilon.Web.Entry.csproj b/Api/Ewide.Web.Entry/Dilon.Web.Entry.csproj similarity index 100% rename from Api/Dilon.Web.Entry/Dilon.Web.Entry.csproj rename to Api/Ewide.Web.Entry/Dilon.Web.Entry.csproj diff --git a/Api/Dilon.Web.Entry/Dilon.db b/Api/Ewide.Web.Entry/Dilon.db similarity index 100% rename from Api/Dilon.Web.Entry/Dilon.db rename to Api/Ewide.Web.Entry/Dilon.db diff --git a/Api/Dilon.Web.Entry/Dilon.db-shm b/Api/Ewide.Web.Entry/Dilon.db-shm similarity index 100% rename from Api/Dilon.Web.Entry/Dilon.db-shm rename to Api/Ewide.Web.Entry/Dilon.db-shm diff --git a/Api/Dilon.Web.Entry/Dilon.db-wal b/Api/Ewide.Web.Entry/Dilon.db-wal similarity index 100% rename from Api/Dilon.Web.Entry/Dilon.db-wal rename to Api/Ewide.Web.Entry/Dilon.db-wal diff --git a/Api/Dilon.Web.Entry/Dilon_1.db b/Api/Ewide.Web.Entry/Dilon_1.db similarity index 100% rename from Api/Dilon.Web.Entry/Dilon_1.db rename to Api/Ewide.Web.Entry/Dilon_1.db diff --git a/Api/Dilon.Web.Entry/Dilon_SaaS.db b/Api/Ewide.Web.Entry/Dilon_SaaS.db similarity index 100% rename from Api/Dilon.Web.Entry/Dilon_SaaS.db rename to Api/Ewide.Web.Entry/Dilon_SaaS.db diff --git a/Api/Dilon.Web.Entry/Dockerfile b/Api/Ewide.Web.Entry/Dockerfile similarity index 100% rename from Api/Dilon.Web.Entry/Dockerfile rename to Api/Ewide.Web.Entry/Dockerfile diff --git a/Api/Dilon.Web.Entry/Program.cs b/Api/Ewide.Web.Entry/Program.cs similarity index 95% rename from Api/Dilon.Web.Entry/Program.cs rename to Api/Ewide.Web.Entry/Program.cs index 3d78e19..0bc9fe8 100644 --- a/Api/Dilon.Web.Entry/Program.cs +++ b/Api/Ewide.Web.Entry/Program.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; -namespace Dilon.Web.Entry +namespace Ewide.Web.Entry { public class Program { diff --git a/Api/Dilon.Web.Entry/Properties/launchSettings.json b/Api/Ewide.Web.Entry/Properties/launchSettings.json similarity index 100% rename from Api/Dilon.Web.Entry/Properties/launchSettings.json rename to Api/Ewide.Web.Entry/Properties/launchSettings.json diff --git a/Api/Dilon.Web.Entry/Startup.cs b/Api/Ewide.Web.Entry/Startup.cs similarity index 96% rename from Api/Dilon.Web.Entry/Startup.cs rename to Api/Ewide.Web.Entry/Startup.cs index 8107e38..ca42322 100644 --- a/Api/Dilon.Web.Entry/Startup.cs +++ b/Api/Ewide.Web.Entry/Startup.cs @@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; -namespace Dilon.Web.Entry +namespace Ewide.Web.Entry { public class Startup { diff --git a/Api/Dilon.Web.Entry/Views/Home/Index.cshtml b/Api/Ewide.Web.Entry/Views/Home/Index.cshtml similarity index 100% rename from Api/Dilon.Web.Entry/Views/Home/Index.cshtml rename to Api/Ewide.Web.Entry/Views/Home/Index.cshtml diff --git a/Api/Dilon.Web.Entry/Views/Shared/_Layout.cshtml b/Api/Ewide.Web.Entry/Views/Shared/_Layout.cshtml similarity index 100% rename from Api/Dilon.Web.Entry/Views/Shared/_Layout.cshtml rename to Api/Ewide.Web.Entry/Views/Shared/_Layout.cshtml diff --git a/Api/Dilon.Web.Entry/Views/_ViewImports.cshtml b/Api/Ewide.Web.Entry/Views/_ViewImports.cshtml similarity index 100% rename from Api/Dilon.Web.Entry/Views/_ViewImports.cshtml rename to Api/Ewide.Web.Entry/Views/_ViewImports.cshtml diff --git a/Api/Dilon.Web.Entry/Views/_ViewStart.cshtml b/Api/Ewide.Web.Entry/Views/_ViewStart.cshtml similarity index 100% rename from Api/Dilon.Web.Entry/Views/_ViewStart.cshtml rename to Api/Ewide.Web.Entry/Views/_ViewStart.cshtml diff --git a/Api/Dilon.Web.Entry/appsettings.Development.json b/Api/Ewide.Web.Entry/appsettings.Development.json similarity index 100% rename from Api/Dilon.Web.Entry/appsettings.Development.json rename to Api/Ewide.Web.Entry/appsettings.Development.json diff --git a/Api/Dilon.Web.Entry/appsettings.json b/Api/Ewide.Web.Entry/appsettings.json similarity index 100% rename from Api/Dilon.Web.Entry/appsettings.json rename to Api/Ewide.Web.Entry/appsettings.json diff --git a/Api/Dilon.Web.Entry/wwwroot/Captcha/Font/站酷酷黑体.ttf b/Api/Ewide.Web.Entry/wwwroot/Captcha/Font/站酷酷黑体.ttf similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Captcha/Font/站酷酷黑体.ttf rename to Api/Ewide.Web.Entry/wwwroot/Captcha/Font/站酷酷黑体.ttf diff --git a/Api/Dilon.Web.Entry/wwwroot/Captcha/Image/1.jpg b/Api/Ewide.Web.Entry/wwwroot/Captcha/Image/1.jpg similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Captcha/Image/1.jpg rename to Api/Ewide.Web.Entry/wwwroot/Captcha/Image/1.jpg diff --git a/Api/Dilon.Web.Entry/wwwroot/Captcha/Image/2.jpg b/Api/Ewide.Web.Entry/wwwroot/Captcha/Image/2.jpg similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Captcha/Image/2.jpg rename to Api/Ewide.Web.Entry/wwwroot/Captcha/Image/2.jpg diff --git a/Api/Dilon.Web.Entry/wwwroot/Captcha/Image/3.jpg b/Api/Ewide.Web.Entry/wwwroot/Captcha/Image/3.jpg similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Captcha/Image/3.jpg rename to Api/Ewide.Web.Entry/wwwroot/Captcha/Image/3.jpg diff --git a/Api/Dilon.Web.Entry/wwwroot/Captcha/Image/4.jpg b/Api/Ewide.Web.Entry/wwwroot/Captcha/Image/4.jpg similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Captcha/Image/4.jpg rename to Api/Ewide.Web.Entry/wwwroot/Captcha/Image/4.jpg diff --git a/Api/Dilon.Web.Entry/wwwroot/Captcha/Image/5.jpg b/Api/Ewide.Web.Entry/wwwroot/Captcha/Image/5.jpg similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Captcha/Image/5.jpg rename to Api/Ewide.Web.Entry/wwwroot/Captcha/Image/5.jpg diff --git a/Api/Dilon.Web.Entry/wwwroot/Captcha/Image/6.jpg b/Api/Ewide.Web.Entry/wwwroot/Captcha/Image/6.jpg similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Captcha/Image/6.jpg rename to Api/Ewide.Web.Entry/wwwroot/Captcha/Image/6.jpg diff --git a/Api/Dilon.Web.Entry/wwwroot/Captcha/Image/7.jpg b/Api/Ewide.Web.Entry/wwwroot/Captcha/Image/7.jpg similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Captcha/Image/7.jpg rename to Api/Ewide.Web.Entry/wwwroot/Captcha/Image/7.jpg diff --git a/Api/Dilon.Web.Entry/wwwroot/Captcha/Image/8.jpg b/Api/Ewide.Web.Entry/wwwroot/Captcha/Image/8.jpg similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Captcha/Image/8.jpg rename to Api/Ewide.Web.Entry/wwwroot/Captcha/Image/8.jpg diff --git a/Api/Dilon.Web.Entry/wwwroot/Template/IService.cs.vm b/Api/Ewide.Web.Entry/wwwroot/Template/IService.cs.vm similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Template/IService.cs.vm rename to Api/Ewide.Web.Entry/wwwroot/Template/IService.cs.vm diff --git a/Api/Dilon.Web.Entry/wwwroot/Template/Input.cs.vm b/Api/Ewide.Web.Entry/wwwroot/Template/Input.cs.vm similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Template/Input.cs.vm rename to Api/Ewide.Web.Entry/wwwroot/Template/Input.cs.vm diff --git a/Api/Dilon.Web.Entry/wwwroot/Template/Manage.js.vm b/Api/Ewide.Web.Entry/wwwroot/Template/Manage.js.vm similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Template/Manage.js.vm rename to Api/Ewide.Web.Entry/wwwroot/Template/Manage.js.vm diff --git a/Api/Dilon.Web.Entry/wwwroot/Template/Output.cs.vm b/Api/Ewide.Web.Entry/wwwroot/Template/Output.cs.vm similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Template/Output.cs.vm rename to Api/Ewide.Web.Entry/wwwroot/Template/Output.cs.vm diff --git a/Api/Dilon.Web.Entry/wwwroot/Template/Service.cs.vm b/Api/Ewide.Web.Entry/wwwroot/Template/Service.cs.vm similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Template/Service.cs.vm rename to Api/Ewide.Web.Entry/wwwroot/Template/Service.cs.vm diff --git a/Api/Dilon.Web.Entry/wwwroot/Template/addForm.vue.vm b/Api/Ewide.Web.Entry/wwwroot/Template/addForm.vue.vm similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Template/addForm.vue.vm rename to Api/Ewide.Web.Entry/wwwroot/Template/addForm.vue.vm diff --git a/Api/Dilon.Web.Entry/wwwroot/Template/editForm.vue.vm b/Api/Ewide.Web.Entry/wwwroot/Template/editForm.vue.vm similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Template/editForm.vue.vm rename to Api/Ewide.Web.Entry/wwwroot/Template/editForm.vue.vm diff --git a/Api/Dilon.Web.Entry/wwwroot/Template/index.vue.vm b/Api/Ewide.Web.Entry/wwwroot/Template/index.vue.vm similarity index 100% rename from Api/Dilon.Web.Entry/wwwroot/Template/index.vue.vm rename to Api/Ewide.Web.Entry/wwwroot/Template/index.vue.vm diff --git a/Api/Dilon.sln b/Api/Ewide.sln similarity index 78% rename from Api/Dilon.sln rename to Api/Ewide.sln index 86afe00..f167482 100644 --- a/Api/Dilon.sln +++ b/Api/Ewide.sln @@ -3,17 +3,17 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.30223.230 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dilon.Application", "Dilon.Application\Dilon.Application.csproj", "{AB699EE9-43A8-46F2-A855-04A26DE63372}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ewide.Application", "Ewide.Application\Ewide.Application.csproj", "{AB699EE9-43A8-46F2-A855-04A26DE63372}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dilon.EntityFramework.Core", "Dilon.EntityFramework.Core\Dilon.EntityFramework.Core.csproj", "{4BD77E5C-138D-4F2D-B709-F9020F306AF3}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ewide.EntityFramework.Core", "Ewide.EntityFramework.Core\Ewide.EntityFramework.Core.csproj", "{4BD77E5C-138D-4F2D-B709-F9020F306AF3}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dilon.Web.Core", "Dilon.Web.Core\Dilon.Web.Core.csproj", "{9D14BB78-DA2A-4040-B9DB-5A515B599181}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ewide.Web.Core", "Ewide.Web.Core\Ewide.Web.Core.csproj", "{9D14BB78-DA2A-4040-B9DB-5A515B599181}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dilon.Core", "Dilon.Core\Dilon.Core.csproj", "{4FB30091-15C7-4FD9-AB7D-266814F360F5}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ewide.Core", "Ewide.Core\Ewide.Core.csproj", "{4FB30091-15C7-4FD9-AB7D-266814F360F5}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dilon.Database.Migrations", "Dilon.Database.Migrations\Dilon.Database.Migrations.csproj", "{EA769D36-9D55-47A6-945F-1687EA95179F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ewide.Database.Migrations", "Ewide.Database.Migrations\Ewide.Database.Migrations.csproj", "{EA769D36-9D55-47A6-945F-1687EA95179F}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dilon.Web.Entry", "Dilon.Web.Entry\Dilon.Web.Entry.csproj", "{9826E365-EEE9-4721-A738-B02AB64D47E5}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ewide.Web.Entry", "Ewide.Web.Entry\Ewide.Web.Entry.csproj", "{9826E365-EEE9-4721-A738-B02AB64D47E5}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution