diff --git a/.gitignore b/.gitignore index ebe41a5..fb4ecce 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ obj/ /packages .vs Logs/ +/Api/Ewide.Web.Entry/wwwroot/Upload diff --git a/Api/Ewide.Core/Entity/SysLogOp.cs b/Api/Ewide.Core/Entity/SysLogOp.cs index e399ea8..31f4755 100644 --- a/Api/Ewide.Core/Entity/SysLogOp.cs +++ b/Api/Ewide.Core/Entity/SysLogOp.cs @@ -28,7 +28,7 @@ namespace Ewide.Core /// 是否执行成功(Y-是,N-否) /// [Comment("是否执行成功")] - public string Success { get; set; } + public bool? Success { get; set; } /// /// 具体消息 diff --git a/Api/Ewide.Core/Filter/RequestActionFilter.cs b/Api/Ewide.Core/Filter/RequestActionFilter.cs index 474d05c..7cd1b14 100644 --- a/Api/Ewide.Core/Filter/RequestActionFilter.cs +++ b/Api/Ewide.Core/Filter/RequestActionFilter.cs @@ -38,7 +38,7 @@ namespace Ewide.Core { Name = descAtt != null ? descAtt.Description : actionDescriptor.ActionName, OpType = 1, - Success = isRequestSucceed ? YesOrNot.Y.ToString() : YesOrNot.N.ToString(), + Success = isRequestSucceed, //Message = isRequestSucceed ? "成功" : "失败", Ip = httpContext.GetRemoteIpAddressToIPv4(), Location = httpRequest.GetRequestUrlAddress(), diff --git a/Api/Ewide.Core/Service/Dict/Dto/DictDataInput.cs b/Api/Ewide.Core/Service/Dict/Dto/DictDataInput.cs index 0574e5e..c0b2191 100644 --- a/Api/Ewide.Core/Service/Dict/Dto/DictDataInput.cs +++ b/Api/Ewide.Core/Service/Dict/Dto/DictDataInput.cs @@ -44,7 +44,7 @@ namespace Ewide.Core.Service /// /// 字典类型Id /// - [Required(ErrorMessage = "字典类型Id不能为空"), DataValidation(ValidationTypes.Numeric)] + [Required(ErrorMessage = "字典类型Id不能为空")] public string TypeId { get; set; } } @@ -53,7 +53,7 @@ namespace Ewide.Core.Service /// /// 字典类型Id /// - [Required(ErrorMessage = "字典类型Id不能为空"), DataValidation(ValidationTypes.Numeric)] + [Required(ErrorMessage = "字典类型Id不能为空")] public override string TypeId { get; set; } /// @@ -74,7 +74,7 @@ namespace Ewide.Core.Service /// /// 字典值Id /// - [Required(ErrorMessage = "字典值Id不能为空"), DataValidation(ValidationTypes.Numeric)] + [Required(ErrorMessage = "字典值Id不能为空")] public string Id { get; set; } } @@ -83,7 +83,7 @@ namespace Ewide.Core.Service /// /// 字典值Id /// - [Required(ErrorMessage = "字典值Id不能为空"), DataValidation(ValidationTypes.Numeric)] + [Required(ErrorMessage = "字典值Id不能为空")] public string Id { get; set; } } diff --git a/Api/Ewide.Core/Service/Dict/Dto/DictDataOutput.cs b/Api/Ewide.Core/Service/Dict/Dto/DictDataOutput.cs index 56973e2..0cdbe73 100644 --- a/Api/Ewide.Core/Service/Dict/Dto/DictDataOutput.cs +++ b/Api/Ewide.Core/Service/Dict/Dto/DictDataOutput.cs @@ -8,6 +8,6 @@ /// /// 字典Id /// - public virtual long Id { get; set; } + public virtual string Id { get; set; } } } diff --git a/Api/Ewide.Core/Service/File/SysFileService.cs b/Api/Ewide.Core/Service/File/SysFileService.cs index 8990b55..55e22fa 100644 --- a/Api/Ewide.Core/Service/File/SysFileService.cs +++ b/Api/Ewide.Core/Service/File/SysFileService.cs @@ -106,7 +106,6 @@ namespace Ewide.Core.Service /// /// [HttpGet("/sysFileInfo/preview")] - [AllowAnonymous] public async Task PreviewFileInfo([FromQuery] QueryFileInoInput input) { return await DownloadFileInfo(input); diff --git a/Api/Ewide.Core/Service/Log/Dto/OpLogInput.cs b/Api/Ewide.Core/Service/Log/Dto/OpLogInput.cs index 027b3ad..843c7cf 100644 --- a/Api/Ewide.Core/Service/Log/Dto/OpLogInput.cs +++ b/Api/Ewide.Core/Service/Log/Dto/OpLogInput.cs @@ -20,7 +20,7 @@ namespace Ewide.Core.Service /// /// 是否执行成功(Y-是,N-否) /// - public string Success { get; set; } + public bool? Success { get; set; } /// /// 具体消息 diff --git a/Api/Ewide.Core/Service/Log/SysOpLogService.cs b/Api/Ewide.Core/Service/Log/SysOpLogService.cs index 6067b6b..fdf304e 100644 --- a/Api/Ewide.Core/Service/Log/SysOpLogService.cs +++ b/Api/Ewide.Core/Service/Log/SysOpLogService.cs @@ -33,12 +33,12 @@ namespace Ewide.Core.Service public async Task QueryOpLogPageList([FromQuery] OpLogInput input) { var name = !string.IsNullOrEmpty(input.Name?.Trim()); - var success = !string.IsNullOrEmpty(input.Success?.Trim()); + var success = input.Success.HasValue; var searchBeginTime = !string.IsNullOrEmpty(input.SearchBeginTime?.Trim()); var opLogs = await _sysOpLogRep.DetachedEntities .Where((name, u => EF.Functions.Like(u.Name, $"%{input.Name.Trim()}%"))) .Where(input.OpType > 0, u => u.OpType == input.OpType) - .Where(success, u => u.Success == input.Success.Trim()) + .Where(success, u => u.Success == input.Success.Value) .Where(searchBeginTime, u => u.OpTime >= DateTime.Parse(input.SearchBeginTime.Trim()) && u.OpTime <= DateTime.Parse(input.SearchEndTime.Trim())) .OrderByDescending(u => u.Id) diff --git a/Api/Ewide.Core/Service/Org/SysOrgService.cs b/Api/Ewide.Core/Service/Org/SysOrgService.cs index 4bab9cb..298a157 100644 --- a/Api/Ewide.Core/Service/Org/SysOrgService.cs +++ b/Api/Ewide.Core/Service/Org/SysOrgService.cs @@ -211,7 +211,7 @@ namespace Ewide.Core.Service [UnitOfWork] public async Task UpdateOrg(UpdateOrgInput input) { - if (input.Pid != "0" && !string.IsNullOrEmpty(input.Pid)) + if (!input.Pid.Equals(System.Guid.Empty.ToString()) && !string.IsNullOrEmpty(input.Pid)) { var org = await _sysOrgRep.DetachedEntities.FirstOrDefaultAsync(u => u.Id == input.Pid); _ = org ?? throw Oops.Oh(ErrorCode.D2000); diff --git a/Api/Ewide.Core/Service/Role/Dto/RoleOutput.cs b/Api/Ewide.Core/Service/Role/Dto/RoleOutput.cs index 3351607..559d875 100644 --- a/Api/Ewide.Core/Service/Role/Dto/RoleOutput.cs +++ b/Api/Ewide.Core/Service/Role/Dto/RoleOutput.cs @@ -8,7 +8,7 @@ /// /// Id /// - public long Id { get; set; } + public string Id { get; set; } /// /// 编码 diff --git a/Api/Ewide.Core/Service/Timer/Dto/JobInput.cs b/Api/Ewide.Core/Service/Timer/Dto/JobInput.cs index 45d670e..5aa916a 100644 --- a/Api/Ewide.Core/Service/Timer/Dto/JobInput.cs +++ b/Api/Ewide.Core/Service/Timer/Dto/JobInput.cs @@ -93,7 +93,7 @@ namespace Ewide.Core.Service /// /// 任务Id /// - [Required(ErrorMessage = "任务Id不能为空"), DataValidation(ValidationTypes.Numeric)] + [Required(ErrorMessage = "任务Id不能为空")] public string Id { get; set; } } diff --git a/Api/Ewide.Database.Migrations/Migrations/20210426060021_Init20210426a.Designer.cs b/Api/Ewide.Database.Migrations/Migrations/20210426060021_Init20210426a.Designer.cs new file mode 100644 index 0000000..673f6f2 --- /dev/null +++ b/Api/Ewide.Database.Migrations/Migrations/20210426060021_Init20210426a.Designer.cs @@ -0,0 +1,6725 @@ +// +using System; +using Ewide.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("20210426060021_Init20210426a")] + partial class Init20210426a + { + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("Relational:MaxIdentifierLength", 64) + .HasAnnotation("ProductVersion", "5.0.5"); + + modelBuilder.Entity("Ewide.Application.CodeGenTest", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Age") + .HasColumnType("int") + .HasComment("年龄"); + + b.Property("Birthday") + .HasColumnType("datetime(6)") + .HasComment("生日"); + + b.Property("CreatedTime") + .HasColumnType("datetime(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("NickName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("昵称"); + + b.Property("UpdatedTime") + .HasColumnType("datetime(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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("Ewide.Core.Entity.AreaNumber", b => + { + b.Property("Code") + .HasMaxLength(10) + .HasColumnType("varchar(10) CHARACTER SET utf8mb4") + .HasComment("系统使用的区域代码"); + + b.Property("LevelType") + .HasColumnType("int") + .HasComment("类别"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(10) + .HasColumnType("varchar(10) CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Note") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("备注"); + + b.Property("ParentCode") + .HasMaxLength(10) + .HasColumnType("varchar(10) CHARACTER SET utf8mb4") + .HasComment("父级区域代码"); + + b.Property("ShowCode") + .HasMaxLength(10) + .HasColumnType("varchar(10) CHARACTER SET utf8mb4") + .HasComment("对外使用的区域代码"); + + b.Property("Sort") + .HasColumnType("int") + .HasComment("排序"); + + b.HasKey("Code"); + + b.ToTable("ewide_area_number"); + + b + .HasComment("区域表"); + }); + + modelBuilder.Entity("Ewide.Core.SysApp", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Active") + .HasColumnType("bit") + .HasColumnName("Active") + .HasComment("是否默认激活"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("Color") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("图标颜色"); + + b.Property("CreatedTime") + .HasColumnType("datetime(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .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("bit") + .HasColumnName("IsDeleted") + .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(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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 = "8b2aeb5e-09a6-4afd-bcae-8ee8e5a1e6ec", + Active = 0ul, + Code = "busapp", + IsDeleted = 0ul, + Name = "业务应用", + Sort = 100, + Status = 0 + }, + new + { + Id = "d781b8f1-0d08-48c8-b7a5-ed75ddfa676c", + Active = 1ul, + Code = "system", + IsDeleted = 0ul, + Name = "系统管理", + Sort = 100, + Status = 0 + }, + new + { + Id = "850ab86f-cd6a-4d49-b920-77dfa5d78813", + Active = 0ul, + Code = "system_tool", + IsDeleted = 0ul, + Name = "系统工具", + Sort = 100, + Status = 0 + }, + new + { + Id = "05a32be5-82e8-423f-affa-e17232a63ee1", + Active = 0ul, + Code = "advanced", + IsDeleted = 0ul, + Name = "高级功能", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysCodeGen", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .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(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .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("bit") + .HasColumnName("IsDeleted") + .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(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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("Ewide.Core.SysCodeGenConfig", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("CodeGenId") + .HasColumnType("varchar(36)") + .HasColumnName("CodeGenId") + .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(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .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("bit") + .HasColumnName("IsDeleted") + .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(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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("Ewide.Core.SysConfig", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .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("bit") + .HasColumnName("IsDeleted") + .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(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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 = "7c2765cd-d39b-4772-8d6c-0dbcdcfa1ff8", + Code = "DILON_JWT_SECRET", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "jwt密钥", + Remark = "(重要)jwt密钥,默认为空,自行设置", + Status = 0, + SysFlag = "Y", + Value = "xiaonuo" + }, + new + { + Id = "e3553657-14cf-4c26-ba7b-dbb4bfd4bc55", + Code = "DILON_DEFAULT_PASSWORD", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "默认密码", + Remark = "默认密码", + Status = 0, + SysFlag = "Y", + Value = "123456" + }, + new + { + Id = "2c677cd2-2a54-46c6-971d-f9fe20f101f3", + Code = "DILON_TOKEN_EXPIRE", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "token过期时间", + Remark = "token过期时间(单位:秒)", + Status = 0, + SysFlag = "Y", + Value = "86400" + }, + new + { + Id = "8938506d-2e00-44e0-8592-48453d43f9f5", + Code = "DILON_SESSION_EXPIRE", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "session会话过期时间", + Remark = "session会话过期时间(单位:秒)", + Status = 0, + SysFlag = "Y", + Value = "7200" + }, + new + { + Id = "beb2e9e7-f4d9-43b1-bfab-3557ea232f8d", + Code = "DILON_ALIYUN_SMS_ACCESSKEY_ID", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信keyId", + Remark = "阿里云短信keyId", + Status = 0, + SysFlag = "Y", + Value = "你的keyId" + }, + new + { + Id = "ead14cd0-9fd4-4fd6-b75c-239d8b2ebed8", + Code = "DILON_ALIYUN_SMS_ACCESSKEY_SECRET", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信secret", + Remark = "阿里云短信secret", + Status = 0, + SysFlag = "Y", + Value = "你的secret" + }, + new + { + Id = "beaaafc2-3fdf-42af-9b06-ead3a6dd6306", + Code = "DILON_ALIYUN_SMS_SIGN_NAME", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信签名", + Remark = "阿里云短信签名", + Status = 0, + SysFlag = "Y", + Value = "你的签名" + }, + new + { + Id = "e26a10cf-911a-4fe0-a113-76965be749a0", + Code = "DILON_ALIYUN_SMS_LOGIN_TEMPLATE_CODE", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信-登录模板号", + Remark = "阿里云短信-登录模板号", + Status = 0, + SysFlag = "Y", + Value = "SMS_1877123456" + }, + new + { + Id = "24d3f286-efca-49af-91b4-e3ce42cce36e", + Code = "DILON_ALIYUN_SMS_INVALIDATE_MINUTES", + GroupCode = "ALIYUN_SMS", + IsDeleted = 0ul, + Name = "阿里云短信默认失效时间", + Remark = "阿里云短信默认失效时间(单位:分钟)", + Status = 0, + SysFlag = "Y", + Value = "5" + }, + new + { + Id = "c6540a07-ce32-47b4-ab83-b647bdb14491", + Code = "DILON_TENCENT_SMS_SECRET_ID", + GroupCode = "TENCENT_SMS", + IsDeleted = 0ul, + Name = "腾讯云短信secretId", + Remark = "腾讯云短信secretId", + Status = 0, + SysFlag = "Y", + Value = "你的secretId" + }, + new + { + Id = "a0412212-d50b-42aa-9484-3cef8fe3cc59", + Code = "DILON_TENCENT_SMS_SECRET_KEY", + GroupCode = "TENCENT_SMS", + IsDeleted = 0ul, + Name = "腾讯云短信secretKey", + Remark = "腾讯云短信secretKey", + Status = 0, + SysFlag = "Y", + Value = "你的secretkey" + }, + new + { + Id = "c928ca11-5137-4b71-bf1c-f3bc95bcd34d", + Code = "DILON_TENCENT_SMS_SDK_APP_ID", + GroupCode = "TENCENT_SMS", + IsDeleted = 0ul, + Name = "腾讯云短信sdkAppId", + Remark = "腾讯云短信sdkAppId", + Status = 0, + SysFlag = "Y", + Value = "1400375123" + }, + new + { + Id = "16ce1b6e-c8ad-4299-9293-6caff0e5cb49", + Code = "DILON_TENCENT_SMS_SIGN", + GroupCode = "TENCENT_SMS", + IsDeleted = 0ul, + Name = "腾讯云短信签名", + Remark = "腾讯云短信签名", + Status = 0, + SysFlag = "Y", + Value = "你的签名" + }, + new + { + Id = "66e63d64-b7eb-4e6a-b5b6-c87811c2e700", + Code = "DILON_EMAIL_HOST", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱host", + Remark = "邮箱host", + Status = 0, + SysFlag = "Y", + Value = "smtp.126.com" + }, + new + { + Id = "997a9bc6-22ed-4fe6-a20c-c3c2a0b682a0", + Code = "DILON_EMAIL_USERNAME", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱用户名", + Remark = "邮箱用户名", + Status = 0, + SysFlag = "Y", + Value = "test@126.com" + }, + new + { + Id = "633d1851-41d9-4ebd-b83b-3aa4501cd1a7", + Code = "DILON_EMAIL_PASSWORD", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱密码", + Remark = "邮箱密码", + Status = 0, + SysFlag = "Y", + Value = "你的邮箱密码" + }, + new + { + Id = "67e468f7-e791-4e91-a896-62e9f7411635", + Code = "DILON_EMAIL_PORT", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱端口", + Remark = "邮箱端口", + Status = 0, + SysFlag = "Y", + Value = "465" + }, + new + { + Id = "dc462c05-de23-4f90-bcdc-88de4abcdf22", + Code = "DILON_EMAIL_SSL", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱是否开启ssl", + Remark = "邮箱是否开启ssl", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = "8beac2a0-4c67-4499-a7ce-27e989546ce9", + Code = "DILON_EMAIL_FROM", + GroupCode = "EMAIL", + IsDeleted = 0ul, + Name = "邮箱发件人", + Remark = "邮箱发件人", + Status = 0, + SysFlag = "Y", + Value = "test@126.com" + }, + new + { + Id = "55756524-ecb8-444e-9cdd-a0fc767c4b96", + Code = "DILON_FILE_UPLOAD_PATH_FOR_WINDOWS", + GroupCode = "FILE_PATH", + IsDeleted = 0ul, + Name = "Win本地上传文件路径", + Remark = "Win本地上传文件路径", + Status = 0, + SysFlag = "Y", + Value = "D:/tmp" + }, + new + { + Id = "d2db41ee-ce1f-46de-ac00-5860634afed9", + Code = "DILON_FILE_UPLOAD_PATH_FOR_LINUX", + GroupCode = "FILE_PATH", + IsDeleted = 0ul, + Name = "Linux/Mac本地上传文件路径", + Remark = "Linux/Mac本地上传文件路径", + Status = 0, + SysFlag = "Y", + Value = "/tmp" + }, + new + { + Id = "ff8debdd-eca0-4f91-8213-e2080f76b35d", + Code = "DILON_UN_XSS_FILTER_URL", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "放开XSS过滤的接口", + Remark = "多个url可以用英文逗号隔开", + Status = 0, + SysFlag = "Y", + Value = "/demo/xssfilter,/demo/unxss" + }, + new + { + Id = "5584fb84-f580-463f-b06d-bbb80a4dfb72", + Code = "DILON_ENABLE_SINGLE_LOGIN", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "单用户登陆的开关", + Remark = "true-打开,false-关闭,如果一个人登录两次,就会将上一次登陆挤下去", + Status = 0, + SysFlag = "Y", + Value = "false" + }, + new + { + Id = "53b0afb2-4917-4b85-bcca-fe7c7723ae22", + Code = "DILON_CAPTCHA_OPEN", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "登录验证码的开关", + Remark = "true-打开,false-关闭", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = "974740d8-8647-4cf8-8102-542eea53e97f", + Code = "DILON_DRUID_USERNAME", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "Druid监控登录账号", + Remark = "Druid监控登录账号", + Status = 0, + SysFlag = "Y", + Value = "superAdmin" + }, + new + { + Id = "8cee44ea-ba4c-42db-a57d-69b8b5316ca5", + Code = "DILON_DRUID_PASSWORD", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "Druid监控界面登录密码", + Remark = "Druid监控界面登录密码", + Status = 0, + SysFlag = "Y", + Value = "123456" + }, + new + { + Id = "efc235ab-9b05-4820-afe4-32a1eb59e4de", + Code = "DILON_IP_GEO_API", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "阿里云定位api接口地址", + Remark = "阿里云定位api接口地址", + Status = 0, + SysFlag = "Y", + Value = "http://api01.aliyun.venuscn.com/ip?ip=%s" + }, + new + { + Id = "d3597d8a-562a-4b24-93c7-8655c5445d74", + Code = "DILON_IP_GEO_APP_CODE", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "阿里云定位appCode", + Remark = "阿里云定位appCode", + Status = 0, + SysFlag = "Y", + Value = "461535aabeae4f34861884d392f5d452" + }, + new + { + Id = "59c8a6f2-9e3c-4e9e-b9cf-8ecad5f0cb45", + Code = "DILON_ENABLE_OAUTH_LOGIN", + GroupCode = "OAUTH", + IsDeleted = 0ul, + Name = "Oauth用户登录的开关", + Remark = "Oauth用户登录的开关", + Status = 0, + SysFlag = "Y", + Value = "true" + }, + new + { + Id = "ff502ee7-8129-4828-8d16-fb04562ef52c", + Code = "DILON_OAUTH_GITEE_CLIENT_ID", + GroupCode = "OAUTH", + IsDeleted = 0ul, + Name = "Oauth码云登录ClientId", + Remark = "Oauth码云登录ClientId", + Status = 0, + SysFlag = "Y", + Value = "你的clientId" + }, + new + { + Id = "a1d957ef-2b70-456f-8eda-b70a4cf01535", + Code = "DILON_OAUTH_GITEE_CLIENT_SECRET", + GroupCode = "OAUTH", + IsDeleted = 0ul, + Name = "Oauth码云登录ClientSecret", + Remark = "Oauth码云登录ClientSecret", + Status = 0, + SysFlag = "Y", + Value = "你的clientSecret" + }, + new + { + Id = "b32ee22b-671d-40bf-8070-32e1054fef96", + Code = "DILON_OAUTH_GITEE_REDIRECT_URI", + GroupCode = "OAUTH", + IsDeleted = 0ul, + Name = "Oauth码云登录回调地址", + Remark = "Oauth码云登录回调地址", + Status = 0, + SysFlag = "Y", + Value = "http://127.0.0.1:5566/oauth/callback/gitee" + }, + new + { + Id = "38dda85c-2a98-4768-aebd-a60ab286052c", + Code = "DILON_DEMO_ENV_FLAG", + GroupCode = "DEFAULT", + IsDeleted = 0ul, + Name = "演示环境", + Remark = "演示环境的开关,true-打开,false-关闭,如果演示环境开启,则只能读数据不能写数据", + Status = 0, + SysFlag = "Y", + Value = "false" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysDictData", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .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("varchar(36)") + .HasColumnName("TypeId") + .HasComment("字典类型Id"); + + b.Property("UpdatedTime") + .HasColumnType("datetime(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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 = "99b965d3-1f2b-4f5b-a62a-6763b8d64a64", + Code = "1", + IsDeleted = 0ul, + Remark = "通知", + Sort = 100, + Status = 0, + TypeId = "d5b311fd-4b60-4b51-9156-b0e6d6cfa4d1", + Value = "通知" + }, + new + { + Id = "2616e6c2-a504-4fc6-993e-72701b48e79a", + Code = "2", + IsDeleted = 0ul, + Remark = "公告", + Sort = 100, + Status = 0, + TypeId = "d5b311fd-4b60-4b51-9156-b0e6d6cfa4d1", + Value = "公告" + }, + new + { + Id = "40d336cd-918a-4e90-8836-cba7c1bf6cdf", + Code = "0", + IsDeleted = 0ul, + Remark = "草稿", + Sort = 100, + Status = 0, + TypeId = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Value = "草稿" + }, + new + { + Id = "f5b49fa9-31a1-44c2-9df0-b28bf5daeee0", + Code = "1", + IsDeleted = 0ul, + Remark = "发布", + Sort = 100, + Status = 0, + TypeId = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Value = "发布" + }, + new + { + Id = "d2f73bb4-05a1-4aa5-9273-e9f3c393996d", + Code = "2", + IsDeleted = 0ul, + Remark = "撤回", + Sort = 100, + Status = 0, + TypeId = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Value = "撤回" + }, + new + { + Id = "6385916f-6ead-470e-889b-cfb9d2da6256", + Code = "3", + IsDeleted = 0ul, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Value = "删除" + }, + new + { + Id = "1f432e9d-f031-4787-a527-f37bb20ebe3a", + Code = "true", + IsDeleted = 0ul, + Remark = "是", + Sort = 100, + Status = 0, + TypeId = "80aea9e7-ad1b-4f57-b4db-9d15813707bd", + Value = "是" + }, + new + { + Id = "0724636d-e870-46c6-8e1e-67f1ea5f58e5", + Code = "false", + IsDeleted = 0ul, + Remark = "否", + Sort = 100, + Status = 0, + TypeId = "80aea9e7-ad1b-4f57-b4db-9d15813707bd", + Value = "否" + }, + new + { + Id = "881ebcf2-94a6-4938-81a4-55b81736f3b3", + Code = "1", + IsDeleted = 0ul, + Remark = "下载压缩包", + Sort = 100, + Status = 0, + TypeId = "430d0538-054a-4b37-a459-1095d0ccf4ae", + Value = "下载压缩包" + }, + new + { + Id = "5bc8662d-b795-48f1-a88e-2f4be5279d37", + Code = "2", + IsDeleted = 0ul, + Remark = "生成到本项目", + Sort = 100, + Status = 0, + TypeId = "430d0538-054a-4b37-a459-1095d0ccf4ae", + Value = "生成到本项目" + }, + new + { + Id = "b2a00b40-23e1-40e1-8995-60ab420eafe1", + Code = "1", + IsDeleted = 0ul, + Remark = "GET", + Sort = 100, + Status = 0, + TypeId = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Value = "GET" + }, + new + { + Id = "10070836-0c89-4b89-96e3-c65c7e33a86c", + Code = "2", + IsDeleted = 0ul, + Remark = "POST", + Sort = 100, + Status = 0, + TypeId = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Value = "POST" + }, + new + { + Id = "69a34c0b-85ce-4e53-9ad4-a592057dddd4", + Code = "3", + IsDeleted = 0ul, + Remark = "PUT", + Sort = 100, + Status = 0, + TypeId = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Value = "PUT" + }, + new + { + Id = "0e4dc1f1-8654-401b-800a-22b31f62ced1", + Code = "4", + IsDeleted = 0ul, + Remark = "DELETE", + Sort = 100, + Status = 0, + TypeId = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Value = "DELETE" + }, + new + { + Id = "443f965e-96b4-4fd2-93e9-07fe00a47205", + Code = "input", + IsDeleted = 0ul, + Remark = "输入框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "输入框" + }, + new + { + Id = "bf7be9a2-53fb-4250-87fe-49d7f741d159", + Code = "datepicker", + IsDeleted = 0ul, + Remark = "时间选择", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "时间选择" + }, + new + { + Id = "cea10919-47e2-43ab-a19b-9d41fe648310", + Code = "select", + IsDeleted = 0ul, + Remark = "下拉框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "下拉框" + }, + new + { + Id = "7d534f44-cf66-472e-b0d3-20a4cc2ad432", + Code = "radio", + IsDeleted = 0ul, + Remark = "单选框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "单选框" + }, + new + { + Id = "d63b06d4-be11-4ab7-9905-87f6f2ca056f", + Code = "switch", + IsDeleted = 0ul, + Remark = "开关", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "开关" + }, + new + { + Id = "46967f62-bac9-47fd-9278-b29c047b0c38", + Code = "checkbox", + IsDeleted = 0ul, + Remark = "多选框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "多选框" + }, + new + { + Id = "a8ac5009-93d3-4405-a6b9-81ed3e2811f2", + Code = "inputnumber", + IsDeleted = 0ul, + Remark = "数字输入框", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "数字输入框" + }, + new + { + Id = "d00b3efa-2f9d-464c-8134-aa7013ef52bb", + Code = "textarea", + IsDeleted = 0ul, + Remark = "文本域", + Sort = 100, + Status = 0, + TypeId = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Value = "文本域" + }, + new + { + Id = "ad759239-e34e-4fdf-a0d0-6b39eb41f880", + Code = "==", + IsDeleted = 0ul, + Remark = "等于", + Sort = 1, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "等于" + }, + new + { + Id = "2c8e1240-f3ef-4df1-bd68-3047109ad5b4", + Code = "like", + IsDeleted = 0ul, + Remark = "模糊", + Sort = 2, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "模糊" + }, + new + { + Id = "efc18513-c17b-4fc1-8e0e-2e79fb9b0107", + Code = ">", + IsDeleted = 0ul, + Remark = "大于", + Sort = 3, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "大于" + }, + new + { + Id = "a6812d98-7785-4db2-b2f8-d476a459c5ed", + Code = "<", + IsDeleted = 0ul, + Remark = "小于", + Sort = 4, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "小于" + }, + new + { + Id = "218b5bac-343e-4594-a9da-30e391c7735c", + Code = "!=", + IsDeleted = 0ul, + Remark = "不等于", + Sort = 5, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "不等于" + }, + new + { + Id = "4825f15d-077b-4c16-8ee7-0205d653e14d", + Code = ">=", + IsDeleted = 0ul, + Remark = "大于等于", + Sort = 6, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "大于等于" + }, + new + { + Id = "7c9e8270-db5a-45b7-acd7-f95c8ee31547", + Code = "<=", + IsDeleted = 0ul, + Remark = "小于等于", + Sort = 7, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "小于等于" + }, + new + { + Id = "759ea7de-a18f-4ed7-9032-bbd1a4dadc9e", + Code = "isNotNull", + IsDeleted = 0ul, + Remark = "不为空", + Sort = 8, + Status = 0, + TypeId = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Value = "不为空" + }, + new + { + Id = "a5cdf75e-6361-490d-a043-f5929ccf65a9", + Code = "int", + IsDeleted = 0ul, + Remark = "int", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "int" + }, + new + { + Id = "cffdd4b5-d4e0-4196-81b9-02045de8b189", + Code = "long", + IsDeleted = 0ul, + Remark = "long", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "long" + }, + new + { + Id = "25be90ea-b439-4e9d-993c-48a5ce3b9358", + Code = "string", + IsDeleted = 0ul, + Remark = "string", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "string" + }, + new + { + Id = "496eef62-3849-4263-b274-a3e6090942e3", + Code = "bool", + IsDeleted = 0ul, + Remark = "bool", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "bool" + }, + new + { + Id = "681c02ea-7570-4a97-85a7-957a77314df6", + Code = "double", + IsDeleted = 0ul, + Remark = "double", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "double" + }, + new + { + Id = "259698cf-b25d-427a-8d22-33b9c1899eea", + Code = "DateTime", + IsDeleted = 0ul, + Remark = "DateTime", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "DateTime" + }, + new + { + Id = "a30c682e-744a-468d-a74f-827928c96c01", + Code = "float", + IsDeleted = 0ul, + Remark = "float", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "float" + }, + new + { + Id = "4b68cb83-f173-4864-bd10-a7a7d5248102", + Code = "decimal", + IsDeleted = 0ul, + Remark = "decimal", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "decimal" + }, + new + { + Id = "134d4173-8d93-4c19-bf6b-a640d35da097", + Code = "Guid", + IsDeleted = 0ul, + Remark = "Guid", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "Guid" + }, + new + { + Id = "c597306f-5fd0-4f75-9a46-12de340cd199", + Code = "DateTimeOffset", + IsDeleted = 0ul, + Remark = "DateTimeOffset", + Sort = 100, + Status = 0, + TypeId = "28f653d4-e573-4f54-8e5c-4e308780145a", + Value = "DateTimeOffset" + }, + new + { + Id = "9b44b297-f6f0-4c31-b680-83baabf4c5b7", + Code = "1", + IsDeleted = 0ul, + Remark = "男性", + Sort = 100, + Status = 0, + TypeId = "301ed120-dfc5-4d7c-af59-b56a519581c9", + Value = "男" + }, + new + { + Id = "46ba4c21-cbde-4561-8e57-19ed0f752c17", + Code = "2", + IsDeleted = 0ul, + Remark = "女性", + Sort = 100, + Status = 0, + TypeId = "301ed120-dfc5-4d7c-af59-b56a519581c9", + Value = "女" + }, + new + { + Id = "150e04a6-3bf5-4604-98d5-14fbd1608bc5", + Code = "3", + IsDeleted = 0ul, + Remark = "未知性别", + Sort = 100, + Status = 0, + TypeId = "301ed120-dfc5-4d7c-af59-b56a519581c9", + Value = "未知" + }, + new + { + Id = "b6ad194b-ccfb-4ee7-b402-7b78e8bb8680", + Code = "DEFAULT", + IsDeleted = 0ul, + Remark = "默认常量,都以XIAONUO_开头的", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "默认常量" + }, + new + { + Id = "e2271e0a-17a3-41f3-81fa-dbe895ce0466", + Code = "ALIYUN_SMS", + IsDeleted = 0ul, + Remark = "阿里云短信配置", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "阿里云短信" + }, + new + { + Id = "5e61f455-1975-438b-bd17-85a1f89abe84", + Code = "TENCENT_SMS", + IsDeleted = 0ul, + Remark = "腾讯云短信", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "腾讯云短信" + }, + new + { + Id = "9cba05e7-495a-43fb-b86b-fa459da5b04d", + Code = "EMAIL", + IsDeleted = 0ul, + Remark = "邮件配置", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "邮件配置" + }, + new + { + Id = "81d87a9c-a4ee-46dc-be69-71dcccb14d9d", + Code = "FILE_PATH", + IsDeleted = 0ul, + Remark = "文件上传路径", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "文件上传路径" + }, + new + { + Id = "fdf38fa8-3d1e-4a43-84bc-785c0a394160", + Code = "OAUTH", + IsDeleted = 0ul, + Remark = "Oauth配置", + Sort = 100, + Status = 0, + TypeId = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Value = "Oauth配置" + }, + new + { + Id = "e3c9ebce-bdae-45a3-92b1-fc2e35a23242", + Code = "0", + IsDeleted = 0ul, + Remark = "正常", + Sort = 100, + Status = 0, + TypeId = "b0cfa91c-1189-4f39-bc5a-f035885d0604", + Value = "正常" + }, + new + { + Id = "22492650-a92b-43f0-9954-3d3891ec6e45", + Code = "1", + IsDeleted = 0ul, + Remark = "停用", + Sort = 100, + Status = 0, + TypeId = "b0cfa91c-1189-4f39-bc5a-f035885d0604", + Value = "停用" + }, + new + { + Id = "297030a2-88d9-4646-b7c1-a17c9a8c0b98", + Code = "2", + IsDeleted = 0ul, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = "b0cfa91c-1189-4f39-bc5a-f035885d0604", + Value = "删除" + }, + new + { + Id = "1159fc34-ef51-4e0f-b55b-0220d2445a1e", + Code = "N", + IsDeleted = 0ul, + Remark = "否", + Sort = 100, + Status = 0, + TypeId = "f2f0e8bf-04da-4a2f-9fb8-1d6549227302", + Value = "否" + }, + new + { + Id = "7d3115a8-938a-4d09-a2c9-21ad65b8b65a", + Code = "Y", + IsDeleted = 0ul, + Remark = "是", + Sort = 100, + Status = 0, + TypeId = "f2f0e8bf-04da-4a2f-9fb8-1d6549227302", + Value = "是" + }, + new + { + Id = "8204daac-b2ea-41f6-ab52-ef299a05fd94", + Code = "1", + IsDeleted = 0ul, + Remark = "登录", + Sort = 100, + Status = 0, + TypeId = "2cecf329-cf95-44eb-a8d7-3fb77b13e093", + Value = "登录" + }, + new + { + Id = "934099f4-c1a6-4f63-8cff-a42356369dd9", + Code = "2", + IsDeleted = 0ul, + Remark = "登出", + Sort = 100, + Status = 0, + TypeId = "2cecf329-cf95-44eb-a8d7-3fb77b13e093", + Value = "登出" + }, + new + { + Id = "a8cd8263-4397-4d68-91db-d92330c67632", + Code = "0", + IsDeleted = 0ul, + Remark = "目录", + Sort = 100, + Status = 0, + TypeId = "e973d383-c28e-42e0-9e23-5f2bd592fef5", + Value = "目录" + }, + new + { + Id = "bb082602-57ea-4941-b68b-64460e7f63b6", + Code = "1", + IsDeleted = 0ul, + Remark = "菜单", + Sort = 100, + Status = 0, + TypeId = "e973d383-c28e-42e0-9e23-5f2bd592fef5", + Value = "菜单" + }, + new + { + Id = "a4cba529-769a-4309-add6-b15b25ebf05a", + Code = "2", + IsDeleted = 0ul, + Remark = "按钮", + Sort = 100, + Status = 0, + TypeId = "e973d383-c28e-42e0-9e23-5f2bd592fef5", + Value = "按钮" + }, + new + { + Id = "7ec98dee-8dc9-47fe-9276-f3312ed5dd24", + Code = "0", + IsDeleted = 0ul, + Remark = "未发送", + Sort = 100, + Status = 0, + TypeId = "058db370-3718-42c3-8ba7-095341b1fe13", + Value = "未发送" + }, + new + { + Id = "83cf4407-dbe1-4da2-883d-a3e16a780f37", + Code = "1", + IsDeleted = 0ul, + Remark = "发送成功", + Sort = 100, + Status = 0, + TypeId = "058db370-3718-42c3-8ba7-095341b1fe13", + Value = "发送成功" + }, + new + { + Id = "e1e71562-015e-466b-b98b-29f4b8966bce", + Code = "2", + IsDeleted = 0ul, + Remark = "发送失败", + Sort = 100, + Status = 0, + TypeId = "058db370-3718-42c3-8ba7-095341b1fe13", + Value = "发送失败" + }, + new + { + Id = "13e71f10-539b-4016-9acf-e3541c0f04db", + Code = "3", + IsDeleted = 0ul, + Remark = "失效", + Sort = 100, + Status = 0, + TypeId = "058db370-3718-42c3-8ba7-095341b1fe13", + Value = "失效" + }, + new + { + Id = "f965b257-b2ff-4a18-9084-6e805547e9e6", + Code = "0", + IsDeleted = 0ul, + Remark = "无", + Sort = 100, + Status = 0, + TypeId = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Value = "无" + }, + new + { + Id = "75c40b12-07d1-4828-9b6c-132f4bca194c", + Code = "1", + IsDeleted = 0ul, + Remark = "组件", + Sort = 100, + Status = 0, + TypeId = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Value = "组件" + }, + new + { + Id = "be3197fd-2fba-4e79-b252-793f05e51a21", + Code = "2", + IsDeleted = 0ul, + Remark = "内链", + Sort = 100, + Status = 0, + TypeId = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Value = "内链" + }, + new + { + Id = "2a10adc6-b286-4fad-9719-7e7321c7a93e", + Code = "3", + IsDeleted = 0ul, + Remark = "外链", + Sort = 100, + Status = 0, + TypeId = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Value = "外链" + }, + new + { + Id = "d3984ed0-29d5-416e-87c6-75364010677b", + Code = "1", + IsDeleted = 0ul, + Remark = "系统权重", + Sort = 100, + Status = 0, + TypeId = "b3235678-f7fe-442b-8fba-e792a89b78f2", + Value = "系统权重" + }, + new + { + Id = "f4771570-e4a5-416f-b82f-1e3082c35ee8", + Code = "2", + IsDeleted = 0ul, + Remark = "业务权重", + Sort = 100, + Status = 0, + TypeId = "b3235678-f7fe-442b-8fba-e792a89b78f2", + Value = "业务权重" + }, + new + { + Id = "a2d6bdfe-ee61-4425-94c9-7ece3de080fa", + Code = "1", + IsDeleted = 0ul, + Remark = "全部数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "全部数据" + }, + new + { + Id = "d0b25877-165e-41b8-9034-7a8fea7e5776", + Code = "2", + IsDeleted = 0ul, + Remark = "本部门及以下数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "本部门及以下数据" + }, + new + { + Id = "375362c8-d694-40d9-8c55-07669e472460", + Code = "3", + IsDeleted = 0ul, + Remark = "本部门数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "本部门数据" + }, + new + { + Id = "70afe4c1-3495-483a-bdd0-3d4ea45136b3", + Code = "4", + IsDeleted = 0ul, + Remark = "仅本人数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "仅本人数据" + }, + new + { + Id = "6f395e69-8add-40ae-a378-0881d64a4413", + Code = "5", + IsDeleted = 0ul, + Remark = "自定义数据", + Sort = 100, + Status = 0, + TypeId = "a2068ed1-62a6-463c-b720-06111d994079", + Value = "自定义数据" + }, + new + { + Id = "a819d549-6107-43a2-99d2-377cf0a5681a", + Code = "1", + IsDeleted = 0ul, + Remark = "app", + Sort = 100, + Status = 0, + TypeId = "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", + Value = "app" + }, + new + { + Id = "b1e821b3-4e7b-4e60-a67f-a40d327ab6d6", + Code = "2", + IsDeleted = 0ul, + Remark = "pc", + Sort = 100, + Status = 0, + TypeId = "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", + Value = "pc" + }, + new + { + Id = "2bce5da0-b386-4412-935d-d081b7cf4391", + Code = "3", + IsDeleted = 0ul, + Remark = "其他", + Sort = 100, + Status = 0, + TypeId = "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", + Value = "其他" + }, + new + { + Id = "35aac71b-9939-4b2e-8533-d087618c1dca", + Code = "0", + IsDeleted = 0ul, + Remark = "其它", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "其它" + }, + new + { + Id = "e7585292-d6c6-475f-bf87-8ad473ce6be4", + Code = "1", + IsDeleted = 0ul, + Remark = "增加", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "增加" + }, + new + { + Id = "387d403c-6af3-4bda-af05-d60472823480", + Code = "2", + IsDeleted = 0ul, + Remark = "删除", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "删除" + }, + new + { + Id = "4656bf7b-df6a-4c71-b963-18d8af3f93a7", + Code = "3", + IsDeleted = 0ul, + Remark = "编辑", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "编辑" + }, + new + { + Id = "9edba767-7008-4623-8dbf-75417f1a0c82", + Code = "4", + IsDeleted = 0ul, + Remark = "更新", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "更新" + }, + new + { + Id = "d1334517-ddfa-47f3-b053-88ea999babc7", + Code = "5", + IsDeleted = 0ul, + Remark = "查询", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "查询" + }, + new + { + Id = "fe6e46ee-208b-446f-8aaa-05bd5eaa459b", + Code = "6", + IsDeleted = 0ul, + Remark = "详情", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "详情" + }, + new + { + Id = "bf8f818f-060b-4815-8fe9-11bb356cb2e6", + Code = "7", + IsDeleted = 0ul, + Remark = "树", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "树" + }, + new + { + Id = "2b9cf0b8-74ba-4b36-8504-275a2387729a", + Code = "8", + IsDeleted = 0ul, + Remark = "导入", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "导入" + }, + new + { + Id = "db13458a-22b4-4f5e-b6f9-c3c9e1400909", + Code = "9", + IsDeleted = 0ul, + Remark = "导出", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "导出" + }, + new + { + Id = "e02d9274-aa68-4e2c-9211-b226f1e6423e", + Code = "10", + IsDeleted = 0ul, + Remark = "授权", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "授权" + }, + new + { + Id = "023244cd-eb32-4a19-bb3c-97301be1e769", + Code = "11", + IsDeleted = 0ul, + Remark = "强退", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "强退" + }, + new + { + Id = "beb773cd-a22a-44e2-ac4b-5ab6f21aa3c4", + Code = "12", + IsDeleted = 0ul, + Remark = "清空", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "清空" + }, + new + { + Id = "b6f55ff4-6b6a-452a-b372-32ac2f1f2b30", + Code = "13", + IsDeleted = 0ul, + Remark = "修改状态", + Sort = 100, + Status = 0, + TypeId = "8461bd1d-311b-487e-b579-d6049c6fb191", + Value = "修改状态" + }, + new + { + Id = "f86e19a0-8ba8-4588-91f6-be2af525f490", + Code = "1", + IsDeleted = 0ul, + Remark = "阿里云", + Sort = 100, + Status = 0, + TypeId = "b924e0c1-3f23-4e37-9f27-90e945381304", + Value = "阿里云" + }, + new + { + Id = "91c522b5-4f6f-48a5-ba79-962d56821bdc", + Code = "2", + IsDeleted = 0ul, + Remark = "腾讯云", + Sort = 100, + Status = 0, + TypeId = "b924e0c1-3f23-4e37-9f27-90e945381304", + Value = "腾讯云" + }, + new + { + Id = "cc64be62-3213-4442-a98a-c508bc35104b", + Code = "3", + IsDeleted = 0ul, + Remark = "minio", + Sort = 100, + Status = 0, + TypeId = "b924e0c1-3f23-4e37-9f27-90e945381304", + Value = "minio" + }, + new + { + Id = "cdc4a9ee-7436-4807-87cd-4350a72745b0", + Code = "4", + IsDeleted = 0ul, + Remark = "本地", + Sort = 100, + Status = 0, + TypeId = "b924e0c1-3f23-4e37-9f27-90e945381304", + Value = "本地" + }, + new + { + Id = "76e885e8-1b40-45b6-bb0f-5519c6839df2", + Code = "1", + IsDeleted = 0ul, + Remark = "运行", + Sort = 100, + Status = 0, + TypeId = "0f1b8660-d932-4a53-a681-a38bebae91e0", + Value = "运行" + }, + new + { + Id = "6e3591ec-2902-4bf3-b5a2-7ebc94ebc08f", + Code = "2", + IsDeleted = 0ul, + Remark = "停止", + Sort = 100, + Status = 0, + TypeId = "0f1b8660-d932-4a53-a681-a38bebae91e0", + Value = "停止" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysDictType", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .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(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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 = "b0cfa91c-1189-4f39-bc5a-f035885d0604", + Code = "common_status", + IsDeleted = 0ul, + Name = "通用状态", + Remark = "通用状态", + Sort = 100, + Status = 0 + }, + new + { + Id = "301ed120-dfc5-4d7c-af59-b56a519581c9", + Code = "sex", + IsDeleted = 0ul, + Name = "性别", + Remark = "性别字典", + Sort = 100, + Status = 0 + }, + new + { + Id = "64afb5e7-9f00-4c4f-9ba6-6b41221bd862", + Code = "consts_type", + IsDeleted = 0ul, + Name = "常量的分类", + Remark = "常量的分类,用于区别一组配置", + Sort = 100, + Status = 0 + }, + new + { + Id = "f2f0e8bf-04da-4a2f-9fb8-1d6549227302", + Code = "yes_or_no", + IsDeleted = 0ul, + Name = "是否", + Remark = "是否", + Sort = 100, + Status = 0 + }, + new + { + Id = "2cecf329-cf95-44eb-a8d7-3fb77b13e093", + Code = "vis_type", + IsDeleted = 0ul, + Name = "访问类型", + Remark = "访问类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "e973d383-c28e-42e0-9e23-5f2bd592fef5", + Code = "menu_type", + IsDeleted = 0ul, + Name = "菜单类型", + Remark = "菜单类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "058db370-3718-42c3-8ba7-095341b1fe13", + Code = "send_type", + IsDeleted = 0ul, + Name = "发送类型", + Remark = "发送类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "ff6202cb-25ce-4ab9-9c39-910c418b1d2d", + Code = "open_type", + IsDeleted = 0ul, + Name = "打开方式", + Remark = "打开方式", + Sort = 100, + Status = 0 + }, + new + { + Id = "b3235678-f7fe-442b-8fba-e792a89b78f2", + Code = "menu_weight", + IsDeleted = 0ul, + Name = "菜单权重", + Remark = "菜单权重", + Sort = 100, + Status = 0 + }, + new + { + Id = "a2068ed1-62a6-463c-b720-06111d994079", + Code = "data_scope_type", + IsDeleted = 0ul, + Name = "数据范围类型", + Remark = "数据范围类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "688f9a69-ec95-46f4-87bb-e19e3cc5c7fc", + Code = "sms_send_source", + IsDeleted = 0ul, + Name = "短信发送来源", + Remark = "短信发送来源", + Sort = 100, + Status = 0 + }, + new + { + Id = "8461bd1d-311b-487e-b579-d6049c6fb191", + Code = "op_type", + IsDeleted = 0ul, + Name = "操作类型", + Remark = "操作类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "b924e0c1-3f23-4e37-9f27-90e945381304", + Code = "file_storage_location", + IsDeleted = 0ul, + Name = "文件存储位置", + Remark = "文件存储位置", + Sort = 100, + Status = 0 + }, + new + { + Id = "0f1b8660-d932-4a53-a681-a38bebae91e0", + Code = "run_status", + IsDeleted = 0ul, + Name = "运行状态", + Remark = "定时任务运行状态", + Sort = 100, + Status = 0 + }, + new + { + Id = "d5b311fd-4b60-4b51-9156-b0e6d6cfa4d1", + Code = "notice_type", + IsDeleted = 0ul, + Name = "通知公告类型", + Remark = "通知公告类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "b30937e6-03cd-4d98-a413-10b06d605e5a", + Code = "notice_status", + IsDeleted = 0ul, + Name = "通知公告状态", + Remark = "通知公告状态", + Sort = 100, + Status = 0 + }, + new + { + Id = "80aea9e7-ad1b-4f57-b4db-9d15813707bd", + Code = "yes_true_false", + IsDeleted = 0ul, + Name = "是否boolean", + Remark = "是否boolean", + Sort = 100, + Status = 0 + }, + new + { + Id = "430d0538-054a-4b37-a459-1095d0ccf4ae", + Code = "code_gen_create_type", + IsDeleted = 0ul, + Name = "代码生成方式", + Remark = "代码生成方式", + Sort = 100, + Status = 0 + }, + new + { + Id = "bc0dc25b-b85e-4dd1-8368-e014fe1bf30b", + Code = "request_type", + IsDeleted = 0ul, + Name = "请求方式", + Remark = "请求方式", + Sort = 100, + Status = 0 + }, + new + { + Id = "5bdf9b7a-a483-4b61-8e22-e2b25b255b91", + Code = "code_gen_effect_type", + IsDeleted = 0ul, + Name = "代码生成作用类型", + Remark = "代码生成作用类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "41bc31f6-cef5-400d-b03a-bf51d27b2432", + Code = "code_gen_query_type", + IsDeleted = 0ul, + Name = "代码生成查询类型", + Remark = "代码生成查询类型", + Sort = 100, + Status = 0 + }, + new + { + Id = "28f653d4-e573-4f54-8e5c-4e308780145a", + Code = "code_gen_net_type", + IsDeleted = 0ul, + Name = "代码生成.NET类型", + Remark = "代码生成.NET类型", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysEmp", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("用户Id"); + + b.Property("JobNum") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("工号"); + + b.Property("OrgId") + .HasColumnType("varchar(36)") + .HasColumnName("OrgId") + .HasComment("机构Id"); + + b.Property("OrgName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("机构名称"); + + b.HasKey("Id"); + + b.ToTable("sys_emp"); + + b + .HasComment("员工表"); + + b.HasData( + new + { + Id = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + JobNum = "D1001", + OrgId = "12d888de-f55d-4c88-b0a0-7c3510664d97", + OrgName = "华夏集团" + }, + new + { + Id = "5398fb9a-2209-4ce7-a2c1-b6a983e502b5", + JobNum = "D1002", + OrgId = "12d888de-f55d-4c88-b0a0-7c3510664d97", + OrgName = "华夏集团" + }, + new + { + Id = "16a74726-e156-499f-9942-0e0e24ad0c3f", + JobNum = "D1003", + OrgId = "12d888de-f55d-4c88-b0a0-7c3510664d97", + OrgName = "华夏集团" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysEmpExtOrgPos", b => + { + b.Property("SysEmpId") + .HasColumnType("varchar(36)") + .HasColumnName("SysEmpId") + .HasComment("员工Id"); + + b.Property("SysOrgId") + .HasColumnType("varchar(36)") + .HasColumnName("SysOrgId") + .HasComment("机构Id"); + + b.Property("SysPosId") + .HasColumnType("varchar(36)") + .HasColumnName("SysPosId") + .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 = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysOrgId = "12d888de-f55d-4c88-b0a0-7c3510664d97", + SysPosId = "269236c4-d74e-4e54-9d50-f6f61580a197" + }, + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysOrgId = "8a2271d6-5bda-4544-bdd3-27e53a8b418e", + SysPosId = "46c68a62-f119-4ff7-b621-0bbd77504538" + }, + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysOrgId = "127c0a5d-43ac-4370-b313-082361885aca", + SysPosId = "5bd8c466-2bca-4386-a551-daac78e3cee8" + }, + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysOrgId = "f236ab2d-e1b5-4e9d-844f-a59ec32c20e4", + SysPosId = "d89a3afe-e6ba-4018-bdae-3c98bb47ad66" + }, + new + { + SysEmpId = "16a74726-e156-499f-9942-0e0e24ad0c3f", + SysOrgId = "f236ab2d-e1b5-4e9d-844f-a59ec32c20e4", + SysPosId = "269236c4-d74e-4e54-9d50-f6f61580a197" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysEmpPos", b => + { + b.Property("SysEmpId") + .HasColumnType("varchar(36)") + .HasColumnName("SysEmpId") + .HasComment("员工Id"); + + b.Property("SysPosId") + .HasColumnType("varchar(36)") + .HasColumnName("SysPosId") + .HasComment("职位Id"); + + b.HasKey("SysEmpId", "SysPosId"); + + b.HasIndex("SysPosId"); + + b.ToTable("sys_emp_pos"); + + b + .HasComment("员工职位表"); + + b.HasData( + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysPosId = "269236c4-d74e-4e54-9d50-f6f61580a197" + }, + new + { + SysEmpId = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + SysPosId = "46c68a62-f119-4ff7-b621-0bbd77504538" + }, + new + { + SysEmpId = "5398fb9a-2209-4ce7-a2c1-b6a983e502b5", + SysPosId = "5bd8c466-2bca-4386-a551-daac78e3cee8" + }, + new + { + SysEmpId = "16a74726-e156-499f-9942-0e0e24ad0c3f", + SysPosId = "269236c4-d74e-4e54-9d50-f6f61580a197" + }); + }); + + modelBuilder.Entity("Ewide.Core.SysFile", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("CreatedTime") + .HasColumnType("datetime(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .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("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("UpdatedTime") + .HasColumnType("datetime(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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("Ewide.Core.SysLogAudit", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + b.Property("ColumnName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("列名"); + + b.Property("CreatedTime") + .HasColumnType("datetime(6)") + .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("varchar(36)") + .HasColumnName("UserId") + .HasComment("操作人Id"); + + b.Property("UserName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("操作人名称"); + + b.HasKey("Id"); + + b.ToTable("sys_log_audit"); + + b + .HasComment("审计日志表"); + }); + + modelBuilder.Entity("Ewide.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(6)") + .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("tinyint(1)") + .HasComment("是否执行成功"); + + b.Property("Url") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("请求地址"); + + b.HasKey("Id"); + + b.ToTable("sys_log_op"); + + b + .HasComment("操作日志表"); + }); + + modelBuilder.Entity("Ewide.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("tinyint(1)") + .HasComment("是否执行成功"); + + b.Property("VisTime") + .HasColumnType("datetime(6)") + .HasComment("访问时间"); + + b.Property("VisType") + .HasColumnType("int") + .HasComment("访问类型"); + + b.HasKey("Id"); + + b.ToTable("sys_log_vis"); + + b + .HasComment("访问日志表"); + }); + + modelBuilder.Entity("Ewide.Core.SysMenu", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .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(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .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("bit") + .HasColumnName("IsDeleted") + .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("varchar(36)") + .HasColumnName("Pid") + .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(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .HasComment("修改者Id"); + + b.Property("UpdatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("修改者名称"); + + b.Property("Visible") + .HasColumnType("bit") + .HasColumnName("Visible") + .HasComment("是否可见"); + + b.Property("Weight") + .HasColumnType("int") + .HasComment("权重"); + + b.HasKey("Id"); + + b.ToTable("sys_menu"); + + b + .HasComment("菜单表"); + + b.HasData( + new + { + Id = "83ce02c9-b37f-4885-96e3-9b34371edb2e", + Application = "system", + Code = "system_index", + Component = "RouteView", + Icon = "home", + IsDeleted = 0ul, + Name = "主控面板", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Redirect = "/analysis", + Router = "/", + Sort = 1, + Status = 0, + Type = 0, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "914a520d-9e4f-465b-ae05-7248b37d4be1", + Application = "system", + Code = "system_index_dashboard", + Component = "system/dashboard/Analysis", + IsDeleted = 0ul, + Name = "分析页", + OpenType = 0, + Pid = "83ce02c9-b37f-4885-96e3-9b34371edb2e", + Pids = "[00000000-0000-0000-0000-000000000000],[83ce02c9-b37f-4885-96e3-9b34371edb2e],", + Router = "analysis", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "72981ad9-9036-4aa7-b8f4-dc407eda50b4", + Application = "system", + Code = "system_index_workplace", + Component = "system/dashboard/Workplace", + IsDeleted = 0ul, + Name = "工作台", + OpenType = 0, + Pid = "83ce02c9-b37f-4885-96e3-9b34371edb2e", + Pids = "[00000000-0000-0000-0000-000000000000],[83ce02c9-b37f-4885-96e3-9b34371edb2e],", + Router = "workplace", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", + Application = "system", + Code = "sys_mgr", + Component = "PageView", + Icon = "team", + IsDeleted = 0ul, + Name = "组织架构", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/sys", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Application = "system", + Code = "sys_user_mgr", + Component = "system/user/index", + IsDeleted = 0ul, + Name = "用户管理", + OpenType = 1, + Pid = "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],", + Router = "/mgr_user", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "bff7e542-6463-4f82-a03d-b1022e60d4b6", + Application = "system", + Code = "sys_user_mgr_page", + IsDeleted = 0ul, + Name = "用户查询", + OpenType = 0, + Permission = "sysUser:page", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "936440c7-93ef-4d2f-adff-6151f4317355", + Application = "system", + Code = "sys_user_mgr_edit", + IsDeleted = 0ul, + Name = "用户编辑", + OpenType = 0, + Permission = "sysUser:edit", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "281888e3-d183-4711-ba27-298ef6e64659", + Application = "system", + Code = "sys_user_mgr_add", + IsDeleted = 0ul, + Name = "用户增加", + OpenType = 0, + Permission = "sysUser:add", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "e4aff800-d34a-416b-bd6e-dcebaa1dd436", + Application = "system", + Code = "sys_user_mgr_delete", + IsDeleted = 0ul, + Name = "用户删除", + OpenType = 0, + Permission = "sysUser:delete", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "7a266494-e17b-480d-8f50-cc234e6fe424", + Application = "system", + Code = "sys_user_mgr_detail", + IsDeleted = 0ul, + Name = "用户详情", + OpenType = 0, + Permission = "sysUser:detail", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "0d93f763-20d3-4c95-add3-3d94770b110e", + Application = "system", + Code = "sys_user_mgr_export", + IsDeleted = 0ul, + Name = "用户导出", + OpenType = 0, + Permission = "sysUser:export", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "17d047c3-6e95-4f7d-93db-97817d886fa2", + Application = "system", + Code = "sys_user_mgr_selector", + IsDeleted = 0ul, + Name = "用户选择器", + OpenType = 0, + Permission = "sysUser:selector", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "5fc44256-2e56-4805-9382-b5504ca5b6cb", + Application = "system", + Code = "sys_user_mgr_grant_role", + IsDeleted = 0ul, + Name = "用户授权角色", + OpenType = 0, + Permission = "sysUser:grantRole", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "ceff7899-6779-4708-b9ed-a2d5b488cff2", + Application = "system", + Code = "sys_user_mgr_own_role", + IsDeleted = 0ul, + Name = "用户拥有角色", + OpenType = 0, + Permission = "sysUser:ownRole", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "38ba9ccc-eb96-4a60-a5ab-f6ea013f8291", + Application = "system", + Code = "sys_user_mgr_grant_data", + IsDeleted = 0ul, + Name = "用户授权数据", + OpenType = 0, + Permission = "sysUser:grantData", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "cf2f8faf-b280-456c-8865-64115e04019f", + Application = "system", + Code = "sys_user_mgr_own_data", + IsDeleted = 0ul, + Name = "用户拥有数据", + OpenType = 0, + Permission = "sysUser:ownData", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "711563e5-fed6-44d6-bcf3-138c73cfbfca", + Application = "system", + Code = "sys_user_mgr_update_info", + IsDeleted = 0ul, + Name = "用户更新信息", + OpenType = 0, + Permission = "sysUser:updateInfo", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "306fe9bf-3132-4011-9f3f-1a2f4ead7734", + Application = "system", + Code = "sys_user_mgr_update_pwd", + IsDeleted = 0ul, + Name = "用户修改密码", + OpenType = 0, + Permission = "sysUser:updatePwd", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "791b0d88-7e25-490f-a94f-a2e32bb3b6e6", + Application = "system", + Code = "sys_user_mgr_change_status", + IsDeleted = 0ul, + Name = "用户修改状态", + OpenType = 0, + Permission = "sysUser:changeStatus", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "9d681aac-528a-46b0-9718-ffc4abe9c29e", + Application = "system", + Code = "sys_user_mgr_update_avatar", + IsDeleted = 0ul, + Name = "用户修改头像", + OpenType = 0, + Permission = "sysUser:updateAvatar", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "471b5259-5f55-4643-841c-f07089cfafdf", + Application = "system", + Code = "sys_user_mgr_reset_pwd", + IsDeleted = 0ul, + Name = "用户重置密码", + OpenType = 0, + Permission = "sysUser:resetPwd", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "471d3098-90a4-47e1-bd07-5d3ed8d21fb0", + Application = "system", + Code = "sys_user_mgr_login", + IsDeleted = 0ul, + Name = "用户登录信息", + OpenType = 0, + Permission = "getLoginUser", + Pid = "9f1f6051-15e6-474f-ab40-ab98a8713f7b", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9f1f6051-15e6-474f-ab40-ab98a8713f7b],", + Sort = 100, + Status = 1, + Type = 2, + Visible = 0ul, + Weight = 1 + }, + new + { + Id = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Application = "system", + Code = "sys_org_mgr", + Component = "system/org/index", + IsDeleted = 0ul, + Name = "机构管理", + OpenType = 1, + Pid = "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],", + Router = "/org", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "b7c34c9b-933e-4c48-b1d0-af15a1f7da1f", + Application = "system", + Code = "sys_org_mgr_page", + IsDeleted = 0ul, + Name = "机构查询", + OpenType = 0, + Permission = "sysOrg:page", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "917064b2-c715-4fa4-9b2d-20a11b784ed1", + Application = "system", + Code = "sys_org_mgr_list", + IsDeleted = 0ul, + Name = "机构列表", + OpenType = 0, + Permission = "sysOrg:list", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "d7c18d60-f28f-4a57-90b3-26fc95249ae0", + Application = "system", + Code = "sys_org_mgr_add", + IsDeleted = 0ul, + Name = "机构增加", + OpenType = 0, + Permission = "sysOrg:add", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "e65eb1e3-cc9e-4309-8c7a-9ac41765b239", + Application = "system", + Code = "sys_org_mgr_edit", + IsDeleted = 0ul, + Name = "机构编辑", + OpenType = 0, + Permission = "sysOrg:edit", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "c2450c4c-89c6-46e8-8f89-11331790cbe3", + Application = "system", + Code = "sys_org_mgr_delete", + IsDeleted = 0ul, + Name = "机构删除", + OpenType = 0, + Permission = "sysOrg:delete", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "695a6018-82c3-466e-a2a1-dab16039bfdb", + Application = "system", + Code = "sys_org_mgr_detail", + IsDeleted = 0ul, + Name = "机构详情", + OpenType = 0, + Permission = "sysOrg:detail", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "2d153046-279b-43be-8f57-46875118fd2c", + Application = "system", + Code = "sys_org_mgr_tree", + IsDeleted = 0ul, + Name = "机构树", + OpenType = 0, + Permission = "sysOrg:tree", + Pid = "9c1b34f3-2412-496a-a42e-e4f6ae407ae1", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[9c1b34f3-2412-496a-a42e-e4f6ae407ae1],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Application = "system", + Code = "sys_pos_mgr", + Component = "system/pos/index", + IsDeleted = 0ul, + Name = "职位管理", + OpenType = 1, + Pid = "f7d60a3f-2de3-4dca-a1d6-385cee9638bc", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],", + Router = "/pos", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "d2436601-bc48-4610-ba67-5b666f8ce33a", + Application = "system", + Code = "sys_pos_mgr_page", + IsDeleted = 0ul, + Name = "职位查询", + OpenType = 0, + Permission = "sysPos:page", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "1305efaa-b81a-475f-9dde-8f6549ca7743", + Application = "system", + Code = "sys_pos_mgr_list", + IsDeleted = 0ul, + Name = "职位列表", + OpenType = 0, + Permission = "sysPos:list", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "c227e732-f231-4488-89b0-d1c9dad78950", + Application = "system", + Code = "sys_pos_mgr_add", + IsDeleted = 0ul, + Name = "职位增加", + OpenType = 0, + Permission = "sysPos:add", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "9dafbe04-83c9-482c-9c83-81f4da045da5", + Application = "system", + Code = "sys_pos_mgr_edit", + IsDeleted = 0ul, + Name = "职位编辑", + OpenType = 0, + Permission = "sysPos:edit", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "031df05e-b7c6-4ecd-aff2-f189c994e86d", + Application = "system", + Code = "sys_pos_mgr_delete", + IsDeleted = 0ul, + Name = "职位删除", + OpenType = 0, + Permission = "sysPos:delete", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "fe5ee8a1-2145-43c6-bdeb-518f3a9c127d", + Application = "system", + Code = "sys_pos_mgr_detail", + IsDeleted = 0ul, + Name = "职位详情", + OpenType = 0, + Permission = "sysPos:detail", + Pid = "0f60d129-9d3b-42b5-9eb2-99bc066be6aa", + Pids = "[00000000-0000-0000-0000-000000000000],[f7d60a3f-2de3-4dca-a1d6-385cee9638bc],[0f60d129-9d3b-42b5-9eb2-99bc066be6aa],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", + Application = "system", + Code = "auth_manager", + Component = "PageView", + Icon = "safety-certificate", + IsDeleted = 0ul, + Name = "权限管理", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/auth", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Application = "system", + Code = "sys_app_mgr", + Component = "system/app/index", + IsDeleted = 0ul, + Name = "应用管理", + OpenType = 1, + Pid = "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],", + Router = "/app", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "dbaa7a6d-234f-4cc9-977f-4544b8bb45b8", + Application = "system", + Code = "sys_app_mgr_page", + IsDeleted = 0ul, + Name = "应用查询", + OpenType = 0, + Permission = "sysApp:page", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "ab7b2b41-b0bc-4b9c-9017-f5c6918e393e", + Application = "system", + Code = "sys_app_mgr_list", + IsDeleted = 0ul, + Name = "应用列表", + OpenType = 0, + Permission = "sysApp:list", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "f4e1d63b-5d92-46eb-82aa-267335a5a3f3", + Application = "system", + Code = "sys_app_mgr_add", + IsDeleted = 0ul, + Name = "应用增加", + OpenType = 0, + Permission = "sysApp:add", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "f33a3791-1c01-4d30-bcc3-d9fdf5246376", + Application = "system", + Code = "sys_app_mgr_edit", + IsDeleted = 0ul, + Name = "应用编辑", + OpenType = 0, + Permission = "sysApp:edit", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "e0a6cf90-0a8b-44e4-a32f-5f43ef996b82", + Application = "system", + Code = "sys_app_mgr_delete", + IsDeleted = 0ul, + Name = "应用删除", + OpenType = 0, + Permission = "sysApp:delete", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "a0abe974-5ae9-440b-9d16-2412eab52d70", + Application = "system", + Code = "sys_app_mgr_detail", + IsDeleted = 0ul, + Name = "应用详情", + OpenType = 0, + Permission = "sysApp:detail", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "f640e243-b439-4109-8aea-c66205ef6b12", + Application = "system", + Code = "sys_app_mgr_set_as_default", + IsDeleted = 0ul, + Name = "设为默认应用", + OpenType = 0, + Permission = "sysApp:setAsDefault", + Pid = "05175bfd-6e5f-4c3b-8daf-0f79df4e9694", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[05175bfd-6e5f-4c3b-8daf-0f79df4e9694],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Application = "system", + Code = "sys_menu_mgr", + Component = "system/menu/index", + IsDeleted = 0ul, + Name = "菜单管理", + OpenType = 1, + Pid = "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],", + Router = "/menu", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "e9982e73-1833-4674-9403-ee3dee2efdf7", + Application = "system", + Code = "sys_menu_mgr_list", + IsDeleted = 0ul, + Name = "菜单列表", + OpenType = 0, + Permission = "sysMenu:list", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "758e15e6-75a6-4b72-8f94-5da379e53354", + Application = "system", + Code = "sys_menu_mgr_add", + IsDeleted = 0ul, + Name = "菜单增加", + OpenType = 0, + Permission = "sysMenu:add", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "07139c19-6b39-49f5-9e22-c4dc7e9d947b", + Application = "system", + Code = "sys_menu_mgr_edit", + IsDeleted = 0ul, + Name = "菜单编辑", + OpenType = 0, + Permission = "sysMenu:edit", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "857fb581-78ff-4884-a6fb-8dfb4951fef9", + Application = "system", + Code = "sys_menu_mgr_delete", + IsDeleted = 0ul, + Name = "菜单删除", + OpenType = 0, + Permission = "sysMenu:delete", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "cd43a8ee-9f98-4355-bf81-ba40f388b23f", + Application = "system", + Code = "sys_menu_mgr_detail", + IsDeleted = 0ul, + Name = "菜单详情", + OpenType = 0, + Permission = "sysMenu:detail", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "ec318997-596d-403a-91be-f303b234b02d", + Application = "system", + Code = "sys_menu_mgr_grant_tree", + IsDeleted = 0ul, + Name = "菜单授权树", + OpenType = 0, + Permission = "sysMenu:treeForGrant", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "3892ef5d-39b2-4a4d-8047-cb96542fb54f", + Application = "system", + Code = "sys_menu_mgr_tree", + IsDeleted = 0ul, + Name = "菜单树", + OpenType = 0, + Permission = "sysMenu:tree", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "00831a3b-d080-411f-afb9-9f415334b192", + Application = "system", + Code = "sys_menu_mgr_change", + IsDeleted = 0ul, + Name = "菜单切换", + OpenType = 0, + Permission = "sysMenu:change", + Pid = "babff4e1-dd00-4e6b-909a-3aac76bb52cd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[babff4e1-dd00-4e6b-909a-3aac76bb52cd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Application = "system", + Code = "sys_role_mgr", + Component = "system/role/index", + IsDeleted = 0ul, + Name = "角色管理", + OpenType = 1, + Pid = "4c00d8c1-e871-4231-8b46-a3e3f3fd400c", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],", + Router = "/role", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "4241f4a0-89ab-4a6a-80bb-2830f855d3be", + Application = "system", + Code = "sys_role_mgr_page", + IsDeleted = 0ul, + Name = "角色查询", + OpenType = 0, + Permission = "sysRole:page", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "6a48beb1-c828-43d6-af3d-3e18ef163070", + Application = "system", + Code = "sys_role_mgr_add", + IsDeleted = 0ul, + Name = "角色增加", + OpenType = 0, + Permission = "sysRole:add", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "1198a602-a23d-4a06-aa9a-76aaf5f065a7", + Application = "system", + Code = "sys_role_mgr_edit", + IsDeleted = 0ul, + Name = "角色编辑", + OpenType = 0, + Permission = "sysRole:edit", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "e7708eeb-2c87-4c3d-bc71-c395e5d708db", + Application = "system", + Code = "sys_role_mgr_delete", + IsDeleted = 0ul, + Name = "角色删除", + OpenType = 0, + Permission = "sysRole:delete", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "63ab477f-88fb-4f4b-9dcd-0cb83ac767f6", + Application = "system", + Code = "sys_role_mgr_detail", + IsDeleted = 0ul, + Name = "角色详情", + OpenType = 0, + Permission = "sysRole:detail", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "2622348c-dd8f-4ade-a350-de0a8f01e1f6", + Application = "system", + Code = "sys_role_mgr_drop_down", + IsDeleted = 0ul, + Name = "角色下拉", + OpenType = 0, + Permission = "sysRole:dropDown", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "73d84863-b381-40be-84bc-ec8381fa6c0a", + Application = "system", + Code = "sys_role_mgr_grant_menu", + IsDeleted = 0ul, + Name = "角色授权菜单", + OpenType = 0, + Permission = "sysRole:grantMenu", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "bbc5e792-3d72-4d0d-8ddb-25cf2c4e1374", + Application = "system", + Code = "sys_role_mgr_own_menu", + IsDeleted = 0ul, + Name = "角色拥有菜单", + OpenType = 0, + Permission = "sysRole:ownMenu", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "19234814-6007-484c-818c-88a664a2a339", + Application = "system", + Code = "sys_role_mgr_grant_data", + IsDeleted = 0ul, + Name = "角色授权数据", + OpenType = 0, + Permission = "sysRole:grantData", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "19e5c5f6-b598-4c42-8eed-3d46fb11b465", + Application = "system", + Code = "sys_role_mgr_own_data", + IsDeleted = 0ul, + Name = "角色拥有数据", + OpenType = 0, + Permission = "sysRole:ownData", + Pid = "ee63be7b-5d06-4c15-81f3-875e2eb164dd", + Pids = "[00000000-0000-0000-0000-000000000000],[4c00d8c1-e871-4231-8b46-a3e3f3fd400c],[ee63be7b-5d06-4c15-81f3-875e2eb164dd],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Application = "system", + Code = "system_tools", + Component = "PageView", + Icon = "euro", + IsDeleted = 0ul, + Name = "开发管理", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/tools", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Application = "system", + Code = "system_tools_config", + Component = "system/config/index", + IsDeleted = 0ul, + Name = "系统配置", + OpenType = 1, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/config", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "c14c82bd-632d-4cc9-9236-37aa64b15ecf", + Application = "system", + Code = "system_tools_config_page", + IsDeleted = 0ul, + Name = "配置查询", + OpenType = 0, + Permission = "sysConfig:page", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "78d31d68-9c9b-4e02-94c9-8a74eea4c1fb", + Application = "system", + Code = "system_tools_config_list", + IsDeleted = 0ul, + Name = "配置列表", + OpenType = 0, + Permission = "sysConfig:list", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "fc91afb5-2b9e-428b-b5ff-b0ef35dd5336", + Application = "system", + Code = "system_tools_config_add", + IsDeleted = 0ul, + Name = "配置增加", + OpenType = 0, + Permission = "sysConfig:add", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "1efb72e8-3449-490a-92e0-308b124c338f", + Application = "system", + Code = "system_tools_config_edit", + IsDeleted = 0ul, + Name = "配置编辑", + OpenType = 0, + Permission = "sysConfig:edit", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "5760230f-e6fc-4c3d-ba38-1c8a5a923eb3", + Application = "system", + Code = "system_tools_config_delete", + IsDeleted = 0ul, + Name = "配置删除", + OpenType = 0, + Permission = "sysConfig:delete", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "6bfc0c53-5d6c-437c-9757-bc79e664d0f5", + Application = "system", + Code = "system_tools_config_detail", + IsDeleted = 0ul, + Name = "配置详情", + OpenType = 0, + Permission = "sysConfig:detail", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "f7fe47a3-86b2-4660-9920-0c9836755666", + Application = "system", + Code = "sys_app_mgr_set_as_default", + IsDeleted = 0ul, + Name = "设为默认应用", + OpenType = 0, + Permission = "sysApp:setAsDefault", + Pid = "abf3e33d-3d6a-4bbd-8743-179df5a95d48", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[abf3e33d-3d6a-4bbd-8743-179df5a95d48],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "cde43456-baae-4e9b-b6f9-b0ea9ab49adb", + Application = "system", + Code = "sys_email_mgr", + Component = "system/email/index", + IsDeleted = 0ul, + Name = "邮件发送", + OpenType = 1, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/email", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "4d4cf5b3-bd4c-4f17-9fb2-47b28b00681f", + Application = "system", + Code = "sys_email_mgr_send_email", + IsDeleted = 0ul, + Name = "发送文本邮件", + OpenType = 0, + Permission = "email:sendEmail", + Pid = "cde43456-baae-4e9b-b6f9-b0ea9ab49adb", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[cde43456-baae-4e9b-b6f9-b0ea9ab49adb],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "51e45073-1461-4b3b-ae06-d0d3dcf222e0", + Application = "system", + Code = "sys_email_mgr_send_email_html", + IsDeleted = 0ul, + Name = "发送html邮件", + OpenType = 0, + Permission = "email:sendEmailHtml", + Pid = "cde43456-baae-4e9b-b6f9-b0ea9ab49adb", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[cde43456-baae-4e9b-b6f9-b0ea9ab49adb],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "e571a1c9-8b43-459f-9dc6-1dcf967627b7", + Application = "system", + Code = "sys_sms_mgr", + Component = "system/sms/index", + IsDeleted = 0ul, + Name = "短信管理", + OpenType = 1, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/sms", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "2afa4925-b927-457e-88a1-d215b7d75fb6", + Application = "system", + Code = "sys_sms_mgr_page", + IsDeleted = 0ul, + Name = "短信发送查询", + OpenType = 0, + Permission = "sms:page", + Pid = "e571a1c9-8b43-459f-9dc6-1dcf967627b7", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[e571a1c9-8b43-459f-9dc6-1dcf967627b7],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "97c1b073-5e19-4542-89e2-d8da44d0f1df", + Application = "system", + Code = "sys_sms_mgr_send_login_message", + IsDeleted = 0ul, + Name = "发送验证码短信", + OpenType = 0, + Permission = "sms:sendLoginMessage", + Pid = "e571a1c9-8b43-459f-9dc6-1dcf967627b7", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[e571a1c9-8b43-459f-9dc6-1dcf967627b7],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "d2454bd2-f300-4b28-95c0-12432c28cbdf", + Application = "system", + Code = "sys_sms_mgr_validate_message", + IsDeleted = 0ul, + Name = "验证短信验证码", + OpenType = 0, + Permission = "sms:validateMessage", + Pid = "e571a1c9-8b43-459f-9dc6-1dcf967627b7", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[e571a1c9-8b43-459f-9dc6-1dcf967627b7],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Application = "system", + Code = "sys_dict_mgr", + Component = "system/dict/index", + IsDeleted = 0ul, + Name = "字典管理", + OpenType = 1, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/dict", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "70c5e8c5-6104-4e53-99c0-4743e557456b", + Application = "system", + Code = "sys_dict_mgr_dict_type_page", + IsDeleted = 0ul, + Name = "字典类型查询", + OpenType = 0, + Permission = "sysDictType:page", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "1bd1d982-e05a-4bdc-a4e0-752d94f3196c", + Application = "system", + Code = "sys_dict_mgr_dict_type_list", + IsDeleted = 0ul, + Name = "字典类型列表", + OpenType = 0, + Permission = "sysDictType:list", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "bd09b023-0884-4f31-8cf7-f66f789fa3db", + Application = "system", + Code = "sys_dict_mgr_dict_type_add", + IsDeleted = 0ul, + Name = "字典类型增加", + OpenType = 0, + Permission = "sysDictType:add", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "1f7a41ff-5a46-449c-81f3-1618dfdcb4cd", + Application = "system", + Code = "sys_dict_mgr_dict_type_delete", + IsDeleted = 0ul, + Name = "字典类型删除", + OpenType = 0, + Permission = "sysDictType:delete", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "2381cde4-2174-47e7-a1e5-e58da70e7a11", + Application = "system", + Code = "sys_dict_mgr_dict_type_edit", + IsDeleted = 0ul, + Name = "字典类型编辑", + OpenType = 0, + Permission = "sysDictType:edit", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "8f7d3c74-8800-4922-9662-ac6af378c882", + Application = "system", + Code = "sys_dict_mgr_dict_type_detail", + IsDeleted = 0ul, + Name = "字典类型详情", + OpenType = 0, + Permission = "sysDictType:detail", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "4f87b6de-be62-4398-b680-1f8611f2cd70", + Application = "system", + Code = "sys_dict_mgr_dict_type_drop_down", + IsDeleted = 0ul, + Name = "字典类型下拉", + OpenType = 0, + Permission = "sysDictType:dropDown", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "07c799b2-e8e9-4955-83da-97560f161d87", + Application = "system", + Code = "sys_dict_mgr_dict_type_change_status", + IsDeleted = 0ul, + Name = "字典类型修改状态", + OpenType = 0, + Permission = "sysDictType:changeStatus", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "29be8e3c-c2bb-4162-b282-fdf58c218b9d", + Application = "system", + Code = "sys_dict_mgr_dict_page", + IsDeleted = 0ul, + Name = "字典值查询", + OpenType = 0, + Permission = "sysDictData:page", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "b8cbc4e1-ac10-4cda-b1e4-f816a2632d02", + Application = "system", + Code = "sys_dict_mgr_dict_list", + IsDeleted = 0ul, + Name = "字典值列表", + OpenType = 0, + Permission = "sysDictData:list", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "54e97bde-94d6-42df-89e3-4c3ace153b22", + Application = "system", + Code = "sys_dict_mgr_dict_add", + IsDeleted = 0ul, + Name = "字典值增加", + OpenType = 0, + Permission = "sysDictData:add", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "be98da08-a3b0-463c-8208-05d843620258", + Application = "system", + Code = "sys_dict_mgr_dict_delete", + IsDeleted = 0ul, + Name = "字典值删除", + OpenType = 0, + Permission = "sysDictData:delete", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "38809fc3-163f-4fe9-a488-c9bb5bce752a", + Application = "system", + Code = "sys_dict_mgr_dict_edit", + IsDeleted = 0ul, + Name = "字典值编辑", + OpenType = 0, + Permission = "sysDictData:edit", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "fc511b42-f0a1-489b-8418-7ef94b0fb374", + Application = "system", + Code = "sys_role_mgr_grant_data", + IsDeleted = 0ul, + Name = "字典值详情", + OpenType = 0, + Permission = "sysDictData:detail", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "200428b3-1605-4c70-b840-e691e302ae69", + Application = "system", + Code = "sys_dict_mgr_dict_change_status", + IsDeleted = 0ul, + Name = "字典值修改状态", + OpenType = 0, + Permission = "sysDictData:changeStatus", + Pid = "477739a3-53d8-4f9b-ba32-f6dda79ec8a8", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],[477739a3-53d8-4f9b-ba32-f6dda79ec8a8],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "d40f424d-d5fc-4b86-a2bd-3a5a76076bc1", + Application = "system", + Code = "sys_swagger_mgr", + Component = "Iframe", + IsDeleted = 0ul, + Link = "http://127.0.0.1:5566/", + Name = "接口文档", + OpenType = 2, + Pid = "ac0ee878-f713-4a77-9c8f-6e1ee1f4484e", + Pids = "[00000000-0000-0000-0000-000000000000],[ac0ee878-f713-4a77-9c8f-6e1ee1f4484e],", + Router = "/swagger", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "eec4563e-9307-4ccd-ac3a-93598badb195", + Application = "system", + Code = "sys_log_mgr", + Component = "PageView", + Icon = "read", + IsDeleted = 0ul, + Name = "日志管理", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/log", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "322b2cb6-df29-483b-b011-54dce1532fae", + Application = "system", + Code = "sys_log_mgr_vis_log", + Component = "system/log/vislog/index", + IsDeleted = 0ul, + Name = "访问日志", + OpenType = 1, + Pid = "eec4563e-9307-4ccd-ac3a-93598badb195", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],", + Router = "/vislog", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "122641c1-ab6d-4f91-9527-16fc8fea9708", + Application = "system", + Code = "sys_log_mgr_vis_log_page", + IsDeleted = 0ul, + Name = "访问日志查询", + OpenType = 0, + Permission = "sysVisLog:page", + Pid = "322b2cb6-df29-483b-b011-54dce1532fae", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[322b2cb6-df29-483b-b011-54dce1532fae],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "f2367804-6382-4e72-8282-e4f6f988ecd1", + Application = "system", + Code = "sys_log_mgr_vis_log_delete", + IsDeleted = 0ul, + Name = "访问日志清空", + OpenType = 0, + Permission = "sysVisLog:delete", + Pid = "322b2cb6-df29-483b-b011-54dce1532fae", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[322b2cb6-df29-483b-b011-54dce1532fae],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "1a1a13cb-f9a9-4ffe-924d-d523db79f7bf", + Application = "system", + Code = "sys_log_mgr_op_log", + Component = "system/log/oplog/index", + IsDeleted = 0ul, + Name = "操作日志", + OpenType = 1, + Pid = "eec4563e-9307-4ccd-ac3a-93598badb195", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],", + Router = "/oplog", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "7f44f49e-6458-4149-bbcd-9a937f552cec", + Application = "system", + Code = "sys_log_mgr_op_log_page", + IsDeleted = 0ul, + Name = "操作日志查询", + OpenType = 0, + Permission = "sysOpLog:page", + Pid = "1a1a13cb-f9a9-4ffe-924d-d523db79f7bf", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[1a1a13cb-f9a9-4ffe-924d-d523db79f7bf],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "263e0c00-2796-411c-9f50-0aa361f7781c", + Application = "system", + Code = "sys_log_mgr_op_log_delete", + IsDeleted = 0ul, + Name = "操作日志清空", + OpenType = 0, + Permission = "sysOpLog:delete", + Pid = "1a1a13cb-f9a9-4ffe-924d-d523db79f7bf", + Pids = "[00000000-0000-0000-0000-000000000000],[eec4563e-9307-4ccd-ac3a-93598badb195],[1a1a13cb-f9a9-4ffe-924d-d523db79f7bf],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", + Application = "system", + Code = "sys_monitor_mgr", + Component = "PageView", + Icon = "deployment-unit", + IsDeleted = 0ul, + Name = "系统监控", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/monitor", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "c1e70042-fe3f-4efc-a6cc-86de8507f948", + Application = "system", + Code = "sys_monitor_mgr_machine_monitor", + Component = "system/machine/index", + IsDeleted = 0ul, + Name = "服务监控", + OpenType = 1, + Pid = "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],", + Router = "/machine", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "444f3658-defe-47a7-880e-bf0af8b66591", + Application = "system", + Code = "sys_monitor_mgr_machine_monitor_query", + IsDeleted = 0ul, + Name = "服务监控查询", + OpenType = 0, + Permission = "sysMachine:query", + Pid = "c1e70042-fe3f-4efc-a6cc-86de8507f948", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],[c1e70042-fe3f-4efc-a6cc-86de8507f948],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "49a8b476-327b-4f33-87b8-2d9bc50dc390", + Application = "system", + Code = "sys_monitor_mgr_online_user", + Component = "system/onlineUser/index", + IsDeleted = 0ul, + Name = "在线用户", + OpenType = 1, + Pid = "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],", + Router = "/onlineUser", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "4785eb5a-678a-4f9c-b07c-3b92acdd6de0", + Application = "system", + Code = "sys_monitor_mgr_online_user_list", + IsDeleted = 0ul, + Name = "在线用户列表", + OpenType = 0, + Permission = "sysOnlineUser:list", + Pid = "49a8b476-327b-4f33-87b8-2d9bc50dc390", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],[49a8b476-327b-4f33-87b8-2d9bc50dc390],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "4dbf6765-ac79-4708-a9d5-16a4d4b09164", + Application = "system", + Code = "sys_monitor_mgr_online_user_force_exist", + IsDeleted = 0ul, + Name = "在线用户强退", + OpenType = 0, + Permission = "sysOnlineUser:forceExist", + Pid = "49a8b476-327b-4f33-87b8-2d9bc50dc390", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],[49a8b476-327b-4f33-87b8-2d9bc50dc390],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "31c2af01-b856-4a1d-a131-cdf8e847b1a4", + Application = "system", + Code = "sys_monitor_mgr_druid", + Component = "Iframe", + IsDeleted = 0ul, + Link = "http://localhost:82/druid/login.html", + Name = "数据监控", + OpenType = 2, + Pid = "cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c", + Pids = "[00000000-0000-0000-0000-000000000000],[cf72e37b-3d3b-4dba-bcd0-3fb4bd54757c],", + Router = "/druid", + Sort = 100, + Status = 0, + Type = 1, + Visible = 0ul, + Weight = 1 + }, + new + { + Id = "d4cac841-99e5-4014-af17-2986c9340306", + Application = "system", + Code = "sys_notice", + Component = "PageView", + Icon = "sound", + IsDeleted = 0ul, + Name = "通知公告", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/notice", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Application = "system", + Code = "sys_notice_mgr", + Component = "system/notice/index", + IsDeleted = 0ul, + Name = "公告管理", + OpenType = 1, + Pid = "d4cac841-99e5-4014-af17-2986c9340306", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],", + Router = "/notice", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "54584ab7-25d1-45b7-b3d4-76ba21511f97", + Application = "system", + Code = "sys_notice_mgr_page", + IsDeleted = 0ul, + Name = "公告查询", + OpenType = 0, + Permission = "sysNotice:page", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "f27c8431-7da5-4ffe-a8f3-b511cf44c0c8", + Application = "system", + Code = "sys_notice_mgr_add", + IsDeleted = 0ul, + Name = "公告增加", + OpenType = 0, + Permission = "sysNotice:add", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "f84c1f3a-3a51-4be2-97c9-7543b044e457", + Application = "system", + Code = "sys_notice_mgr_edit", + IsDeleted = 0ul, + Name = "公告编辑", + OpenType = 0, + Permission = "sysNotice:edit", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "a8abcb85-ad3b-47b9-8c9b-e7d1876b90cf", + Application = "system", + Code = "sys_notice_mgr_delete", + IsDeleted = 0ul, + Name = "公告删除", + OpenType = 0, + Permission = "sysNotice:delete", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "fe9cbb41-7b05-4f32-b960-87a1ef146166", + Application = "system", + Code = "sys_notice_mgr_detail", + IsDeleted = 0ul, + Name = "公告查看", + OpenType = 0, + Permission = "sysNotice:detail", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "3e547bb0-4cf5-4cf0-8386-48d2f3c12dcb", + Application = "system", + Code = "sys_notice_mgr_changeStatus", + IsDeleted = 0ul, + Name = "公告修改状态", + OpenType = 0, + Permission = "sysNotice:changeStatus", + Pid = "e8ca3968-e404-4ea6-a71a-d06d06b51bd5", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[e8ca3968-e404-4ea6-a71a-d06d06b51bd5],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "ac3065ff-d239-4e0e-86e5-d72cc658224c", + Application = "system", + Code = "sys_notice_mgr_received", + Component = "system/noticeReceived/index", + IsDeleted = 0ul, + Name = "已收公告", + OpenType = 1, + Pid = "d4cac841-99e5-4014-af17-2986c9340306", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],", + Router = "/noticeReceived", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "e2d4b13b-eb3e-4ead-8fb8-4c61a3004726", + Application = "system", + Code = "sys_notice_mgr_received_page", + IsDeleted = 0ul, + Name = "已收公告查询", + OpenType = 0, + Permission = "sysNotice:received", + Pid = "ac3065ff-d239-4e0e-86e5-d72cc658224c", + Pids = "[00000000-0000-0000-0000-000000000000],[d4cac841-99e5-4014-af17-2986c9340306],[ac3065ff-d239-4e0e-86e5-d72cc658224c],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "05326e62-f496-4950-8a29-40e8a479424f", + Application = "system", + Code = "sys_file_mgr", + Component = "PageView", + Icon = "file", + IsDeleted = 0ul, + Name = "文件管理", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/file", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "0af2a460-bbb0-472c-b027-8532970425df", + Application = "system", + Code = "sys_file_mgr_sys_file", + Component = "system/file/index", + IsDeleted = 0ul, + Name = "系统文件", + OpenType = 1, + Pid = "05326e62-f496-4950-8a29-40e8a479424f", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],", + Router = "/file", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "c7bac800-b922-4173-bd8d-9888b4eab1d4", + Application = "system", + Code = "sys_file_mgr_sys_file_page", + IsDeleted = 0ul, + Name = "文件查询", + OpenType = 0, + Permission = "sysFileInfo:page", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "f47e1fa7-6329-4d67-8fe6-36ca06aad54b", + Application = "system", + Code = "sys_file_mgr_sys_file_list", + IsDeleted = 0ul, + Name = "文件列表", + OpenType = 0, + Permission = "sysFileInfo:list", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "cca0a2ee-cfb9-4996-affb-dc8d8168ac10", + Application = "system", + Code = "sys_file_mgr_sys_file_delete", + IsDeleted = 0ul, + Name = "文件删除", + OpenType = 0, + Permission = "sysFileInfo:delete", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "eb738eaa-5eed-466d-b422-4eb6f4662dd9", + Application = "system", + Code = "sys_file_mgr_sys_file_detail", + IsDeleted = 0ul, + Name = "文件详情", + OpenType = 0, + Permission = "sysFileInfo:detail", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "69b97ace-d849-4e52-8fc2-9da7d93e325f", + Application = "system", + Code = "sys_file_mgr_sys_file_upload", + IsDeleted = 0ul, + Name = "文件上传", + OpenType = 0, + Permission = "sysFileInfo:upload", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "e286d53d-bf3c-4711-b0a3-15cfad0a7521", + Application = "system", + Code = "sys_file_mgr_sys_file_download", + IsDeleted = 0ul, + Name = "文件下载", + OpenType = 0, + Permission = "sysFileInfo:download", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "1975891b-7940-44a8-a513-9f2e8b05dda1", + Application = "system", + Code = "sys_file_mgr_sys_file_preview", + IsDeleted = 0ul, + Name = "图片预览", + OpenType = 0, + Permission = "sysFileInfo:preview", + Pid = "0af2a460-bbb0-472c-b027-8532970425df", + Pids = "[00000000-0000-0000-0000-000000000000],[05326e62-f496-4950-8a29-40e8a479424f],[0af2a460-bbb0-472c-b027-8532970425df],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "ba03cfd5-5d72-465f-87b6-71134da68fab", + Application = "system", + Code = "sys_timers", + Component = "PageView", + Icon = "dashboard", + IsDeleted = 0ul, + Name = "定时任务", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/timers", + Sort = 100, + Status = 0, + Type = 0, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Application = "system", + Code = "sys_timers_mgr", + Component = "system/timers/index", + IsDeleted = 0ul, + Name = "任务管理", + OpenType = 1, + Pid = "ba03cfd5-5d72-465f-87b6-71134da68fab", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],", + Router = "/timers", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "db62154a-470e-43c8-8959-a686b954fe7d", + Application = "system", + Code = "sys_timers_mgr_page", + IsDeleted = 0ul, + Name = "定时任务查询", + OpenType = 0, + Permission = "sysTimers:page", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "dc07cd9f-4a53-40d9-988e-70290a146eff", + Application = "system", + Code = "sys_timers_mgr_list", + IsDeleted = 0ul, + Name = "定时任务列表", + OpenType = 0, + Permission = "sysTimers:list", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "1e562d31-c2f8-4af8-be4b-47e3b251d9a3", + Application = "system", + Code = "sys_timers_mgr_detail", + IsDeleted = 0ul, + Name = "定时任务详情", + OpenType = 0, + Permission = "sysTimers:detail", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "f27ba442-7d6f-499f-8053-a737adc3492a", + Application = "system", + Code = "sys_timers_mgr_add", + IsDeleted = 0ul, + Name = "定时任务增加", + OpenType = 0, + Permission = "sysTimers:add", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "99129601-0be5-43ee-842b-a428603f013b", + Application = "system", + Code = "sys_timers_mgr_delete", + IsDeleted = 0ul, + Name = "定时任务删除", + OpenType = 0, + Permission = "sysTimers:delete", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "5e118fc0-f580-4d06-a89d-f321a84e5654", + Application = "system", + Code = "sys_timers_mgr_edit", + IsDeleted = 0ul, + Name = "定时任务编辑", + OpenType = 0, + Permission = "sysTimers:edit", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "4272f2e4-4a8b-45bb-b688-2b9471c35e83", + Application = "system", + Code = "sys_timers_mgr_get_action_classes", + IsDeleted = 0ul, + Name = "定时任务可执行列表", + OpenType = 0, + Permission = "sysTimers:getActionClasses", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "54094687-f661-4cba-bdfc-e76f22db8d76", + Application = "system", + Code = "sys_timers_mgr_start", + IsDeleted = 0ul, + Name = "定时任务启动", + OpenType = 0, + Permission = "sysTimers:start", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "6b82d407-d1ea-440e-9245-128ad03dffc0", + Application = "system", + Code = "sys_timers_mgr_stop", + IsDeleted = 0ul, + Name = "定时任务关闭", + OpenType = 0, + Permission = "sysTimers:stop", + Pid = "8d4643d7-ec15-48ba-b896-816f8dab1b31", + Pids = "[00000000-0000-0000-0000-000000000000],[ba03cfd5-5d72-465f-87b6-71134da68fab],[8d4643d7-ec15-48ba-b896-816f8dab1b31],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "5172265d-eda3-4b8a-a542-d582467a51a1", + Application = "system_tool", + Code = "code_gen", + Component = "gen/codeGenerate/index", + Icon = "thunderbolt", + IsDeleted = 0ul, + Name = "代码生成", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/codeGenerate/index", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "cf51df0a-8e0b-4252-ba06-9646cad648d1", + Application = "system_tool", + Code = "form_design", + Component = "system/formDesign/index", + Icon = "robot", + IsDeleted = 0ul, + Name = "表单设计", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/formDesign/index", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "f4cf2a3d-0714-4ca4-a691-0b363c172f82", + Application = "advanced", + Code = "sys_tenant", + Component = "PageView", + Icon = "switcher", + IsDeleted = 0ul, + Name = "SaaS租户", + OpenType = 0, + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Router = "/tenant", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Application = "advanced", + Code = "sys_tenant_mgr", + Component = "system/tenant/index", + IsDeleted = 0ul, + Name = "租户管理", + OpenType = 1, + Pid = "f4cf2a3d-0714-4ca4-a691-0b363c172f82", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],", + Router = "/tenant", + Sort = 100, + Status = 0, + Type = 1, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "8985ec0a-5060-4812-bf47-4f3102948066", + Application = "advanced", + Code = "sys_tenant_mgr_page", + IsDeleted = 0ul, + Name = "租户查询", + OpenType = 0, + Permission = "sysTenant:page", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "d9584afb-18de-4f7e-b992-c21ad77b1aae", + Application = "advanced", + Code = "sys_tenant_mgr_detail", + IsDeleted = 0ul, + Name = "租户详情", + OpenType = 0, + Permission = "sysTenant:detail", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "01ae6b95-9c1e-4882-a9ac-ebb9f1868c54", + Application = "advanced", + Code = "sys_tenant_mgr_add", + IsDeleted = 0ul, + Name = "租户增加", + OpenType = 0, + Permission = "sysTenant:add", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "59e9f6da-151a-4201-bea1-00ef06fe5842", + Application = "advanced", + Code = "sys_tenant_mgr_delete", + IsDeleted = 0ul, + Name = "租户删除", + OpenType = 0, + Permission = "sysTenant:delete", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }, + new + { + Id = "220b6a86-e65d-469b-8aa0-46c4f5e77ab8", + Application = "advanced", + Code = "sys_tenant_mgr_edit", + IsDeleted = 0ul, + Name = "租户编辑", + OpenType = 0, + Permission = "sysTenant:edit", + Pid = "a6e5cd91-e3de-401d-bc8c-86bd464ab32e", + Pids = "[00000000-0000-0000-0000-000000000000],[f4cf2a3d-0714-4ca4-a691-0b363c172f82],[a6e5cd91-e3de-401d-bc8c-86bd464ab32e],", + Sort = 100, + Status = 0, + Type = 2, + Visible = 1ul, + Weight = 1 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysNotice", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("CancelTime") + .HasColumnType("datetime(6)") + .HasComment("撤回时间"); + + b.Property("Content") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("内容"); + + b.Property("CreatedTime") + .HasColumnType("datetime(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("PublicOrgId") + .HasColumnType("varchar(36)") + .HasColumnName("PublicOrgId") + .HasComment("发布机构Id"); + + b.Property("PublicOrgName") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("发布机构名称"); + + b.Property("PublicTime") + .HasColumnType("datetime(6)") + .HasComment("发布时间"); + + b.Property("PublicUserId") + .HasColumnType("varchar(36)") + .HasColumnName("PublicUserId") + .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(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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("Ewide.Core.SysNoticeUser", b => + { + b.Property("NoticeId") + .HasColumnType("varchar(36)") + .HasColumnName("NoticeId") + .HasComment("通知公告Id"); + + b.Property("ReadStatus") + .HasColumnType("int") + .HasComment("状态"); + + b.Property("ReadTime") + .HasColumnType("datetime(6)") + .HasComment("阅读时间"); + + b.Property("UserId") + .HasColumnType("varchar(36)") + .HasColumnName("UserId") + .HasComment("用户Id"); + + b.ToTable("sys_notice_user"); + + b + .HasComment("通知公告用户表"); + }); + + modelBuilder.Entity("Ewide.Core.SysOauthUser", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .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(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .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("bit") + .HasColumnName("IsDeleted") + .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(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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("Ewide.Core.SysOrg", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .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(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("Name") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("名称"); + + b.Property("Pid") + .HasColumnType("varchar(36)") + .HasColumnName("Pid") + .HasComment("父Id"); + + b.Property("Pids") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Pids"); + + 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(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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 = "12d888de-f55d-4c88-b0a0-7c3510664d97", + Code = "hxjt", + IsDeleted = 0ul, + Name = "华夏集团", + Pid = "00000000-0000-0000-0000-000000000000", + Pids = "[00000000-0000-0000-0000-000000000000],", + Remark = "华夏集团", + Sort = 100, + Status = 0 + }, + new + { + Id = "8a2271d6-5bda-4544-bdd3-27e53a8b418e", + Code = "hxjt_bj", + IsDeleted = 0ul, + Name = "华夏集团北京分公司", + Pid = "12d888de-f55d-4c88-b0a0-7c3510664d97", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],", + Remark = "华夏集团北京分公司", + Sort = 100, + Status = 0 + }, + new + { + Id = "127c0a5d-43ac-4370-b313-082361885aca", + Code = "hxjt_cd", + IsDeleted = 0ul, + Name = "华夏集团成都分公司", + Pid = "12d888de-f55d-4c88-b0a0-7c3510664d97", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],", + Remark = "华夏集团成都分公司", + Sort = 100, + Status = 0 + }, + new + { + Id = "f236ab2d-e1b5-4e9d-844f-a59ec32c20e4", + Code = "hxjt_bj_yfb", + IsDeleted = 0ul, + Name = "研发部", + Pid = "8a2271d6-5bda-4544-bdd3-27e53a8b418e", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[8a2271d6-5bda-4544-bdd3-27e53a8b418e],", + Remark = "华夏集团北京分公司研发部", + Sort = 100, + Status = 0 + }, + new + { + Id = "07322be0-2015-41f2-859e-132b5e142fca", + Code = "hxjt_bj_qhb", + IsDeleted = 0ul, + Name = "企划部", + Pid = "8a2271d6-5bda-4544-bdd3-27e53a8b418e", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[8a2271d6-5bda-4544-bdd3-27e53a8b418e],", + Remark = "华夏集团北京分公司企划部", + Sort = 100, + Status = 0 + }, + new + { + Id = "49dc3f25-873d-4998-9767-46978d79d8e6", + Code = "hxjt_cd_scb", + IsDeleted = 0ul, + Name = "市场部", + Pid = "127c0a5d-43ac-4370-b313-082361885aca", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[127c0a5d-43ac-4370-b313-082361885aca],", + Remark = "华夏集团成都分公司市场部", + Sort = 100, + Status = 0 + }, + new + { + Id = "56b7a823-cc62-492b-a91b-0b053ef2683b", + Code = "hxjt_cd_cwb", + IsDeleted = 0ul, + Name = "财务部", + Pid = "127c0a5d-43ac-4370-b313-082361885aca", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[127c0a5d-43ac-4370-b313-082361885aca],", + Remark = "华夏集团成都分公司财务部", + Sort = 100, + Status = 0 + }, + new + { + Id = "e9f97d63-a585-40ff-bf0c-7406e785f660", + Code = "hxjt_cd_scb_2b", + IsDeleted = 0ul, + Name = "市场部二部", + Pid = "49dc3f25-873d-4998-9767-46978d79d8e6", + Pids = "[00000000-0000-0000-0000-000000000000],[12d888de-f55d-4c88-b0a0-7c3510664d97],[127c0a5d-43ac-4370-b313-082361885aca],[49dc3f25-873d-4998-9767-46978d79d8e6],", + Remark = "华夏集团成都分公司市场部二部", + Sort = 100, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysPos", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .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(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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 = "269236c4-d74e-4e54-9d50-f6f61580a197", + Code = "zjl", + IsDeleted = 0ul, + Name = "总经理", + Remark = "总经理", + Sort = 100, + Status = 0 + }, + new + { + Id = "46c68a62-f119-4ff7-b621-0bbd77504538", + Code = "fzjl", + IsDeleted = 0ul, + Name = "副总经理", + Remark = "副总经理", + Sort = 101, + Status = 0 + }, + new + { + Id = "5bd8c466-2bca-4386-a551-daac78e3cee8", + Code = "bmjl", + IsDeleted = 0ul, + Name = "部门经理", + Remark = "部门经理", + Sort = 102, + Status = 0 + }, + new + { + Id = "d89a3afe-e6ba-4018-bdae-3c98bb47ad66", + Code = "gzry", + IsDeleted = 0ul, + Name = "工作人员", + Remark = "工作人员", + Sort = 103, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysRole", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Code") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("编码"); + + b.Property("CreatedTime") + .HasColumnType("datetime(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .HasComment("创建者Id"); + + b.Property("CreatedUserName") + .HasMaxLength(20) + .HasColumnType("varchar(20) CHARACTER SET utf8mb4") + .HasComment("创建者名称"); + + b.Property("DataScopeType") + .HasColumnType("int") + .HasComment("数据范围类型"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .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(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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 = "6dfe9189-ce10-434e-a7a7-5cdc46e85047", + Code = "sys_manager_role", + DataScopeType = 1, + IsDeleted = 0ul, + Name = "系统管理员", + Remark = "系统管理员", + Sort = 100, + Status = 0 + }, + new + { + Id = "cd187ebd-ab3d-4768-9669-85e2219c2910", + Code = "common_role", + DataScopeType = 5, + IsDeleted = 0ul, + Name = "普通用户", + Remark = "普通用户", + Sort = 101, + Status = 0 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleDataScope", b => + { + b.Property("SysRoleId") + .HasColumnType("varchar(36)") + .HasColumnName("SysRoleId") + .HasComment("角色Id"); + + b.Property("SysOrgId") + .HasColumnType("varchar(36)") + .HasColumnName("SysOrgId") + .HasComment("机构Id"); + + b.HasKey("SysRoleId", "SysOrgId"); + + b.HasIndex("SysOrgId"); + + b.ToTable("sys_role_data_scope"); + + b + .HasComment("角色数据范围表"); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleMenu", b => + { + b.Property("SysRoleId") + .HasColumnType("varchar(36)") + .HasColumnName("SysRoleId") + .HasComment("角色Id"); + + b.Property("SysMenuId") + .HasColumnType("varchar(36)") + .HasColumnName("SysMenuId") + .HasComment("菜单Id"); + + b.HasKey("SysRoleId", "SysMenuId"); + + b.HasIndex("SysMenuId"); + + b.ToTable("sys_role_menu"); + + b + .HasComment("角色菜单表"); + }); + + modelBuilder.Entity("Ewide.Core.SysTenant", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("Connection") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("数据库连接"); + + b.Property("CreatedTime") + .HasColumnType("datetime(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .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("bit") + .HasColumnName("IsDeleted") + .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(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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("Ewide.Core.SysTimer", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .HasComment("Id主键"); + + b.Property("BeginTime") + .HasColumnType("datetime(6)") + .HasComment("开始时间"); + + b.Property("CreatedTime") + .HasColumnType("datetime(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .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(6)") + .HasComment("结束时间"); + + b.Property("Headers") + .HasColumnType("longtext CHARACTER SET utf8mb4") + .HasComment("Headers"); + + b.Property("Interval") + .HasColumnType("int") + .HasComment("执行间隔时间"); + + b.Property("IsDeleted") + .HasColumnType("bit") + .HasColumnName("IsDeleted") + .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(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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 = "971bc338-0c03-46d4-8113-c7738d54ea18", + BeginTime = new DateTimeOffset(new DateTime(2021, 3, 21, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), + Interval = 30, + IsDeleted = 0ul, + JobGroup = "默认分组", + JobName = "百度api", + RequestType = 2, + RequestUrl = "https://www.baidu.com", + TriggerType = 1 + }); + }); + + modelBuilder.Entity("Ewide.Core.SysUser", b => + { + b.Property("Id") + .HasColumnType("varchar(36)") + .HasColumnName("Id") + .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(6)") + .HasComment("生日"); + + b.Property("CreatedTime") + .HasColumnType("datetime(6)") + .HasComment("创建时间"); + + b.Property("CreatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("CreatedUserId") + .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("bit") + .HasColumnName("IsDeleted") + .HasComment("软删除标记"); + + b.Property("LastLoginIp") + .HasMaxLength(30) + .HasColumnType("varchar(30) CHARACTER SET utf8mb4") + .HasComment("最后登录IP"); + + b.Property("LastLoginTime") + .HasColumnType("datetime(6)") + .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(6)") + .HasComment("更新时间"); + + b.Property("UpdatedUserId") + .HasColumnType("varchar(36)") + .HasColumnName("UpdatedUserId") + .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 = "d0ead3dc-5096-4e15-bc6d-f640be5301ec", + 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 = 0ul, + 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 = "5398fb9a-2209-4ce7-a2c1-b6a983e502b5", + 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 = 0ul, + 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 = "16a74726-e156-499f-9942-0e0e24ad0c3f", + 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 = 0ul, + 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("Ewide.Core.SysUserDataScope", b => + { + b.Property("SysUserId") + .HasColumnType("varchar(36)") + .HasColumnName("SysUserId") + .HasComment("用户Id"); + + b.Property("SysOrgId") + .HasColumnType("varchar(36)") + .HasColumnName("SysOrgId") + .HasComment("机构Id"); + + b.HasKey("SysUserId", "SysOrgId"); + + b.HasIndex("SysOrgId"); + + b.ToTable("sys_user_data_scope"); + + b + .HasComment("用户数据范围表"); + }); + + modelBuilder.Entity("Ewide.Core.SysUserRole", b => + { + b.Property("SysUserId") + .HasColumnType("varchar(36)") + .HasColumnName("SysUserId") + .HasComment("用户Id"); + + b.Property("SysRoleId") + .HasColumnType("varchar(36)") + .HasColumnName("SysRoleId") + .HasComment("角色Id"); + + b.HasKey("SysUserId", "SysRoleId"); + + b.HasIndex("SysRoleId"); + + b.ToTable("sys_user_role"); + + b + .HasComment("用户角色表"); + }); + + modelBuilder.Entity("Ewide.Core.SysDictData", b => + { + b.HasOne("Ewide.Core.SysDictType", "SysDictType") + .WithMany("SysDictDatas") + .HasForeignKey("TypeId"); + + b.Navigation("SysDictType"); + }); + + modelBuilder.Entity("Ewide.Core.SysEmpExtOrgPos", b => + { + b.HasOne("Ewide.Core.SysEmp", "SysEmp") + .WithMany() + .HasForeignKey("SysEmpId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysOrg", "SysOrg") + .WithMany() + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysPos", "SysPos") + .WithMany() + .HasForeignKey("SysPosId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysEmp"); + + b.Navigation("SysOrg"); + + b.Navigation("SysPos"); + }); + + modelBuilder.Entity("Ewide.Core.SysEmpPos", b => + { + b.HasOne("Ewide.Core.SysEmp", "SysEmp") + .WithMany("SysEmpPos") + .HasForeignKey("SysEmpId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysPos", "SysPos") + .WithMany("SysEmpPos") + .HasForeignKey("SysPosId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysEmp"); + + b.Navigation("SysPos"); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleDataScope", b => + { + b.HasOne("Ewide.Core.SysOrg", "SysOrg") + .WithMany("SysRoleDataScopes") + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysRole", "SysRole") + .WithMany("SysRoleDataScopes") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysOrg"); + + b.Navigation("SysRole"); + }); + + modelBuilder.Entity("Ewide.Core.SysRoleMenu", b => + { + b.HasOne("Ewide.Core.SysMenu", "SysMenu") + .WithMany("SysRoleMenus") + .HasForeignKey("SysMenuId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysRole", "SysRole") + .WithMany("SysRoleMenus") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysMenu"); + + b.Navigation("SysRole"); + }); + + modelBuilder.Entity("Ewide.Core.SysUserDataScope", b => + { + b.HasOne("Ewide.Core.SysOrg", "SysOrg") + .WithMany("SysUserDataScopes") + .HasForeignKey("SysOrgId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysUser", "SysUser") + .WithMany("SysUserDataScopes") + .HasForeignKey("SysUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysOrg"); + + b.Navigation("SysUser"); + }); + + modelBuilder.Entity("Ewide.Core.SysUserRole", b => + { + b.HasOne("Ewide.Core.SysRole", "SysRole") + .WithMany("SysUserRoles") + .HasForeignKey("SysRoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Ewide.Core.SysUser", "SysUser") + .WithMany("SysUserRoles") + .HasForeignKey("SysUserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("SysRole"); + + b.Navigation("SysUser"); + }); + + modelBuilder.Entity("Ewide.Core.SysDictType", b => + { + b.Navigation("SysDictDatas"); + }); + + modelBuilder.Entity("Ewide.Core.SysEmp", b => + { + b.Navigation("SysEmpPos"); + }); + + modelBuilder.Entity("Ewide.Core.SysMenu", b => + { + b.Navigation("SysRoleMenus"); + }); + + modelBuilder.Entity("Ewide.Core.SysOrg", b => + { + b.Navigation("SysRoleDataScopes"); + + b.Navigation("SysUserDataScopes"); + }); + + modelBuilder.Entity("Ewide.Core.SysPos", b => + { + b.Navigation("SysEmpPos"); + }); + + modelBuilder.Entity("Ewide.Core.SysRole", b => + { + b.Navigation("SysRoleDataScopes"); + + b.Navigation("SysRoleMenus"); + + b.Navigation("SysUserRoles"); + }); + + modelBuilder.Entity("Ewide.Core.SysUser", b => + { + b.Navigation("SysUserDataScopes"); + + b.Navigation("SysUserRoles"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/Api/Ewide.Database.Migrations/Migrations/20210426060021_Init20210426a.cs b/Api/Ewide.Database.Migrations/Migrations/20210426060021_Init20210426a.cs new file mode 100644 index 0000000..9ef7f7f --- /dev/null +++ b/Api/Ewide.Database.Migrations/Migrations/20210426060021_Init20210426a.cs @@ -0,0 +1,35 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +namespace Ewide.Database.Migrations.Migrations +{ + public partial class Init20210426a : Migration + { + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AlterColumn( + name: "Success", + table: "sys_log_op", + type: "tinyint(1)", + nullable: true, + comment: "是否执行成功", + oldClrType: typeof(string), + oldType: "longtext CHARACTER SET utf8mb4", + oldNullable: true, + oldComment: "是否执行成功"); + } + + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.AlterColumn( + name: "Success", + table: "sys_log_op", + type: "longtext CHARACTER SET utf8mb4", + nullable: true, + comment: "是否执行成功", + oldClrType: typeof(bool), + oldType: "tinyint(1)", + oldNullable: true, + oldComment: "是否执行成功"); + } + } +} diff --git a/Api/Ewide.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs b/Api/Ewide.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs index ddb3824..855f158 100644 --- a/Api/Ewide.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs +++ b/Api/Ewide.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs @@ -2681,8 +2681,8 @@ namespace Ewide.Database.Migrations.Migrations .HasColumnType("longtext CHARACTER SET utf8mb4") .HasComment("返回结果"); - b.Property("Success") - .HasColumnType("longtext CHARACTER SET utf8mb4") + b.Property("Success") + .HasColumnType("tinyint(1)") .HasComment("是否执行成功"); b.Property("Url") diff --git a/Api/Ewide.Web.Core/Startup.cs b/Api/Ewide.Web.Core/Startup.cs index 2edfd35..a43b19d 100644 --- a/Api/Ewide.Web.Core/Startup.cs +++ b/Api/Ewide.Web.Core/Startup.cs @@ -26,7 +26,9 @@ namespace Ewide.Web.Core .AddMvcFilter() .AddInjectWithUnifyResult() // 在管道中增加NewtonsoftJson,防止参数类型严格验证 - .AddNewtonsoftJson() + .AddNewtonsoftJson(options => { + options.SerializerSettings.DateFormatString = "yyyy-MM-dd HH:mm:ss"; + }) .AddJsonOptions(options => { //options.JsonSerializerOptions.DefaultBufferSize = 10_0000;//返回较大数据数据序列化时会截断,原因:默认缓冲区大小(以字节为单位)为16384。 diff --git a/Web/src/assets/style/app.less b/Web/src/assets/style/app.less index 7cafb3f..b66c29d 100644 --- a/Web/src/assets/style/app.less +++ b/Web/src/assets/style/app.less @@ -19,8 +19,10 @@ @import './lib/table.less'; @import './lib/list.less'; @import './lib/form.less'; +@import './lib/description.less'; @import './lib/select.less'; @import './lib/dropdown.less'; +@import './lib/modal.less'; @import './lib/tree-layout.less'; @import './lib/authority-view.less'; @import './lib/icon-selector.less'; diff --git a/Web/src/assets/style/lib/description.less b/Web/src/assets/style/lib/description.less new file mode 100644 index 0000000..79833b3 --- /dev/null +++ b/Web/src/assets/style/lib/description.less @@ -0,0 +1,10 @@ +@import (reference) '~@/assets/style/extend.less'; +.ant-descriptions-bordered { + .ant-descriptions-view { + >table { + border-collapse: collapse; + + background-color: @white; + } + } +} diff --git a/Web/src/assets/style/lib/modal.less b/Web/src/assets/style/lib/modal.less new file mode 100644 index 0000000..4a0fb66 --- /dev/null +++ b/Web/src/assets/style/lib/modal.less @@ -0,0 +1,33 @@ +@import (reference) '~@/assets/style/extend.less'; +.ant-modal-content { + background-color: fade(@primary-color, 20%); + + backdrop-filter: blur(10px); +} +.ant-modal-header { + padding: @padding-sm @padding-md; + + background-color: transparent; +} +.ant-modal-title { + color: fade(@white, 85%); +} +.ant-modal-body { + background-color: @white; +} +.ant-modal-footer { + background-color: @white; +} +.ant-modal-close { + color: fade(@white, 45%); + &:focus, + &:hover { + color: fade(@white, 75%); + } +} +.ant-modal-close-x { + line-height: 46px; + + width: 46px; + height: 46px; +} diff --git a/Web/src/assets/style/lib/table.less b/Web/src/assets/style/lib/table.less index 7a68a1a..6dae04c 100644 --- a/Web/src/assets/style/lib/table.less +++ b/Web/src/assets/style/lib/table.less @@ -25,10 +25,6 @@ .ant-table { background-color: @white; - - .yo-action-bar { - margin-bottom: 0; - } } .ant-table-small { diff --git a/Web/src/common/api/requests/index.js b/Web/src/common/api/requests/index.js index 93a57b1..1e6bf3f 100644 --- a/Web/src/common/api/requests/index.js +++ b/Web/src/common/api/requests/index.js @@ -11,44 +11,8 @@ * [url]必填,为接口地址,[method]选填,为请求方式(不区分大小写),默认为POST */ -import appManage from './sys/appManage' -import configManage from './sys/configManage' -import dictDataManage from './sys/dictDataManage' -import dictManage from './sys/dictManage' -import emailManage from './sys/emailManage' -import fileManage from './sys/fileManage' -import loginManage from './sys/loginManage' -import logManage from './sys/logManage' -import machineManage from './sys/machineManage' -import menuManage from './sys/menuManage' -import noticeManage from './sys/noticeManage' -import onlineUserManage from './sys/onlineUserManage' -import orgManage from './sys/orgManage' -import posManage from './sys/posManage' -import roleManage from './sys/roleManage' -import smsManage from './sys/smsManage' -import tenantManage from './sys/tenantManage' -import timersManage from './sys/timersManage' -import userManage from './sys/userManage' +import sys from './sys' export default { - ...appManage, - ...configManage, - ...dictDataManage, - ...dictManage, - ...emailManage, - ...fileManage, - ...loginManage, - ...logManage, - ...machineManage, - ...menuManage, - ...noticeManage, - ...onlineUserManage, - ...orgManage, - ...posManage, - ...roleManage, - ...smsManage, - ...tenantManage, - ...timersManage, - ...userManage, + ...sys } \ No newline at end of file diff --git a/Web/src/common/api/requests/sys/index.js b/Web/src/common/api/requests/sys/index.js new file mode 100644 index 0000000..3b8a165 --- /dev/null +++ b/Web/src/common/api/requests/sys/index.js @@ -0,0 +1,41 @@ +import appManage from './appManage' +import configManage from './configManage' +import dictDataManage from './dictDataManage' +import dictManage from './dictManage' +import emailManage from './emailManage' +import fileManage from './fileManage' +import loginManage from './loginManage' +import logManage from './logManage' +import machineManage from './machineManage' +import menuManage from './menuManage' +import noticeManage from './noticeManage' +import onlineUserManage from './onlineUserManage' +import orgManage from './orgManage' +import posManage from './posManage' +import roleManage from './roleManage' +import smsManage from './smsManage' +import tenantManage from './tenantManage' +import timersManage from './timersManage' +import userManage from './userManage' + +export default { + ...appManage, + ...configManage, + ...dictDataManage, + ...dictManage, + ...emailManage, + ...fileManage, + ...loginManage, + ...logManage, + ...machineManage, + ...menuManage, + ...noticeManage, + ...onlineUserManage, + ...orgManage, + ...posManage, + ...roleManage, + ...smsManage, + ...tenantManage, + ...timersManage, + ...userManage, +} \ No newline at end of file diff --git a/Web/src/components/yoImage/index.js b/Web/src/components/yoImage/index.js new file mode 100644 index 0000000..278a46a --- /dev/null +++ b/Web/src/components/yoImage/index.js @@ -0,0 +1,35 @@ +import { ArrayBufferToBase64 } from '@/util/file' + +export default { + props: { + type: { + type: String, + default: 'image' + }, + id: { + type: [String, Number], + require: true + } + }, + data() { + return { + src: '' + } + }, + + created() { + if (this.id) { + this.$api.sysFileInfoPreview({ id: this.id }).then(async ({ data }) => { + const base64 = await ArrayBufferToBase64(data) + this.src = base64 + }) + } + }, + + render() { + return this.type == 'avatar' ? + + : + + }, +} \ No newline at end of file diff --git a/Web/src/components/yoTable/index.js b/Web/src/components/yoTable/index.js index d927f32..4f05893 100644 --- a/Web/src/components/yoTable/index.js +++ b/Web/src/components/yoTable/index.js @@ -162,7 +162,8 @@ export default { } const on = { - change: this.onTableChange + change: this.onTableChange, + ...this.$listeners } return (
diff --git a/Web/src/components/yoTreeLayout/index.js b/Web/src/components/yoTreeLayout/index.js index d03f2f5..2cdac96 100644 --- a/Web/src/components/yoTreeLayout/index.js +++ b/Web/src/components/yoTreeLayout/index.js @@ -1,3 +1,7 @@ +import Swiper from 'swiper' + +let timer, swiper + export default { props: { loadData: { @@ -20,6 +24,7 @@ export default { searchValue: '', + selectedKeys: [], expandedKeys: [], autoExpandParent: true } @@ -29,7 +34,64 @@ export default { this.onLoadData() }, + mounted() { + const container = this.$refs.swiper, + scrollBar = container.querySelector('.swiper-scrollbar') + + const swiperOptions = { + direction: 'vertical', + slidesPerView: 'auto', + freeMode: true, + scrollbar: { + el: scrollBar, + }, + mousewheel: true, + } + + swiper = new Swiper(container, swiperOptions) + + window.addEventListener('resize', () => { + this.onUpdateSwiper() + }) + + }, + methods: { + + renderBreadcrumbItem() { + + const path = ['顶级'] + + const findPath = (data, level) => { + level = level || 1 + for (let i = 0; i < data.length; i++) { + const item = data[i] + + path[level] = item.title + + if (item.id === this.selectedKeys[0]) { + path.length = level + 1 + return true + } + + if (item.children && item.children.length) { + const found = findPath(item.children, level + 1) + if (found) { + return true + } + } + } + } + + if (this.selectedKeys.length) { + findPath(this.data) + } + + return path.map(p => ( + {p} + )) + }, + onLoadData() { this.loading = true @@ -42,6 +104,10 @@ export default { } this.data = data + this.$nextTick(() => { + this.onUpdateSwiper() + }) + this.loading = false }) }, @@ -51,8 +117,9 @@ export default { }, onExpand(expandedKeys) { - this.expandedKeys = expandedKeys; - this.autoExpandParent = false; + this.expandedKeys = expandedKeys + this.autoExpandParent = false + this.onUpdateSwiper() }, onSearch(value) { @@ -77,9 +144,18 @@ export default { const data = this.list.find(m => m.key === p) selectedIds.push(data.id) }) + this.selectedKeys = selectedIds this.$emit('select', selectedIds) }, + onUpdateSwiper() { + clearTimeout(timer) + timer = setTimeout(() => { + swiper.update() + swiper.update() + }, 300) + }, + generateKey(data, level) { const n = level || [0] n.push(0) @@ -98,9 +174,9 @@ export default { // 这里获取不到Key for (let i = 0; i < data.length; i++) { const { key, id, title, children } = data[i] - this.list.push({ key, id, title }); + this.list.push({ key, id, title }) if (children) { - this.generateList(children); + this.generateList(children) } } }, @@ -108,12 +184,12 @@ export default { getParentKey(key, tree) { let parentKey; for (let i = 0; i < tree.length; i++) { - const node = tree[i]; + const node = tree[i] if (node.children) { if (node.children.some(item => item.key === key)) { - parentKey = node.key; + parentKey = node.key } else if (this.getParentKey(key, node.children)) { - parentKey = this.getParentKey(key, node.children); + parentKey = this.getParentKey(key, node.children) } } } @@ -123,14 +199,6 @@ export default { render() { - const swiperOptions = { - direction: 'vertical', - slidesPerView: 'auto', - freeMode: true, - scrollbar: true, - mousewheel: true, - } - const props = { treeData: this.data, expandedKeys: this.expandedKeys, @@ -170,16 +238,24 @@ export default { - - - - - - - - +
+
+
+ + + + +
+
+
+
+ + + {this.renderBreadcrumbItem()} + + {this.$scopedSlots.default ? this.$scopedSlots.default() : null} diff --git a/Web/src/main.js b/Web/src/main.js index 3f28849..a4b1f0f 100644 --- a/Web/src/main.js +++ b/Web/src/main.js @@ -13,9 +13,7 @@ Vue.use(Antd) /** * 引入swiper */ -import VueAwesomeSwiper from 'vue-awesome-swiper' import 'swiper/swiper-bundle.css' -Vue.use(VueAwesomeSwiper) import { Swiper as SwiperClass, Pagination, @@ -53,6 +51,8 @@ import YoTable from './components/yoTable' Vue.component('YoTable', YoTable) import YoTableActions from './components/yoTableActions' Vue.component('YoTableActions', YoTableActions) +import YoImage from './components/yoImage' +Vue.component('YoImage', YoImage) /** * 引入主题样式 diff --git a/Web/src/pages/system/_seed/editForm.vue b/Web/src/pages/system/_seed/editForm.vue index 6660ec9..9e4dde4 100644 --- a/Web/src/pages/system/_seed/editForm.vue +++ b/Web/src/pages/system/_seed/editForm.vue @@ -2,7 +2,8 @@ diff --git a/Web/src/pages/system/_seed/index.vue b/Web/src/pages/system/_seed/index.vue index 70128a9..a3d8c57 100644 --- a/Web/src/pages/system/_seed/index.vue +++ b/Web/src/pages/system/_seed/index.vue @@ -166,7 +166,6 @@ export default { this.$message.success(successMessage); this.onReloadData(); } - this.$refs.table.onLoaded(); }, /** @@ -180,6 +179,9 @@ export default { .testDeleteApi(record) .then(({ success }) => { this.onResult(success, '删除成功'); + }) + .finally(() => { + this.$refs.table.onLoaded(); }); }, }, diff --git a/Web/src/pages/system/dict/addForm.vue b/Web/src/pages/system/dict/addForm.vue new file mode 100644 index 0000000..00d6573 --- /dev/null +++ b/Web/src/pages/system/dict/addForm.vue @@ -0,0 +1,78 @@ + + \ No newline at end of file diff --git a/Web/src/pages/system/dict/dictdata/addForm.vue b/Web/src/pages/system/dict/dictdata/addForm.vue new file mode 100644 index 0000000..bc1067f --- /dev/null +++ b/Web/src/pages/system/dict/dictdata/addForm.vue @@ -0,0 +1,79 @@ + + \ No newline at end of file diff --git a/Web/src/pages/system/dict/dictdata/editForm.vue b/Web/src/pages/system/dict/dictdata/editForm.vue new file mode 100644 index 0000000..8d40561 --- /dev/null +++ b/Web/src/pages/system/dict/dictdata/editForm.vue @@ -0,0 +1,79 @@ + + \ No newline at end of file diff --git a/Web/src/pages/system/dict/dictdata/form.vue b/Web/src/pages/system/dict/dictdata/form.vue new file mode 100644 index 0000000..4168210 --- /dev/null +++ b/Web/src/pages/system/dict/dictdata/form.vue @@ -0,0 +1,122 @@ + + \ No newline at end of file diff --git a/Web/src/pages/system/dict/dictdata/index.vue b/Web/src/pages/system/dict/dictdata/index.vue index 833140a..8bee1b5 100644 --- a/Web/src/pages/system/dict/dictdata/index.vue +++ b/Web/src/pages/system/dict/dictdata/index.vue @@ -1,165 +1,131 @@ \ No newline at end of file diff --git a/Web/src/pages/system/dict/form.vue b/Web/src/pages/system/dict/form.vue new file mode 100644 index 0000000..6528541 --- /dev/null +++ b/Web/src/pages/system/dict/form.vue @@ -0,0 +1,117 @@ + + \ No newline at end of file diff --git a/Web/src/pages/system/dict/index.vue b/Web/src/pages/system/dict/index.vue index 5ea443a..4b66429 100644 --- a/Web/src/pages/system/dict/index.vue +++ b/Web/src/pages/system/dict/index.vue @@ -5,6 +5,7 @@
+ @@ -14,143 +15,127 @@ 查询 - 重置 + 重置
+ -
-
- 新增类型 -
-
- - {{statusFilter(text)}} - + + 新增字典类型 + + + {{ bindCodeValue(text, 'commonStatus') }} + - 字典 - - - 更多 - - - - 编辑 - - - - - - - 删除 - - - - - + + 编辑 + + + 删除 + + + +
+ +

- - + + \ No newline at end of file diff --git a/Web/src/pages/system/log/oplog/form.vue b/Web/src/pages/system/log/oplog/form.vue deleted file mode 100644 index 1b78a17..0000000 --- a/Web/src/pages/system/log/oplog/form.vue +++ /dev/null @@ -1,105 +0,0 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/log/oplog/index.vue b/Web/src/pages/system/log/oplog/index.vue index 110d3e9..cb37a3b 100644 --- a/Web/src/pages/system/log/oplog/index.vue +++ b/Web/src/pages/system/log/oplog/index.vue @@ -1,35 +1,59 @@ \ No newline at end of file diff --git a/Web/src/pages/system/log/vislog/detailsForm.vue b/Web/src/pages/system/log/vislog/detailsForm.vue deleted file mode 100644 index 0e6e82d..0000000 --- a/Web/src/pages/system/log/vislog/detailsForm.vue +++ /dev/null @@ -1,72 +0,0 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/log/vislog/form.vue b/Web/src/pages/system/log/vislog/form.vue deleted file mode 100644 index c674607..0000000 --- a/Web/src/pages/system/log/vislog/form.vue +++ /dev/null @@ -1,46 +0,0 @@ - - \ No newline at end of file diff --git a/Web/src/pages/system/log/vislog/index.vue b/Web/src/pages/system/log/vislog/index.vue index d8faf34..18fccb5 100644 --- a/Web/src/pages/system/log/vislog/index.vue +++ b/Web/src/pages/system/log/vislog/index.vue @@ -1,37 +1,56 @@ \ No newline at end of file diff --git a/Web/src/pages/system/machine/index.vue b/Web/src/pages/system/machine/index.vue new file mode 100644 index 0000000..ec9033a --- /dev/null +++ b/Web/src/pages/system/machine/index.vue @@ -0,0 +1,93 @@ + + \ No newline at end of file diff --git a/Web/src/pages/system/org/addForm.vue b/Web/src/pages/system/org/addForm.vue index af133ac..074d470 100644 --- a/Web/src/pages/system/org/addForm.vue +++ b/Web/src/pages/system/org/addForm.vue @@ -42,9 +42,7 @@ export default { await this.formBody.onInit(); // 获取外部选中的部门id - this.formBody.onFillData({ - pid: orgId, - }); + this.formBody.onFillData(record, orgId); }); }, diff --git a/Web/src/pages/system/org/form.vue b/Web/src/pages/system/org/form.vue index 7f2ccba..dbd636e 100644 --- a/Web/src/pages/system/org/form.vue +++ b/Web/src/pages/system/org/form.vue @@ -3,14 +3,15 @@
- + - + - + - +
@@ -34,10 +35,15 @@ \ No newline at end of file diff --git a/Web/src/pages/system/org/index.vue b/Web/src/pages/system/org/index.vue index baa4946..3c97e6a 100644 --- a/Web/src/pages/system/org/index.vue +++ b/Web/src/pages/system/org/index.vue @@ -6,7 +6,6 @@ ref="tree-layout" > -
diff --git a/Web/src/pages/system/user/addForm.vue b/Web/src/pages/system/user/addForm.vue index 346526e..58bde42 100644 --- a/Web/src/pages/system/user/addForm.vue +++ b/Web/src/pages/system/user/addForm.vue @@ -43,11 +43,7 @@ export default { await this.formBody.onInit(); // 获取外部选中的部门id - this.formBody.onFillData({ - sysEmpParam: { - orgId: id, - }, - }); + this.formBody.onFillData(record, id); }); }, diff --git a/Web/src/pages/system/user/form.vue b/Web/src/pages/system/user/form.vue index 1a79311..f35bba0 100644 --- a/Web/src/pages/system/user/form.vue +++ b/Web/src/pages/system/user/form.vue @@ -57,9 +57,10 @@
@@ -89,6 +90,7 @@ \ No newline at end of file diff --git a/Web/src/util/file/index.js b/Web/src/util/file/index.js new file mode 100644 index 0000000..e6678ce --- /dev/null +++ b/Web/src/util/file/index.js @@ -0,0 +1,85 @@ +const _getFileTypeByBase64 = (base64) => { + let arr = base64.split(','), + fileType = arr[0].match(/:(.*?);/)[1] + return fileType +} + +/** + * ArrayBuffer转Base64 + * @param {*} arrayBuffer + * @returns + */ +export const ArrayBufferToBase64 = async (arrayBuffer) => { + const blob = ArrayBufferToBlob(arrayBuffer) + const base64 = await BlobToBase64(blob) + return base64 +} + +/** + * ArrayBuffer转Blob + * @param {*} arrayBuffer + * @returns + */ +export const ArrayBufferToBlob = (arrayBuffer) => { + return new Blob([arrayBuffer]) +} + +/** + * Base64转Blob + * @param {*} base64 + * @returns + */ +export const Base64ToBlob = (base64) => { + let arr = base64.split(','), + fileType = _getFileTypeByBase64(base64), + bstr = atob(arr[1]), + n = bstr.length, + u8arr = new Uint8Array(n) + + while (n--) { + u8arr[n] = bstr.charCodeAt(n) + } + return new Blob([u8arr], { type: fileType }) +} + +/** + * Blob转文件 + * @param {*} blob + * @param {*} fileName + * @param {*} fileType + * @returns + */ +export const BlobToFile = (blob, fileName, fileType) => { + blob.lastModifiedDate = new Date() + blob.name = fileName + const file = new File([blob], fileName, { type: fileType }) + return file +} + +/** + * Base64转文件 + * @param {*} base64 + * @param {*} fileName + * @returns + */ +export const Base64ToFile = (base64, fileName) => { + const blob = Base64ToBlob(base64) + const fileType = _getFileTypeByBase64(base64) + const file = BlobToFile(blob, fileName, fileType) + return file +} + +/** + * Blob转Base64 + * @param {*} blob + * @returns + */ +export const BlobToBase64 = async (blob) => { + return new Promise(resolve => { + const reader = new FileReader() + reader.readAsDataURL(blob) + reader.onload = (e) => { + resolve(e.target.result) + } + }) +} \ No newline at end of file diff --git a/Web/src/views/main/_layout/header/user.js b/Web/src/views/main/_layout/header/user.js index 8e3fbff..82027dd 100644 --- a/Web/src/views/main/_layout/header/user.js +++ b/Web/src/views/main/_layout/header/user.js @@ -52,11 +52,9 @@ export default {
- + { + this.$root.global.info && + } { this.$root.global.info && +
+ + +
+ + +
+
+
+ + + + +
+
+
+
+
+
+ +
+ + \ No newline at end of file diff --git a/Web/src/views/main/_layout/sider/index.vue b/Web/src/views/main/_layout/sider/index.vue index 642c371..ed8b9d9 100644 --- a/Web/src/views/main/_layout/sider/index.vue +++ b/Web/src/views/main/_layout/sider/index.vue @@ -9,20 +9,22 @@
- - - - - - - -
- +
+
+
+ + + + +
+
+
+