//
using System;
using JiShe.IoT.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Volo.Abp.EntityFrameworkCore;
#nullable disable
namespace JiShe.IoT.Migrations
{
[DbContext(typeof(IoTDbContext))]
partial class IoTDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
.HasAnnotation("ProductVersion", "9.0.0")
.HasAnnotation("Relational:MaxIdentifierLength", 64);
MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
modelBuilder.Entity("JiShe.ServicePro.BasicManagement.UserRefreshTokens.UserRefreshToken", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.IsRequired()
.HasMaxLength(40)
.HasColumnType("varchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("ExpirationTime")
.HasColumnType("datetime(6)")
.HasComment("过期时间");
b.Property("ExtraProperties")
.IsRequired()
.HasColumnType("longtext")
.HasColumnName("ExtraProperties");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("IsUsed")
.HasColumnType("tinyint(1)")
.HasComment("是否使用");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("RefreshToken")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)")
.HasComment("刷新token");
b.Property("TenantId")
.HasColumnType("char(36)")
.HasColumnName("TenantId");
b.Property("Token")
.IsRequired()
.HasMaxLength(1024)
.HasColumnType("varchar(1024)")
.HasComment("Token");
b.Property("UserId")
.HasColumnType("char(36)")
.HasComment("用户id");
b.HasKey("Id");
b.HasIndex("RefreshToken");
b.ToTable("ServiceProUserRefreshTokens", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.CodeManagement.DataTypes.Aggregates.DataType", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("Code")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.IsRequired()
.HasMaxLength(40)
.HasColumnType("varchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("Description")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("ExtraProperties")
.IsRequired()
.HasColumnType("longtext")
.HasColumnName("ExtraProperties");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.HasKey("Id");
b.ToTable("ServiceProDataType", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.CodeManagement.EntityModels.Aggregates.EntityModel", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("AggregateId")
.HasColumnType("char(36)");
b.Property("Code")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.IsRequired()
.HasMaxLength(40)
.HasColumnType("varchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("Description")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("ExtraProperties")
.IsRequired()
.HasColumnType("longtext")
.HasColumnName("ExtraProperties");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("ParentId")
.HasColumnType("char(36)");
b.Property("ProjectId")
.HasColumnType("char(36)");
b.Property("RelationalType")
.HasColumnType("int");
b.Property("TenantId")
.HasColumnType("char(36)")
.HasColumnName("TenantId");
b.HasKey("Id");
b.HasIndex("Code");
b.ToTable("ServiceProEntityModels", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.CodeManagement.EntityModels.Aggregates.EntityModelProperty", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("AllowAdd")
.HasColumnType("tinyint(1)");
b.Property("AllowEdit")
.HasColumnType("tinyint(1)");
b.Property("AllowSearch")
.HasColumnType("tinyint(1)");
b.Property("Code")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DataTypeId")
.HasColumnType("char(36)");
b.Property("DecimalPrecision")
.HasColumnType("int");
b.Property("DecimalScale")
.HasColumnType("int");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("Description")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("EntityModelId")
.HasColumnType("char(36)");
b.Property("EnumTypeId")
.HasColumnType("char(36)");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("IsRequired")
.HasColumnType("tinyint(1)");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("MaxLength")
.HasColumnType("int");
b.Property("MinLength")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("EntityModelId");
b.ToTable("ServiceProEntityModelProperties", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.CodeManagement.EnumTypes.Aggregates.EnumType", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("Code")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.IsRequired()
.HasMaxLength(40)
.HasColumnType("varchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("Description")
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("EntityModelId")
.HasColumnType("char(36)");
b.Property("ExtraProperties")
.IsRequired()
.HasColumnType("longtext")
.HasColumnName("ExtraProperties");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("ProjectId")
.HasColumnType("char(36)");
b.Property("TenantId")
.HasColumnType("char(36)")
.HasColumnName("TenantId");
b.HasKey("Id");
b.HasIndex("Code");
b.ToTable("ServiceProEnumType", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.CodeManagement.EnumTypes.Aggregates.EnumTypeProperty", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("Code")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("Description")
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("EnumTypeId")
.HasColumnType("char(36)");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("Value")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("Code");
b.HasIndex("EnumTypeId");
b.ToTable("ServiceProEnumTypeProperty", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.CodeManagement.Projects.Aggregates.Project", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("CompanyName")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.IsRequired()
.HasMaxLength(40)
.HasColumnType("varchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("ExtraProperties")
.IsRequired()
.HasColumnType("longtext")
.HasColumnName("ExtraProperties");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("NameSpace")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("Owner")
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("ProjectName")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("Remark")
.HasMaxLength(512)
.HasColumnType("varchar(512)");
b.Property("SupportTenant")
.HasColumnType("tinyint(1)");
b.Property("TenantId")
.HasColumnType("char(36)")
.HasColumnName("TenantId");
b.HasKey("Id");
b.ToTable("ServiceProProjects", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.CodeManagement.Templates.Aggregates.Template", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.IsRequired()
.HasMaxLength(40)
.HasColumnType("varchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("ExtraProperties")
.IsRequired()
.HasColumnType("longtext")
.HasColumnName("ExtraProperties");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("Name")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("Remark")
.HasMaxLength(512)
.HasColumnType("varchar(512)");
b.Property("TenantId")
.HasColumnType("char(36)")
.HasColumnName("TenantId");
b.HasKey("Id");
b.ToTable("ServiceProTemplates", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.CodeManagement.Templates.Aggregates.TemplateDetail", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("Content")
.HasColumnType("longtext");
b.Property("ControlType")
.HasColumnType("int");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("Description")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("Name")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("ParentId")
.HasColumnType("char(36)");
b.Property("TemplateId")
.HasColumnType("char(36)");
b.Property("TemplateType")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("TemplateId");
b.ToTable("ServiceProTemplateDetails", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.DataDictionaryManagement.DataDictionaries.Aggregates.DataDictionary", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("Code")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("varchar(64)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.IsRequired()
.HasMaxLength(40)
.HasColumnType("varchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("Description")
.IsRequired()
.HasMaxLength(1024)
.HasColumnType("varchar(1024)");
b.Property("DisplayText")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("varchar(64)");
b.Property("ExtraProperties")
.IsRequired()
.HasColumnType("longtext")
.HasColumnName("ExtraProperties");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("TenantId")
.HasColumnType("char(36)")
.HasColumnName("TenantId");
b.HasKey("Id");
b.ToTable("AbpDataDictionaries", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.DataDictionaryManagement.DataDictionaries.Aggregates.DataDictionaryDetail", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("Code")
.HasColumnType("longtext");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DataDictionaryId")
.HasColumnType("char(36)");
b.Property("Description")
.HasColumnType("longtext");
b.Property("DisplayText")
.HasColumnType("longtext");
b.Property("IsEnabled")
.HasColumnType("tinyint(1)");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("Order")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("DataDictionaryId");
b.ToTable("AbpDataDictionaryDetails", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.DynamicMenuManagement.Menus.Menu", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("Component")
.HasMaxLength(512)
.HasColumnType("varchar(512)")
.HasComment("组件地址");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.IsRequired()
.HasMaxLength(40)
.HasColumnType("varchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("DisplayTitle")
.HasMaxLength(128)
.HasColumnType("varchar(128)")
.HasComment("标准多语言");
b.Property("Enabled")
.HasColumnType("tinyint(1)");
b.Property("ExtraProperties")
.IsRequired()
.HasColumnType("longtext")
.HasColumnName("ExtraProperties");
b.Property("HideInMenu")
.HasColumnType("tinyint(1)")
.HasComment("是否显示");
b.Property("Icon")
.HasColumnType("longtext")
.HasComment("图标");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("KeepAlive")
.HasColumnType("tinyint(1)")
.HasComment("是否缓存");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("MenuType")
.HasColumnType("int")
.HasComment("菜单类型");
b.Property("Name")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)")
.HasComment("唯一编码");
b.Property("OpenType")
.HasColumnType("int")
.HasComment("打开类型");
b.Property("Order")
.HasColumnType("int")
.HasComment("排序");
b.Property("ParentId")
.HasColumnType("char(36)");
b.Property("Path")
.IsRequired()
.HasMaxLength(512)
.HasColumnType("varchar(512)")
.HasComment("路由/接口地址");
b.Property("Policy")
.HasMaxLength(128)
.HasColumnType("varchar(128)")
.HasComment("授权策略名称");
b.Property("TenantId")
.HasColumnType("char(36)")
.HasColumnName("TenantId");
b.Property("Title")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)")
.HasComment("标题");
b.Property("Url")
.HasColumnType("longtext")
.HasComment("内外链地址");
b.HasKey("Id");
b.ToTable("ServiceProMenus", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.LanguageManagement.LanguageTexts.Aggregates.LanguageText", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.IsRequired()
.HasMaxLength(40)
.HasColumnType("varchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("CultureName")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)")
.HasComment("语言名称");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("ExtraProperties")
.IsRequired()
.HasColumnType("longtext")
.HasColumnName("ExtraProperties");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("Name")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("varchar(256)")
.HasComment("名称");
b.Property("ResourceName")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)")
.HasComment("资源名称");
b.Property("TenantId")
.HasColumnType("char(36)")
.HasColumnName("TenantId");
b.Property("Value")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("varchar(256)")
.HasComment("值");
b.HasKey("Id");
b.HasIndex("TenantId", "ResourceName", "CultureName");
b.ToTable("AbpLanguageTexts", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.LanguageManagement.Languages.Aggregates.Language", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.IsRequired()
.HasMaxLength(40)
.HasColumnType("varchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("CultureName")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)")
.HasComment("语言名称");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("DisplayName")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)")
.HasComment("显示名称");
b.Property("ExtraProperties")
.IsRequired()
.HasColumnType("longtext")
.HasColumnName("ExtraProperties");
b.Property("FlagIcon")
.HasMaxLength(128)
.HasColumnType("varchar(128)")
.HasComment("图标");
b.Property("IsDefault")
.HasColumnType("tinyint(1)");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("IsEnabled")
.HasColumnType("tinyint(1)");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("TenantId")
.HasColumnType("char(36)")
.HasColumnName("TenantId");
b.Property("UiCultureName")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)")
.HasComment("Ui语言名称");
b.HasKey("Id");
b.HasIndex("CultureName");
b.ToTable("AbpLanguages", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.NotificationManagement.Notifications.Aggregates.Notification", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.IsRequired()
.HasMaxLength(40)
.HasColumnType("varchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("Content")
.IsRequired()
.HasMaxLength(1024)
.HasColumnType("varchar(1024)");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("ExtraProperties")
.IsRequired()
.HasColumnType("longtext")
.HasColumnName("ExtraProperties");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("MessageLevel")
.HasColumnType("int");
b.Property("MessageType")
.HasColumnType("int");
b.Property("Read")
.HasColumnType("tinyint(1)");
b.Property("ReadTime")
.HasColumnType("datetime(6)");
b.Property("ReceiveUserId")
.HasColumnType("char(36)");
b.Property("ReceiveUserName")
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("SenderUserId")
.HasColumnType("char(36)");
b.Property("SenderUserName")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property("TenantId")
.HasColumnType("char(36)")
.HasColumnName("TenantId");
b.Property("Title")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.HasKey("Id");
b.ToTable("AbpNotifications", (string)null);
});
modelBuilder.Entity("JiShe.ServicePro.NotificationManagement.Notifications.Aggregates.NotificationSubscription", b =>
{
b.Property("Id")
.HasColumnType("char(36)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.IsRequired()
.HasMaxLength(40)
.HasColumnType("varchar(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
.HasColumnType("datetime(6)")
.HasColumnName("CreationTime");
b.Property("CreatorId")
.HasColumnType("char(36)")
.HasColumnName("CreatorId");
b.Property("DeleterId")
.HasColumnType("char(36)")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
.HasColumnType("datetime(6)")
.HasColumnName("DeletionTime");
b.Property("ExtraProperties")
.IsRequired()
.HasColumnType("longtext")
.HasColumnName("ExtraProperties");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
.HasColumnType("datetime(6)")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
.HasColumnType("char(36)")
.HasColumnName("LastModifierId");
b.Property("NotificationId")
.HasColumnType("char(36)");
b.Property("Read")
.HasColumnType("tinyint(1)");
b.Property