sunpengfei
2025-08-22 a2615c138637b55691a78801c069605aaa56eecc
FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
@@ -32,7 +32,8 @@
                        .HasColumnType("int");
                    b.Property<string>("Code")
                        .HasColumnType("nvarchar(max)");
                        .HasMaxLength(32)
                        .HasColumnType("nvarchar(32)");
                    b.Property<DateTime?>("CompletedTime")
                        .HasColumnType("datetime2");
@@ -44,6 +45,9 @@
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid?>("ElectronSignContractTemplateId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid>("EnterpriseId")
@@ -69,7 +73,13 @@
                    b.Property<int>("Status")
                        .HasColumnType("int");
                    b.Property<string>("TemplateEditData")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("TemplateId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("TemplateJsonData")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("TraceId")
@@ -80,6 +90,9 @@
                    b.Property<Guid?>("UpdatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("WxmpQrCode")
                        .HasColumnType("nvarchar(max)");
                    b.HasKey("Id");
@@ -336,6 +349,56 @@
                    b.ToTable("DictionaryData");
                });
            modelBuilder.Entity("FlexJobApi.Core.ElectronSignSetting", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<int>("Access")
                        .HasColumnType("int");
                    b.Property<Guid?>("CreatedEnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<DateTimeOffset>("CreatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    b.Property<bool>("IsDisabled")
                        .HasColumnType("bit");
                    b.Property<decimal?>("MergeSignCost")
                        .HasColumnType("decimal(18,2)");
                    b.Property<decimal?>("RealVerifyCost")
                        .HasColumnType("decimal(18,2)");
                    b.Property<decimal?>("SignCost")
                        .HasColumnType("decimal(18,2)");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("UpdatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.HasKey("Id");
                    b.ToTable("ElectronSignSetting");
                });
            modelBuilder.Entity("FlexJobApi.Core.Enterprise", b =>
                {
                    b.Property<Guid>("Id")
@@ -418,9 +481,6 @@
                    b.Property<string>("MainBusiness")
                        .HasColumnType("nvarchar(max)");
                    b.Property<decimal?>("MergeSignCost")
                        .HasColumnType("decimal(18,2)");
                    b.Property<int?>("PayAccess")
                        .HasColumnType("int");
@@ -430,14 +490,8 @@
                    b.Property<int?>("RealAccess")
                        .HasColumnType("int");
                    b.Property<decimal?>("RealVerifyCost")
                        .HasColumnType("decimal(18,2)");
                    b.Property<string>("RegisteredCapital")
                        .HasColumnType("nvarchar(max)");
                    b.Property<decimal?>("SignCost")
                        .HasColumnType("decimal(18,2)");
                    b.Property<int?>("SmsAccess")
                        .HasColumnType("int");
@@ -486,6 +540,9 @@
                    b.Property<string>("BankCardImg")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("CertAccount")
                        .HasColumnType("nvarchar(max)");
                    b.Property<Guid?>("CreatedEnterpriseId")
                        .HasColumnType("uniqueidentifier");
@@ -493,6 +550,9 @@
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid?>("ElectronSignEnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("EnterpriseName")
@@ -564,6 +624,49 @@
                    b.HasKey("Id");
                    b.ToTable("EnterpriseAuth");
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseElectronSignSetting", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid?>("CreatedEnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<DateTimeOffset>("CreatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<int>("ElectronSignAccess")
                        .HasColumnType("int");
                    b.Property<Guid>("EnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("UpdatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.HasKey("Id");
                    b.HasIndex("EnterpriseId");
                    b.ToTable("EnterpriseElectronSignSetting");
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployee", b =>
@@ -2314,6 +2417,17 @@
                    b.Navigation("Enterprise");
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseElectronSignSetting", b =>
                {
                    b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise")
                        .WithMany("ElectronSignSettings")
                        .HasForeignKey("EnterpriseId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("Enterprise");
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployee", b =>
                {
                    b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise")
@@ -2708,6 +2822,8 @@
                    b.Navigation("Departments");
                    b.Navigation("ElectronSignSettings");
                    b.Navigation("EnterpriseAuth");
                    b.Navigation("Users");