Files
zsxt_nbzs_h5/Api/Ewide.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs

6589 lines
274 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// <auto-generated />
using System;
using Dilon.EntityFramework.Core;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Ewide.Database.Migrations.Migrations
{
[DbContext(typeof(DefaultDbContext))]
partial class DefaultDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("Relational:MaxIdentifierLength", 64)
.HasAnnotation("ProductVersion", "5.0.5");
modelBuilder.Entity("Dilon.Application.CodeGenTest", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<int>("Age")
.HasColumnType("int")
.HasComment("年龄");
b.Property<DateTimeOffset>("Birthday")
.HasColumnType("datetime")
.HasComment("生日");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("Name")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("名称");
b.Property<string>("NickName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("昵称");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.HasKey("Id");
b.ToTable("code_gen_test");
b
.HasComment("代码生成业务");
});
modelBuilder.Entity("Dilon.Core.SysApp", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<string>("Active")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("是否默认激活");
b.Property<string>("Code")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("编码");
b.Property<string>("Color")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("图标颜色");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<string>("Icon")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("图标");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("Name")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("名称");
b.Property<int>("Sort")
.HasColumnType("int")
.HasComment("排序");
b.Property<int>("Status")
.HasColumnType("int")
.HasComment("状态");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.HasKey("Id");
b.ToTable("sys_app");
b
.HasComment("系统应用表");
b.HasData(
new
{
Id = 142307070922869L,
Active = "N",
Code = "busapp",
IsDeleted = false,
Name = "业务应用",
Sort = 100,
Status = 0
},
new
{
Id = 142307070898245L,
Active = "Y",
Code = "system",
IsDeleted = false,
Name = "系统管理",
Sort = 100,
Status = 0
},
new
{
Id = 142307070902341L,
Active = "N",
Code = "system_tool",
IsDeleted = false,
Name = "系统工具",
Sort = 100,
Status = 0
},
new
{
Id = 142307070922826L,
Active = "N",
Code = "advanced",
IsDeleted = false,
Name = "高级功能",
Sort = 100,
Status = 0
});
});
modelBuilder.Entity("Dilon.Core.SysCodeGen", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<string>("AuthorName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("作者姓名");
b.Property<string>("BusName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("业务名");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<string>("GenerateType")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("生成方式");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("NameSpace")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("命名空间");
b.Property<string>("TableName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("数据库表名");
b.Property<string>("TablePrefix")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("是否移除表前缀");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.HasKey("Id");
b.ToTable("sys_code_gen");
b
.HasComment("代码生成表");
});
modelBuilder.Entity("Dilon.Core.SysCodeGenConfig", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<long>("CodeGenId")
.HasColumnType("bigint")
.HasComment("代码生成主表ID");
b.Property<string>("ColumnComment")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("字段描述");
b.Property<string>("ColumnKey")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("主外键");
b.Property<string>("ColumnName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("数据库字段名");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<string>("DataType")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("数据库中类型");
b.Property<string>("DictTypeCode")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("字典Code");
b.Property<string>("EffectType")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("作用类型");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("NetType")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment(".NET数据类型");
b.Property<string>("QueryType")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("查询方式");
b.Property<string>("QueryWhether")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("是否是查询条件");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.Property<string>("WhetherAddUpdate")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("增改");
b.Property<string>("WhetherCommon")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("是否通用字段");
b.Property<string>("WhetherRequired")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("是否必填");
b.Property<string>("WhetherRetract")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("列表是否缩进");
b.Property<string>("WhetherTable")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("列表显示");
b.HasKey("Id");
b.ToTable("sys_code_gen_config");
b
.HasComment("代码生成字段配置表");
});
modelBuilder.Entity("Dilon.Core.SysConfig", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<string>("Code")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("编码");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<string>("GroupCode")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("常量所属分类的编码");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("Name")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("名称");
b.Property<string>("Remark")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("备注");
b.Property<int>("Status")
.HasColumnType("int")
.HasComment("状态");
b.Property<string>("SysFlag")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("是否是系统参数");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.Property<string>("Value")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("属性值");
b.HasKey("Id");
b.ToTable("sys_config");
b
.HasComment("参数配置表");
b.HasData(
new
{
Id = 142307070902342L,
Code = "DILON_JWT_SECRET",
GroupCode = "DEFAULT",
IsDeleted = false,
Name = "jwt密钥",
Remark = "重要jwt密钥默认为空自行设置",
Status = 0,
SysFlag = "Y",
Value = "xiaonuo"
},
new
{
Id = 142307070902343L,
Code = "DILON_DEFAULT_PASSWORD",
GroupCode = "DEFAULT",
IsDeleted = false,
Name = "默认密码",
Remark = "默认密码",
Status = 0,
SysFlag = "Y",
Value = "123456"
},
new
{
Id = 142307070902344L,
Code = "DILON_TOKEN_EXPIRE",
GroupCode = "DEFAULT",
IsDeleted = false,
Name = "token过期时间",
Remark = "token过期时间单位",
Status = 0,
SysFlag = "Y",
Value = "86400"
},
new
{
Id = 142307070902345L,
Code = "DILON_SESSION_EXPIRE",
GroupCode = "DEFAULT",
IsDeleted = false,
Name = "session会话过期时间",
Remark = "session会话过期时间单位",
Status = 0,
SysFlag = "Y",
Value = "7200"
},
new
{
Id = 142307070902346L,
Code = "DILON_ALIYUN_SMS_ACCESSKEY_ID",
GroupCode = "ALIYUN_SMS",
IsDeleted = false,
Name = "阿里云短信keyId",
Remark = "阿里云短信keyId",
Status = 0,
SysFlag = "Y",
Value = "你的keyId"
},
new
{
Id = 142307070902347L,
Code = "DILON_ALIYUN_SMS_ACCESSKEY_SECRET",
GroupCode = "ALIYUN_SMS",
IsDeleted = false,
Name = "阿里云短信secret",
Remark = "阿里云短信secret",
Status = 0,
SysFlag = "Y",
Value = "你的secret"
},
new
{
Id = 142307070902348L,
Code = "DILON_ALIYUN_SMS_SIGN_NAME",
GroupCode = "ALIYUN_SMS",
IsDeleted = false,
Name = "阿里云短信签名",
Remark = "阿里云短信签名",
Status = 0,
SysFlag = "Y",
Value = "你的签名"
},
new
{
Id = 142307070902349L,
Code = "DILON_ALIYUN_SMS_LOGIN_TEMPLATE_CODE",
GroupCode = "ALIYUN_SMS",
IsDeleted = false,
Name = "阿里云短信-登录模板号",
Remark = "阿里云短信-登录模板号",
Status = 0,
SysFlag = "Y",
Value = "SMS_1877123456"
},
new
{
Id = 142307070902350L,
Code = "DILON_ALIYUN_SMS_INVALIDATE_MINUTES",
GroupCode = "ALIYUN_SMS",
IsDeleted = false,
Name = "阿里云短信默认失效时间",
Remark = "阿里云短信默认失效时间(单位:分钟)",
Status = 0,
SysFlag = "Y",
Value = "5"
},
new
{
Id = 142307070902351L,
Code = "DILON_TENCENT_SMS_SECRET_ID",
GroupCode = "TENCENT_SMS",
IsDeleted = false,
Name = "腾讯云短信secretId",
Remark = "腾讯云短信secretId",
Status = 0,
SysFlag = "Y",
Value = "你的secretId"
},
new
{
Id = 142307070902352L,
Code = "DILON_TENCENT_SMS_SECRET_KEY",
GroupCode = "TENCENT_SMS",
IsDeleted = false,
Name = "腾讯云短信secretKey",
Remark = "腾讯云短信secretKey",
Status = 0,
SysFlag = "Y",
Value = "你的secretkey"
},
new
{
Id = 142307070902353L,
Code = "DILON_TENCENT_SMS_SDK_APP_ID",
GroupCode = "TENCENT_SMS",
IsDeleted = false,
Name = "腾讯云短信sdkAppId",
Remark = "腾讯云短信sdkAppId",
Status = 0,
SysFlag = "Y",
Value = "1400375123"
},
new
{
Id = 142307070902354L,
Code = "DILON_TENCENT_SMS_SIGN",
GroupCode = "TENCENT_SMS",
IsDeleted = false,
Name = "腾讯云短信签名",
Remark = "腾讯云短信签名",
Status = 0,
SysFlag = "Y",
Value = "你的签名"
},
new
{
Id = 142307070902355L,
Code = "DILON_EMAIL_HOST",
GroupCode = "EMAIL",
IsDeleted = false,
Name = "邮箱host",
Remark = "邮箱host",
Status = 0,
SysFlag = "Y",
Value = "smtp.126.com"
},
new
{
Id = 142307070902356L,
Code = "DILON_EMAIL_USERNAME",
GroupCode = "EMAIL",
IsDeleted = false,
Name = "邮箱用户名",
Remark = "邮箱用户名",
Status = 0,
SysFlag = "Y",
Value = "test@126.com"
},
new
{
Id = 142307070902357L,
Code = "DILON_EMAIL_PASSWORD",
GroupCode = "EMAIL",
IsDeleted = false,
Name = "邮箱密码",
Remark = "邮箱密码",
Status = 0,
SysFlag = "Y",
Value = "你的邮箱密码"
},
new
{
Id = 142307070902358L,
Code = "DILON_EMAIL_PORT",
GroupCode = "EMAIL",
IsDeleted = false,
Name = "邮箱端口",
Remark = "邮箱端口",
Status = 0,
SysFlag = "Y",
Value = "465"
},
new
{
Id = 142307070902359L,
Code = "DILON_EMAIL_SSL",
GroupCode = "EMAIL",
IsDeleted = false,
Name = "邮箱是否开启ssl",
Remark = "邮箱是否开启ssl",
Status = 0,
SysFlag = "Y",
Value = "true"
},
new
{
Id = 142307070902360L,
Code = "DILON_EMAIL_FROM",
GroupCode = "EMAIL",
IsDeleted = false,
Name = "邮箱发件人",
Remark = "邮箱发件人",
Status = 0,
SysFlag = "Y",
Value = "test@126.com"
},
new
{
Id = 142307070902361L,
Code = "DILON_FILE_UPLOAD_PATH_FOR_WINDOWS",
GroupCode = "FILE_PATH",
IsDeleted = false,
Name = "Win本地上传文件路径",
Remark = "Win本地上传文件路径",
Status = 0,
SysFlag = "Y",
Value = "D:/tmp"
},
new
{
Id = 142307070902362L,
Code = "DILON_FILE_UPLOAD_PATH_FOR_LINUX",
GroupCode = "FILE_PATH",
IsDeleted = false,
Name = "Linux/Mac本地上传文件路径",
Remark = "Linux/Mac本地上传文件路径",
Status = 0,
SysFlag = "Y",
Value = "/tmp"
},
new
{
Id = 142307070902363L,
Code = "DILON_UN_XSS_FILTER_URL",
GroupCode = "DEFAULT",
IsDeleted = false,
Name = "放开XSS过滤的接口",
Remark = "多个url可以用英文逗号隔开",
Status = 0,
SysFlag = "Y",
Value = "/demo/xssfilter,/demo/unxss"
},
new
{
Id = 142307070902364L,
Code = "DILON_ENABLE_SINGLE_LOGIN",
GroupCode = "DEFAULT",
IsDeleted = false,
Name = "单用户登陆的开关",
Remark = "true-打开false-关闭,如果一个人登录两次,就会将上一次登陆挤下去",
Status = 0,
SysFlag = "Y",
Value = "false"
},
new
{
Id = 142307070902365L,
Code = "DILON_CAPTCHA_OPEN",
GroupCode = "DEFAULT",
IsDeleted = false,
Name = "登录验证码的开关",
Remark = "true-打开false-关闭",
Status = 0,
SysFlag = "Y",
Value = "true"
},
new
{
Id = 142307070902366L,
Code = "DILON_DRUID_USERNAME",
GroupCode = "DEFAULT",
IsDeleted = false,
Name = "Druid监控登录账号",
Remark = "Druid监控登录账号",
Status = 0,
SysFlag = "Y",
Value = "superAdmin"
},
new
{
Id = 142307070902367L,
Code = "DILON_DRUID_PASSWORD",
GroupCode = "DEFAULT",
IsDeleted = false,
Name = "Druid监控界面登录密码",
Remark = "Druid监控界面登录密码",
Status = 0,
SysFlag = "Y",
Value = "123456"
},
new
{
Id = 142307070902368L,
Code = "DILON_IP_GEO_API",
GroupCode = "DEFAULT",
IsDeleted = false,
Name = "阿里云定位api接口地址",
Remark = "阿里云定位api接口地址",
Status = 0,
SysFlag = "Y",
Value = "http://api01.aliyun.venuscn.com/ip?ip=%s"
},
new
{
Id = 142307070902369L,
Code = "DILON_IP_GEO_APP_CODE",
GroupCode = "DEFAULT",
IsDeleted = false,
Name = "阿里云定位appCode",
Remark = "阿里云定位appCode",
Status = 0,
SysFlag = "Y",
Value = "461535aabeae4f34861884d392f5d452"
},
new
{
Id = 142307070902370L,
Code = "DILON_ENABLE_OAUTH_LOGIN",
GroupCode = "OAUTH",
IsDeleted = false,
Name = "Oauth用户登录的开关",
Remark = "Oauth用户登录的开关",
Status = 0,
SysFlag = "Y",
Value = "true"
},
new
{
Id = 142307070902371L,
Code = "DILON_OAUTH_GITEE_CLIENT_ID",
GroupCode = "OAUTH",
IsDeleted = false,
Name = "Oauth码云登录ClientId",
Remark = "Oauth码云登录ClientId",
Status = 0,
SysFlag = "Y",
Value = "你的clientId"
},
new
{
Id = 142307070902372L,
Code = "DILON_OAUTH_GITEE_CLIENT_SECRET",
GroupCode = "OAUTH",
IsDeleted = false,
Name = "Oauth码云登录ClientSecret",
Remark = "Oauth码云登录ClientSecret",
Status = 0,
SysFlag = "Y",
Value = "你的clientSecret"
},
new
{
Id = 142307070902373L,
Code = "DILON_OAUTH_GITEE_REDIRECT_URI",
GroupCode = "OAUTH",
IsDeleted = false,
Name = "Oauth码云登录回调地址",
Remark = "Oauth码云登录回调地址",
Status = 0,
SysFlag = "Y",
Value = "http://127.0.0.1:5566/oauth/callback/gitee"
},
new
{
Id = 142307070902374L,
Code = "DILON_DEMO_ENV_FLAG",
GroupCode = "DEFAULT",
IsDeleted = false,
Name = "演示环境",
Remark = "演示环境的开关,true-打开false-关闭,如果演示环境开启,则只能读数据不能写数据",
Status = 0,
SysFlag = "Y",
Value = "false"
});
});
modelBuilder.Entity("Dilon.Core.SysDictData", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<string>("Code")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("编码");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("Remark")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("备注");
b.Property<int>("Sort")
.HasColumnType("int")
.HasComment("排序");
b.Property<int>("Status")
.HasColumnType("int")
.HasComment("状态");
b.Property<long>("TypeId")
.HasColumnType("bigint")
.HasComment("字典类型Id");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.Property<string>("Value")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("值");
b.HasKey("Id");
b.HasIndex("TypeId");
b.ToTable("sys_dict_data");
b
.HasComment("字典值表");
b.HasData(
new
{
Id = 142307070902375L,
Code = "1",
IsDeleted = false,
Remark = "男性",
Sort = 100,
Status = 0,
TypeId = 142307070906484L,
Value = "男"
},
new
{
Id = 142307070902376L,
Code = "2",
IsDeleted = false,
Remark = "女性",
Sort = 100,
Status = 0,
TypeId = 142307070906484L,
Value = "女"
},
new
{
Id = 142307070902377L,
Code = "3",
IsDeleted = false,
Remark = "未知性别",
Sort = 100,
Status = 0,
TypeId = 142307070906484L,
Value = "未知"
},
new
{
Id = 142307070902378L,
Code = "DEFAULT",
IsDeleted = false,
Remark = "默认常量都以XIAONUO_开头的",
Sort = 100,
Status = 0,
TypeId = 142307070906485L,
Value = "默认常量"
},
new
{
Id = 142307070902379L,
Code = "ALIYUN_SMS",
IsDeleted = false,
Remark = "阿里云短信配置",
Sort = 100,
Status = 0,
TypeId = 142307070906485L,
Value = "阿里云短信"
},
new
{
Id = 142307070902380L,
Code = "TENCENT_SMS",
IsDeleted = false,
Remark = "腾讯云短信",
Sort = 100,
Status = 0,
TypeId = 142307070906485L,
Value = "腾讯云短信"
},
new
{
Id = 142307070902381L,
Code = "EMAIL",
IsDeleted = false,
Remark = "邮件配置",
Sort = 100,
Status = 0,
TypeId = 142307070906485L,
Value = "邮件配置"
},
new
{
Id = 142307070902382L,
Code = "FILE_PATH",
IsDeleted = false,
Remark = "文件上传路径",
Sort = 100,
Status = 0,
TypeId = 142307070906485L,
Value = "文件上传路径"
},
new
{
Id = 142307070902383L,
Code = "OAUTH",
IsDeleted = false,
Remark = "Oauth配置",
Sort = 100,
Status = 0,
TypeId = 142307070906485L,
Value = "Oauth配置"
},
new
{
Id = 142307070902384L,
Code = "0",
IsDeleted = false,
Remark = "正常",
Sort = 100,
Status = 0,
TypeId = 142307070906483L,
Value = "正常"
},
new
{
Id = 142307070902385L,
Code = "1",
IsDeleted = false,
Remark = "停用",
Sort = 100,
Status = 0,
TypeId = 142307070906483L,
Value = "停用"
},
new
{
Id = 142307070902386L,
Code = "2",
IsDeleted = false,
Remark = "删除",
Sort = 100,
Status = 0,
TypeId = 142307070906483L,
Value = "删除"
},
new
{
Id = 142307070902387L,
Code = "N",
IsDeleted = false,
Remark = "否",
Sort = 100,
Status = 0,
TypeId = 142307070906486L,
Value = "否"
},
new
{
Id = 142307070902388L,
Code = "Y",
IsDeleted = false,
Remark = "是",
Sort = 100,
Status = 0,
TypeId = 142307070906486L,
Value = "是"
},
new
{
Id = 142307070902389L,
Code = "1",
IsDeleted = false,
Remark = "登录",
Sort = 100,
Status = 0,
TypeId = 142307070906487L,
Value = "登录"
},
new
{
Id = 142307070902390L,
Code = "2",
IsDeleted = false,
Remark = "登出",
Sort = 100,
Status = 0,
TypeId = 142307070906487L,
Value = "登出"
},
new
{
Id = 142307070902391L,
Code = "0",
IsDeleted = false,
Remark = "目录",
Sort = 100,
Status = 0,
TypeId = 142307070906488L,
Value = "目录"
},
new
{
Id = 142307070902392L,
Code = "1",
IsDeleted = false,
Remark = "菜单",
Sort = 100,
Status = 0,
TypeId = 142307070906488L,
Value = "菜单"
},
new
{
Id = 142307070902393L,
Code = "2",
IsDeleted = false,
Remark = "按钮",
Sort = 100,
Status = 0,
TypeId = 142307070906488L,
Value = "按钮"
},
new
{
Id = 142307070902394L,
Code = "0",
IsDeleted = false,
Remark = "未发送",
Sort = 100,
Status = 0,
TypeId = 142307070906489L,
Value = "未发送"
},
new
{
Id = 142307070902395L,
Code = "1",
IsDeleted = false,
Remark = "发送成功",
Sort = 100,
Status = 0,
TypeId = 142307070906489L,
Value = "发送成功"
},
new
{
Id = 142307070902396L,
Code = "2",
IsDeleted = false,
Remark = "发送失败",
Sort = 100,
Status = 0,
TypeId = 142307070906489L,
Value = "发送失败"
},
new
{
Id = 142307070902397L,
Code = "3",
IsDeleted = false,
Remark = "失效",
Sort = 100,
Status = 0,
TypeId = 142307070906489L,
Value = "失效"
},
new
{
Id = 142307070902398L,
Code = "0",
IsDeleted = false,
Remark = "无",
Sort = 100,
Status = 0,
TypeId = 142307070906490L,
Value = "无"
},
new
{
Id = 142307070902399L,
Code = "1",
IsDeleted = false,
Remark = "组件",
Sort = 100,
Status = 0,
TypeId = 142307070906490L,
Value = "组件"
},
new
{
Id = 142307070906437L,
Code = "2",
IsDeleted = false,
Remark = "内链",
Sort = 100,
Status = 0,
TypeId = 142307070906490L,
Value = "内链"
},
new
{
Id = 142307070906438L,
Code = "3",
IsDeleted = false,
Remark = "外链",
Sort = 100,
Status = 0,
TypeId = 142307070906490L,
Value = "外链"
},
new
{
Id = 142307070906439L,
Code = "1",
IsDeleted = false,
Remark = "系统权重",
Sort = 100,
Status = 0,
TypeId = 142307070906491L,
Value = "系统权重"
},
new
{
Id = 142307070906440L,
Code = "2",
IsDeleted = false,
Remark = "业务权重",
Sort = 100,
Status = 0,
TypeId = 142307070906491L,
Value = "业务权重"
},
new
{
Id = 142307070906441L,
Code = "1",
IsDeleted = false,
Remark = "全部数据",
Sort = 100,
Status = 0,
TypeId = 142307070906492L,
Value = "全部数据"
},
new
{
Id = 142307070906442L,
Code = "2",
IsDeleted = false,
Remark = "本部门及以下数据",
Sort = 100,
Status = 0,
TypeId = 142307070906492L,
Value = "本部门及以下数据"
},
new
{
Id = 142307070906443L,
Code = "3",
IsDeleted = false,
Remark = "本部门数据",
Sort = 100,
Status = 0,
TypeId = 142307070906492L,
Value = "本部门数据"
},
new
{
Id = 142307070906444L,
Code = "4",
IsDeleted = false,
Remark = "仅本人数据",
Sort = 100,
Status = 0,
TypeId = 142307070906492L,
Value = "仅本人数据"
},
new
{
Id = 142307070906445L,
Code = "5",
IsDeleted = false,
Remark = "自定义数据",
Sort = 100,
Status = 0,
TypeId = 142307070906492L,
Value = "自定义数据"
},
new
{
Id = 142307070906446L,
Code = "1",
IsDeleted = false,
Remark = "app",
Sort = 100,
Status = 0,
TypeId = 142307070906493L,
Value = "app"
},
new
{
Id = 142307070906447L,
Code = "2",
IsDeleted = false,
Remark = "pc",
Sort = 100,
Status = 0,
TypeId = 142307070906493L,
Value = "pc"
},
new
{
Id = 142307070906448L,
Code = "3",
IsDeleted = false,
Remark = "其他",
Sort = 100,
Status = 0,
TypeId = 142307070906493L,
Value = "其他"
},
new
{
Id = 142307070906449L,
Code = "0",
IsDeleted = false,
Remark = "其它",
Sort = 100,
Status = 0,
TypeId = 142307070906494L,
Value = "其它"
},
new
{
Id = 142307070906450L,
Code = "1",
IsDeleted = false,
Remark = "增加",
Sort = 100,
Status = 0,
TypeId = 142307070906494L,
Value = "增加"
},
new
{
Id = 142307070906451L,
Code = "2",
IsDeleted = false,
Remark = "删除",
Sort = 100,
Status = 0,
TypeId = 142307070906494L,
Value = "删除"
},
new
{
Id = 142307070906452L,
Code = "3",
IsDeleted = false,
Remark = "编辑",
Sort = 100,
Status = 0,
TypeId = 142307070906494L,
Value = "编辑"
},
new
{
Id = 142307070906453L,
Code = "4",
IsDeleted = false,
Remark = "更新",
Sort = 100,
Status = 0,
TypeId = 142307070906494L,
Value = "更新"
},
new
{
Id = 142307070906454L,
Code = "5",
IsDeleted = false,
Remark = "查询",
Sort = 100,
Status = 0,
TypeId = 142307070906494L,
Value = "查询"
},
new
{
Id = 142307070906455L,
Code = "6",
IsDeleted = false,
Remark = "详情",
Sort = 100,
Status = 0,
TypeId = 142307070906494L,
Value = "详情"
},
new
{
Id = 142307070906456L,
Code = "7",
IsDeleted = false,
Remark = "树",
Sort = 100,
Status = 0,
TypeId = 142307070906494L,
Value = "树"
},
new
{
Id = 142307070906457L,
Code = "8",
IsDeleted = false,
Remark = "导入",
Sort = 100,
Status = 0,
TypeId = 142307070906494L,
Value = "导入"
},
new
{
Id = 142307070906458L,
Code = "9",
IsDeleted = false,
Remark = "导出",
Sort = 100,
Status = 0,
TypeId = 142307070906494L,
Value = "导出"
},
new
{
Id = 142307070906459L,
Code = "10",
IsDeleted = false,
Remark = "授权",
Sort = 100,
Status = 0,
TypeId = 142307070906494L,
Value = "授权"
},
new
{
Id = 142307070906460L,
Code = "11",
IsDeleted = false,
Remark = "强退",
Sort = 100,
Status = 0,
TypeId = 142307070906494L,
Value = "强退"
},
new
{
Id = 142307070906461L,
Code = "12",
IsDeleted = false,
Remark = "清空",
Sort = 100,
Status = 0,
TypeId = 142307070906494L,
Value = "清空"
},
new
{
Id = 142307070906462L,
Code = "13",
IsDeleted = false,
Remark = "修改状态",
Sort = 100,
Status = 0,
TypeId = 142307070906494L,
Value = "修改状态"
},
new
{
Id = 142307070906463L,
Code = "1",
IsDeleted = false,
Remark = "阿里云",
Sort = 100,
Status = 0,
TypeId = 142307070906495L,
Value = "阿里云"
},
new
{
Id = 142307070906464L,
Code = "2",
IsDeleted = false,
Remark = "腾讯云",
Sort = 100,
Status = 0,
TypeId = 142307070906495L,
Value = "腾讯云"
},
new
{
Id = 142307070906465L,
Code = "3",
IsDeleted = false,
Remark = "minio",
Sort = 100,
Status = 0,
TypeId = 142307070906495L,
Value = "minio"
},
new
{
Id = 142307070906466L,
Code = "4",
IsDeleted = false,
Remark = "本地",
Sort = 100,
Status = 0,
TypeId = 142307070906495L,
Value = "本地"
},
new
{
Id = 142307070906467L,
Code = "1",
IsDeleted = false,
Remark = "运行",
Sort = 100,
Status = 0,
TypeId = 142307070910533L,
Value = "运行"
},
new
{
Id = 142307070906468L,
Code = "2",
IsDeleted = false,
Remark = "停止",
Sort = 100,
Status = 0,
TypeId = 142307070910533L,
Value = "停止"
},
new
{
Id = 142307070906469L,
Code = "1",
IsDeleted = false,
Remark = "通知",
Sort = 100,
Status = 0,
TypeId = 142307070910534L,
Value = "通知"
},
new
{
Id = 142307070906470L,
Code = "2",
IsDeleted = false,
Remark = "公告",
Sort = 100,
Status = 0,
TypeId = 142307070910534L,
Value = "公告"
},
new
{
Id = 142307070906471L,
Code = "0",
IsDeleted = false,
Remark = "草稿",
Sort = 100,
Status = 0,
TypeId = 142307070910535L,
Value = "草稿"
},
new
{
Id = 142307070906472L,
Code = "1",
IsDeleted = false,
Remark = "发布",
Sort = 100,
Status = 0,
TypeId = 142307070910535L,
Value = "发布"
},
new
{
Id = 142307070906473L,
Code = "2",
IsDeleted = false,
Remark = "撤回",
Sort = 100,
Status = 0,
TypeId = 142307070910535L,
Value = "撤回"
},
new
{
Id = 142307070906474L,
Code = "3",
IsDeleted = false,
Remark = "删除",
Sort = 100,
Status = 0,
TypeId = 142307070910535L,
Value = "删除"
},
new
{
Id = 142307070906475L,
Code = "true",
IsDeleted = false,
Remark = "是",
Sort = 100,
Status = 0,
TypeId = 142307070910536L,
Value = "是"
},
new
{
Id = 142307070906476L,
Code = "false",
IsDeleted = false,
Remark = "否",
Sort = 100,
Status = 0,
TypeId = 142307070910536L,
Value = "否"
},
new
{
Id = 142307070906477L,
Code = "1",
IsDeleted = false,
Remark = "下载压缩包",
Sort = 100,
Status = 0,
TypeId = 142307070910537L,
Value = "下载压缩包"
},
new
{
Id = 142307070906478L,
Code = "2",
IsDeleted = false,
Remark = "生成到本项目",
Sort = 100,
Status = 0,
TypeId = 142307070910537L,
Value = "生成到本项目"
},
new
{
Id = 142307070906479L,
Code = "1",
IsDeleted = false,
Remark = "GET",
Sort = 100,
Status = 0,
TypeId = 142307070910538L,
Value = "GET"
},
new
{
Id = 142307070906480L,
Code = "2",
IsDeleted = false,
Remark = "POST",
Sort = 100,
Status = 0,
TypeId = 142307070910538L,
Value = "POST"
},
new
{
Id = 142307070906481L,
Code = "3",
IsDeleted = false,
Remark = "PUT",
Sort = 100,
Status = 0,
TypeId = 142307070910538L,
Value = "PUT"
},
new
{
Id = 142307070906482L,
Code = "4",
IsDeleted = false,
Remark = "DELETE",
Sort = 100,
Status = 0,
TypeId = 142307070910538L,
Value = "DELETE"
},
new
{
Id = 142307070922830L,
Code = "input",
IsDeleted = false,
Remark = "输入框",
Sort = 100,
Status = 0,
TypeId = 142307070922827L,
Value = "输入框"
},
new
{
Id = 142307070922831L,
Code = "datepicker",
IsDeleted = false,
Remark = "时间选择",
Sort = 100,
Status = 0,
TypeId = 142307070922827L,
Value = "时间选择"
},
new
{
Id = 142307070922832L,
Code = "select",
IsDeleted = false,
Remark = "下拉框",
Sort = 100,
Status = 0,
TypeId = 142307070922827L,
Value = "下拉框"
},
new
{
Id = 142307070922833L,
Code = "radio",
IsDeleted = false,
Remark = "单选框",
Sort = 100,
Status = 0,
TypeId = 142307070922827L,
Value = "单选框"
},
new
{
Id = 142307070922834L,
Code = "switch",
IsDeleted = false,
Remark = "开关",
Sort = 100,
Status = 0,
TypeId = 142307070922827L,
Value = "开关"
},
new
{
Id = 142307070922835L,
Code = "checkbox",
IsDeleted = false,
Remark = "多选框",
Sort = 100,
Status = 0,
TypeId = 142307070922827L,
Value = "多选框"
},
new
{
Id = 142307070922836L,
Code = "inputnumber",
IsDeleted = false,
Remark = "数字输入框",
Sort = 100,
Status = 0,
TypeId = 142307070922827L,
Value = "数字输入框"
},
new
{
Id = 142307070922837L,
Code = "textarea",
IsDeleted = false,
Remark = "文本域",
Sort = 100,
Status = 0,
TypeId = 142307070922827L,
Value = "文本域"
},
new
{
Id = 142307070922838L,
Code = "==",
IsDeleted = false,
Remark = "等于",
Sort = 1,
Status = 0,
TypeId = 142307070922828L,
Value = "等于"
},
new
{
Id = 142307070922839L,
Code = "like",
IsDeleted = false,
Remark = "模糊",
Sort = 2,
Status = 0,
TypeId = 142307070922828L,
Value = "模糊"
},
new
{
Id = 142307070922840L,
Code = ">",
IsDeleted = false,
Remark = "大于",
Sort = 3,
Status = 0,
TypeId = 142307070922828L,
Value = "大于"
},
new
{
Id = 142307070922841L,
Code = "<",
IsDeleted = false,
Remark = "小于",
Sort = 4,
Status = 0,
TypeId = 142307070922828L,
Value = "小于"
},
new
{
Id = 142307070922842L,
Code = "!=",
IsDeleted = false,
Remark = "不等于",
Sort = 5,
Status = 0,
TypeId = 142307070922828L,
Value = "不等于"
},
new
{
Id = 142307070922843L,
Code = ">=",
IsDeleted = false,
Remark = "大于等于",
Sort = 6,
Status = 0,
TypeId = 142307070922828L,
Value = "大于等于"
},
new
{
Id = 142307070922844L,
Code = "<=",
IsDeleted = false,
Remark = "小于等于",
Sort = 7,
Status = 0,
TypeId = 142307070922828L,
Value = "小于等于"
},
new
{
Id = 142307070922845L,
Code = "isNotNull",
IsDeleted = false,
Remark = "不为空",
Sort = 8,
Status = 0,
TypeId = 142307070922828L,
Value = "不为空"
},
new
{
Id = 142307070922851L,
Code = "int",
IsDeleted = false,
Remark = "int",
Sort = 100,
Status = 0,
TypeId = 142307070922829L,
Value = "int"
},
new
{
Id = 142307070922846L,
Code = "long",
IsDeleted = false,
Remark = "long",
Sort = 100,
Status = 0,
TypeId = 142307070922829L,
Value = "long"
},
new
{
Id = 142307070922847L,
Code = "string",
IsDeleted = false,
Remark = "string",
Sort = 100,
Status = 0,
TypeId = 142307070922829L,
Value = "string"
},
new
{
Id = 142307070922850L,
Code = "bool",
IsDeleted = false,
Remark = "bool",
Sort = 100,
Status = 0,
TypeId = 142307070922829L,
Value = "bool"
},
new
{
Id = 142307070922852L,
Code = "double",
IsDeleted = false,
Remark = "double",
Sort = 100,
Status = 0,
TypeId = 142307070922829L,
Value = "double"
},
new
{
Id = 142307070922848L,
Code = "DateTime",
IsDeleted = false,
Remark = "DateTime",
Sort = 100,
Status = 0,
TypeId = 142307070922829L,
Value = "DateTime"
},
new
{
Id = 142307070922861L,
Code = "float",
IsDeleted = false,
Remark = "float",
Sort = 100,
Status = 0,
TypeId = 142307070922829L,
Value = "float"
},
new
{
Id = 142307070922862L,
Code = "decimal",
IsDeleted = false,
Remark = "decimal",
Sort = 100,
Status = 0,
TypeId = 142307070922829L,
Value = "decimal"
},
new
{
Id = 142307070922863L,
Code = "Guid",
IsDeleted = false,
Remark = "Guid",
Sort = 100,
Status = 0,
TypeId = 142307070922829L,
Value = "Guid"
},
new
{
Id = 142307070922864L,
Code = "DateTimeOffset",
IsDeleted = false,
Remark = "DateTimeOffset",
Sort = 100,
Status = 0,
TypeId = 142307070922829L,
Value = "DateTimeOffset"
});
});
modelBuilder.Entity("Dilon.Core.SysDictType", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<string>("Code")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("编码");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("Name")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("名称");
b.Property<string>("Remark")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("备注");
b.Property<int>("Sort")
.HasColumnType("int")
.HasComment("排序");
b.Property<int>("Status")
.HasColumnType("int")
.HasComment("状态");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.HasKey("Id");
b.ToTable("sys_dict_type");
b
.HasComment("字典类型表");
b.HasData(
new
{
Id = 142307070906483L,
Code = "common_status",
IsDeleted = false,
Name = "通用状态",
Remark = "通用状态",
Sort = 100,
Status = 0
},
new
{
Id = 142307070906484L,
Code = "sex",
IsDeleted = false,
Name = "性别",
Remark = "性别字典",
Sort = 100,
Status = 0
},
new
{
Id = 142307070906485L,
Code = "consts_type",
IsDeleted = false,
Name = "常量的分类",
Remark = "常量的分类,用于区别一组配置",
Sort = 100,
Status = 0
},
new
{
Id = 142307070906486L,
Code = "yes_or_no",
IsDeleted = false,
Name = "是否",
Remark = "是否",
Sort = 100,
Status = 0
},
new
{
Id = 142307070906487L,
Code = "vis_type",
IsDeleted = false,
Name = "访问类型",
Remark = "访问类型",
Sort = 100,
Status = 0
},
new
{
Id = 142307070906488L,
Code = "menu_type",
IsDeleted = false,
Name = "菜单类型",
Remark = "菜单类型",
Sort = 100,
Status = 0
},
new
{
Id = 142307070906489L,
Code = "send_type",
IsDeleted = false,
Name = "发送类型",
Remark = "发送类型",
Sort = 100,
Status = 0
},
new
{
Id = 142307070906490L,
Code = "open_type",
IsDeleted = false,
Name = "打开方式",
Remark = "打开方式",
Sort = 100,
Status = 0
},
new
{
Id = 142307070906491L,
Code = "menu_weight",
IsDeleted = false,
Name = "菜单权重",
Remark = "菜单权重",
Sort = 100,
Status = 0
},
new
{
Id = 142307070906492L,
Code = "data_scope_type",
IsDeleted = false,
Name = "数据范围类型",
Remark = "数据范围类型",
Sort = 100,
Status = 0
},
new
{
Id = 142307070906493L,
Code = "sms_send_source",
IsDeleted = false,
Name = "短信发送来源",
Remark = "短信发送来源",
Sort = 100,
Status = 0
},
new
{
Id = 142307070906494L,
Code = "op_type",
IsDeleted = false,
Name = "操作类型",
Remark = "操作类型",
Sort = 100,
Status = 0
},
new
{
Id = 142307070906495L,
Code = "file_storage_location",
IsDeleted = false,
Name = "文件存储位置",
Remark = "文件存储位置",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910533L,
Code = "run_status",
IsDeleted = false,
Name = "运行状态",
Remark = "定时任务运行状态",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910534L,
Code = "notice_type",
IsDeleted = false,
Name = "通知公告类型",
Remark = "通知公告类型",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910535L,
Code = "notice_status",
IsDeleted = false,
Name = "通知公告状态",
Remark = "通知公告状态",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910536L,
Code = "yes_true_false",
IsDeleted = false,
Name = "是否boolean",
Remark = "是否boolean",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910537L,
Code = "code_gen_create_type",
IsDeleted = false,
Name = "代码生成方式",
Remark = "代码生成方式",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910538L,
Code = "request_type",
IsDeleted = false,
Name = "请求方式",
Remark = "请求方式",
Sort = 100,
Status = 0
},
new
{
Id = 142307070922827L,
Code = "code_gen_effect_type",
IsDeleted = false,
Name = "代码生成作用类型",
Remark = "代码生成作用类型",
Sort = 100,
Status = 0
},
new
{
Id = 142307070922828L,
Code = "code_gen_query_type",
IsDeleted = false,
Name = "代码生成查询类型",
Remark = "代码生成查询类型",
Sort = 100,
Status = 0
},
new
{
Id = 142307070922829L,
Code = "code_gen_net_type",
IsDeleted = false,
Name = "代码生成.NET类型",
Remark = "代码生成.NET类型",
Sort = 100,
Status = 0
});
});
modelBuilder.Entity("Dilon.Core.SysEmp", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("用户Id");
b.Property<string>("JobNum")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("工号");
b.Property<long>("OrgId")
.HasColumnType("bigint")
.HasComment("机构Id");
b.Property<string>("OrgName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("机构名称");
b.HasKey("Id");
b.ToTable("sys_emp");
b
.HasComment("员工表");
b.HasData(
new
{
Id = 142307070910551L,
JobNum = "D1001",
OrgId = 142307070910539L,
OrgName = "华夏集团"
},
new
{
Id = 142307070910552L,
JobNum = "D1002",
OrgId = 142307070910539L,
OrgName = "华夏集团"
},
new
{
Id = 142307070910553L,
JobNum = "D1003",
OrgId = 142307070910539L,
OrgName = "华夏集团"
});
});
modelBuilder.Entity("Dilon.Core.SysEmpExtOrgPos", b =>
{
b.Property<long>("SysEmpId")
.HasColumnType("bigint")
.HasComment("员工Id");
b.Property<long>("SysOrgId")
.HasColumnType("bigint")
.HasComment("机构Id");
b.Property<long>("SysPosId")
.HasColumnType("bigint")
.HasComment("职位Id");
b.HasKey("SysEmpId", "SysOrgId", "SysPosId");
b.HasIndex("SysOrgId");
b.HasIndex("SysPosId");
b.ToTable("sys_emp_ext_org_pos");
b
.HasComment("员工附属机构职位表");
b.HasData(
new
{
SysEmpId = 142307070910551L,
SysOrgId = 142307070910539L,
SysPosId = 142307070910547L
},
new
{
SysEmpId = 142307070910551L,
SysOrgId = 142307070910540L,
SysPosId = 142307070910548L
},
new
{
SysEmpId = 142307070910551L,
SysOrgId = 142307070910541L,
SysPosId = 142307070910549L
},
new
{
SysEmpId = 142307070910551L,
SysOrgId = 142307070910542L,
SysPosId = 142307070910550L
},
new
{
SysEmpId = 142307070910553L,
SysOrgId = 142307070910542L,
SysPosId = 142307070910547L
});
});
modelBuilder.Entity("Dilon.Core.SysEmpPos", b =>
{
b.Property<long>("SysEmpId")
.HasColumnType("bigint")
.HasComment("员工Id");
b.Property<long>("SysPosId")
.HasColumnType("bigint")
.HasComment("职位Id");
b.HasKey("SysEmpId", "SysPosId");
b.HasIndex("SysPosId");
b.ToTable("sys_emp_pos");
b
.HasComment("员工职位表");
b.HasData(
new
{
SysEmpId = 142307070910551L,
SysPosId = 142307070910547L
},
new
{
SysEmpId = 142307070910551L,
SysPosId = 142307070910548L
},
new
{
SysEmpId = 142307070910552L,
SysPosId = 142307070910549L
},
new
{
SysEmpId = 142307070910553L,
SysPosId = 142307070910547L
});
});
modelBuilder.Entity("Dilon.Core.SysFile", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<string>("FileBucket")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("文件仓库");
b.Property<int>("FileLocation")
.HasColumnType("int")
.HasComment("文件存储位置");
b.Property<string>("FileObjectName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("存储到bucket的名称");
b.Property<string>("FileOriginName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("文件名称");
b.Property<string>("FilePath")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("存储路径");
b.Property<string>("FileSizeInfo")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("文件大小信息");
b.Property<long>("FileSizeKb")
.HasColumnType("bigint")
.HasComment("文件大小kb");
b.Property<string>("FileSuffix")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("文件后缀");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.HasKey("Id");
b.ToTable("sys_file");
b
.HasComment("文件信息表");
});
modelBuilder.Entity("Dilon.Core.SysLogAudit", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
b.Property<string>("ColumnName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("列名");
b.Property<DateTimeOffset>("CreatedTime")
.HasColumnType("datetime")
.HasComment("操作时间");
b.Property<string>("NewValue")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("新值");
b.Property<string>("OldValue")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("旧值");
b.Property<string>("Operate")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("操作方式");
b.Property<string>("TableName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("表名");
b.Property<long>("UserId")
.HasColumnType("bigint")
.HasComment("操作人Id");
b.Property<string>("UserName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("操作人名称");
b.HasKey("Id");
b.ToTable("sys_log_audit");
b
.HasComment("审计日志表");
});
modelBuilder.Entity("Dilon.Core.SysLogOp", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
b.Property<string>("Account")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("操作人");
b.Property<string>("Browser")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("浏览器");
b.Property<string>("ClassName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("类名称");
b.Property<long>("ElapsedTime")
.HasColumnType("bigint")
.HasComment("耗时");
b.Property<string>("Ip")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("IP");
b.Property<string>("Location")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("地址");
b.Property<string>("Message")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("具体消息");
b.Property<string>("MethodName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("方法名称");
b.Property<string>("Name")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("名称");
b.Property<DateTimeOffset>("OpTime")
.HasColumnType("datetime")
.HasComment("操作时间");
b.Property<int?>("OpType")
.HasColumnType("int")
.HasComment("操作类型");
b.Property<string>("Os")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("操作系统");
b.Property<string>("Param")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("请求参数");
b.Property<string>("ReqMethod")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("请求方式");
b.Property<string>("Result")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("返回结果");
b.Property<string>("Success")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("是否执行成功");
b.Property<string>("Url")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("请求地址");
b.HasKey("Id");
b.ToTable("sys_log_op");
b
.HasComment("操作日志表");
});
modelBuilder.Entity("Dilon.Core.SysLogVis", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
b.Property<string>("Account")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("访问人");
b.Property<string>("Browser")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("浏览器");
b.Property<string>("Ip")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("IP");
b.Property<string>("Location")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("地址");
b.Property<string>("Message")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("具体消息");
b.Property<string>("Name")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("名称");
b.Property<string>("Os")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("操作系统");
b.Property<string>("Success")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("是否执行成功");
b.Property<DateTimeOffset>("VisTime")
.HasColumnType("datetime")
.HasComment("访问时间");
b.Property<int?>("VisType")
.HasColumnType("int")
.HasComment("访问类型");
b.HasKey("Id");
b.ToTable("sys_log_vis");
b
.HasComment("访问日志表");
});
modelBuilder.Entity("Dilon.Core.SysMenu", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<string>("Application")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("应用分类");
b.Property<string>("Code")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("编码");
b.Property<string>("Component")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("组件地址");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<string>("Icon")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("图标");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("Link")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("内链地址");
b.Property<string>("Name")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("名称");
b.Property<int>("OpenType")
.HasColumnType("int")
.HasComment("打开方式");
b.Property<string>("Permission")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("权限标识");
b.Property<long>("Pid")
.HasColumnType("bigint")
.HasComment("父Id");
b.Property<string>("Pids")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("父Ids");
b.Property<string>("Redirect")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("重定向地址");
b.Property<string>("Remark")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("备注");
b.Property<string>("Router")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("路由地址");
b.Property<int>("Sort")
.HasColumnType("int")
.HasComment("排序");
b.Property<int>("Status")
.HasColumnType("int");
b.Property<int>("Type")
.HasColumnType("int")
.HasComment("菜单类型");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.Property<string>("Visible")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("是否可见");
b.Property<int>("Weight")
.HasColumnType("int")
.HasComment("权重");
b.HasKey("Id");
b.ToTable("sys_menu");
b
.HasComment("菜单表");
b.HasData(
new
{
Id = 142307070910560L,
Application = "system",
Code = "system_index",
Component = "RouteView",
Icon = "home",
IsDeleted = false,
Name = "主控面板",
OpenType = 0,
Pid = 0L,
Pids = "[0],",
Redirect = "/analysis",
Router = "/",
Sort = 1,
Status = 0,
Type = 0,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910561L,
Application = "system",
Code = "system_index_dashboard",
Component = "system/dashboard/Analysis",
IsDeleted = false,
Name = "分析页",
OpenType = 0,
Pid = 142307070910560L,
Pids = "[0],[142307070910560],",
Router = "analysis",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910562L,
Application = "system",
Code = "system_index_workplace",
Component = "system/dashboard/Workplace",
IsDeleted = false,
Name = "工作台",
OpenType = 0,
Pid = 142307070910560L,
Pids = "[0],[142307070910560],",
Router = "workplace",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910563L,
Application = "system",
Code = "sys_mgr",
Component = "PageView",
Icon = "team",
IsDeleted = false,
Name = "组织架构",
OpenType = 0,
Pid = 0L,
Pids = "[0],",
Router = "/sys",
Sort = 100,
Status = 0,
Type = 0,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910564L,
Application = "system",
Code = "sys_user_mgr",
Component = "system/user/index",
IsDeleted = false,
Name = "用户管理",
OpenType = 1,
Pid = 142307070910563L,
Pids = "[0],[142307070910563],",
Router = "/mgr_user",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910565L,
Application = "system",
Code = "sys_user_mgr_page",
IsDeleted = false,
Name = "用户查询",
OpenType = 0,
Permission = "sysUser:page",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910566L,
Application = "system",
Code = "sys_user_mgr_edit",
IsDeleted = false,
Name = "用户编辑",
OpenType = 0,
Permission = "sysUser:edit",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910567L,
Application = "system",
Code = "sys_user_mgr_add",
IsDeleted = false,
Name = "用户增加",
OpenType = 0,
Permission = "sysUser:add",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910568L,
Application = "system",
Code = "sys_user_mgr_delete",
IsDeleted = false,
Name = "用户删除",
OpenType = 0,
Permission = "sysUser:delete",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910569L,
Application = "system",
Code = "sys_user_mgr_detail",
IsDeleted = false,
Name = "用户详情",
OpenType = 0,
Permission = "sysUser:detail",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910570L,
Application = "system",
Code = "sys_user_mgr_export",
IsDeleted = false,
Name = "用户导出",
OpenType = 0,
Permission = "sysUser:export",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910571L,
Application = "system",
Code = "sys_user_mgr_selector",
IsDeleted = false,
Name = "用户选择器",
OpenType = 0,
Permission = "sysUser:selector",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910572L,
Application = "system",
Code = "sys_user_mgr_grant_role",
IsDeleted = false,
Name = "用户授权角色",
OpenType = 0,
Permission = "sysUser:grantRole",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910573L,
Application = "system",
Code = "sys_user_mgr_own_role",
IsDeleted = false,
Name = "用户拥有角色",
OpenType = 0,
Permission = "sysUser:ownRole",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910574L,
Application = "system",
Code = "sys_user_mgr_grant_data",
IsDeleted = false,
Name = "用户授权数据",
OpenType = 0,
Permission = "sysUser:grantData",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910575L,
Application = "system",
Code = "sys_user_mgr_own_data",
IsDeleted = false,
Name = "用户拥有数据",
OpenType = 0,
Permission = "sysUser:ownData",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910576L,
Application = "system",
Code = "sys_user_mgr_update_info",
IsDeleted = false,
Name = "用户更新信息",
OpenType = 0,
Permission = "sysUser:updateInfo",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910577L,
Application = "system",
Code = "sys_user_mgr_update_pwd",
IsDeleted = false,
Name = "用户修改密码",
OpenType = 0,
Permission = "sysUser:updatePwd",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910578L,
Application = "system",
Code = "sys_user_mgr_change_status",
IsDeleted = false,
Name = "用户修改状态",
OpenType = 0,
Permission = "sysUser:changeStatus",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910579L,
Application = "system",
Code = "sys_user_mgr_update_avatar",
IsDeleted = false,
Name = "用户修改头像",
OpenType = 0,
Permission = "sysUser:updateAvatar",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910580L,
Application = "system",
Code = "sys_user_mgr_reset_pwd",
IsDeleted = false,
Name = "用户重置密码",
OpenType = 0,
Permission = "sysUser:resetPwd",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918777L,
Application = "system",
Code = "sys_user_mgr_login",
IsDeleted = false,
Name = "用户登录信息",
OpenType = 0,
Permission = "getLoginUser",
Pid = 142307070910564L,
Pids = "[0],[142307070910563],[142307070910564],",
Sort = 100,
Status = 1,
Type = 2,
Visible = "N",
Weight = 1
},
new
{
Id = 142307070910581L,
Application = "system",
Code = "sys_org_mgr",
Component = "system/org/index",
IsDeleted = false,
Name = "机构管理",
OpenType = 1,
Pid = 142307070910563L,
Pids = "[0],[142307070910563],",
Router = "/org",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910582L,
Application = "system",
Code = "sys_org_mgr_page",
IsDeleted = false,
Name = "机构查询",
OpenType = 0,
Permission = "sysOrg:page",
Pid = 142307070910581L,
Pids = "[0],[142307070910563],[142307070910581],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910583L,
Application = "system",
Code = "sys_org_mgr_list",
IsDeleted = false,
Name = "机构列表",
OpenType = 0,
Permission = "sysOrg:list",
Pid = 142307070910581L,
Pids = "[0],[142307070910563],[142307070910581],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910584L,
Application = "system",
Code = "sys_org_mgr_add",
IsDeleted = false,
Name = "机构增加",
OpenType = 0,
Permission = "sysOrg:add",
Pid = 142307070910581L,
Pids = "[0],[142307070910563],[142307070910581],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910585L,
Application = "system",
Code = "sys_org_mgr_edit",
IsDeleted = false,
Name = "机构编辑",
OpenType = 0,
Permission = "sysOrg:edit",
Pid = 142307070910581L,
Pids = "[0],[142307070910563],[142307070910581],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910586L,
Application = "system",
Code = "sys_org_mgr_delete",
IsDeleted = false,
Name = "机构删除",
OpenType = 0,
Permission = "sysOrg:delete",
Pid = 142307070910581L,
Pids = "[0],[142307070910563],[142307070910581],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910587L,
Application = "system",
Code = "sys_org_mgr_detail",
IsDeleted = false,
Name = "机构详情",
OpenType = 0,
Permission = "sysOrg:detail",
Pid = 142307070910581L,
Pids = "[0],[142307070910563],[142307070910581],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910588L,
Application = "system",
Code = "sys_org_mgr_tree",
IsDeleted = false,
Name = "机构树",
OpenType = 0,
Permission = "sysOrg:tree",
Pid = 142307070910581L,
Pids = "[0],[142307070910563],[142307070910581],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910589L,
Application = "system",
Code = "sys_pos_mgr",
Component = "system/pos/index",
IsDeleted = false,
Name = "职位管理",
OpenType = 1,
Pid = 142307070910563L,
Pids = "[0],[142307070910563],",
Router = "/pos",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910590L,
Application = "system",
Code = "sys_pos_mgr_page",
IsDeleted = false,
Name = "职位查询",
OpenType = 0,
Permission = "sysPos:page",
Pid = 142307070910589L,
Pids = "[0],[142307070910563],[142307070910589],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070910591L,
Application = "system",
Code = "sys_pos_mgr_list",
IsDeleted = false,
Name = "职位列表",
OpenType = 0,
Permission = "sysPos:list",
Pid = 142307070910589L,
Pids = "[0],[142307070910563],[142307070910589],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914629L,
Application = "system",
Code = "sys_pos_mgr_add",
IsDeleted = false,
Name = "职位增加",
OpenType = 0,
Permission = "sysPos:add",
Pid = 142307070910589L,
Pids = "[0],[142307070910563],[142307070910589],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914630L,
Application = "system",
Code = "sys_pos_mgr_edit",
IsDeleted = false,
Name = "职位编辑",
OpenType = 0,
Permission = "sysPos:edit",
Pid = 142307070910589L,
Pids = "[0],[142307070910563],[142307070910589],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914631L,
Application = "system",
Code = "sys_pos_mgr_delete",
IsDeleted = false,
Name = "职位删除",
OpenType = 0,
Permission = "sysPos:delete",
Pid = 142307070910589L,
Pids = "[0],[142307070910563],[142307070910589],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914632L,
Application = "system",
Code = "sys_pos_mgr_detail",
IsDeleted = false,
Name = "职位详情",
OpenType = 0,
Permission = "sysPos:detail",
Pid = 142307070910589L,
Pids = "[0],[142307070910563],[142307070910589],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914633L,
Application = "system",
Code = "auth_manager",
Component = "PageView",
Icon = "safety-certificate",
IsDeleted = false,
Name = "权限管理",
OpenType = 0,
Pid = 0L,
Pids = "[0],",
Router = "/auth",
Sort = 100,
Status = 0,
Type = 0,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914634L,
Application = "system",
Code = "sys_app_mgr",
Component = "system/app/index",
IsDeleted = false,
Name = "应用管理",
OpenType = 1,
Pid = 142307070914633L,
Pids = "[0],[142307070914633],",
Router = "/app",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914635L,
Application = "system",
Code = "sys_app_mgr_page",
IsDeleted = false,
Name = "应用查询",
OpenType = 0,
Permission = "sysApp:page",
Pid = 142307070914634L,
Pids = "[0],[142307070914633],[142307070914634],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914636L,
Application = "system",
Code = "sys_app_mgr_list",
IsDeleted = false,
Name = "应用列表",
OpenType = 0,
Permission = "sysApp:list",
Pid = 142307070914634L,
Pids = "[0],[142307070914633],[142307070914634],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914637L,
Application = "system",
Code = "sys_app_mgr_add",
IsDeleted = false,
Name = "应用增加",
OpenType = 0,
Permission = "sysApp:add",
Pid = 142307070914634L,
Pids = "[0],[142307070914633],[142307070914634],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914638L,
Application = "system",
Code = "sys_app_mgr_edit",
IsDeleted = false,
Name = "应用编辑",
OpenType = 0,
Permission = "sysApp:edit",
Pid = 142307070914634L,
Pids = "[0],[142307070914633],[142307070914634],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914639L,
Application = "system",
Code = "sys_app_mgr_delete",
IsDeleted = false,
Name = "应用删除",
OpenType = 0,
Permission = "sysApp:delete",
Pid = 142307070914634L,
Pids = "[0],[142307070914633],[142307070914634],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914640L,
Application = "system",
Code = "sys_app_mgr_detail",
IsDeleted = false,
Name = "应用详情",
OpenType = 0,
Permission = "sysApp:detail",
Pid = 142307070914634L,
Pids = "[0],[142307070914633],[142307070914634],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914641L,
Application = "system",
Code = "sys_app_mgr_set_as_default",
IsDeleted = false,
Name = "设为默认应用",
OpenType = 0,
Permission = "sysApp:setAsDefault",
Pid = 142307070914634L,
Pids = "[0],[142307070914633],[142307070914634],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914642L,
Application = "system",
Code = "sys_menu_mgr",
Component = "system/menu/index",
IsDeleted = false,
Name = "菜单管理",
OpenType = 1,
Pid = 142307070914633L,
Pids = "[0],[142307070914633],",
Router = "/menu",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914643L,
Application = "system",
Code = "sys_menu_mgr_list",
IsDeleted = false,
Name = "菜单列表",
OpenType = 0,
Permission = "sysMenu:list",
Pid = 142307070914642L,
Pids = "[0],[142307070914633],[142307070914642],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914644L,
Application = "system",
Code = "sys_menu_mgr_add",
IsDeleted = false,
Name = "菜单增加",
OpenType = 0,
Permission = "sysMenu:add",
Pid = 142307070914642L,
Pids = "[0],[142307070914633],[142307070914642],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914645L,
Application = "system",
Code = "sys_menu_mgr_edit",
IsDeleted = false,
Name = "菜单编辑",
OpenType = 0,
Permission = "sysMenu:edit",
Pid = 142307070914642L,
Pids = "[0],[142307070914633],[142307070914642],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914646L,
Application = "system",
Code = "sys_menu_mgr_delete",
IsDeleted = false,
Name = "菜单删除",
OpenType = 0,
Permission = "sysMenu:delete",
Pid = 142307070914642L,
Pids = "[0],[142307070914633],[142307070914642],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914647L,
Application = "system",
Code = "sys_menu_mgr_detail",
IsDeleted = false,
Name = "菜单详情",
OpenType = 0,
Permission = "sysMenu:detail",
Pid = 142307070914642L,
Pids = "[0],[142307070914633],[142307070914642],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914648L,
Application = "system",
Code = "sys_menu_mgr_grant_tree",
IsDeleted = false,
Name = "菜单授权树",
OpenType = 0,
Permission = "sysMenu:treeForGrant",
Pid = 142307070914642L,
Pids = "[0],[142307070914633],[142307070914642],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914649L,
Application = "system",
Code = "sys_menu_mgr_tree",
IsDeleted = false,
Name = "菜单树",
OpenType = 0,
Permission = "sysMenu:tree",
Pid = 142307070914642L,
Pids = "[0],[142307070914633],[142307070914642],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914650L,
Application = "system",
Code = "sys_menu_mgr_change",
IsDeleted = false,
Name = "菜单切换",
OpenType = 0,
Permission = "sysMenu:change",
Pid = 142307070914642L,
Pids = "[0],[142307070914633],[142307070914642],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914651L,
Application = "system",
Code = "sys_role_mgr",
Component = "system/role/index",
IsDeleted = false,
Name = "角色管理",
OpenType = 1,
Pid = 142307070914633L,
Pids = "[0],[142307070914633],",
Router = "/role",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914652L,
Application = "system",
Code = "sys_role_mgr_page",
IsDeleted = false,
Name = "角色查询",
OpenType = 0,
Permission = "sysRole:page",
Pid = 142307070914651L,
Pids = "[0],[142307070914633],[142307070914651],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914653L,
Application = "system",
Code = "sys_role_mgr_add",
IsDeleted = false,
Name = "角色增加",
OpenType = 0,
Permission = "sysRole:add",
Pid = 142307070914651L,
Pids = "[0],[142307070914633],[142307070914651],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914654L,
Application = "system",
Code = "sys_role_mgr_edit",
IsDeleted = false,
Name = "角色编辑",
OpenType = 0,
Permission = "sysRole:edit",
Pid = 142307070914651L,
Pids = "[0],[142307070914633],[142307070914651],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914655L,
Application = "system",
Code = "sys_role_mgr_delete",
IsDeleted = false,
Name = "角色删除",
OpenType = 0,
Permission = "sysRole:delete",
Pid = 142307070914651L,
Pids = "[0],[142307070914633],[142307070914651],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914656L,
Application = "system",
Code = "sys_role_mgr_detail",
IsDeleted = false,
Name = "角色详情",
OpenType = 0,
Permission = "sysRole:detail",
Pid = 142307070914651L,
Pids = "[0],[142307070914633],[142307070914651],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914657L,
Application = "system",
Code = "sys_role_mgr_drop_down",
IsDeleted = false,
Name = "角色下拉",
OpenType = 0,
Permission = "sysRole:dropDown",
Pid = 142307070914651L,
Pids = "[0],[142307070914633],[142307070914651],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914658L,
Application = "system",
Code = "sys_role_mgr_grant_menu",
IsDeleted = false,
Name = "角色授权菜单",
OpenType = 0,
Permission = "sysRole:grantMenu",
Pid = 142307070914651L,
Pids = "[0],[142307070914633],[142307070914651],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914659L,
Application = "system",
Code = "sys_role_mgr_own_menu",
IsDeleted = false,
Name = "角色拥有菜单",
OpenType = 0,
Permission = "sysRole:ownMenu",
Pid = 142307070914651L,
Pids = "[0],[142307070914633],[142307070914651],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914660L,
Application = "system",
Code = "sys_role_mgr_grant_data",
IsDeleted = false,
Name = "角色授权数据",
OpenType = 0,
Permission = "sysRole:grantData",
Pid = 142307070914651L,
Pids = "[0],[142307070914633],[142307070914651],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914661L,
Application = "system",
Code = "sys_role_mgr_own_data",
IsDeleted = false,
Name = "角色拥有数据",
OpenType = 0,
Permission = "sysRole:ownData",
Pid = 142307070914651L,
Pids = "[0],[142307070914633],[142307070914651],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914662L,
Application = "system",
Code = "system_tools",
Component = "PageView",
Icon = "euro",
IsDeleted = false,
Name = "开发管理",
OpenType = 0,
Pid = 0L,
Pids = "[0],",
Router = "/tools",
Sort = 100,
Status = 0,
Type = 0,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914663L,
Application = "system",
Code = "system_tools_config",
Component = "system/config/index",
IsDeleted = false,
Name = "系统配置",
OpenType = 1,
Pid = 142307070914662L,
Pids = "[0],[142307070914662],",
Router = "/config",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914664L,
Application = "system",
Code = "system_tools_config_page",
IsDeleted = false,
Name = "配置查询",
OpenType = 0,
Permission = "sysConfig:page",
Pid = 142307070914663L,
Pids = "[0],[142307070914662],[142307070914663],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914665L,
Application = "system",
Code = "system_tools_config_list",
IsDeleted = false,
Name = "配置列表",
OpenType = 0,
Permission = "sysConfig:list",
Pid = 142307070914663L,
Pids = "[0],[142307070914662],[142307070914663],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914666L,
Application = "system",
Code = "system_tools_config_add",
IsDeleted = false,
Name = "配置增加",
OpenType = 0,
Permission = "sysConfig:add",
Pid = 142307070914663L,
Pids = "[0],[142307070914662],[142307070914663],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914667L,
Application = "system",
Code = "system_tools_config_edit",
IsDeleted = false,
Name = "配置编辑",
OpenType = 0,
Permission = "sysConfig:edit",
Pid = 142307070914663L,
Pids = "[0],[142307070914662],[142307070914663],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914668L,
Application = "system",
Code = "system_tools_config_delete",
IsDeleted = false,
Name = "配置删除",
OpenType = 0,
Permission = "sysConfig:delete",
Pid = 142307070914663L,
Pids = "[0],[142307070914662],[142307070914663],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914669L,
Application = "system",
Code = "system_tools_config_detail",
IsDeleted = false,
Name = "配置详情",
OpenType = 0,
Permission = "sysConfig:detail",
Pid = 142307070914663L,
Pids = "[0],[142307070914662],[142307070914663],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914670L,
Application = "system",
Code = "sys_app_mgr_set_as_default",
IsDeleted = false,
Name = "设为默认应用",
OpenType = 0,
Permission = "sysApp:setAsDefault",
Pid = 142307070914663L,
Pids = "[0],[142307070914662],[142307070914663],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914671L,
Application = "system",
Code = "sys_email_mgr",
Component = "system/email/index",
IsDeleted = false,
Name = "邮件发送",
OpenType = 1,
Pid = 142307070914662L,
Pids = "[0],[142307070914662],",
Router = "/email",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914672L,
Application = "system",
Code = "sys_email_mgr_send_email",
IsDeleted = false,
Name = "发送文本邮件",
OpenType = 0,
Permission = "email:sendEmail",
Pid = 142307070914671L,
Pids = "[0],[142307070914662],[142307070914671],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914673L,
Application = "system",
Code = "sys_email_mgr_send_email_html",
IsDeleted = false,
Name = "发送html邮件",
OpenType = 0,
Permission = "email:sendEmailHtml",
Pid = 142307070914671L,
Pids = "[0],[142307070914662],[142307070914671],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914674L,
Application = "system",
Code = "sys_sms_mgr",
Component = "system/sms/index",
IsDeleted = false,
Name = "短信管理",
OpenType = 1,
Pid = 142307070914662L,
Pids = "[0],[142307070914662],",
Router = "/sms",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914675L,
Application = "system",
Code = "sys_sms_mgr_page",
IsDeleted = false,
Name = "短信发送查询",
OpenType = 0,
Permission = "sms:page",
Pid = 142307070914674L,
Pids = "[0],[142307070914662],[142307070914674],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914676L,
Application = "system",
Code = "sys_sms_mgr_send_login_message",
IsDeleted = false,
Name = "发送验证码短信",
OpenType = 0,
Permission = "sms:sendLoginMessage",
Pid = 142307070914674L,
Pids = "[0],[142307070914662],[142307070914674],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914677L,
Application = "system",
Code = "sys_sms_mgr_validate_message",
IsDeleted = false,
Name = "验证短信验证码",
OpenType = 0,
Permission = "sms:validateMessage",
Pid = 142307070914674L,
Pids = "[0],[142307070914662],[142307070914674],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914678L,
Application = "system",
Code = "sys_dict_mgr",
Component = "system/dict/index",
IsDeleted = false,
Name = "字典管理",
OpenType = 1,
Pid = 142307070914662L,
Pids = "[0],[142307070914662],",
Router = "/dict",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914679L,
Application = "system",
Code = "sys_dict_mgr_dict_type_page",
IsDeleted = false,
Name = "字典类型查询",
OpenType = 0,
Permission = "sysDictType:page",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914680L,
Application = "system",
Code = "sys_dict_mgr_dict_type_list",
IsDeleted = false,
Name = "字典类型列表",
OpenType = 0,
Permission = "sysDictType:list",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914681L,
Application = "system",
Code = "sys_dict_mgr_dict_type_add",
IsDeleted = false,
Name = "字典类型增加",
OpenType = 0,
Permission = "sysDictType:add",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914682L,
Application = "system",
Code = "sys_dict_mgr_dict_type_delete",
IsDeleted = false,
Name = "字典类型删除",
OpenType = 0,
Permission = "sysDictType:delete",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914683L,
Application = "system",
Code = "sys_dict_mgr_dict_type_edit",
IsDeleted = false,
Name = "字典类型编辑",
OpenType = 0,
Permission = "sysDictType:edit",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914684L,
Application = "system",
Code = "sys_dict_mgr_dict_type_detail",
IsDeleted = false,
Name = "字典类型详情",
OpenType = 0,
Permission = "sysDictType:detail",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914685L,
Application = "system",
Code = "sys_dict_mgr_dict_type_drop_down",
IsDeleted = false,
Name = "字典类型下拉",
OpenType = 0,
Permission = "sysDictType:dropDown",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914686L,
Application = "system",
Code = "sys_dict_mgr_dict_type_change_status",
IsDeleted = false,
Name = "字典类型修改状态",
OpenType = 0,
Permission = "sysDictType:changeStatus",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070914687L,
Application = "system",
Code = "sys_dict_mgr_dict_page",
IsDeleted = false,
Name = "字典值查询",
OpenType = 0,
Permission = "sysDictData:page",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918725L,
Application = "system",
Code = "sys_dict_mgr_dict_list",
IsDeleted = false,
Name = "字典值列表",
OpenType = 0,
Permission = "sysDictData:list",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918726L,
Application = "system",
Code = "sys_dict_mgr_dict_add",
IsDeleted = false,
Name = "字典值增加",
OpenType = 0,
Permission = "sysDictData:add",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918727L,
Application = "system",
Code = "sys_dict_mgr_dict_delete",
IsDeleted = false,
Name = "字典值删除",
OpenType = 0,
Permission = "sysDictData:delete",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918728L,
Application = "system",
Code = "sys_dict_mgr_dict_edit",
IsDeleted = false,
Name = "字典值编辑",
OpenType = 0,
Permission = "sysDictData:edit",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918729L,
Application = "system",
Code = "sys_role_mgr_grant_data",
IsDeleted = false,
Name = "字典值详情",
OpenType = 0,
Permission = "sysDictData:detail",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918730L,
Application = "system",
Code = "sys_dict_mgr_dict_change_status",
IsDeleted = false,
Name = "字典值修改状态",
OpenType = 0,
Permission = "sysDictData:changeStatus",
Pid = 142307070914678L,
Pids = "[0],[142307070914662],[142307070914678],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918731L,
Application = "system",
Code = "sys_swagger_mgr",
Component = "Iframe",
IsDeleted = false,
Link = "http://127.0.0.1:5566/",
Name = "接口文档",
OpenType = 2,
Pid = 142307070914662L,
Pids = "[0],[142307070914662],",
Router = "/swagger",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918732L,
Application = "system",
Code = "sys_log_mgr",
Component = "PageView",
Icon = "read",
IsDeleted = false,
Name = "日志管理",
OpenType = 0,
Pid = 0L,
Pids = "[0],",
Router = "/log",
Sort = 100,
Status = 0,
Type = 0,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918733L,
Application = "system",
Code = "sys_log_mgr_vis_log",
Component = "system/log/vislog/index",
IsDeleted = false,
Name = "访问日志",
OpenType = 1,
Pid = 142307070918732L,
Pids = "[0],[142307070918732],",
Router = "/vislog",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918734L,
Application = "system",
Code = "sys_log_mgr_vis_log_page",
IsDeleted = false,
Name = "访问日志查询",
OpenType = 0,
Permission = "sysVisLog:page",
Pid = 142307070918733L,
Pids = "[0],[142307070918732],[142307070918733],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918735L,
Application = "system",
Code = "sys_log_mgr_vis_log_delete",
IsDeleted = false,
Name = "访问日志清空",
OpenType = 0,
Permission = "sysVisLog:delete",
Pid = 142307070918733L,
Pids = "[0],[142307070918732],[142307070918733],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918736L,
Application = "system",
Code = "sys_log_mgr_op_log",
Component = "system/log/oplog/index",
IsDeleted = false,
Name = "操作日志",
OpenType = 1,
Pid = 142307070918732L,
Pids = "[0],[142307070918732],",
Router = "/oplog",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918737L,
Application = "system",
Code = "sys_log_mgr_op_log_page",
IsDeleted = false,
Name = "操作日志查询",
OpenType = 0,
Permission = "sysOpLog:page",
Pid = 142307070918736L,
Pids = "[0],[142307070918732],[142307070918736],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918738L,
Application = "system",
Code = "sys_log_mgr_op_log_delete",
IsDeleted = false,
Name = "操作日志清空",
OpenType = 0,
Permission = "sysOpLog:delete",
Pid = 142307070918736L,
Pids = "[0],[142307070918732],[142307070918736],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918739L,
Application = "system",
Code = "sys_monitor_mgr",
Component = "PageView",
Icon = "deployment-unit",
IsDeleted = false,
Name = "系统监控",
OpenType = 0,
Pid = 0L,
Pids = "[0],",
Router = "/monitor",
Sort = 100,
Status = 0,
Type = 0,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918740L,
Application = "system",
Code = "sys_monitor_mgr_machine_monitor",
Component = "system/machine/index",
IsDeleted = false,
Name = "服务监控",
OpenType = 1,
Pid = 142307070918739L,
Pids = "[0],[142307070918739],",
Router = "/machine",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918741L,
Application = "system",
Code = "sys_monitor_mgr_machine_monitor_query",
IsDeleted = false,
Name = "服务监控查询",
OpenType = 0,
Permission = "sysMachine:query",
Pid = 142307070918740L,
Pids = "[0],[142307070918739],[142307070918740],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918742L,
Application = "system",
Code = "sys_monitor_mgr_online_user",
Component = "system/onlineUser/index",
IsDeleted = false,
Name = "在线用户",
OpenType = 1,
Pid = 142307070918739L,
Pids = "[0],[142307070918739],",
Router = "/onlineUser",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918743L,
Application = "system",
Code = "sys_monitor_mgr_online_user_list",
IsDeleted = false,
Name = "在线用户列表",
OpenType = 0,
Permission = "sysOnlineUser:list",
Pid = 142307070918742L,
Pids = "[0],[142307070918739],[142307070918742],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918744L,
Application = "system",
Code = "sys_monitor_mgr_online_user_force_exist",
IsDeleted = false,
Name = "在线用户强退",
OpenType = 0,
Permission = "sysOnlineUser:forceExist",
Pid = 142307070918742L,
Pids = "[0],[142307070918739],[142307070918742],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918745L,
Application = "system",
Code = "sys_monitor_mgr_druid",
Component = "Iframe",
IsDeleted = false,
Link = "http://localhost:82/druid/login.html",
Name = "数据监控",
OpenType = 2,
Pid = 142307070918739L,
Pids = "[0],[142307070918739],",
Router = "/druid",
Sort = 100,
Status = 0,
Type = 1,
Visible = "N",
Weight = 1
},
new
{
Id = 142307070918746L,
Application = "system",
Code = "sys_notice",
Component = "PageView",
Icon = "sound",
IsDeleted = false,
Name = "通知公告",
OpenType = 0,
Pid = 0L,
Pids = "[0],",
Router = "/notice",
Sort = 100,
Status = 0,
Type = 0,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918747L,
Application = "system",
Code = "sys_notice_mgr",
Component = "system/notice/index",
IsDeleted = false,
Name = "公告管理",
OpenType = 1,
Pid = 142307070918746L,
Pids = "[0],[142307070918746],",
Router = "/notice",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918748L,
Application = "system",
Code = "sys_notice_mgr_page",
IsDeleted = false,
Name = "公告查询",
OpenType = 0,
Permission = "sysNotice:page",
Pid = 142307070918747L,
Pids = "[0],[142307070918746],[142307070918747],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918749L,
Application = "system",
Code = "sys_notice_mgr_add",
IsDeleted = false,
Name = "公告增加",
OpenType = 0,
Permission = "sysNotice:add",
Pid = 142307070918747L,
Pids = "[0],[142307070918746],[142307070918747],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918750L,
Application = "system",
Code = "sys_notice_mgr_edit",
IsDeleted = false,
Name = "公告编辑",
OpenType = 0,
Permission = "sysNotice:edit",
Pid = 142307070918747L,
Pids = "[0],[142307070918746],[142307070918747],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918751L,
Application = "system",
Code = "sys_notice_mgr_delete",
IsDeleted = false,
Name = "公告删除",
OpenType = 0,
Permission = "sysNotice:delete",
Pid = 142307070918747L,
Pids = "[0],[142307070918746],[142307070918747],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918752L,
Application = "system",
Code = "sys_notice_mgr_detail",
IsDeleted = false,
Name = "公告查看",
OpenType = 0,
Permission = "sysNotice:detail",
Pid = 142307070918747L,
Pids = "[0],[142307070918746],[142307070918747],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918753L,
Application = "system",
Code = "sys_notice_mgr_changeStatus",
IsDeleted = false,
Name = "公告修改状态",
OpenType = 0,
Permission = "sysNotice:changeStatus",
Pid = 142307070918747L,
Pids = "[0],[142307070918746],[142307070918747],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918754L,
Application = "system",
Code = "sys_notice_mgr_received",
Component = "system/noticeReceived/index",
IsDeleted = false,
Name = "已收公告",
OpenType = 1,
Pid = 142307070918746L,
Pids = "[0],[142307070918746],",
Router = "/noticeReceived",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918755L,
Application = "system",
Code = "sys_notice_mgr_received_page",
IsDeleted = false,
Name = "已收公告查询",
OpenType = 0,
Permission = "sysNotice:received",
Pid = 142307070918754L,
Pids = "[0],[142307070918746],[142307070918754],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918756L,
Application = "system",
Code = "sys_file_mgr",
Component = "PageView",
Icon = "file",
IsDeleted = false,
Name = "文件管理",
OpenType = 0,
Pid = 0L,
Pids = "[0],",
Router = "/file",
Sort = 100,
Status = 0,
Type = 0,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918757L,
Application = "system",
Code = "sys_file_mgr_sys_file",
Component = "system/file/index",
IsDeleted = false,
Name = "系统文件",
OpenType = 1,
Pid = 142307070918756L,
Pids = "[0],[142307070918756],",
Router = "/file",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918758L,
Application = "system",
Code = "sys_file_mgr_sys_file_page",
IsDeleted = false,
Name = "文件查询",
OpenType = 0,
Permission = "sysFileInfo:page",
Pid = 142307070918757L,
Pids = "[0],[142307070918756],[142307070918757],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918759L,
Application = "system",
Code = "sys_file_mgr_sys_file_list",
IsDeleted = false,
Name = "文件列表",
OpenType = 0,
Permission = "sysFileInfo:list",
Pid = 142307070918757L,
Pids = "[0],[142307070918756],[142307070918757],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918760L,
Application = "system",
Code = "sys_file_mgr_sys_file_delete",
IsDeleted = false,
Name = "文件删除",
OpenType = 0,
Permission = "sysFileInfo:delete",
Pid = 142307070918757L,
Pids = "[0],[142307070918756],[142307070918757],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918761L,
Application = "system",
Code = "sys_file_mgr_sys_file_detail",
IsDeleted = false,
Name = "文件详情",
OpenType = 0,
Permission = "sysFileInfo:detail",
Pid = 142307070918757L,
Pids = "[0],[142307070918756],[142307070918757],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918762L,
Application = "system",
Code = "sys_file_mgr_sys_file_upload",
IsDeleted = false,
Name = "文件上传",
OpenType = 0,
Permission = "sysFileInfo:upload",
Pid = 142307070918757L,
Pids = "[0],[142307070918756],[142307070918757],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918763L,
Application = "system",
Code = "sys_file_mgr_sys_file_download",
IsDeleted = false,
Name = "文件下载",
OpenType = 0,
Permission = "sysFileInfo:download",
Pid = 142307070918757L,
Pids = "[0],[142307070918756],[142307070918757],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918764L,
Application = "system",
Code = "sys_file_mgr_sys_file_preview",
IsDeleted = false,
Name = "图片预览",
OpenType = 0,
Permission = "sysFileInfo:preview",
Pid = 142307070918757L,
Pids = "[0],[142307070918756],[142307070918757],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918765L,
Application = "system",
Code = "sys_timers",
Component = "PageView",
Icon = "dashboard",
IsDeleted = false,
Name = "定时任务",
OpenType = 0,
Pid = 0L,
Pids = "[0],",
Router = "/timers",
Sort = 100,
Status = 0,
Type = 0,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918766L,
Application = "system",
Code = "sys_timers_mgr",
Component = "system/timers/index",
IsDeleted = false,
Name = "任务管理",
OpenType = 1,
Pid = 142307070918765L,
Pids = "[0],[142307070918765],",
Router = "/timers",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918767L,
Application = "system",
Code = "sys_timers_mgr_page",
IsDeleted = false,
Name = "定时任务查询",
OpenType = 0,
Permission = "sysTimers:page",
Pid = 142307070918766L,
Pids = "[0],[142307070918765],[142307070918766],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918768L,
Application = "system",
Code = "sys_timers_mgr_list",
IsDeleted = false,
Name = "定时任务列表",
OpenType = 0,
Permission = "sysTimers:list",
Pid = 142307070918766L,
Pids = "[0],[142307070918765],[142307070918766],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918769L,
Application = "system",
Code = "sys_timers_mgr_detail",
IsDeleted = false,
Name = "定时任务详情",
OpenType = 0,
Permission = "sysTimers:detail",
Pid = 142307070918766L,
Pids = "[0],[142307070918765],[142307070918766],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918770L,
Application = "system",
Code = "sys_timers_mgr_add",
IsDeleted = false,
Name = "定时任务增加",
OpenType = 0,
Permission = "sysTimers:add",
Pid = 142307070918766L,
Pids = "[0],[142307070918765],[142307070918766],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918771L,
Application = "system",
Code = "sys_timers_mgr_delete",
IsDeleted = false,
Name = "定时任务删除",
OpenType = 0,
Permission = "sysTimers:delete",
Pid = 142307070918766L,
Pids = "[0],[142307070918765],[142307070918766],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918772L,
Application = "system",
Code = "sys_timers_mgr_edit",
IsDeleted = false,
Name = "定时任务编辑",
OpenType = 0,
Permission = "sysTimers:edit",
Pid = 142307070918766L,
Pids = "[0],[142307070918765],[142307070918766],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918773L,
Application = "system",
Code = "sys_timers_mgr_get_action_classes",
IsDeleted = false,
Name = "定时任务可执行列表",
OpenType = 0,
Permission = "sysTimers:getActionClasses",
Pid = 142307070918766L,
Pids = "[0],[142307070918765],[142307070918766],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918774L,
Application = "system",
Code = "sys_timers_mgr_start",
IsDeleted = false,
Name = "定时任务启动",
OpenType = 0,
Permission = "sysTimers:start",
Pid = 142307070918766L,
Pids = "[0],[142307070918765],[142307070918766],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918775L,
Application = "system",
Code = "sys_timers_mgr_stop",
IsDeleted = false,
Name = "定时任务关闭",
OpenType = 0,
Permission = "sysTimers:stop",
Pid = 142307070918766L,
Pids = "[0],[142307070918765],[142307070918766],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918776L,
Application = "system_tool",
Code = "code_gen",
Component = "gen/codeGenerate/index",
Icon = "thunderbolt",
IsDeleted = false,
Name = "代码生成",
OpenType = 0,
Pid = 0L,
Pids = "[0],",
Router = "/codeGenerate/index",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070922870L,
Application = "system_tool",
Code = "form_design",
Component = "system/formDesign/index",
Icon = "robot",
IsDeleted = false,
Name = "表单设计",
OpenType = 0,
Pid = 0L,
Pids = "[0],",
Router = "/formDesign/index",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918782L,
Application = "advanced",
Code = "sys_tenant",
Component = "PageView",
Icon = "switcher",
IsDeleted = false,
Name = "SaaS租户",
OpenType = 0,
Pid = 0L,
Pids = "[0],",
Router = "/tenant",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070918783L,
Application = "advanced",
Code = "sys_tenant_mgr",
Component = "system/tenant/index",
IsDeleted = false,
Name = "租户管理",
OpenType = 1,
Pid = 142307070918782L,
Pids = "[0],[142307070918782],",
Router = "/tenant",
Sort = 100,
Status = 0,
Type = 1,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070922821L,
Application = "advanced",
Code = "sys_tenant_mgr_page",
IsDeleted = false,
Name = "租户查询",
OpenType = 0,
Permission = "sysTenant:page",
Pid = 142307070918783L,
Pids = "[0],[142307070918782],[142307070918783],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070922822L,
Application = "advanced",
Code = "sys_tenant_mgr_detail",
IsDeleted = false,
Name = "租户详情",
OpenType = 0,
Permission = "sysTenant:detail",
Pid = 142307070918783L,
Pids = "[0],[142307070918782],[142307070918783],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070922823L,
Application = "advanced",
Code = "sys_tenant_mgr_add",
IsDeleted = false,
Name = "租户增加",
OpenType = 0,
Permission = "sysTenant:add",
Pid = 142307070918783L,
Pids = "[0],[142307070918782],[142307070918783],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070922824L,
Application = "advanced",
Code = "sys_tenant_mgr_delete",
IsDeleted = false,
Name = "租户删除",
OpenType = 0,
Permission = "sysTenant:delete",
Pid = 142307070918783L,
Pids = "[0],[142307070918782],[142307070918783],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
},
new
{
Id = 142307070922825L,
Application = "advanced",
Code = "sys_tenant_mgr_edit",
IsDeleted = false,
Name = "租户编辑",
OpenType = 0,
Permission = "sysTenant:edit",
Pid = 142307070918783L,
Pids = "[0],[142307070918782],[142307070918783],",
Sort = 100,
Status = 0,
Type = 2,
Visible = "Y",
Weight = 1
});
});
modelBuilder.Entity("Dilon.Core.SysNotice", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<DateTimeOffset>("CancelTime")
.HasColumnType("datetime")
.HasComment("撤回时间");
b.Property<string>("Content")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("内容");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<long>("PublicOrgId")
.HasColumnType("bigint")
.HasComment("发布机构Id");
b.Property<string>("PublicOrgName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("发布机构名称");
b.Property<DateTimeOffset>("PublicTime")
.HasColumnType("datetime")
.HasComment("发布时间");
b.Property<long>("PublicUserId")
.HasColumnType("bigint")
.HasComment("发布人Id");
b.Property<string>("PublicUserName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("发布人姓名");
b.Property<int>("Status")
.HasColumnType("int")
.HasComment("状态");
b.Property<string>("Title")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("标题");
b.Property<int>("Type")
.HasColumnType("int")
.HasComment("类型");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.HasKey("Id");
b.ToTable("sys_notice");
b
.HasComment("通知公告表");
});
modelBuilder.Entity("Dilon.Core.SysNoticeUser", b =>
{
b.Property<long>("NoticeId")
.HasColumnType("bigint")
.HasComment("通知公告Id");
b.Property<int>("ReadStatus")
.HasColumnType("int")
.HasComment("状态");
b.Property<DateTimeOffset>("ReadTime")
.HasColumnType("datetime")
.HasComment("阅读时间");
b.Property<long>("UserId")
.HasColumnType("bigint")
.HasComment("用户Id");
b.ToTable("sys_notice_user");
b
.HasComment("通知公告用户表");
});
modelBuilder.Entity("Dilon.Core.SysOauthUser", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<string>("AccessToken")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("Token");
b.Property<string>("Avatar")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("头像");
b.Property<string>("Blog")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("用户网址");
b.Property<string>("Company")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("所在公司");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<string>("Email")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("邮箱");
b.Property<string>("Gender")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("性别");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("Location")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("位置");
b.Property<string>("NickName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("昵称");
b.Property<string>("Phone")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("电话");
b.Property<string>("Remark")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("备注");
b.Property<string>("Source")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("用户来源");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.Property<string>("Uuid")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("UUID");
b.HasKey("Id");
b.ToTable("sys_oauth_user");
b
.HasComment("Oauth登录用户表");
});
modelBuilder.Entity("Dilon.Core.SysOrg", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<string>("Code")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("编码");
b.Property<string>("Contacts")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("联系人");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("Name")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("名称");
b.Property<long>("Pid")
.HasColumnType("bigint")
.HasComment("父Id");
b.Property<string>("Pids")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("父Ids");
b.Property<string>("Remark")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("备注");
b.Property<int>("Sort")
.HasColumnType("int")
.HasComment("排序");
b.Property<int>("Status")
.HasColumnType("int")
.HasComment("状态");
b.Property<string>("Tel")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("电话");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.HasKey("Id");
b.ToTable("sys_org");
b
.HasComment("组织机构表");
b.HasData(
new
{
Id = 142307070910539L,
Code = "hxjt",
IsDeleted = false,
Name = "华夏集团",
Pid = 0L,
Pids = "[0],",
Remark = "华夏集团",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910540L,
Code = "hxjt_bj",
IsDeleted = false,
Name = "华夏集团北京分公司",
Pid = 142307070910539L,
Pids = "[0],[142307070910539],",
Remark = "华夏集团北京分公司",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910541L,
Code = "hxjt_cd",
IsDeleted = false,
Name = "华夏集团成都分公司",
Pid = 142307070910539L,
Pids = "[0],[142307070910539],",
Remark = "华夏集团成都分公司",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910542L,
Code = "hxjt_bj_yfb",
IsDeleted = false,
Name = "研发部",
Pid = 142307070910540L,
Pids = "[0],[142307070910539],[142307070910540],",
Remark = "华夏集团北京分公司研发部",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910543L,
Code = "hxjt_bj_qhb",
IsDeleted = false,
Name = "企划部",
Pid = 142307070910540L,
Pids = "[0],[142307070910539],[142307070910540],",
Remark = "华夏集团北京分公司企划部",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910544L,
Code = "hxjt_cd_scb",
IsDeleted = false,
Name = "市场部",
Pid = 142307070910541L,
Pids = "[0],[142307070910539],[142307070910541],",
Remark = "华夏集团成都分公司市场部",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910545L,
Code = "hxjt_cd_cwb",
IsDeleted = false,
Name = "财务部",
Pid = 142307070910541L,
Pids = "[0],[142307070910539],[142307070910541],",
Remark = "华夏集团成都分公司财务部",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910546L,
Code = "hxjt_cd_scb_2b",
IsDeleted = false,
Name = "市场部二部",
Pid = 142307070910544L,
Pids = "[0],[142307070910539],[142307070910541],[142307070910544],",
Remark = "华夏集团成都分公司市场部二部",
Sort = 100,
Status = 0
});
});
modelBuilder.Entity("Dilon.Core.SysPos", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<string>("Code")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("编码");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("Name")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("名称");
b.Property<string>("Remark")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("备注");
b.Property<int>("Sort")
.HasColumnType("int")
.HasComment("排序");
b.Property<int>("Status")
.HasColumnType("int")
.HasComment("状态");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.HasKey("Id");
b.ToTable("sys_pos");
b
.HasComment("职位表");
b.HasData(
new
{
Id = 142307070910547L,
Code = "zjl",
IsDeleted = false,
Name = "总经理",
Remark = "总经理",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910548L,
Code = "fzjl",
IsDeleted = false,
Name = "副总经理",
Remark = "副总经理",
Sort = 101,
Status = 0
},
new
{
Id = 142307070910549L,
Code = "bmjl",
IsDeleted = false,
Name = "部门经理",
Remark = "部门经理",
Sort = 102,
Status = 0
},
new
{
Id = 142307070910550L,
Code = "gzry",
IsDeleted = false,
Name = "工作人员",
Remark = "工作人员",
Sort = 103,
Status = 0
});
});
modelBuilder.Entity("Dilon.Core.SysRole", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<string>("Code")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("编码");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<int>("DataScopeType")
.HasColumnType("int")
.HasComment("数据范围类型");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("Name")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("名称");
b.Property<string>("Remark")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("备注");
b.Property<int>("Sort")
.HasColumnType("int")
.HasComment("排序");
b.Property<int>("Status")
.HasColumnType("int")
.HasComment("状态");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.HasKey("Id");
b.ToTable("sys_role");
b
.HasComment("角色表");
b.HasData(
new
{
Id = 142307070910554L,
Code = "sys_manager_role",
DataScopeType = 1,
IsDeleted = false,
Name = "系统管理员",
Remark = "系统管理员",
Sort = 100,
Status = 0
},
new
{
Id = 142307070910555L,
Code = "common_role",
DataScopeType = 5,
IsDeleted = false,
Name = "普通用户",
Remark = "普通用户",
Sort = 101,
Status = 0
});
});
modelBuilder.Entity("Dilon.Core.SysRoleDataScope", b =>
{
b.Property<long>("SysRoleId")
.HasColumnType("bigint")
.HasComment("角色Id");
b.Property<long>("SysOrgId")
.HasColumnType("bigint")
.HasComment("机构Id");
b.HasKey("SysRoleId", "SysOrgId");
b.HasIndex("SysOrgId");
b.ToTable("sys_role_data_scope");
b
.HasComment("角色数据范围表");
});
modelBuilder.Entity("Dilon.Core.SysRoleMenu", b =>
{
b.Property<long>("SysRoleId")
.HasColumnType("bigint")
.HasComment("角色Id");
b.Property<long>("SysMenuId")
.HasColumnType("bigint")
.HasComment("菜单Id");
b.HasKey("SysRoleId", "SysMenuId");
b.HasIndex("SysMenuId");
b.ToTable("sys_role_menu");
b
.HasComment("角色菜单表");
});
modelBuilder.Entity("Dilon.Core.SysTenant", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<string>("Connection")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("数据库连接");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<string>("Email")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("电子邮箱");
b.Property<string>("Host")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("主机");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("Name")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("名称");
b.Property<string>("Phone")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("电话");
b.Property<string>("Remark")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("备注");
b.Property<string>("Schema")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("架构");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.HasKey("Id");
b.ToTable("sys_tenant");
b
.HasComment("租户表");
});
modelBuilder.Entity("Dilon.Core.SysTimer", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<DateTimeOffset>("BeginTime")
.HasColumnType("datetime")
.HasComment("开始时间");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<string>("Cron")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("Cron表达式");
b.Property<DateTimeOffset?>("EndTime")
.HasColumnType("datetime")
.HasComment("结束时间");
b.Property<string>("Headers")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("Headers");
b.Property<int?>("Interval")
.HasColumnType("int")
.HasComment("执行间隔时间");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("JobGroup")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("任务分组");
b.Property<string>("JobName")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("任务名称");
b.Property<string>("Remark")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("备注");
b.Property<string>("RequestParameters")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("请求参数");
b.Property<int>("RequestType")
.HasColumnType("int")
.HasComment("请求类型");
b.Property<string>("RequestUrl")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("请求url");
b.Property<int?>("RunNumber")
.HasColumnType("int")
.HasComment("执行次数");
b.Property<int>("TriggerType")
.HasColumnType("int")
.HasComment("触发器类型");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.HasKey("Id");
b.ToTable("sys_timer");
b
.HasComment("定时任务表");
b.HasData(
new
{
Id = 142307070910556L,
BeginTime = new DateTimeOffset(new DateTime(2021, 3, 21, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)),
Interval = 30,
IsDeleted = false,
JobGroup = "默认分组",
JobName = "百度api",
RequestType = 2,
RequestUrl = "https://www.baidu.com",
TriggerType = 1
});
});
modelBuilder.Entity("Dilon.Core.SysUser", b =>
{
b.Property<long>("Id")
.HasColumnType("bigint")
.HasComment("Id主键");
b.Property<string>("Account")
.IsRequired()
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("账号");
b.Property<int>("AdminType")
.HasColumnType("int")
.HasComment("管理员类型-超级管理员_1、非管理员_2");
b.Property<string>("Avatar")
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("头像");
b.Property<DateTimeOffset>("Birthday")
.HasColumnType("datetime")
.HasComment("生日");
b.Property<DateTimeOffset?>("CreatedTime")
.HasColumnType("datetime")
.HasComment("创建时间");
b.Property<long?>("CreatedUserId")
.HasColumnType("bigint")
.HasComment("创建者Id");
b.Property<string>("CreatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("创建者名称");
b.Property<string>("Email")
.HasMaxLength(30)
.HasColumnType("varchar(30) CHARACTER SET utf8mb4")
.HasComment("邮箱");
b.Property<bool>("IsDeleted")
.HasColumnType("tinyint(1)")
.HasComment("软删除标记");
b.Property<string>("LastLoginIp")
.HasMaxLength(30)
.HasColumnType("varchar(30) CHARACTER SET utf8mb4")
.HasComment("最后登录IP");
b.Property<DateTimeOffset>("LastLoginTime")
.HasColumnType("datetime")
.HasComment("最后登录时间");
b.Property<string>("Name")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("姓名");
b.Property<string>("NickName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("昵称");
b.Property<string>("Password")
.IsRequired()
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("密码");
b.Property<string>("Phone")
.HasMaxLength(30)
.HasColumnType("varchar(30) CHARACTER SET utf8mb4")
.HasComment("手机");
b.Property<int>("Sex")
.HasColumnType("int")
.HasComment("性别-男_1、女_2");
b.Property<int>("Status")
.HasColumnType("int")
.HasComment("状态-正常_0、停用_1、删除_2");
b.Property<string>("Tel")
.HasMaxLength(30)
.HasColumnType("varchar(30) CHARACTER SET utf8mb4")
.HasComment("电话");
b.Property<DateTimeOffset?>("UpdatedTime")
.HasColumnType("datetime")
.HasComment("更新时间");
b.Property<long?>("UpdatedUserId")
.HasColumnType("bigint")
.HasComment("修改者Id");
b.Property<string>("UpdatedUserName")
.HasMaxLength(20)
.HasColumnType("varchar(20) CHARACTER SET utf8mb4")
.HasComment("修改者名称");
b.HasKey("Id");
b.ToTable("sys_user");
b
.HasComment("用户表");
b.HasData(
new
{
Id = 142307070910551L,
Account = "superAdmin",
AdminType = 1,
Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)),
IsDeleted = false,
LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
Name = "superAdmin",
Password = "e10adc3949ba59abbe56e057f20f883e",
Phone = "18020030720",
Sex = 1,
Status = 0
},
new
{
Id = 142307070910552L,
Account = "admin",
AdminType = 1,
Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)),
IsDeleted = false,
LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
Name = "admin",
Password = "e10adc3949ba59abbe56e057f20f883e",
Phone = "18020030720",
Sex = 2,
Status = 0
},
new
{
Id = 142307070910553L,
Account = "zuohuaijun",
AdminType = 2,
Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)),
IsDeleted = false,
LastLoginTime = new DateTimeOffset(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
Name = "zuohuaijun",
Password = "e10adc3949ba59abbe56e057f20f883e",
Phone = "18020030720",
Sex = 1,
Status = 0
});
});
modelBuilder.Entity("Dilon.Core.SysUserDataScope", b =>
{
b.Property<long>("SysUserId")
.HasColumnType("bigint")
.HasComment("用户Id");
b.Property<long>("SysOrgId")
.HasColumnType("bigint")
.HasComment("机构Id");
b.HasKey("SysUserId", "SysOrgId");
b.HasIndex("SysOrgId");
b.ToTable("sys_user_data_scope");
b
.HasComment("用户数据范围表");
});
modelBuilder.Entity("Dilon.Core.SysUserRole", b =>
{
b.Property<long>("SysUserId")
.HasColumnType("bigint")
.HasComment("用户Id");
b.Property<long>("SysRoleId")
.HasColumnType("bigint")
.HasComment("角色Id");
b.HasKey("SysUserId", "SysRoleId");
b.HasIndex("SysRoleId");
b.ToTable("sys_user_role");
b
.HasComment("用户角色表");
});
modelBuilder.Entity("Dilon.Core.SysDictData", b =>
{
b.HasOne("Dilon.Core.SysDictType", "SysDictType")
.WithMany("SysDictDatas")
.HasForeignKey("TypeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("SysDictType");
});
modelBuilder.Entity("Dilon.Core.SysEmpExtOrgPos", b =>
{
b.HasOne("Dilon.Core.SysEmp", "SysEmp")
.WithMany()
.HasForeignKey("SysEmpId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Dilon.Core.SysOrg", "SysOrg")
.WithMany()
.HasForeignKey("SysOrgId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Dilon.Core.SysPos", "SysPos")
.WithMany()
.HasForeignKey("SysPosId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("SysEmp");
b.Navigation("SysOrg");
b.Navigation("SysPos");
});
modelBuilder.Entity("Dilon.Core.SysEmpPos", b =>
{
b.HasOne("Dilon.Core.SysEmp", "SysEmp")
.WithMany("SysEmpPos")
.HasForeignKey("SysEmpId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Dilon.Core.SysPos", "SysPos")
.WithMany("SysEmpPos")
.HasForeignKey("SysPosId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("SysEmp");
b.Navigation("SysPos");
});
modelBuilder.Entity("Dilon.Core.SysRoleDataScope", b =>
{
b.HasOne("Dilon.Core.SysOrg", "SysOrg")
.WithMany("SysRoleDataScopes")
.HasForeignKey("SysOrgId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Dilon.Core.SysRole", "SysRole")
.WithMany("SysRoleDataScopes")
.HasForeignKey("SysRoleId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("SysOrg");
b.Navigation("SysRole");
});
modelBuilder.Entity("Dilon.Core.SysRoleMenu", b =>
{
b.HasOne("Dilon.Core.SysMenu", "SysMenu")
.WithMany("SysRoleMenus")
.HasForeignKey("SysMenuId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Dilon.Core.SysRole", "SysRole")
.WithMany("SysRoleMenus")
.HasForeignKey("SysRoleId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("SysMenu");
b.Navigation("SysRole");
});
modelBuilder.Entity("Dilon.Core.SysUserDataScope", b =>
{
b.HasOne("Dilon.Core.SysOrg", "SysOrg")
.WithMany("SysUserDataScopes")
.HasForeignKey("SysOrgId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Dilon.Core.SysUser", "SysUser")
.WithMany("SysUserDataScopes")
.HasForeignKey("SysUserId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("SysOrg");
b.Navigation("SysUser");
});
modelBuilder.Entity("Dilon.Core.SysUserRole", b =>
{
b.HasOne("Dilon.Core.SysRole", "SysRole")
.WithMany("SysUserRoles")
.HasForeignKey("SysRoleId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.HasOne("Dilon.Core.SysUser", "SysUser")
.WithMany("SysUserRoles")
.HasForeignKey("SysUserId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("SysRole");
b.Navigation("SysUser");
});
modelBuilder.Entity("Dilon.Core.SysDictType", b =>
{
b.Navigation("SysDictDatas");
});
modelBuilder.Entity("Dilon.Core.SysEmp", b =>
{
b.Navigation("SysEmpPos");
});
modelBuilder.Entity("Dilon.Core.SysMenu", b =>
{
b.Navigation("SysRoleMenus");
});
modelBuilder.Entity("Dilon.Core.SysOrg", b =>
{
b.Navigation("SysRoleDataScopes");
b.Navigation("SysUserDataScopes");
});
modelBuilder.Entity("Dilon.Core.SysPos", b =>
{
b.Navigation("SysEmpPos");
});
modelBuilder.Entity("Dilon.Core.SysRole", b =>
{
b.Navigation("SysRoleDataScopes");
b.Navigation("SysRoleMenus");
b.Navigation("SysUserRoles");
});
modelBuilder.Entity("Dilon.Core.SysUser", b =>
{
b.Navigation("SysUserDataScopes");
b.Navigation("SysUserRoles");
});
#pragma warning restore 612, 618
}
}
}