设备物模型信息
This commit is contained in:
parent
9210ff3cfb
commit
fdc98143a5
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"Default": "Data Source=192.168.111.174;Port=13306;Database=JiSheIoTProDB2;uid=root;pwd=JiShe!aqG#5kGgh&0;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true;TreatTinyAsBoolean=false;SslMode=None;Pooling=true;"
|
"Default": "Data Source=192.168.111.174;Port=13306;Database=JiSheIoTProDB;uid=root;pwd=JiShe!aqG#5kGgh&0;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true;TreatTinyAsBoolean=false;SslMode=None;Pooling=true;"
|
||||||
},
|
},
|
||||||
"IoTDBOptions": {
|
"IoTDBOptions": {
|
||||||
"UserName": "root",
|
"UserName": "root",
|
||||||
|
|||||||
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
|
|||||||
namespace JiShe.IoT.Migrations
|
namespace JiShe.IoT.Migrations
|
||||||
{
|
{
|
||||||
[DbContext(typeof(IoTDbContext))]
|
[DbContext(typeof(IoTDbContext))]
|
||||||
[Migration("20251020061451_InitialCreate")]
|
[Migration("20251022035649_InitialCreate")]
|
||||||
partial class InitialCreate
|
partial class InitialCreate
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
@ -66,12 +66,12 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("IsUsed")
|
b.Property<bool>("IsUsed")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasComment("是否使用");
|
.HasComment("是否使用");
|
||||||
|
|
||||||
b.Property<DateTime?>("LastModificationTime")
|
b.Property<DateTime?>("LastModificationTime")
|
||||||
@ -182,7 +182,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -324,12 +324,12 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("IsEnabled")
|
b.Property<bool>("IsEnabled")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasComment("是否启用");
|
.HasComment("是否启用");
|
||||||
|
|
||||||
b.Property<DateTime?>("LastModificationTime")
|
b.Property<DateTime?>("LastModificationTime")
|
||||||
@ -476,7 +476,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -534,7 +534,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("varchar(64)");
|
.HasColumnType("varchar(64)");
|
||||||
|
|
||||||
b.Property<bool>("IsEnabled")
|
b.Property<bool>("IsEnabled")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<DateTime?>("LastModificationTime")
|
b.Property<DateTime?>("LastModificationTime")
|
||||||
.HasColumnType("datetime(6)")
|
.HasColumnType("datetime(6)")
|
||||||
@ -650,12 +650,12 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("IsPlatformPushSuccess")
|
b.Property<bool>("IsPlatformPushSuccess")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasComment("物联网平台推送是否成功");
|
.HasComment("物联网平台推送是否成功");
|
||||||
|
|
||||||
b.Property<DateTime?>("LastModificationTime")
|
b.Property<DateTime?>("LastModificationTime")
|
||||||
@ -751,8 +751,8 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<string>("FiledType")
|
b.Property<string>("FiledType")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(20)
|
||||||
.HasColumnType("varchar(128)")
|
.HasColumnType("varchar(20)")
|
||||||
.HasComment("物联网平台中对应产品物模型属性或者事件类型");
|
.HasComment("物联网平台中对应产品物模型属性或者事件类型");
|
||||||
|
|
||||||
b.Property<int>("IoTPlatform")
|
b.Property<int>("IoTPlatform")
|
||||||
@ -767,11 +767,11 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("IsValueNeedConvert")
|
b.Property<sbyte>("IsValueNeedConvert")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("tinyint(1)")
|
||||||
.HasComment("是否需要值类型转换");
|
.HasComment("是否需要值类型转换");
|
||||||
|
|
||||||
@ -811,6 +811,12 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("varchar(50)")
|
.HasColumnType("varchar(50)")
|
||||||
.HasComment("管理后台产品标准的物模型属性或者事件名称");
|
.HasComment("管理后台产品标准的物模型属性或者事件名称");
|
||||||
|
|
||||||
|
b.Property<string>("StandardFieldValueType")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(20)
|
||||||
|
.HasColumnType("varchar(20)")
|
||||||
|
.HasComment("标准物模型字段值类型");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
b.Property<Guid?>("TenantId")
|
||||||
.HasColumnType("char(36)")
|
.HasColumnType("char(36)")
|
||||||
.HasColumnName("TenantId")
|
.HasColumnName("TenantId")
|
||||||
@ -870,7 +876,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasComment("标准多语言");
|
.HasComment("标准多语言");
|
||||||
|
|
||||||
b.Property<bool>("Enabled")
|
b.Property<bool>("Enabled")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<string>("ExtraProperties")
|
b.Property<string>("ExtraProperties")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
@ -878,7 +884,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnName("ExtraProperties");
|
.HasColumnName("ExtraProperties");
|
||||||
|
|
||||||
b.Property<bool>("HideInMenu")
|
b.Property<bool>("HideInMenu")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasComment("是否显示");
|
.HasComment("是否显示");
|
||||||
|
|
||||||
b.Property<string>("Icon")
|
b.Property<string>("Icon")
|
||||||
@ -887,12 +893,12 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("KeepAlive")
|
b.Property<bool>("KeepAlive")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasComment("是否缓存");
|
.HasComment("是否缓存");
|
||||||
|
|
||||||
b.Property<DateTime?>("LastModificationTime")
|
b.Property<DateTime?>("LastModificationTime")
|
||||||
@ -1015,7 +1021,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -1082,7 +1088,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -1177,16 +1183,16 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasComment("图标");
|
.HasComment("图标");
|
||||||
|
|
||||||
b.Property<bool>("IsDefault")
|
b.Property<bool>("IsDefault")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("IsEnabled")
|
b.Property<bool>("IsEnabled")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<DateTime?>("LastModificationTime")
|
b.Property<DateTime?>("LastModificationTime")
|
||||||
.HasColumnType("datetime(6)")
|
.HasColumnType("datetime(6)")
|
||||||
@ -1256,7 +1262,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -1275,7 +1281,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
|
|
||||||
b.Property<bool>("Read")
|
b.Property<bool>("Read")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<DateTime?>("ReadTime")
|
b.Property<DateTime?>("ReadTime")
|
||||||
.HasColumnType("datetime(6)");
|
.HasColumnType("datetime(6)");
|
||||||
@ -1347,7 +1353,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -1363,7 +1369,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("char(36)");
|
.HasColumnType("char(36)");
|
||||||
|
|
||||||
b.Property<bool>("Read")
|
b.Property<bool>("Read")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<DateTime>("ReadTime")
|
b.Property<DateTime>("ReadTime")
|
||||||
.HasColumnType("datetime(6)");
|
.HasColumnType("datetime(6)");
|
||||||
@ -1438,7 +1444,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -1578,12 +1584,12 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("IsEnabled")
|
b.Property<bool>("IsEnabled")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<DateTime?>("LastModificationTime")
|
b.Property<DateTime?>("LastModificationTime")
|
||||||
.HasColumnType("datetime(6)")
|
.HasColumnType("datetime(6)")
|
||||||
@ -1744,7 +1750,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -2062,7 +2068,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsAbandoned")
|
b.Property<bool>("IsAbandoned")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false);
|
.HasDefaultValue(false);
|
||||||
|
|
||||||
b.Property<string>("JobArgs")
|
b.Property<string>("JobArgs")
|
||||||
@ -2130,10 +2136,10 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("varchar(128)");
|
.HasColumnType("varchar(128)");
|
||||||
|
|
||||||
b.Property<bool>("IsAvailableToHost")
|
b.Property<bool>("IsAvailableToHost")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<bool>("IsVisibleToClients")
|
b.Property<bool>("IsVisibleToClients")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<string>("Name")
|
b.Property<string>("Name")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
@ -2242,7 +2248,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnName("ExtraProperties");
|
.HasColumnName("ExtraProperties");
|
||||||
|
|
||||||
b.Property<bool>("IsStatic")
|
b.Property<bool>("IsStatic")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<string>("Name")
|
b.Property<string>("Name")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
@ -2258,7 +2264,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("varchar(128)");
|
.HasColumnType("varchar(128)");
|
||||||
|
|
||||||
b.Property<bool>("Required")
|
b.Property<bool>("Required")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<int>("ValueType")
|
b.Property<int>("ValueType")
|
||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
@ -2318,15 +2324,15 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnName("ExtraProperties");
|
.HasColumnName("ExtraProperties");
|
||||||
|
|
||||||
b.Property<bool>("IsDefault")
|
b.Property<bool>("IsDefault")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasColumnName("IsDefault");
|
.HasColumnName("IsDefault");
|
||||||
|
|
||||||
b.Property<bool>("IsPublic")
|
b.Property<bool>("IsPublic")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasColumnName("IsPublic");
|
.HasColumnName("IsPublic");
|
||||||
|
|
||||||
b.Property<bool>("IsStatic")
|
b.Property<bool>("IsStatic")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasColumnName("IsStatic");
|
.HasColumnName("IsStatic");
|
||||||
|
|
||||||
b.Property<string>("Name")
|
b.Property<string>("Name")
|
||||||
@ -2551,7 +2557,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("EmailConfirmed")
|
b.Property<bool>("EmailConfirmed")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("EmailConfirmed");
|
.HasColumnName("EmailConfirmed");
|
||||||
|
|
||||||
@ -2564,18 +2570,18 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnName("ExtraProperties");
|
.HasColumnName("ExtraProperties");
|
||||||
|
|
||||||
b.Property<bool>("IsActive")
|
b.Property<bool>("IsActive")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasColumnName("IsActive");
|
.HasColumnName("IsActive");
|
||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("IsExternal")
|
b.Property<bool>("IsExternal")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsExternal");
|
.HasColumnName("IsExternal");
|
||||||
|
|
||||||
@ -2592,7 +2598,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("LockoutEnabled")
|
b.Property<bool>("LockoutEnabled")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("LockoutEnabled");
|
.HasColumnName("LockoutEnabled");
|
||||||
|
|
||||||
@ -2628,7 +2634,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("PhoneNumberConfirmed")
|
b.Property<bool>("PhoneNumberConfirmed")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("PhoneNumberConfirmed");
|
.HasColumnName("PhoneNumberConfirmed");
|
||||||
|
|
||||||
@ -2639,7 +2645,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnName("SecurityStamp");
|
.HasColumnName("SecurityStamp");
|
||||||
|
|
||||||
b.Property<bool>("ShouldChangePasswordOnNextLogin")
|
b.Property<bool>("ShouldChangePasswordOnNextLogin")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<string>("Surname")
|
b.Property<string>("Surname")
|
||||||
.HasMaxLength(64)
|
.HasMaxLength(64)
|
||||||
@ -2652,7 +2658,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("TwoFactorEnabled")
|
b.Property<bool>("TwoFactorEnabled")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("TwoFactorEnabled");
|
.HasColumnName("TwoFactorEnabled");
|
||||||
|
|
||||||
@ -2879,7 +2885,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -2954,7 +2960,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("varchar(128)");
|
.HasColumnType("varchar(128)");
|
||||||
|
|
||||||
b.Property<bool>("IsEnabled")
|
b.Property<bool>("IsEnabled")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<byte>("MultiTenancySide")
|
b.Property<byte>("MultiTenancySide")
|
||||||
.HasColumnType("tinyint unsigned");
|
.HasColumnType("tinyint unsigned");
|
||||||
@ -3099,13 +3105,13 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnName("ExtraProperties");
|
.HasColumnName("ExtraProperties");
|
||||||
|
|
||||||
b.Property<bool>("IsEncrypted")
|
b.Property<bool>("IsEncrypted")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<bool>("IsInherited")
|
b.Property<bool>("IsInherited")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<bool>("IsVisibleToClients")
|
b.Property<bool>("IsVisibleToClients")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<string>("Name")
|
b.Property<string>("Name")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
@ -3162,7 +3168,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
||||||
NextTryTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
NextTryTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
||||||
LastTryTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastTryTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
IsAbandoned = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsAbandoned = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
Priority = table.Column<byte>(type: "tinyint unsigned", nullable: false, defaultValue: (byte)15),
|
Priority = table.Column<byte>(type: "tinyint unsigned", nullable: false, defaultValue: (byte)15),
|
||||||
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
@ -100,8 +100,8 @@ namespace JiShe.IoT.Migrations
|
|||||||
Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
|
Id = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
|
||||||
Name = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: false)
|
Name = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: false)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
Required = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
Required = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
IsStatic = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsStatic = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
Regex = table.Column<string>(type: "varchar(512)", maxLength: 512, nullable: true)
|
Regex = table.Column<string>(type: "varchar(512)", maxLength: 512, nullable: true)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
RegexDescription = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true)
|
RegexDescription = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true)
|
||||||
@ -141,7 +141,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
||||||
},
|
},
|
||||||
@ -187,8 +187,8 @@ namespace JiShe.IoT.Migrations
|
|||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
DefaultValue = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true)
|
DefaultValue = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
IsVisibleToClients = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsVisibleToClients = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
IsAvailableToHost = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsAvailableToHost = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
AllowedProviders = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true)
|
AllowedProviders = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
ValueType = table.Column<string>(type: "varchar(2048)", maxLength: 2048, nullable: true)
|
ValueType = table.Column<string>(type: "varchar(2048)", maxLength: 2048, nullable: true)
|
||||||
@ -241,7 +241,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
||||||
},
|
},
|
||||||
@ -266,8 +266,8 @@ namespace JiShe.IoT.Migrations
|
|||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
FlagIcon = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "图标")
|
FlagIcon = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "图标")
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
IsEnabled = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsEnabled = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
IsDefault = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsDefault = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: false)
|
ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: false)
|
||||||
@ -276,7 +276,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
||||||
},
|
},
|
||||||
@ -309,7 +309,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
||||||
},
|
},
|
||||||
@ -354,7 +354,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
ReceiveUserId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
ReceiveUserId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
ReceiveUserName = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true)
|
ReceiveUserName = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
Read = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
Read = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
ReadTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
ReadTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
@ -364,7 +364,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
||||||
},
|
},
|
||||||
@ -385,7 +385,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
ReceiveUserId = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
|
ReceiveUserId = table.Column<Guid>(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
|
||||||
ReceiveUserName = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true)
|
ReceiveUserName = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
Read = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
Read = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
ReadTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
ReadTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
||||||
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
@ -395,7 +395,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
||||||
},
|
},
|
||||||
@ -426,7 +426,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
||||||
},
|
},
|
||||||
@ -491,7 +491,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
DisplayName = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: false)
|
DisplayName = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: false)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
IsEnabled = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsEnabled = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
MultiTenancySide = table.Column<byte>(type: "tinyint unsigned", nullable: false),
|
MultiTenancySide = table.Column<byte>(type: "tinyint unsigned", nullable: false),
|
||||||
Providers = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true)
|
Providers = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
@ -516,9 +516,9 @@ namespace JiShe.IoT.Migrations
|
|||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
NormalizedName = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: false)
|
NormalizedName = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: false)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
IsDefault = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsDefault = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
IsStatic = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsStatic = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
IsPublic = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsPublic = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
EntityVersion = table.Column<int>(type: "int", nullable: false),
|
EntityVersion = table.Column<int>(type: "int", nullable: false),
|
||||||
CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
||||||
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
||||||
@ -610,11 +610,11 @@ namespace JiShe.IoT.Migrations
|
|||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
DefaultValue = table.Column<string>(type: "varchar(2048)", maxLength: 2048, nullable: true)
|
DefaultValue = table.Column<string>(type: "varchar(2048)", maxLength: 2048, nullable: true)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
IsVisibleToClients = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsVisibleToClients = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
Providers = table.Column<string>(type: "varchar(1024)", maxLength: 1024, nullable: true)
|
Providers = table.Column<string>(type: "varchar(1024)", maxLength: 1024, nullable: true)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
IsInherited = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsInherited = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
IsEncrypted = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsEncrypted = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
|
ExtraProperties = table.Column<string>(type: "longtext", nullable: true)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4")
|
.Annotation("MySql:CharSet", "utf8mb4")
|
||||||
},
|
},
|
||||||
@ -662,7 +662,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
||||||
},
|
},
|
||||||
@ -707,21 +707,21 @@ namespace JiShe.IoT.Migrations
|
|||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
NormalizedEmail = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: false)
|
NormalizedEmail = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: false)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
EmailConfirmed = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
EmailConfirmed = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
PasswordHash = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true)
|
PasswordHash = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
SecurityStamp = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: false)
|
SecurityStamp = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: false)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
IsExternal = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsExternal = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
PhoneNumber = table.Column<string>(type: "varchar(16)", maxLength: 16, nullable: true)
|
PhoneNumber = table.Column<string>(type: "varchar(16)", maxLength: 16, nullable: true)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
PhoneNumberConfirmed = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
PhoneNumberConfirmed = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
IsActive = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsActive = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
TwoFactorEnabled = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
TwoFactorEnabled = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
LockoutEnd = table.Column<DateTimeOffset>(type: "datetime(6)", nullable: true),
|
LockoutEnd = table.Column<DateTimeOffset>(type: "datetime(6)", nullable: true),
|
||||||
LockoutEnabled = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
LockoutEnabled = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
AccessFailedCount = table.Column<int>(type: "int", nullable: false, defaultValue: 0),
|
AccessFailedCount = table.Column<int>(type: "int", nullable: false, defaultValue: 0),
|
||||||
ShouldChangePasswordOnNextLogin = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
ShouldChangePasswordOnNextLogin = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
EntityVersion = table.Column<int>(type: "int", nullable: false),
|
EntityVersion = table.Column<int>(type: "int", nullable: false),
|
||||||
LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetime(6)", nullable: true),
|
LastPasswordChangeTime = table.Column<DateTimeOffset>(type: "datetime(6)", nullable: true),
|
||||||
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
||||||
@ -732,7 +732,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
||||||
},
|
},
|
||||||
@ -770,7 +770,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
TenantId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "租户ID", collation: "ascii_general_ci"),
|
TenantId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "租户ID", collation: "ascii_general_ci"),
|
||||||
@ -832,14 +832,14 @@ namespace JiShe.IoT.Migrations
|
|||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
DeviceThingModelFileName = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "设备物模型文件名称")
|
DeviceThingModelFileName = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "设备物模型文件名称")
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
IsEnabled = table.Column<bool>(type: "tinyint(1)", nullable: false, comment: "是否启用"),
|
IsEnabled = table.Column<bool>(type: "bit(1)", nullable: false, comment: "是否启用"),
|
||||||
ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: false)
|
ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: false)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
TenantId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "租户ID", collation: "ascii_general_ci"),
|
TenantId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "租户ID", collation: "ascii_general_ci"),
|
||||||
@ -882,7 +882,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
IoTPlatformResponse = table.Column<string>(type: "text", nullable: true, comment: "物联网平台返回的响应信息")
|
IoTPlatformResponse = table.Column<string>(type: "text", nullable: true, comment: "物联网平台返回的响应信息")
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
IsPlatformPushSuccess = table.Column<bool>(type: "tinyint(1)", nullable: false, comment: "物联网平台推送是否成功"),
|
IsPlatformPushSuccess = table.Column<bool>(type: "bit(1)", nullable: false, comment: "物联网平台推送是否成功"),
|
||||||
DeviceOnlineStatus = table.Column<int>(type: "int", nullable: true, comment: "设备在线状态"),
|
DeviceOnlineStatus = table.Column<int>(type: "int", nullable: true, comment: "设备在线状态"),
|
||||||
LastOnlineTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "最后在线时间"),
|
LastOnlineTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "最后在线时间"),
|
||||||
LastOfflineTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "最后离线时间"),
|
LastOfflineTime = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "最后离线时间"),
|
||||||
@ -893,7 +893,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
TenantId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "租户ID", collation: "ascii_general_ci"),
|
TenantId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "租户ID", collation: "ascii_general_ci"),
|
||||||
@ -920,20 +920,22 @@ namespace JiShe.IoT.Migrations
|
|||||||
IoTPlatform = table.Column<int>(type: "int", nullable: false, comment: "物联网平台类型,默认没有指定"),
|
IoTPlatform = table.Column<int>(type: "int", nullable: false, comment: "物联网平台类型,默认没有指定"),
|
||||||
IoTPlatformProductId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应的产品Id")
|
IoTPlatformProductId = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应的产品Id")
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
FiledType = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: false, comment: "物联网平台中对应产品物模型属性或者事件类型")
|
FiledType = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: false, comment: "物联网平台中对应产品物模型属性或者事件类型")
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
RawFieldName = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应的产品物模型属性或者事件名称")
|
RawFieldName = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应的产品物模型属性或者事件名称")
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
StandardFieldName = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "管理后台产品标准的物模型属性或者事件名称")
|
StandardFieldName = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: false, comment: "管理后台产品标准的物模型属性或者事件名称")
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
IsValueNeedConvert = table.Column<bool>(type: "tinyint(1)", nullable: false, comment: "是否需要值类型转换"),
|
StandardFieldValueType = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: false, comment: "标准物模型字段值类型")
|
||||||
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
|
IsValueNeedConvert = table.Column<sbyte>(type: "tinyint(1)", nullable: false, comment: "是否需要值类型转换"),
|
||||||
ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: false)
|
ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: false)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
TenantId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "租户ID", collation: "ascii_general_ci"),
|
TenantId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "租户ID", collation: "ascii_general_ci"),
|
||||||
@ -967,8 +969,8 @@ namespace JiShe.IoT.Migrations
|
|||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
Icon = table.Column<string>(type: "longtext", nullable: true, comment: "图标")
|
Icon = table.Column<string>(type: "longtext", nullable: true, comment: "图标")
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
KeepAlive = table.Column<bool>(type: "tinyint(1)", nullable: false, comment: "是否缓存"),
|
KeepAlive = table.Column<bool>(type: "bit(1)", nullable: false, comment: "是否缓存"),
|
||||||
HideInMenu = table.Column<bool>(type: "tinyint(1)", nullable: false, comment: "是否显示"),
|
HideInMenu = table.Column<bool>(type: "bit(1)", nullable: false, comment: "是否显示"),
|
||||||
Order = table.Column<int>(type: "int", nullable: false, comment: "排序"),
|
Order = table.Column<int>(type: "int", nullable: false, comment: "排序"),
|
||||||
Path = table.Column<string>(type: "varchar(512)", maxLength: 512, nullable: false, comment: "路由/接口地址")
|
Path = table.Column<string>(type: "varchar(512)", maxLength: 512, nullable: false, comment: "路由/接口地址")
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
@ -980,7 +982,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
Policy = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "授权策略名称")
|
Policy = table.Column<string>(type: "varchar(128)", maxLength: 128, nullable: true, comment: "授权策略名称")
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
Enabled = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
Enabled = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: false)
|
ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: false)
|
||||||
@ -989,7 +991,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
||||||
},
|
},
|
||||||
@ -1020,7 +1022,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
TenantId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "租户ID", collation: "ascii_general_ci"),
|
TenantId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "租户ID", collation: "ascii_general_ci"),
|
||||||
@ -1058,7 +1060,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
DeviceThingModelFileName = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "设备物模型文件名称")
|
DeviceThingModelFileName = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "设备物模型文件名称")
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
IsEnabled = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsEnabled = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
AccessProtocol = table.Column<int>(type: "int", nullable: false, comment: "接入协议"),
|
AccessProtocol = table.Column<int>(type: "int", nullable: false, comment: "接入协议"),
|
||||||
DataProtocol = table.Column<int>(type: "int", nullable: false, comment: "数据协议"),
|
DataProtocol = table.Column<int>(type: "int", nullable: false, comment: "数据协议"),
|
||||||
NodeType = table.Column<int>(type: "int", nullable: false, comment: "节点类型"),
|
NodeType = table.Column<int>(type: "int", nullable: false, comment: "节点类型"),
|
||||||
@ -1087,7 +1089,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
TenantId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "租户ID", collation: "ascii_general_ci"),
|
TenantId = table.Column<Guid>(type: "char(36)", nullable: true, comment: "租户ID", collation: "ascii_general_ci"),
|
||||||
@ -1128,7 +1130,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
||||||
},
|
},
|
||||||
@ -1150,7 +1152,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
Token = table.Column<string>(type: "varchar(1024)", maxLength: 1024, nullable: false, comment: "Token")
|
Token = table.Column<string>(type: "varchar(1024)", maxLength: 1024, nullable: false, comment: "Token")
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
IsUsed = table.Column<bool>(type: "tinyint(1)", nullable: false, comment: "是否使用"),
|
IsUsed = table.Column<bool>(type: "bit(1)", nullable: false, comment: "是否使用"),
|
||||||
ExpirationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, comment: "过期时间"),
|
ExpirationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false, comment: "过期时间"),
|
||||||
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
ExtraProperties = table.Column<string>(type: "longtext", nullable: false)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
@ -1160,7 +1162,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
CreatorId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
LastModificationTime = table.Column<DateTime>(type: "datetime(6)", nullable: true),
|
||||||
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
LastModifierId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false),
|
IsDeleted = table.Column<bool>(type: "bit(1)", nullable: false, defaultValue: false),
|
||||||
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
DeleterId = table.Column<Guid>(type: "char(36)", nullable: true, collation: "ascii_general_ci"),
|
||||||
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
DeletionTime = table.Column<DateTime>(type: "datetime(6)", nullable: true)
|
||||||
},
|
},
|
||||||
@ -1243,7 +1245,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
Description = table.Column<string>(type: "varchar(1024)", maxLength: 1024, nullable: true)
|
Description = table.Column<string>(type: "varchar(1024)", maxLength: 1024, nullable: true)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
IsEnabled = table.Column<bool>(type: "tinyint(1)", nullable: false),
|
IsEnabled = table.Column<bool>(type: "bit(1)", nullable: false),
|
||||||
ExtendedAttribute = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true)
|
ExtendedAttribute = table.Column<string>(type: "varchar(64)", maxLength: 64, nullable: true)
|
||||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||||
CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
CreationTime = table.Column<DateTime>(type: "datetime(6)", nullable: false),
|
||||||
3407
src/JiShe.IoT.EntityFrameworkCore/Migrations/20251022062338_updateThingModel.Designer.cs
generated
Normal file
3407
src/JiShe.IoT.EntityFrameworkCore/Migrations/20251022062338_updateThingModel.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,88 @@
|
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace JiShe.IoT.Migrations
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
public partial class updateThingModel : Migration
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "StandardFieldName",
|
||||||
|
table: "ServiceProDeviceThingModelInfo",
|
||||||
|
type: "varchar(64)",
|
||||||
|
maxLength: 64,
|
||||||
|
nullable: false,
|
||||||
|
comment: "管理后台产品标准的物模型属性或者事件名称",
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "varchar(50)",
|
||||||
|
oldMaxLength: 50,
|
||||||
|
oldComment: "管理后台产品标准的物模型属性或者事件名称")
|
||||||
|
.Annotation("MySql:CharSet", "utf8mb4")
|
||||||
|
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||||
|
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "RawFieldName",
|
||||||
|
table: "ServiceProDeviceThingModelInfo",
|
||||||
|
type: "varchar(64)",
|
||||||
|
maxLength: 64,
|
||||||
|
nullable: false,
|
||||||
|
comment: "物联网平台中对应的产品物模型属性或者事件名称",
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "varchar(50)",
|
||||||
|
oldMaxLength: 50,
|
||||||
|
oldComment: "物联网平台中对应的产品物模型属性或者事件名称")
|
||||||
|
.Annotation("MySql:CharSet", "utf8mb4")
|
||||||
|
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "StandardFieldDisplayName",
|
||||||
|
table: "ServiceProDeviceThingModelInfo",
|
||||||
|
type: "varchar(64)",
|
||||||
|
maxLength: 64,
|
||||||
|
nullable: false,
|
||||||
|
defaultValue: "",
|
||||||
|
comment: "管理后台产品标准的物模型属性或者事件名称")
|
||||||
|
.Annotation("MySql:CharSet", "utf8mb4");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "StandardFieldDisplayName",
|
||||||
|
table: "ServiceProDeviceThingModelInfo");
|
||||||
|
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "StandardFieldName",
|
||||||
|
table: "ServiceProDeviceThingModelInfo",
|
||||||
|
type: "varchar(50)",
|
||||||
|
maxLength: 50,
|
||||||
|
nullable: false,
|
||||||
|
comment: "管理后台产品标准的物模型属性或者事件名称",
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "varchar(64)",
|
||||||
|
oldMaxLength: 64,
|
||||||
|
oldComment: "管理后台产品标准的物模型属性或者事件名称")
|
||||||
|
.Annotation("MySql:CharSet", "utf8mb4")
|
||||||
|
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||||
|
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "RawFieldName",
|
||||||
|
table: "ServiceProDeviceThingModelInfo",
|
||||||
|
type: "varchar(50)",
|
||||||
|
maxLength: 50,
|
||||||
|
nullable: false,
|
||||||
|
comment: "物联网平台中对应的产品物模型属性或者事件名称",
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "varchar(64)",
|
||||||
|
oldMaxLength: 64,
|
||||||
|
oldComment: "物联网平台中对应的产品物模型属性或者事件名称")
|
||||||
|
.Annotation("MySql:CharSet", "utf8mb4")
|
||||||
|
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
3407
src/JiShe.IoT.EntityFrameworkCore/Migrations/20251022063641_updateThingModel2.Designer.cs
generated
Normal file
3407
src/JiShe.IoT.EntityFrameworkCore/Migrations/20251022063641_updateThingModel2.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,28 @@
|
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace JiShe.IoT.Migrations
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
public partial class updateThingModel2 : Migration
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.RenameColumn(
|
||||||
|
name: "RawFieldName",
|
||||||
|
table: "ServiceProDeviceThingModelInfo",
|
||||||
|
newName: "IoTPlatformRawFieldName");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.RenameColumn(
|
||||||
|
name: "IoTPlatformRawFieldName",
|
||||||
|
table: "ServiceProDeviceThingModelInfo",
|
||||||
|
newName: "RawFieldName");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -63,12 +63,12 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("IsUsed")
|
b.Property<bool>("IsUsed")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasComment("是否使用");
|
.HasComment("是否使用");
|
||||||
|
|
||||||
b.Property<DateTime?>("LastModificationTime")
|
b.Property<DateTime?>("LastModificationTime")
|
||||||
@ -179,7 +179,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -321,12 +321,12 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("IsEnabled")
|
b.Property<bool>("IsEnabled")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasComment("是否启用");
|
.HasComment("是否启用");
|
||||||
|
|
||||||
b.Property<DateTime?>("LastModificationTime")
|
b.Property<DateTime?>("LastModificationTime")
|
||||||
@ -473,7 +473,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -531,7 +531,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("varchar(64)");
|
.HasColumnType("varchar(64)");
|
||||||
|
|
||||||
b.Property<bool>("IsEnabled")
|
b.Property<bool>("IsEnabled")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<DateTime?>("LastModificationTime")
|
b.Property<DateTime?>("LastModificationTime")
|
||||||
.HasColumnType("datetime(6)")
|
.HasColumnType("datetime(6)")
|
||||||
@ -647,12 +647,12 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("IsPlatformPushSuccess")
|
b.Property<bool>("IsPlatformPushSuccess")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasComment("物联网平台推送是否成功");
|
.HasComment("物联网平台推送是否成功");
|
||||||
|
|
||||||
b.Property<DateTime?>("LastModificationTime")
|
b.Property<DateTime?>("LastModificationTime")
|
||||||
@ -748,8 +748,8 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<string>("FiledType")
|
b.Property<string>("FiledType")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(20)
|
||||||
.HasColumnType("varchar(128)")
|
.HasColumnType("varchar(20)")
|
||||||
.HasComment("物联网平台中对应产品物模型属性或者事件类型");
|
.HasComment("物联网平台中对应产品物模型属性或者事件类型");
|
||||||
|
|
||||||
b.Property<int>("IoTPlatform")
|
b.Property<int>("IoTPlatform")
|
||||||
@ -762,13 +762,19 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("varchar(50)")
|
.HasColumnType("varchar(50)")
|
||||||
.HasComment("物联网平台中对应的产品Id");
|
.HasComment("物联网平台中对应的产品Id");
|
||||||
|
|
||||||
|
b.Property<string>("IoTPlatformRawFieldName")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(64)
|
||||||
|
.HasColumnType("varchar(64)")
|
||||||
|
.HasComment("物联网平台中对应的产品物模型属性或者事件名称");
|
||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("IsValueNeedConvert")
|
b.Property<sbyte>("IsValueNeedConvert")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("tinyint(1)")
|
||||||
.HasComment("是否需要值类型转换");
|
.HasComment("是否需要值类型转换");
|
||||||
|
|
||||||
@ -792,22 +798,28 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("int")
|
.HasColumnType("int")
|
||||||
.HasComment("旧系统授权最后修改者Id");
|
.HasComment("旧系统授权最后修改者Id");
|
||||||
|
|
||||||
b.Property<string>("RawFieldName")
|
|
||||||
.IsRequired()
|
|
||||||
.HasMaxLength(50)
|
|
||||||
.HasColumnType("varchar(50)")
|
|
||||||
.HasComment("物联网平台中对应的产品物模型属性或者事件名称");
|
|
||||||
|
|
||||||
b.Property<string>("Remark")
|
b.Property<string>("Remark")
|
||||||
.HasColumnType("longtext")
|
.HasColumnType("longtext")
|
||||||
.HasComment("备注");
|
.HasComment("备注");
|
||||||
|
|
||||||
|
b.Property<string>("StandardFieldDisplayName")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(64)
|
||||||
|
.HasColumnType("varchar(64)")
|
||||||
|
.HasComment("管理后台产品标准的物模型属性或者事件名称");
|
||||||
|
|
||||||
b.Property<string>("StandardFieldName")
|
b.Property<string>("StandardFieldName")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(50)
|
.HasMaxLength(64)
|
||||||
.HasColumnType("varchar(50)")
|
.HasColumnType("varchar(64)")
|
||||||
.HasComment("管理后台产品标准的物模型属性或者事件名称");
|
.HasComment("管理后台产品标准的物模型属性或者事件名称");
|
||||||
|
|
||||||
|
b.Property<string>("StandardFieldValueType")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(20)
|
||||||
|
.HasColumnType("varchar(20)")
|
||||||
|
.HasComment("标准物模型字段值类型");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
b.Property<Guid?>("TenantId")
|
||||||
.HasColumnType("char(36)")
|
.HasColumnType("char(36)")
|
||||||
.HasColumnName("TenantId")
|
.HasColumnName("TenantId")
|
||||||
@ -819,7 +831,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.HasIndex("IoTPlatformProductId");
|
b.HasIndex("IoTPlatformProductId");
|
||||||
|
|
||||||
b.HasIndex(new[] { "Id", "IoTPlatformProductId", "RawFieldName", "StandardFieldName", "CreationTime" }, "IX_ServiceProDeviceThingModelInfo_IsNotUniqueKey")
|
b.HasIndex(new[] { "Id", "IoTPlatformProductId", "IoTPlatformRawFieldName", "StandardFieldName", "CreationTime" }, "IX_ServiceProDeviceThingModelInfo_IsNotUniqueKey")
|
||||||
.IsDescending();
|
.IsDescending();
|
||||||
|
|
||||||
b.ToTable("ServiceProDeviceThingModelInfo", null, t =>
|
b.ToTable("ServiceProDeviceThingModelInfo", null, t =>
|
||||||
@ -867,7 +879,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasComment("标准多语言");
|
.HasComment("标准多语言");
|
||||||
|
|
||||||
b.Property<bool>("Enabled")
|
b.Property<bool>("Enabled")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<string>("ExtraProperties")
|
b.Property<string>("ExtraProperties")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
@ -875,7 +887,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnName("ExtraProperties");
|
.HasColumnName("ExtraProperties");
|
||||||
|
|
||||||
b.Property<bool>("HideInMenu")
|
b.Property<bool>("HideInMenu")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasComment("是否显示");
|
.HasComment("是否显示");
|
||||||
|
|
||||||
b.Property<string>("Icon")
|
b.Property<string>("Icon")
|
||||||
@ -884,12 +896,12 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("KeepAlive")
|
b.Property<bool>("KeepAlive")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasComment("是否缓存");
|
.HasComment("是否缓存");
|
||||||
|
|
||||||
b.Property<DateTime?>("LastModificationTime")
|
b.Property<DateTime?>("LastModificationTime")
|
||||||
@ -1012,7 +1024,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -1079,7 +1091,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -1174,16 +1186,16 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasComment("图标");
|
.HasComment("图标");
|
||||||
|
|
||||||
b.Property<bool>("IsDefault")
|
b.Property<bool>("IsDefault")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("IsEnabled")
|
b.Property<bool>("IsEnabled")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<DateTime?>("LastModificationTime")
|
b.Property<DateTime?>("LastModificationTime")
|
||||||
.HasColumnType("datetime(6)")
|
.HasColumnType("datetime(6)")
|
||||||
@ -1253,7 +1265,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -1272,7 +1284,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
|
|
||||||
b.Property<bool>("Read")
|
b.Property<bool>("Read")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<DateTime?>("ReadTime")
|
b.Property<DateTime?>("ReadTime")
|
||||||
.HasColumnType("datetime(6)");
|
.HasColumnType("datetime(6)");
|
||||||
@ -1344,7 +1356,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -1360,7 +1372,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("char(36)");
|
.HasColumnType("char(36)");
|
||||||
|
|
||||||
b.Property<bool>("Read")
|
b.Property<bool>("Read")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<DateTime>("ReadTime")
|
b.Property<DateTime>("ReadTime")
|
||||||
.HasColumnType("datetime(6)");
|
.HasColumnType("datetime(6)");
|
||||||
@ -1435,7 +1447,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -1575,12 +1587,12 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("IsEnabled")
|
b.Property<bool>("IsEnabled")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<DateTime?>("LastModificationTime")
|
b.Property<DateTime?>("LastModificationTime")
|
||||||
.HasColumnType("datetime(6)")
|
.HasColumnType("datetime(6)")
|
||||||
@ -1741,7 +1753,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -2059,7 +2071,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsAbandoned")
|
b.Property<bool>("IsAbandoned")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false);
|
.HasDefaultValue(false);
|
||||||
|
|
||||||
b.Property<string>("JobArgs")
|
b.Property<string>("JobArgs")
|
||||||
@ -2127,10 +2139,10 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("varchar(128)");
|
.HasColumnType("varchar(128)");
|
||||||
|
|
||||||
b.Property<bool>("IsAvailableToHost")
|
b.Property<bool>("IsAvailableToHost")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<bool>("IsVisibleToClients")
|
b.Property<bool>("IsVisibleToClients")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<string>("Name")
|
b.Property<string>("Name")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
@ -2239,7 +2251,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnName("ExtraProperties");
|
.HasColumnName("ExtraProperties");
|
||||||
|
|
||||||
b.Property<bool>("IsStatic")
|
b.Property<bool>("IsStatic")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<string>("Name")
|
b.Property<string>("Name")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
@ -2255,7 +2267,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("varchar(128)");
|
.HasColumnType("varchar(128)");
|
||||||
|
|
||||||
b.Property<bool>("Required")
|
b.Property<bool>("Required")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<int>("ValueType")
|
b.Property<int>("ValueType")
|
||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
@ -2315,15 +2327,15 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnName("ExtraProperties");
|
.HasColumnName("ExtraProperties");
|
||||||
|
|
||||||
b.Property<bool>("IsDefault")
|
b.Property<bool>("IsDefault")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasColumnName("IsDefault");
|
.HasColumnName("IsDefault");
|
||||||
|
|
||||||
b.Property<bool>("IsPublic")
|
b.Property<bool>("IsPublic")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasColumnName("IsPublic");
|
.HasColumnName("IsPublic");
|
||||||
|
|
||||||
b.Property<bool>("IsStatic")
|
b.Property<bool>("IsStatic")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasColumnName("IsStatic");
|
.HasColumnName("IsStatic");
|
||||||
|
|
||||||
b.Property<string>("Name")
|
b.Property<string>("Name")
|
||||||
@ -2548,7 +2560,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("EmailConfirmed")
|
b.Property<bool>("EmailConfirmed")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("EmailConfirmed");
|
.HasColumnName("EmailConfirmed");
|
||||||
|
|
||||||
@ -2561,18 +2573,18 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnName("ExtraProperties");
|
.HasColumnName("ExtraProperties");
|
||||||
|
|
||||||
b.Property<bool>("IsActive")
|
b.Property<bool>("IsActive")
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasColumnName("IsActive");
|
.HasColumnName("IsActive");
|
||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
b.Property<bool>("IsExternal")
|
b.Property<bool>("IsExternal")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsExternal");
|
.HasColumnName("IsExternal");
|
||||||
|
|
||||||
@ -2589,7 +2601,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("LockoutEnabled")
|
b.Property<bool>("LockoutEnabled")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("LockoutEnabled");
|
.HasColumnName("LockoutEnabled");
|
||||||
|
|
||||||
@ -2625,7 +2637,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("PhoneNumberConfirmed")
|
b.Property<bool>("PhoneNumberConfirmed")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("PhoneNumberConfirmed");
|
.HasColumnName("PhoneNumberConfirmed");
|
||||||
|
|
||||||
@ -2636,7 +2648,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnName("SecurityStamp");
|
.HasColumnName("SecurityStamp");
|
||||||
|
|
||||||
b.Property<bool>("ShouldChangePasswordOnNextLogin")
|
b.Property<bool>("ShouldChangePasswordOnNextLogin")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<string>("Surname")
|
b.Property<string>("Surname")
|
||||||
.HasMaxLength(64)
|
.HasMaxLength(64)
|
||||||
@ -2649,7 +2661,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("TwoFactorEnabled")
|
b.Property<bool>("TwoFactorEnabled")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("TwoFactorEnabled");
|
.HasColumnName("TwoFactorEnabled");
|
||||||
|
|
||||||
@ -2876,7 +2888,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
@ -2951,7 +2963,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("varchar(128)");
|
.HasColumnType("varchar(128)");
|
||||||
|
|
||||||
b.Property<bool>("IsEnabled")
|
b.Property<bool>("IsEnabled")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<byte>("MultiTenancySide")
|
b.Property<byte>("MultiTenancySide")
|
||||||
.HasColumnType("tinyint unsigned");
|
.HasColumnType("tinyint unsigned");
|
||||||
@ -3096,13 +3108,13 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnName("ExtraProperties");
|
.HasColumnName("ExtraProperties");
|
||||||
|
|
||||||
b.Property<bool>("IsEncrypted")
|
b.Property<bool>("IsEncrypted")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<bool>("IsInherited")
|
b.Property<bool>("IsInherited")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<bool>("IsVisibleToClients")
|
b.Property<bool>("IsVisibleToClients")
|
||||||
.HasColumnType("tinyint(1)");
|
.HasColumnType("bit(1)");
|
||||||
|
|
||||||
b.Property<string>("Name")
|
b.Property<string>("Name")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
@ -3159,7 +3171,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("IsDeleted")
|
b.Property<bool>("IsDeleted")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("tinyint(1)")
|
.HasColumnType("bit(1)")
|
||||||
.HasDefaultValue(false)
|
.HasDefaultValue(false)
|
||||||
.HasColumnName("IsDeleted");
|
.HasColumnName("IsDeleted");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user