diff --git a/app/common.props b/app/common.props
index 7e89c3a0..103bc8d8 100644
--- a/app/common.props
+++ b/app/common.props
@@ -1,9 +1,11 @@
-
+
latest
1.0.0
$(NoWarn);CS1591
app
+ 8.0.2
+ 2.14.1
@@ -16,4 +18,4 @@
-
\ No newline at end of file
+
diff --git a/app/src/Passingwind.WorkflowApp.Application.Contracts/Passingwind.WorkflowApp.Application.Contracts.csproj b/app/src/Passingwind.WorkflowApp.Application.Contracts/Passingwind.WorkflowApp.Application.Contracts.csproj
index 7480591c..e16180ea 100644
--- a/app/src/Passingwind.WorkflowApp.Application.Contracts/Passingwind.WorkflowApp.Application.Contracts.csproj
+++ b/app/src/Passingwind.WorkflowApp.Application.Contracts/Passingwind.WorkflowApp.Application.Contracts.csproj
@@ -12,11 +12,11 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/app/src/Passingwind.WorkflowApp.Application/Passingwind.WorkflowApp.Application.csproj b/app/src/Passingwind.WorkflowApp.Application/Passingwind.WorkflowApp.Application.csproj
index c906f904..dde300ea 100644
--- a/app/src/Passingwind.WorkflowApp.Application/Passingwind.WorkflowApp.Application.csproj
+++ b/app/src/Passingwind.WorkflowApp.Application/Passingwind.WorkflowApp.Application.csproj
@@ -3,7 +3,7 @@
- net7.0
+ net8.0
Passingwind.WorkflowApp
@@ -14,12 +14,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/app/src/Passingwind.WorkflowApp.DbMigrator/Passingwind.WorkflowApp.DbMigrator.csproj b/app/src/Passingwind.WorkflowApp.DbMigrator/Passingwind.WorkflowApp.DbMigrator.csproj
index 73d841e1..476b06ac 100644
--- a/app/src/Passingwind.WorkflowApp.DbMigrator/Passingwind.WorkflowApp.DbMigrator.csproj
+++ b/app/src/Passingwind.WorkflowApp.DbMigrator/Passingwind.WorkflowApp.DbMigrator.csproj
@@ -4,19 +4,19 @@
Exe
- net7.0
+ net8.0
-
+
-
-
+
+
-
+
diff --git a/app/src/Passingwind.WorkflowApp.Domain.Shared/Passingwind.WorkflowApp.Domain.Shared.csproj b/app/src/Passingwind.WorkflowApp.Domain.Shared/Passingwind.WorkflowApp.Domain.Shared.csproj
index 1a96a33e..01dcf789 100644
--- a/app/src/Passingwind.WorkflowApp.Domain.Shared/Passingwind.WorkflowApp.Domain.Shared.csproj
+++ b/app/src/Passingwind.WorkflowApp.Domain.Shared/Passingwind.WorkflowApp.Domain.Shared.csproj
@@ -9,13 +9,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -24,7 +24,7 @@
-
+
diff --git a/app/src/Passingwind.WorkflowApp.Domain/Passingwind.WorkflowApp.Domain.csproj b/app/src/Passingwind.WorkflowApp.Domain/Passingwind.WorkflowApp.Domain.csproj
index b1e14209..4230cf9a 100644
--- a/app/src/Passingwind.WorkflowApp.Domain/Passingwind.WorkflowApp.Domain.csproj
+++ b/app/src/Passingwind.WorkflowApp.Domain/Passingwind.WorkflowApp.Domain.csproj
@@ -3,7 +3,7 @@
- net7.0
+ net8.0
Passingwind.WorkflowApp
@@ -13,14 +13,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/app/src/Passingwind.WorkflowApp.EntityFrameworkCore/Migrations/20240205143836_Update_Abp_8.Designer.cs b/app/src/Passingwind.WorkflowApp.EntityFrameworkCore/Migrations/20240205143836_Update_Abp_8.Designer.cs
new file mode 100644
index 00000000..31b6abd0
--- /dev/null
+++ b/app/src/Passingwind.WorkflowApp.EntityFrameworkCore/Migrations/20240205143836_Update_Abp_8.Designer.cs
@@ -0,0 +1,2880 @@
+//
+using System;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Metadata;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+using Passingwind.WorkflowApp.EntityFrameworkCore;
+using Volo.Abp.EntityFrameworkCore;
+
+#nullable disable
+
+namespace Demo.Migrations
+{
+ [DbContext(typeof(WorkflowAppDbContext))]
+ [Migration("20240205143836_Update_Abp_8")]
+ partial class Update_Abp_8
+ {
+ ///
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
+ .HasAnnotation("ProductVersion", "8.0.1")
+ .HasAnnotation("Relational:MaxIdentifierLength", 128);
+
+ SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.Activity", b =>
+ {
+ b.Property("WorkflowDefinitionVersionId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActivityId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Attributes")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Description")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("DisplayName")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("LoadWorkflowContext")
+ .HasColumnType("bit");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("PersistWorkflow")
+ .HasColumnType("bit");
+
+ b.Property("Properties")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("PropertyStorageProviders")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("SaveWorkflowContext")
+ .HasColumnType("bit");
+
+ b.Property("Type")
+ .IsRequired()
+ .HasMaxLength(32)
+ .HasColumnType("nvarchar(32)");
+
+ b.HasKey("WorkflowDefinitionVersionId", "ActivityId");
+
+ b.ToTable("ElsaActivities", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.ActivityConnection", b =>
+ {
+ b.Property("WorkflowDefinitionVersionId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("SourceId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("TargetId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Outcome")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("Attributes")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("WorkflowDefinitionVersionId", "SourceId", "TargetId", "Outcome");
+
+ b.ToTable("ElsaActivityConnections", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.Bookmark", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActivityId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActivityType")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CorrelationId")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("Hash")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("Model")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ModelType")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("WorkflowInstanceId")
+ .HasColumnType("uniqueidentifier");
+
+ b.HasKey("Id");
+
+ b.ToTable("ElsaBookmarks", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.GlobalVariable", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("IsSecret")
+ .HasColumnType("bit");
+
+ b.Property("Key")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Type")
+ .HasColumnType("int");
+
+ b.Property("Value")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Key");
+
+ b.ToTable("ElsaGlobalVariables", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.Trigger", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActivityId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActivityType")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("Hash")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("Model")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ModelType")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("WorkflowDefinitionId")
+ .HasColumnType("uniqueidentifier");
+
+ b.HasKey("Id");
+
+ b.ToTable("ElsaTriggers", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.WorkflowDefinition", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Channel")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("ContextOptions")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("CustomAttributes")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("DeleteCompletedInstances")
+ .HasColumnType("bit");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("Description")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("DisplayName")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("GroupId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("GroupName")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("IsSingleton")
+ .HasColumnType("bit");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("LatestVersion")
+ .HasColumnType("int");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("PersistenceBehavior")
+ .HasColumnType("int");
+
+ b.Property("PublishedVersion")
+ .HasColumnType("int");
+
+ b.Property("Tag")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Variables")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Name");
+
+ b.ToTable("ElsaWorkflowDefinitions", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.WorkflowDefinitionVersion", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DefinitionId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("IsLatest")
+ .HasColumnType("bit");
+
+ b.Property("IsPublished")
+ .HasColumnType("bit");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Version")
+ .HasColumnType("int");
+
+ b.HasKey("Id");
+
+ b.HasIndex("DefinitionId", "Version");
+
+ b.ToTable("ElsaWorkflowDefinitionVersions", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.WorkflowExecutionLog", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActivityId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActivityType")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("Data")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("EventName")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("Message")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Source")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Timestamp")
+ .HasColumnType("datetime2");
+
+ b.Property("WorkflowInstanceId")
+ .HasColumnType("uniqueidentifier");
+
+ b.HasKey("Id");
+
+ b.HasIndex("WorkflowInstanceId");
+
+ b.ToTable("ElsaWorkflowExecutionLogs", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.WorkflowInstance", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("CancelledTime")
+ .HasColumnType("datetime2");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("ContextId")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("ContextType")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("CorrelationId")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("CurrentActivity")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("Fault")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("FaultedTime")
+ .HasColumnType("datetime2");
+
+ b.Property("FinishedDuration")
+ .HasColumnType("time");
+
+ b.Property("FinishedTime")
+ .HasColumnType("datetime2");
+
+ b.Property("GroupId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Input")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("LastExecutedActivityId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("LastExecutedTime")
+ .HasColumnType("datetime2");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("Output")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Version")
+ .HasColumnType("int");
+
+ b.Property("WorkflowDefinitionId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("WorkflowDefinitionVersionId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("WorkflowStatus")
+ .HasColumnType("int");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Name");
+
+ b.HasIndex("WorkflowDefinitionId");
+
+ b.HasIndex("WorkflowStatus");
+
+ b.HasIndex("WorkflowDefinitionId", "WorkflowDefinitionVersionId");
+
+ b.ToTable("ElsaWorkflowInstances", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.WorkflowInstanceActivityData", b =>
+ {
+ b.Property("WorkflowInstanceId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActivityId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Data")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("WorkflowInstanceId", "ActivityId");
+
+ b.ToTable("ElsaWorkflowInstanceActivityData", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.WorkflowInstanceActivityScope", b =>
+ {
+ b.Property("WorkflowInstanceId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActivityId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Variables")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("WorkflowInstanceId", "ActivityId");
+
+ b.ToTable("ElsaWorkflowInstanceScopes", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.WorkflowInstanceBlockingActivity", b =>
+ {
+ b.Property("WorkflowInstanceId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActivityId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActivityType")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("Tag")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("WorkflowInstanceId", "ActivityId");
+
+ b.ToTable("ElsaWorkflowInstanceBlockingActivities", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.WorkflowInstanceFault", b =>
+ {
+ b.Property("Id")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("WorkflowInstanceId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActivityInput")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("Exception")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("FaultedActivityId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Message")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Resuming")
+ .HasColumnType("bit");
+
+ b.HasKey("Id", "WorkflowInstanceId");
+
+ b.HasIndex("WorkflowInstanceId");
+
+ b.ToTable("ElsaWorkflowInstanceFaults", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.WorkflowInstanceMetadata", b =>
+ {
+ b.Property("WorkflowInstanceId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Key")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("Value")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("WorkflowInstanceId", "Key");
+
+ b.ToTable("ElsaWorkflowInstanceMetadata", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.WorkflowInstanceScheduledActivity", b =>
+ {
+ b.Property("WorkflowInstanceId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ActivityId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Input")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("WorkflowInstanceId", "ActivityId");
+
+ b.ToTable("ElsaWorkflowInstanceScheduledActivities", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Common.WorkflowInstanceVariable", b =>
+ {
+ b.Property("WorkflowInstanceId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Key")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("Value")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("WorkflowInstanceId", "Key");
+
+ b.HasIndex("Key");
+
+ b.ToTable("ElsaWorkflowInstanceVariables", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.GlobalCodes.GlobalCode", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("Description")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("Language")
+ .HasColumnType("int");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("LatestVersion")
+ .HasColumnType("int");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("PublishedVersion")
+ .HasColumnType("int");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Type")
+ .HasColumnType("int");
+
+ b.HasKey("Id");
+
+ b.ToTable("ElsaGlobalCodes", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.GlobalCodes.GlobalCodeContent", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Content")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("GlobalCodeId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Version")
+ .HasColumnType("int");
+
+ b.HasKey("Id");
+
+ b.ToTable("ElsaGlobalCodeContents", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.GlobalCodes.GlobalCodeVersion", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("GlobalCodeId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Version")
+ .HasColumnType("int");
+
+ b.HasKey("Id");
+
+ b.ToTable("ElsaGlobalCodeVersions", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Groups.WorkflowGroup", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("Description")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.ToTable("ElsaWorkflowGroups", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Teams.WorkflowTeam", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("Description")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Name");
+
+ b.ToTable("ElsaWorkflowTeams", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Teams.WorkflowTeamRoleScope", b =>
+ {
+ b.Property("WorkflowTeamId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("RoleName")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("Values")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("WorkflowTeamId", "RoleName");
+
+ b.ToTable("ElsaWorkflowTeamRoleScopes", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.Abp.ElsaModule.Teams.WorkflowTeamUser", b =>
+ {
+ b.Property("WorkflowTeamId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("UserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.HasKey("WorkflowTeamId", "UserId");
+
+ b.ToTable("ElsaWorkflowTeamUsers", (string)null);
+ });
+
+ modelBuilder.Entity("Passingwind.WorkflowApp.ApiKeys.ApiKey", b =>
+ {
+ b.Property("Id")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .IsRequired()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("ExpirationTime")
+ .HasColumnType("datetime2");
+
+ b.Property("ExtraProperties")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("Secret")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("UserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.HasKey("Id");
+
+ b.ToTable("AppApiKeys", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ApplicationName")
+ .HasMaxLength(96)
+ .HasColumnType("nvarchar(96)")
+ .HasColumnName("ApplicationName");
+
+ b.Property("BrowserInfo")
+ .HasMaxLength(512)
+ .HasColumnType("nvarchar(512)")
+ .HasColumnName("BrowserInfo");
+
+ b.Property