diff --git a/APT.Data.Migrations/Migrations/20260319072700_wyw2026031901.Designer.cs b/APT.Data.Migrations/Migrations/20260319072700_wyw2026031901.Designer.cs new file mode 100644 index 0000000..3961bab --- /dev/null +++ b/APT.Data.Migrations/Migrations/20260319072700_wyw2026031901.Designer.cs @@ -0,0 +1,137966 @@ +// +using System; +using APT.Migrations; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; + +namespace APT.Data.Migrations.Migrations +{ + [DbContext(typeof(MigrationContext))] + [Migration("20260319072700_wyw2026031901")] + partial class wyw2026031901 + { + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("Relational:MaxIdentifierLength", 128) + .HasAnnotation("ProductVersion", "5.0.12") + .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_HMI", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BD_HMI"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_PICTURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA_TYPE") + .HasColumnType("int"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ENUM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENUM_ITEM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ENUM_ID"); + + b.HasIndex("ENUM_ITEM_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("CODE", "ORG_ID") + .IsUnique() + .HasFilter("[CODE] IS NOT NULL"); + + b.ToTable("T_BD_PICTURE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_PICTURE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_PATH") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PICTURE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PICTURE_ID"); + + b.ToTable("T_BD_PICTURE_FILE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_PLACE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PROP") + .HasColumnType("int"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_BD_PLACE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_SERVER_INFO", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CPU") + .HasColumnType("decimal(18,2)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IP") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEMORY") + .HasColumnType("decimal(18,2)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("STORAGE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BD_SERVER_INFO"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_SYSTEM_INFO", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONCURRENCY") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PV") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BD_SYSTEM_INFO"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_WORD_TEMPLATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA_API") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("RET_ENTITY_TYPE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BD_WORD_TEMPLATE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_API", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIBE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("METHOD") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_API"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_AUTO_PRINT_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRINTER_COMPUTER_NAME") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("PRINTER_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("PRINT_NUMBER") + .HasColumnType("int"); + + b.Property("PRINT_STATUS") + .HasColumnType("int"); + + b.Property("PRINT_TIME") + .HasColumnType("datetime2"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SOURCE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SOURCE_TYPE") + .HasColumnType("int"); + + b.Property("TEMPLET_FILE_NAME") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_AUTO_PRINT_RECORD"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_AUTO_PRINT_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AUTO_PRINT_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAM_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("PARAM_VALUE") + .HasMaxLength(800) + .HasColumnType("nvarchar(800)"); + + b.HasKey("ID"); + + b.HasIndex("AUTO_PRINT_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_AUTO_PRINT_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_BASE_ADD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADDRESS") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIERARCHY") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LATITIDE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("LONGITUDE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_BASE_ADD"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_BASE_CONFIG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APP_CONS_PICTURE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("BACK_PIC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("BOOK_TIME") + .HasColumnType("int"); + + b.Property("CALENDAR_DAYS") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CONTINUOUS_CORRENT") + .HasColumnType("int"); + + b.Property("CONTINUOUS_CORRENT_WARING") + .HasColumnType("int"); + + b.Property("CORRENT_OK") + .HasColumnType("int"); + + b.Property("CORRENT_TOTAL") + .HasColumnType("int"); + + b.Property("COST_BENCHMARK") + .HasColumnType("decimal(18,2)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CURRENT_VOLTAGE_HMI_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DOWN_PERCENT") + .HasColumnType("decimal(18,2)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXCEL_TYPE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("FILE_LEN") + .HasColumnType("int"); + + b.Property("FILE_PATH") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("FILE_TYPE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HOME_HMI_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CHECK_MESSAGE") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_MENU_SHRINK") + .HasColumnType("bit"); + + b.Property("IS_PRODUCT_CAL") + .HasColumnType("bit"); + + b.Property("IS_USER_LOG") + .HasColumnType("bit"); + + b.Property("KPI_CAL_TYPE") + .HasColumnType("int"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("LOGO_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("LOWER_PICTURE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MAP_KEY") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MESSAGE_TEMPLATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("METER_READ_TIME") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PICTURE_URL") + .HasColumnType("nvarchar(max)"); + + b.Property("PIC_LEN") + .HasColumnType("int"); + + b.Property("PIC_PATH") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("PIC_TYPE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("PUSH_API_URL") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("SCREEN_TITLE") + .HasColumnType("nvarchar(max)"); + + b.Property("SCREEN_URL") + .HasColumnType("nvarchar(max)"); + + b.Property("SLOGAN") + .HasMaxLength(60) + .HasColumnType("nvarchar(60)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATISTICAL_TYPE") + .HasColumnType("int"); + + b.Property("SYSTART_TIME") + .HasColumnType("datetime2"); + + b.Property("SYS_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("T0P_PICTURE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEL") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.HasKey("ID"); + + b.HasIndex("APP_CONS_PICTURE_ID"); + + b.HasIndex("BACK_PIC_ID"); + + b.HasIndex("CURRENT_VOLTAGE_HMI_ID"); + + b.HasIndex("HOME_HMI_ID"); + + b.HasIndex("LOGO_ID"); + + b.HasIndex("LOWER_PICTURE_ID"); + + b.HasIndex("MESSAGE_TEMPLATE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("T0P_PICTURE_ID"); + + b.ToTable("T_FM_BASE_CONFIG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_BASE_ENERGY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AUTH_DATE") + .HasColumnType("datetime2"); + + b.Property("AUTH_MECHANISM") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CHARGE_TEL") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENERGY_CHARGE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("ENERGY_LEADER") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("ENERGY_MANAGEMENT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_ENERGY") + .HasColumnType("bit"); + + b.Property("IS_MANAGEMENT_SYS") + .HasColumnType("bit"); + + b.Property("LEADER_POSITION") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("LEADER_TEL") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_BASE_ENERGY"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_BASE_INFO", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ABB_NAME") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CAPITAL") + .HasColumnType("decimal(18,2)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CREDIT_CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FUND_ENUM_ITEM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GDP") + .HasColumnType("decimal(18,2)"); + + b.Property("IS_CENTER") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEGAL_PERSON") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLACE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PROP_ENUM_ITEM_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FUND_ENUM_ITEM_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLACE_ID"); + + b.HasIndex("PROP_ENUM_ITEM_ID"); + + b.ToTable("T_FM_BASE_INFO"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_CALENDAR", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HOLIDAY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DEFAULT") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasColumnType("nvarchar(max)"); + + b.HasKey("ID"); + + b.HasIndex("HOLIDAY_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_CALENDAR"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_CALENDAR_CLASS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CALENDAR_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CLASS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("Nav_CalendarID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CALENDAR_ID"); + + b.HasIndex("CLASS_ID"); + + b.HasIndex("Nav_CalendarID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_CALENDAR_CLASS"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_CLASS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_CLASS"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_CLASS_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CLASS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENDTIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STARTTIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("CLASS_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_CLASS_DETAIL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_COST_CENTER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_FM_COST_CENTER"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CATEGORY") + .HasColumnType("int"); + + b.Property("CHARGEUSER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_STATUS") + .HasColumnType("int"); + + b.Property("DEPARTMENT_TYPE") + .ValueGeneratedOnAdd() + .HasColumnType("int") + .HasDefaultValue(0); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("LINE_USER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PERSON_ID") + .HasMaxLength(100) + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHARGEUSER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("PERSON_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_CALENDAR_CONFIG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CALENDAR_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CURR_TIME") + .HasColumnType("datetime2"); + + b.Property("CYCLE") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DEFAULT_TEMPLATE") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_HANDOVER") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("CALENDAR_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_DEPARTMENT_CALENDAR_CONFIG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_CALENDAR_CONFIG_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CLASS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_CALENDAR_CONFIG_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CLASS_ID"); + + b.HasIndex("DEPARTMENT_CALENDAR_CONFIG_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_DEPARTMENT_CALENDAR_CONFIG_DETAIL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_CALENDAR_CONFIG_TEAM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_CALENDAR_CONFIG_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_CALENDAR_CONFIG_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TEAM_ID"); + + b.ToTable("T_FM_DEPARTMENT_CALENDAR_CONFIG_TEAM"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_COMPLETION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FINISH_COUNT") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONTH") + .HasColumnType("datetime2"); + + b.Property("MONTHStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ONTIME_COUNT") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVERTIME_COUNT") + .HasColumnType("int"); + + b.Property("SHOP_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SHOP_DEPARTMENT_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEAM_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TOTAL_COUNT") + .HasColumnType("int"); + + b.Property("WAITTING_COUNT") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_DEPARTMENT_COMPLETION"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_COMPLETION_SORT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACTIVITY_FINISH_COUNT") + .HasColumnType("int"); + + b.Property("ACTIVITY_TOTAL_COUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HANDOVER_FINISH_COUNT") + .HasColumnType("int"); + + b.Property("HANDOVER_TOTAL_COUNT") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_FINISH_COUNT") + .HasColumnType("int"); + + b.Property("POST_TOTAL_COUNT") + .HasColumnType("int"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("TEAM_FINISH_COUNT") + .HasColumnType("int"); + + b.Property("TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEAM_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TEAM_TOTAL_COUNT") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_DEPARTMENT_COMPLETION_SORT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_DEPARTMENT_POST"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_POST_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_POST_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_DEPARTMENT_POST_USER"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_PRODUCTION_UNIT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPART_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ENUMS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEPART_UNIT_ID"); + + b.HasIndex("ENUMS_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_DEPARTMENT_PRODUCTION_UNIT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_SAFEUSER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_HEAD") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_DEPARTMENT_SAFEUSER"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_SCHEDULING", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CLASS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_CALENDAR_CONFIG_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_RUN") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RUN_CHECKRECORD") + .HasColumnType("int"); + + b.Property("RUN_EVENTRECORD") + .HasColumnType("int"); + + b.Property("RUN_STATUS") + .HasColumnType("bit"); + + b.Property("SHIFT_CLASS_RUN_STATUS") + .HasColumnType("bit"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CLASS_ID"); + + b.HasIndex("DEPARTMENT_CALENDAR_CONFIG_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TEAM_ID"); + + b.ToTable("T_FM_DEPARTMENT_SCHEDULING"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_SCHEDULING_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_SCHEDULING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_SCHEDULING_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PERSON_ID"); + + b.ToTable("T_FM_DEPARTMENT_SCHEDULING_DETAIL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_DEPARTMENT_USER"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ENUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ENUM_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VALUE_TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ENUM_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("CODE", "ORG_ID") + .IsUnique() + .HasFilter("[CODE] IS NOT NULL"); + + b.ToTable("T_FM_ENUM"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ENUMS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("VALUE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_ENUMS"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ENUM_ITEM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ENUM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("NAME_EN") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("OFFSET") + .HasColumnType("decimal(18,2)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POINTNUM") + .HasColumnType("int"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STANDARD_STATUS") + .HasColumnType("int"); + + b.Property("VALUE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.HasKey("ID"); + + b.HasIndex("ENUM_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_ENUM_ITEM"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ENUM_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("CODE", "ORG_ID") + .IsUnique() + .HasFilter("[CODE] IS NOT NULL"); + + b.ToTable("T_FM_ENUM_TYPE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_EQUIPMENT_INTEGRATION_TASK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CURR_TASK_START_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXECUTE_NUM") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INTERFACE_ADDRESS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SYNCING") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MOVE_FILE_PATH") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NEXT_START_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERIODIC_TIME") + .HasColumnType("int"); + + b.Property("PRIORITY_LEVEL") + .HasColumnType("int"); + + b.Property("READ_FILE_PATH") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SECOND_WORKSTAGE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SYNC_UNIT") + .HasColumnType("int"); + + b.Property("TASK_END_TIME") + .HasColumnType("datetime2"); + + b.Property("TASK_START_TIME") + .HasColumnType("datetime2"); + + b.Property("WORKSTAGE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_EQUIPMENT_INTEGRATION_TASK"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_EXT_CONN_ASYNCH_TEMP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ECMSAGE") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("ECMSAGE_FIELD_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXECUTE_RESULT_STATUS") + .HasColumnType("int"); + + b.Property("EXT_CONN_DEST_TYPE") + .HasColumnType("int"); + + b.Property("EXT_CONN_LOG_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EXT_CONN_TRANS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EXT_PDT_ORDER_RESB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FIRST_EXECUTE_TIME") + .HasColumnType("datetime2"); + + b.Property("FLAG_ECMSAGE_FIELD_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FLAG_FEILD_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FUNC_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAMS") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("SAP_BOOKING_LOG_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TABLE_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_EXT_CONN_ASYNCH_TEMP"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_EXT_CONN_CONFIG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CONN_DEST_TYPE") + .HasColumnType("int"); + + b.Property("CONN_TYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_EXT_CONN_CONFIG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_EXT_CONN_CONFIG_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXT_CONN_CONFIG_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("KEY") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("VALUE") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.HasKey("ID"); + + b.HasIndex("EXT_CONN_CONFIG_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_EXT_CONN_CONFIG_DETAIL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_EXT_CONN_LOG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BILL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ECMSAGE") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXECUTE_RESULT_STATUS") + .HasColumnType("int"); + + b.Property("EXT_CONN_DEST_TYPE") + .HasColumnType("int"); + + b.Property("EXT_FUNC_TYPE") + .HasColumnType("int"); + + b.Property("EXT_KEY") + .HasColumnType("nvarchar(max)"); + + b.Property("EXT_KEY_ID") + .HasColumnType("nvarchar(max)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("KEY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARMS") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_EXT_CONN_LOG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_EXT_CONN_TRANS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BILL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXECUTE_RESULT_STATUS") + .HasColumnType("int"); + + b.Property("EXT_CONN_DEST_TYPE") + .HasColumnType("int"); + + b.Property("EXT_FUNC_TYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("KEY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TRANS_ID") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_EXT_CONN_TRANS"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_HIDDEN_DANGER_RECTIFICATION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FINISH_COUNT") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVER_FINISH_COUNT") + .HasColumnType("int"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEAM_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TOTAL_COUNT") + .HasColumnType("int"); + + b.Property("WAITTING_COUNT") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_HIDDEN_DANGER_RECTIFICATION"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_HOLIDAY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FRI") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MON") + .HasColumnType("bit"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SAT") + .HasColumnType("bit"); + + b.Property("SUN") + .HasColumnType("bit"); + + b.Property("THUR") + .HasColumnType("bit"); + + b.Property("TUES") + .HasColumnType("bit"); + + b.Property("WED") + .HasColumnType("bit"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_HOLIDAY"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_HOLIDAY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HOLIDAY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("WORK") + .HasColumnType("bit"); + + b.HasKey("ID"); + + b.HasIndex("HOLIDAY_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_HOLIDAY_DETAIL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_IMPORT_CONFIG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("API_URL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CODE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EDIT_FORM_CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TABLE_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_IMPORT_CONFIG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_IMPORT_CONFIG_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMPORT_CONFIG_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("Nav_ParentID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_EDIT_CODE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SHEET_INDEX") + .HasColumnType("int"); + + b.Property("SHEET_KEY_FIELD_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_ROW_INDEX") + .HasColumnType("int"); + + b.Property("TEXT") + .HasColumnType("nvarchar(max)"); + + b.HasKey("ID"); + + b.HasIndex("IMPORT_CONFIG_ID"); + + b.HasIndex("Nav_ParentID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_IMPORT_CONFIG_DETAIL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_IMPORT_CONFIG_FIELD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEST_FIELD_NAME") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ID_FIELD_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ID_TABLE_FIELD_NAME") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("ID_TABLE_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("IMPORT_CONFIG_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_QUERY_FIELD_NAME") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("SRC_FEILD_TYPE") + .HasColumnType("int"); + + b.Property("SRC_FIELD_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMPORT_CONFIG_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_IMPORT_CONFIG_FIELD"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_INFO", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("API") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INFO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(60) + .HasColumnType("nvarchar(60)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAMS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_INFO"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_JOB_ACTIVITY_COMPLETION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FINISH_COUNT") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONTH") + .HasColumnType("datetime2"); + + b.Property("MONTHStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ONTIME_COUNT") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVERTIME_COUNT") + .HasColumnType("int"); + + b.Property("SHOP_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SHOP_DEPARTMENT_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEAM_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TOTAL_COUNT") + .HasColumnType("int"); + + b.Property("WAITTING_COUNT") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_JOB_ACTIVITY_COMPLETION"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_MESSAGE_TEMPLATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_MESSAGE_TEMPLATE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_MONITORING", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IP") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITORING_ADDR") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_MONITORING"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_NOTICE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENDDT") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ERRORMSG") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("KEY") + .HasColumnType("uniqueidentifier"); + + b.Property("MESSAGE") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("Message_TYPE") + .HasColumnType("int"); + + b.Property("NOTICETYPE") + .HasColumnType("int"); + + b.Property("NOTICE_STATUS") + .HasColumnType("int"); + + b.Property("NOTICE_TYPE") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TABLENAME") + .HasMaxLength(60) + .HasColumnType("nvarchar(60)"); + + b.Property("TEL") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("TEMPLATE_ID") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TITLE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("TRYCOUNT") + .HasColumnType("int"); + + b.Property("USERNAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_NOTICE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_NOTIFICATION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ECMSAGE") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTIFICATION_CLIENT_TYPE") + .HasColumnType("int"); + + b.Property("NOTIFICATION_SHOW_TYPE") + .HasColumnType("int"); + + b.Property("NOTIFICATION_TYPE") + .HasColumnType("int"); + + b.Property("ORDER_STATUS") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("TITLE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_NOTIFICATION"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_NOTIFICATION_ACCEPTED", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTIFICATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NOTIFICATION_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_NOTIFICATION_ACCEPTED"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_NOTIFICATION_PERMIT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTIFICATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERMIT_KEY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PERMIT_TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NOTIFICATION_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_NOTIFICATION_PERMIT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PANEL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(60) + .HasColumnType("nvarchar(60)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("WIDTH") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_PANEL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PANEL_BELONG_ROLE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BELONG_ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PANEL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BELONG_ROLE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PANEL_ID"); + + b.ToTable("T_FM_PANEL_BELONG_ROLE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PANEL_INFO", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INFO_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PANEL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("INFO_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PANEL_ID"); + + b.ToTable("T_FM_PANEL_INFO"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PARAM_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_PARAM_SET"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PARAM_SET_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAM_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARAM_ID"); + + b.ToTable("T_FM_PARAM_SET_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PERSON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BIRTHDAY") + .HasColumnType("datetime2"); + + b.Property("CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CULTURALLEVEL") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EMAIL") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_QUIT") + .HasColumnType("bit"); + + b.Property("JOBTITLE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NATIONALITY") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POLITICALSTATUE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SEX") + .HasMaxLength(20) + .HasColumnType("int"); + + b.Property("TEL") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("WORKDATE") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_FM_PERSON"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PERSON_CERTIFICATE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PERSON_ID"); + + b.ToTable("T_FM_PERSON_CERTIFICATE_FILE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PERSON_EDUCATION_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PERSON_ID"); + + b.ToTable("T_FM_PERSON_EDUCATION_FILE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PERSON_IDCARD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PERSON_ID"); + + b.ToTable("T_FM_PERSON_IDCARD_FILE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PERSON_SKILLS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PERSON_ID"); + + b.ToTable("T_FM_PERSON_SKILLS"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PERSON_WORK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENDDATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("POSTNAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("STARTDATE") + .HasColumnType("datetime2"); + + b.Property("WORKPLACE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PERSON_ID"); + + b.ToTable("T_FM_PERSON_WORK"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PLAN_PARAM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_PLAN_PARAM"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PRINTER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRINTER_COMPUTER_NAME") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("PRINTER_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("REMARK") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("TEMPLET_FILE_NAME") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_PRINTER"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PRINTER_TASK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRINTER_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("SERIAL_NUM") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.Property("WEIGHT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_PRINTER_TASK"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_RISK_LEVEL_PROPORTION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COLOR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("COUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_LEVEL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_RISK_LEVEL_PROPORTION"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_RISK_TYPE_PROPORTION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COLOR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("COUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_RISK_TYPE_PROPORTION"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CHECK_MESSAGE") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLATFORM_TYPE") + .HasColumnType("int"); + + b.Property("REMARK") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("ROLE_TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_ROLE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("ROLE_ID"); + + b.ToTable("T_FM_ROLE_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_GROUP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_ROLE_GROUP"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_GROUP_BELONG_ROLE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BELONG_ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROLE_GROUP_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BELONG_ROLE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("ROLE_GROUP_ID"); + + b.ToTable("T_FM_ROLE_GROUP_BELONG_ROLE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_MENU_PERM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_PERMISSION") + .HasColumnType("bit"); + + b.Property("MENU_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERMISSION_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PERMISSION_FORM_ID"); + + b.HasIndex("ROLE_ID"); + + b.ToTable("T_FM_ROLE_MENU_PERM"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_MENU_PERM_BTN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BTN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MENU_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROLE_MENU_PERMISSION_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BTN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("ROLE_MENU_PERMISSION_ID"); + + b.ToTable("T_FM_ROLE_MENU_PERM_BTN"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_MENU_PERM_COL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COLUMN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MENU_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROLE_MENU_PERMISSION_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("COLUMN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("ROLE_MENU_PERMISSION_ID"); + + b.ToTable("T_FM_ROLE_MENU_PERM_COL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SNAPSHOT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCEPT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ACCEPT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_SNAPSHOT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SNAPSHOT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SNAPSHOT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SNAPSHOT_ID"); + + b.ToTable("T_FM_SNAPSHOT_FILE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_STAGE_ATTR", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESC") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_PARAM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VALUE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("WORKSTAGE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_PARAM_ID"); + + b.ToTable("T_FM_STAGE_ATTR"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_STAGE_BELONG_ROLE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BELONG_ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_PERMISSION") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("Nav_BelongRoleID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("WORKSTAGE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("Nav_BelongRoleID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_STAGE_BELONG_ROLE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_STAGE_DYNAMIC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACTUAL_VAL") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_PARAM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STAGE_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VAL") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("WORKSTAGE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_PARAM_ID"); + + b.ToTable("T_FM_STAGE_DYNAMIC"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_STAGE_PLAN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("WORKSTAGE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_STAGE_PLAN"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SYNC_LIMIT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAMETER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TIMES") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_SYNC_LIMIT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SYNC_LOG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("API_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA_COUNT") + .HasColumnType("int"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SUCCESS") + .HasColumnType("bit"); + + b.Property("LOGTYPE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("SYNC_PARAM") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TRACEIDENTIFIER") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TRACEIDENTIFIERED") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_SYNC_LOG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SYNC_LOG_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SUCCESS") + .HasColumnType("bit"); + + b.Property("LOGTYPE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("SNC_LOG_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TRACEIDENTIFIER") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_SYNC_LOG_DETAIL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SYNC_TASK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CURR_TASK_START_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXECUTE_NUM") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INTERFACE_ADDRESS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SYNCING") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NEXT_START_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERIODIC_TIME") + .HasColumnType("int"); + + b.Property("PRIORITY_LEVEL") + .HasColumnType("int"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SYNC_PARAM") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("SYNC_UNIT") + .HasColumnType("int"); + + b.Property("TASK_END_TIME") + .HasColumnType("datetime2"); + + b.Property("TASK_START_TIME") + .HasColumnType("datetime2"); + + b.Property("UPDATE_SUCCES_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_SYNC_TASK"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SYNC_USER_RULE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_SYNC_USER_RULE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_TEAM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ABB_NAME") + .HasMaxLength(5) + .HasColumnType("nvarchar(5)"); + + b.Property("CHARGE_PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHARGE_PERSON_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_TEAM"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_TEAM_PERSON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PERSON_ID"); + + b.HasIndex("TEAM_ID"); + + b.ToTable("T_FM_TEAM_PERSON"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_UNIT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POINT_LEN") + .HasColumnType("int"); + + b.Property("REMARK") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("ROUND_TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_UNIT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("BORN_DATE") + .HasColumnType("datetime2"); + + b.Property("CODE") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTURETIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ENTRYTIME") + .HasColumnType("datetime2"); + + b.Property("FILE_PATH") + .HasColumnType("nvarchar(max)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ID_CARD") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ISGETMSG") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PASSWORD") + .HasMaxLength(128) + .HasColumnType("nvarchar(128)"); + + b.Property("PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PHONE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("PRINTER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("SEX") + .HasColumnType("int"); + + b.Property("T_BI_AREA_TREEID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_TYPE_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("WORKINGYEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ROLE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PERSON_ID") + .IsUnique() + .HasFilter("[PERSON_ID] IS NOT NULL"); + + b.HasIndex("T_BI_AREA_TREEID"); + + b.ToTable("T_FM_USER"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_BELONG_ROLE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BELONG_ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BELONG_ROLE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_USER_BELONG_ROLE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_BELONG_ROLE_GROUP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BELONG_ROLE_GROUP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BELONG_ROLE_GROUP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_USER_BELONG_ROLE_GROUP"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_BELONG_USER_GROUP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BELONG_USER_GROUP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BELONG_USER_GROUP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_USER_BELONG_USER_GROUP"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_CUSTOM_CONFIG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("Nav_UserID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("Nav_UserID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_USER_CUSTOM_CONFIG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_CUSTOM_CONFIG_H_COL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COLUMN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_CUSTOM_CONFIG_H_TAB_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("COLUMN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_CUSTOM_CONFIG_H_TAB_ID"); + + b.ToTable("T_FM_USER_CUSTOM_CONFIG_H_COL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_CUSTOM_CONFIG_H_TAB", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_TABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_CUSTOM_CONFIG_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_TABLE_ID"); + + b.HasIndex("USER_CUSTOM_CONFIG_ID"); + + b.ToTable("T_FM_USER_CUSTOM_CONFIG_H_TAB"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_EDIT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_EDIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_CUSTOM_CONFIG_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_EDIT_ID"); + + b.HasIndex("USER_CUSTOM_CONFIG_ID"); + + b.ToTable("T_FM_USER_C_C_EDIT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_EDIT_COL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EDIT_COLUMN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_C_C_EDIT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EDIT_COLUMN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_C_C_EDIT_ID"); + + b.ToTable("T_FM_USER_C_C_EDIT_COL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_EDIT_H_COL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EDIT_COLUMN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_C_C_EDIT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EDIT_COLUMN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_C_C_EDIT_ID"); + + b.ToTable("T_FM_USER_C_C_EDIT_H_COL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_QUERY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DEFAULT") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TITLE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_CUSTOM_CONFIG_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_FORM_ID"); + + b.HasIndex("USER_CUSTOM_CONFIG_ID"); + + b.ToTable("T_FM_USER_C_C_QUERY"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_QUERY_FIELD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CASE") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA_TYPE") + .HasColumnType("int"); + + b.Property("DATA_VALUE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ENUM_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FEILD_TYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CUSTOM") + .HasColumnType("bit"); + + b.Property("IS_DEFAULT_QUERY") + .HasColumnType("bit"); + + b.Property("IS_DEFAULT_SHOW") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_REQUIRE") + .HasColumnType("bit"); + + b.Property("IS_SYS_PARAM") + .HasColumnType("bit"); + + b.Property("IS_SYS_QUERY_FIELD") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("OP_DEFAULT") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUERY_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("USER_C_C_QUERY_GROUP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_C_C_QUERY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_C_C_QUERY_GROUP_ID"); + + b.HasIndex("USER_C_C_QUERY_ID"); + + b.ToTable("T_FM_USER_C_C_QUERY_FIELD"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_QUERY_GROUP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_DISPLAY") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RELATION_TYPE") + .HasColumnType("int"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TITLE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_C_C_QUERY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("USER_C_C_QUERY_ID"); + + b.ToTable("T_FM_USER_C_C_QUERY_GROUP"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_TABLE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_SIZE") + .HasColumnType("int"); + + b.Property("PAGE_TABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_CUSTOM_CONFIG_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_TABLE_ID"); + + b.HasIndex("USER_CUSTOM_CONFIG_ID"); + + b.ToTable("T_FM_USER_C_C_TABLE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_TABLE_COL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COLUMN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_C_C_TABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("COLUMN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_C_C_TABLE_ID"); + + b.ToTable("T_FM_USER_C_C_TABLE_COL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_USER_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_GROUP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasColumnType("nvarchar(max)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_USER_GROUP"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_GROUP_BELONG_ROLE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BELONG_ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_GROUP_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BELONG_ROLE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_GROUP_ID"); + + b.ToTable("T_FM_USER_GROUP_BELONG_ROLE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_GROUP_BELONG_R_G", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BELONG_ROLE_GROUP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_GROUP_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BELONG_ROLE_GROUP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_GROUP_ID"); + + b.ToTable("T_FM_USER_GROUP_BELONG_R_G"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_GROUP_BELONG_U_G", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BELONG_USER_GROUP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_GROUP_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BELONG_USER_GROUP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_GROUP_ID"); + + b.ToTable("T_FM_USER_GROUP_BELONG_U_G"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_PHOTO_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_USER_PHOTO_FILE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("T_BI_AREA_TREEID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("T_BI_AREA_TREEID"); + + b.ToTable("T_FM_USER_POST"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ENUMS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ENUMS_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_USER_PRODUCTION_UNIT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JT_SYNC") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_USER_PRODUCTION_UNIT_SET"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_SIGN_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_USER_SIGN_FILE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_TEST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_POST_ID"); + + b.ToTable("T_FM_USER_TEST"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_VACATION_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AGENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("END_DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_DATE") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AGENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FM_USER_VACATION_SET"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_WORK_TICKET_COMPLETION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FINISH_COUNT") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONTH") + .HasColumnType("datetime2"); + + b.Property("MONTHStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ONTIME_COUNT") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVER_FINISH_COUNT") + .HasColumnType("int"); + + b.Property("SHOP_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SHOP_DEPARTMENT_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEAM_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TOTAL_COUNT") + .HasColumnType("int"); + + b.Property("WAITTING_COUNT") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_WORK_TICKET_COMPLETION"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_PF_SYS_LOG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BROWSER_NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXT_DATA") + .HasColumnType("nvarchar(max)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HOST_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LOG_DATA") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("LOG_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("LOG_TIME") + .HasColumnType("datetime2"); + + b.Property("LOG_TITLE") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("LOG_TYPE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LOG_FORM_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PF_SYS_LOG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.LG.T_LG_OPRATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BTN_CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("BTN_NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPRATE_TYPE") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_LG_OPRATE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.NW.T_NW_ENTERPRISE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_NW_ENTERPRISE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.NW.T_NW_ROLE_DATA_PERM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTERPRISE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PREM_ENTERPRISE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_NW_ROLE_DATA_PERM"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.NW.T_NW_ROLE_MENU", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTERPRISE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTERPRISE_MENU_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MENU_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_NW_ROLE_MENU"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_ALLUSER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PHONE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("TENANT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_ALLUSER"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_BILLING_RULE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("VERSION_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("VERSION_ID"); + + b.ToTable("T_OP_BILLING_RULE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_BILLING_RULE_VERSION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLAT_CHARGE") + .HasColumnType("decimal(18,2)"); + + b.Property("FLAT_SERVICE_CHARGE") + .HasColumnType("decimal(18,2)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PEAK_CHARGE") + .HasColumnType("decimal(18,2)"); + + b.Property("PEAK_SERVICE_CHARGE") + .HasColumnType("decimal(18,2)"); + + b.Property("RULE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SHARP_CHARGE") + .HasColumnType("decimal(18,2)"); + + b.Property("SHARP_SERVICE_CHARGE") + .HasColumnType("decimal(18,2)"); + + b.Property("VALLEY_CHARGE") + .HasColumnType("decimal(18,2)"); + + b.Property("VALLEY_SERVICE_CHARGE") + .HasColumnType("decimal(18,2)"); + + b.Property("VERSION") + .HasMaxLength(5) + .HasColumnType("nvarchar(5)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RULE_ID"); + + b.ToTable("T_OP_BILLING_RULE_VERSION"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_CHARGE_TIME_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HOUR") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_CHARGE_TIME_SET"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_CLIENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADDR") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("AVATAURL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMAIL") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ID_CARD") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("NICK_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TEL") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_CLIENT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_CLINET_OPENID", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CLIENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPEN_ID") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CLIENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_CLINET_OPENID"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_COMMON_QUESTION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ANSWER") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUESTION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_COMMON_QUESTION"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_FILE_FIRMWARE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRMWARE_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FIRMWARE_DATA") + .HasColumnType("varbinary(max)"); + + b.Property("FIRMWARE_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("FIRMWARE_PATH") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FIRMWARE_TYPE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("FIRMWARE_VERSION") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_FILE_FIRMWARE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_MEMBER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("OPENID") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PHONE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("RECHARGE_CARD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECHARGE_CARD_ID"); + + b.ToTable("T_OP_MEMBER"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_MENU", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ICON") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("MENU_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MENU_FORM_PARAMS") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("MENU_LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("MENU_FORM_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_OP_MENU"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_NOTICE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTICE_TITLE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_NOTICE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_NOTICE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TEXT") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("NOTICE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_NOTICE_DETAIL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_PEAK_VALLEY_CONFIG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_PEAK_VALLEY_CONFIG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_RECHARGE_CARD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BALANCE") + .HasColumnType("decimal(18,2)"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REAMRK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("RFID_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RFID_ID"); + + b.ToTable("T_OP_RECHARGE_CARD"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_RECHARGE_ORDER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AMOUNT") + .HasColumnType("decimal(18,2)"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORDER_STATUS") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECHARGE_CARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECHARGE_CARD_ID"); + + b.ToTable("T_OP_RECHARGE_ORDER"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_RECHARGE_SETTING", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AMOUNT") + .HasColumnType("decimal(18,2)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_RECHARGE_SETTING"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_RFID_CARD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFICATION") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REAMRK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("RFID") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_RFID_CARD"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_ROLE_MENU", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MENU_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TENANT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TENANT_MENU_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_ROLE_MENU"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_TENANT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CERTPASSWORD") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CERTPATH") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DB_CONN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXPIRATION_TIME") + .HasColumnType("datetime2"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_TEMPLATE") + .HasColumnType("bit"); + + b.Property("MCH_ID") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_TYPE") + .HasColumnType("int"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("TEMPLATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("WXPAYKEY") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("DB_CONN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TEMPLATE_ID"); + + b.ToTable("T_OP_TENANT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_TENANT_DB_CONN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DB_CONN") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("DB_CONN_WAN") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_TENANT_DB_CONN"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_TENANT_DOMAIN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DOMAIN_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("TENANT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TENANT_ID"); + + b.ToTable("T_OP_TENANT_DOMAIN"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_TENANT_EXPIRATION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DURATION") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXPIRATION_TIME") + .HasColumnType("datetime2"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAST_TIME") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TENANT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UNIT") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TENANT_ID"); + + b.ToTable("T_OP_TENANT_EXPIRATION"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PASSWORD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("PHONE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("REMARK") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_USER"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_VERSION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OLD_VERSION_NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TEMPLATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UPDATE_SQL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("VERSION_NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("VERSION_ZH") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TEMPLATE_ID"); + + b.ToTable("T_OP_VERSION"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_VERSION_MENU", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MENU_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("VERSION_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_VERSION_MENU"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_VERSION_TENANT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TENANT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VERSION_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OP_VERSION_TENANT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.PF.T_PF_APPROVE_OPERATION_ROLE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVAL_ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVAL_ROLE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("ROLE_ID"); + + b.ToTable("T_PF_APPROVE_OPERATION_ROLE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.PF.T_PF_APPROVE_REJECT_CONFIG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ARCHIVE_INTERFACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAM") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REJECT_INTERFACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_APPROVE_REJECT_CONFIG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.PF.T_PF_APPROVE_ROLE_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVAL_ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVAL_ROLE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_APPROVE_ROLE_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.PF.T_PF_COMPLAINT_LOG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("COMPLAINT_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_DETAIL_ID"); + + b.HasIndex("COMPLAINT_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_COMPLAINT_LOG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.PF.T_PF_FORM_RELATION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_FORM_RELATION"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.PF.T_PF_VERSION_MANAGE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BRANCH") + .HasColumnType("int"); + + b.Property("CONTENT") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GRAMMAR") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAST_VERSION") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("VERSION") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("VERSION_NO") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("VERSION_TYPE") + .HasColumnType("int"); + + b.Property("VERSION_ZH") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_VERSION_MANAGE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.Platform.T_PF_DEFECT_CODE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BAD_GRADE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("BAD_GRADE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_PF_DEFECT_CODE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.Platform.T_PF_DEFECT_GRADE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SEVERITY") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_DEFECT_GRADE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.Platform.T_PF_ECM_LOG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("API_ADDRESS") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESC") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("ECMSAGE") + .HasColumnType("nvarchar(max)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_CODE") + .HasColumnType("nvarchar(max)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_ECM_LOG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T4.T_PF_APP_VERSION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("UPGRADE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_APP_VERSION"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T4.T_PF_APP_VERSION_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APP_VERSION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APP_VERSION_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_APP_VERSION_FILE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_FM_NOTIFICATION_TASK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_TYPE") + .HasColumnType("int"); + + b.Property("ISCANCEL") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTICE_STATUS") + .HasColumnType("int"); + + b.Property("NOTICE_TITLE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NOTICE_TYPE") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SENDTIME") + .HasColumnType("datetime2"); + + b.Property("SOURCE_DATA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SOURCE_FORMCODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("TABLE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TASK_DT") + .HasColumnType("datetime2"); + + b.Property("TASK_ENDDT") + .HasColumnType("datetime2"); + + b.Property("TASK_STARTDT") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SOURCE_DATA_ID"); + + b.ToTable("T_FM_NOTIFICATION_TASK"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_FM_NOTIFICATION_TASK_TIME_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DAYDELAY") + .HasColumnType("int"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LIMITDATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("TABLEKEY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TABLENAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TABLETIME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TASK_TYPE") + .HasColumnType("int"); + + b.Property("TIME_TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FM_NOTIFICATION_TASK_TIME_SET"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_APPMENU", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HAS_CHILDREN") + .HasColumnType("bit"); + + b.Property("ICON") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IMG") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("MENU_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MENU_FORM_PARAMS") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("MENU_LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PICTURE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("MENU_FORM_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("PICTURE_ID"); + + b.ToTable("T_PF_APPMENU"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_APPROVE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_CODE") + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("APPROVE_STATUS") + .HasColumnType("int"); + + b.Property("APPROVE_TEMP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CALLBACK_INTERFACE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCANCEL") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAM") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("REJECT_INTERFACE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_APPROVE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_APPROVE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CONTEXT") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCANCEL") + .HasColumnType("bit"); + + b.Property("ISHEAD") + .HasColumnType("bit"); + + b.Property("IS_ALLOW_UPDATE") + .HasColumnType("bit"); + + b.Property("IS_CURRENT") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NODE_APPROVE_STATUS") + .HasColumnType("int"); + + b.Property("NODE_APPROVE_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasMaxLength(10) + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("APPROVE_ROLE_ID"); + + b.HasIndex("APPROVE_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_APPROVE_DETAIL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_APPROVE_TEMP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ROLE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ARCHIVE_INTERFACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CALLBACK_INTERFACE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CLASS_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_CODE") + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("METHOD_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAM") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("REJECT_INTERFACE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_APPROVE_TEMP"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_APPROVE_TEMP_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEFAULT_APPROVE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISHEAD") + .HasColumnType("bit"); + + b.Property("IS_ALLOW_UPDATE") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NUM") + .HasMaxLength(10) + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("APPROVE_ROLE_ID"); + + b.HasIndex("DEFAULT_APPROVE_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_APPROVE_TEMP_DETAIL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_BTN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("API_URL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("BTN_CONDITION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("BTN_FUN_TYPE") + .HasColumnType("int"); + + b.Property("BTN_PAGE_TYPE") + .HasColumnType("int"); + + b.Property("BTN_TYPE") + .HasColumnType("int"); + + b.Property("CLICK_EVENT") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CSS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CUSTOM_PARAMS") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ICON") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("INPUT_NAV_FIELD") + .HasMaxLength(150) + .HasColumnType("nvarchar(150)"); + + b.Property("INPUT_SAVE_FIELD") + .HasMaxLength(150) + .HasColumnType("nvarchar(150)"); + + b.Property("IS_COMFIRM") + .HasColumnType("bit"); + + b.Property("IS_DEFAULT") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_RULE") + .HasColumnType("bit"); + + b.Property("IS_SAME_LEVEL") + .HasColumnType("bit"); + + b.Property("IS_SHOWLAB") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_CUSTOM_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_EDIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_TABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAVE_CLEAR_TYPE") + .HasColumnType("int"); + + b.Property("SAVE_CLOSE_TYPE") + .HasColumnType("int"); + + b.Property("SELECT_SHOW") + .HasColumnType("bit"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("WORD_TEMPLATE_CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_TABLE_ID"); + + b.ToTable("T_PF_BTN"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_CLIENT_MENU", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HAS_CHILDREN") + .HasColumnType("bit"); + + b.Property("ICON") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IMG") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("MENU_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MENU_FORM_PARAMS") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("MENU_LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("MENU_FORM_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_PF_CLIENT_MENU"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_CLIENT_SCOPES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA_CHANNEL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCOPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DATA_CHANNEL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SCOPE_ID"); + + b.ToTable("T_PF_CLIENT_SCOPES"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_CODE_RULE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE_PREFIX") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CODE_TYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CURRENT_DATA") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_FLOW") + .HasColumnType("bit"); + + b.Property("IS_IGNORE_DATE") + .HasColumnType("bit"); + + b.Property("IS_ORG_CODE") + .HasColumnType("bit"); + + b.Property("IS_TENANT_CODE") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QTY") + .HasColumnType("int"); + + b.Property("SERIAL_NUM_LEN") + .HasColumnType("int"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAKE_RETAIN_MIN") + .HasColumnType("int"); + + b.Property("VERSION") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_CODE_RULE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_CODE_RULE_RUN_LOG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_COMPLETE") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_CODE_RULE_RUN_LOG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_CODE_RULE_SERIAL_LOG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE_TYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE_VALUE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SERIAL") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAKE_TIME") + .HasColumnType("datetime2"); + + b.Property("USE_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_CODE_RULE_SERIAL_LOG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_COLUMN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTROL_TYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CUSTOM_PARAMS") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("DATA_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ENUM") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("FIELD_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FOOTER_SUM_TYPE") + .HasColumnType("int"); + + b.Property("FORMAT") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INPUT_DATA_API") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("INPUT_DATA_LEVEL") + .HasColumnType("int"); + + b.Property("INPUT_FILTER_FIELD") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("INPUT_FILTER_ORG_TYPE") + .HasColumnType("int"); + + b.Property("INPUT_ID_FIELD") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("INPUT_LABEL_FIELD") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("INPUT_NAV_FIELD") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("INPUT_SAVE_FIELD") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("INPUT_SHOW_FIELD") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("INPUT_SORT_FIELD") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("INPUT_SORT_ORDER") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IS_DEFAULT") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_ONLY_CHECK_LEAF") + .HasColumnType("bit"); + + b.Property("IS_RULE") + .HasColumnType("bit"); + + b.Property("IS_SHOW_SUM") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("MAX_LEN") + .HasColumnType("int"); + + b.Property("MERGE_CELLS") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("MIN_LEN") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NO_SORT") + .HasColumnType("bit"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_TABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_TABLE_PANEL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SHOW_FORM_CODE") + .HasMaxLength(60) + .HasColumnType("nvarchar(60)"); + + b.Property("SHOW_ID_FIELD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TABLE_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("VALIDATA_TYPE") + .HasMaxLength(5) + .HasColumnType("nvarchar(5)"); + + b.Property("WIDTH") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_TABLE_ID"); + + b.HasIndex("PAGE_TABLE_PANEL_ID"); + + b.ToTable("T_PF_COLUMN"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_COLUMN_FILTER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COLUMN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIELD_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CUSTOM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VALUE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.HasKey("ID"); + + b.HasIndex("COLUMN_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_COLUMN_FILTER"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_DATA_CHANNEL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APP_ID") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA_FREQUENCY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LIFE_TIME") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_KEY") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TENANT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DATA_FREQUENCY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TENANT_ID"); + + b.ToTable("T_PF_DATA_CHANNEL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_DATA_FREQUENCY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FREQUENCY_TYPE") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STORE_FRE") + .HasColumnType("decimal(18,2)"); + + b.Property("UPDATE_FRE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("CODE", "ORG_ID") + .IsUnique() + .HasFilter("[CODE] IS NOT NULL"); + + b.HasIndex("NAME", "ORG_ID") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.ToTable("T_PF_DATA_FREQUENCY"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CASE") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CODE_RULE_TYPE") + .HasColumnType("int"); + + b.Property("CONTROL_TYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEFAULT_VALUE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("EDITABLE") + .HasColumnType("bit"); + + b.Property("EDIT_FORM_CODE") + .HasMaxLength(60) + .HasColumnType("nvarchar(60)"); + + b.Property("EDIT_FORM_FILTER") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("EDIT_FORM_FILTER_VALUE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ENUM") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("FIELD_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORMAT") + .HasMaxLength(60) + .HasColumnType("nvarchar(60)"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HEIGHT") + .HasColumnType("int"); + + b.Property("INPUT_DATA_API") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("INPUT_DATA_LEVEL") + .HasColumnType("int"); + + b.Property("INPUT_FILTER_FIELD") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("INPUT_FILTER_ORG_TYPE") + .HasColumnType("int"); + + b.Property("INPUT_ID_FIELD") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("INPUT_KEEP_VALUE_BY_NO_SRC") + .HasColumnType("bit"); + + b.Property("INPUT_LABEL_FIELD") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("INPUT_NAV_FIELD") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("INPUT_SAVE_FIELD") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("INPUT_SHOW_FIELD") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("INPUT_SORT_FIELD") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("INPUT_SORT_ORDER") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("IS_AND_FILITER") + .HasColumnType("bit"); + + b.Property("IS_CAN_BATCH_EDIT") + .HasColumnType("bit"); + + b.Property("IS_CHECK_MAX") + .HasColumnType("bit"); + + b.Property("IS_CHECK_MIN") + .HasColumnType("bit"); + + b.Property("IS_COPY") + .HasColumnType("bit"); + + b.Property("IS_CUSTOM") + .HasColumnType("bit"); + + b.Property("IS_DEFAULT") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_IGNORE_TENANT") + .HasColumnType("bit"); + + b.Property("IS_ONLY_CHECK_LEAF") + .HasColumnType("bit"); + + b.Property("IS_RULE") + .HasColumnType("bit"); + + b.Property("IS_TABLE_COLUMN") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("MAX_LEN") + .HasColumnType("int"); + + b.Property("MAX_VAL") + .HasColumnType("float"); + + b.Property("MIN_LEN") + .HasColumnType("int"); + + b.Property("MIN_VAL") + .HasColumnType("float"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_EDIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_EDIT_PANEL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PERMIT_EDITABLE") + .HasColumnType("bit"); + + b.Property("PROMPT_INFO") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("QUERY_FORMAT") + .HasMaxLength(60) + .HasColumnType("nvarchar(60)"); + + b.Property("REMARK") + .HasMaxLength(80) + .HasColumnType("nvarchar(80)"); + + b.Property("REQUIRED") + .HasColumnType("bit"); + + b.Property("SELECTD_LABEL_FIELD") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("SHOW_FORM_CODE") + .HasMaxLength(60) + .HasColumnType("nvarchar(60)"); + + b.Property("SHOW_ID_FIELD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SHOW_TYPE") + .HasColumnType("int"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STEP") + .HasColumnType("float"); + + b.Property("TYPE_NAME") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("VALIDATA_TYPE") + .HasMaxLength(5) + .HasColumnType("nvarchar(5)"); + + b.Property("VERIFY_ERROR_INFO") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("VERIFY_EXPRESS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("VERIFY_MSG") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("VERIFY_TYPE") + .HasColumnType("int"); + + b.Property("WIDTH") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_EDIT_ID"); + + b.HasIndex("PAGE_EDIT_PANEL_ID"); + + b.ToTable("T_PF_EDIT_COLUMN"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN_FILL_MAP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEST_NAV") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("EDIT_COLUMN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_EDIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_NAV") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("EDIT_COLUMN_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_EDIT_COLUMN_FILL_MAP"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN_FILL_MAP_D", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEST_FIELD_NAME") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("EDIT_COLUMN_FILL_MAP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_FIELD_NAME") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EDIT_COLUMN_FILL_MAP_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_EDIT_COLUMN_FILL_MAP_D"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN_FILTER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EDIT_COLUMN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIELD_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CUSTOM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SYS_PARAM") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_EDIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VALUE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.HasKey("ID"); + + b.HasIndex("EDIT_COLUMN_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_EDIT_COLUMN_FILTER"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FDDEBACK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BACKINFO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FEEDBACK_TYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INFO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PF_FDDEBACK"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FDDEBACK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FDDEBACK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FDDEBACK_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_FDDEBACK_FILE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_DATA") + .HasColumnType("varbinary(max)"); + + b.Property("FILE_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FILE_PATH") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FILE_TYPE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_TEMPORARY_FILE") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_FILE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FILE_DB", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_PATH") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISLOCAL") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_PF_FILE_DB"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FILE_DB_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_DB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FILE_DB_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_FILE_DB_FILE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FILE_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_FILE_TYPE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FLOW_INSTANCE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ActivityEditable") + .HasColumnType("int"); + + b.Property("ActivityId") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ActivityName") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ActivityType") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("Code") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CreateDate") + .HasColumnType("datetime2"); + + b.Property("CreateUserId") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CreateUserName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CustomName") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("Description") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EntityFlowStatus") + .HasColumnType("int"); + + b.Property("EntityId") + .HasColumnType("uniqueidentifier"); + + b.Property("EntityType") + .HasColumnType("int"); + + b.Property("EntityTypeFullName") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FrmId") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("InstanceSchemeId") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MakerList") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OrderStatus") + .HasColumnType("int"); + + b.Property("PreviousId") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("SchemeContent") + .HasColumnType("nvarchar(max)"); + + b.HasKey("ID"); + + b.HasIndex("FrmId"); + + b.HasIndex("InstanceSchemeId"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_FLOW_INSTANCE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FLOW_INSTANCE_OPER_HIS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("Content") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CreateDate") + .HasColumnType("datetime2"); + + b.Property("CreateUserId") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CreateUserName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("InstanceId") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("InstanceId"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_FLOW_INSTANCE_OPER_HIS"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FLOW_INSTANCE_TRANS_HIS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CreateDate") + .HasColumnType("datetime2"); + + b.Property("CreateUserId") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CreateUserName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FromNodeId") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("FromNodeName") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FromNodeType") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("InstanceId") + .HasColumnType("uniqueidentifier"); + + b.Property("IsFinish") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ToNodeId") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ToNodeName") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ToNodeType") + .HasColumnType("int"); + + b.Property("TransitionSate") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("InstanceId"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_FLOW_INSTANCE_TRANS_HIS"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FLOW_SCHEME", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ActiveAutoSend") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CreateDate") + .HasColumnType("datetime2"); + + b.Property("CreateUserId") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CreateUserName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Description") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("Disabled") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FrmId") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ModifyDate") + .HasColumnType("datetime2"); + + b.Property("ModifyUserId") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ModifyUserName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PermitFrmId") + .HasColumnType("uniqueidentifier"); + + b.Property("SchemeCode") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("SchemeContent") + .HasColumnType("nvarchar(max)"); + + b.Property("SchemeName") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SortCode") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("FrmId"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PermitFrmId"); + + b.ToTable("T_PF_FLOW_SCHEME"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AUTH_ORG_CODES") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CUSTOM_PARAMS") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_TYPE") + .HasColumnType("int"); + + b.Property("ICON") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_IGNORE_PERMISSION") + .HasColumnType("bit"); + + b.Property("JS_FILES") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MODULE_TYPE") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLATFORM_CATEGORY") + .HasColumnType("int"); + + b.Property("PLATFORM_TYPE") + .HasColumnType("int"); + + b.Property("REMARK") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TABLE_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("URI") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_FORM"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_CONFIG_VERSION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("VERSION") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_FORM_CONFIG_VERSION"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_CONFIG_VERSION_D", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_CONFIG_VERSION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMOVE_COOKIE_KEY") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("FORM_CONFIG_VERSION_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_FORM_CONFIG_VERSION_D"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_HOME_CHART", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VALUE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_FORM_ID"); + + b.ToTable("T_PF_FORM_HOME_CHART"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_HOME_HMI", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HMI_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HMI_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_FORM_ID"); + + b.ToTable("T_PF_FORM_HOME_HMI"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_HOME_RANKING", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VALUE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_FORM_ID"); + + b.ToTable("T_PF_FORM_HOME_RANKING"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_HOME_STATISTIC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VALUE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_FORM_ID"); + + b.ToTable("T_PF_FORM_HOME_STATISTIC"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_QUERY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_QUERY_SHOW_TYPE") + .HasColumnType("int"); + + b.Property("INPUT_FILTER_ORG_TYPE") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_REMEMBER") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SHARE_KEY") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TABLE_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_FORM_ID"); + + b.ToTable("T_PF_FORM_QUERY"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_HOME_TITLE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COCOR") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FONTSIZE") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISHEAD") + .HasColumnType("bit"); + + b.Property("ISTOCHILE") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SECOND") + .HasColumnType("int"); + + b.Property("TITLE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_HOME_TITLE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FILE_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FILE_PATH") + .HasColumnType("nvarchar(max)"); + + b.Property("FILE_TYPE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_IMG_FILE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_IMG_FILE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FILE_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_IMG_FILE_DETAIL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_LABEL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIELD_NAME") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("LANGUAGE") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TABEL_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_LABEL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_MENU", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ICON") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_INIT_REQ") + .HasColumnType("bit"); + + b.Property("IS_INIT_SHOW") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("IS_MOBILE_MENU") + .HasColumnType("bit"); + + b.Property("IS_PERMISSION_MENU") + .HasColumnType("bit"); + + b.Property("IS_PERMISSION_SUB") + .HasColumnType("int"); + + b.Property("IS_RESIDENT") + .HasColumnType("bit"); + + b.Property("MENU_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MENU_FORM_PARAMS") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PICTURE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PLATFORM_CATEGORY") + .HasColumnType("int"); + + b.Property("REMARK") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("MENU_FORM_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("PICTURE_ID"); + + b.ToTable("T_PF_MENU"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_MQTT_CONFIG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CMD_LEN") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MQTT_TYPE") + .HasColumnType("int"); + + b.Property("MQ_IP") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("MQ_PORT") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_MQTT_CONFIG"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_MQTT_CONFIG_THEME", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_PUBLISH") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MQTT_CONFIG_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("NAME") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("THEME_TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("MQTT_CONFIG_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_MQTT_CONFIG_THEME"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_NOTICE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_DEPARTMENT") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATE_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISHEAD") + .HasColumnType("bit"); + + b.Property("ISTOCHILE") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TITLE") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_NOTICE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_NOTICE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("NOTICE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_NOTICE_FILE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_CHART", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("API_URL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CHART_TYPE") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILTER_ORG_TYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IGNORE_ORG_RULE") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SHOW_DATA") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MIN_WIDTH") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SPAN") + .HasColumnType("int"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_FORM_ID"); + + b.ToTable("T_PF_PAGE_CHART"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_CHART_PARAM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIELD_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CUSTOM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SYS_PARAM") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_CHART_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VALUE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_CHART_ID"); + + b.ToTable("T_PF_PAGE_CHART_PARAM"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_CUSTOM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("COMPONENT_NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CUSTOM_API") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CUSTOM_PARAMS") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_FORM_ID"); + + b.ToTable("T_PF_PAGE_CUSTOM"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_EDIT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("API_URL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("BATCH_QUERY_API") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("BATCH_UPDATE_API") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CHILD_SET_FIELD") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CODE_FIELD_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CODE_RULE_TYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CUSTOM_PARAMS") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("DEFAULT_PAGE_SIZE") + .HasColumnType("int"); + + b.Property("EDIT_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("EDIT_PAGE_ENTITY_ORG_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HEIGTH") + .HasColumnType("int"); + + b.Property("IS_CONTAINS_NAV") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_DETAIL_REQUIRED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("IS_PAGE") + .HasColumnType("bit"); + + b.Property("IS_PERMIT_ADD_ROW") + .HasColumnType("bit"); + + b.Property("IS_PERMIT_DEL_ROW") + .HasColumnType("bit"); + + b.Property("IS_SHOWROWNO") + .HasColumnType("bit"); + + b.Property("IS_SUB_ADD_BTN_DISABLED") + .HasColumnType("bit"); + + b.Property("IS_SUB_DELETE_BTN_DISABLED") + .HasColumnType("bit"); + + b.Property("LABEL_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAV_PROPERTY") + .HasColumnType("nvarchar(max)"); + + b.Property("NAV_ROW_CLASS_FILTER") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PARAM_SCHEME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_COPY_FIELD") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("QUERY_API_URL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("QUERY_SEND_TYPE") + .HasColumnType("int"); + + b.Property("RELATION_FIELD") + .HasColumnType("nvarchar(max)"); + + b.Property("SEND_TYPE") + .HasColumnType("int"); + + b.Property("SHOW_CHECK") + .HasColumnType("bit"); + + b.Property("SORT_FIELDS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("SORT_ORDERS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SUB_TABLE_CONDITION") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("WIDTH") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_FORM_ID"); + + b.HasIndex("PARAM_SCHEME_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_PF_PAGE_EDIT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_EDIT_PANEL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DEFAULT_EXPAND") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_DISPLAY") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_EDIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_EDIT_ID"); + + b.ToTable("T_PF_PAGE_EDIT_PANEL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_TABLE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("API_URL") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("BATCH_DEL_API_URL") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CHECK_TYPE") + .HasColumnType("int"); + + b.Property("CLASS_FIELD") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CLASS_FUNC_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CUSTOM_PARAMS") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("DATA_TABLE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("DEL_API_URL") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILTER_ORG_TYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FOOTER_SUM_TYPE") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HEIGTH") + .HasColumnType("int"); + + b.Property("IGNORE_ORG_RULE") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("IS_SHOW_CARD") + .HasColumnType("bit"); + + b.Property("IS_SHOW_FOOTER") + .HasColumnType("bit"); + + b.Property("IS_SHOW_ROW_NO") + .HasColumnType("bit"); + + b.Property("LABEL_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MAX_SELECT") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NO_SELECT_FIELD") + .HasColumnType("bit"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORDER") + .HasColumnType("int"); + + b.Property("ORDERS") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PARAM_SCHEME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_RELATION_FIELD") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("PIC_CODE_FIELD") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("POSITION") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("RELATION_FIELD") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("SEND_TYPE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("SHOW_CHECK") + .HasColumnType("bit"); + + b.Property("SORT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("SORTS") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TABLE_CONDITION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TABLE_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TITLE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("WIDTH") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_FORM_ID"); + + b.HasIndex("PARAM_SCHEME_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_PF_PAGE_TABLE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_TABLE_PANEL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DEFAULT_EXPAND") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_DISPLAY") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_TABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_TABLE_ID"); + + b.ToTable("T_PF_PAGE_TABLE_PANEL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_TREE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BATCH_DEL_API_URL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("BATCH_DEL_SEND_TYPE") + .HasColumnType("int"); + + b.Property("CAN_ADD_NODE") + .HasColumnType("bit"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CUSTOM_PARAMS") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILTER_ORG_TYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IGNORE_ORG_RULE") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LABEL_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MULTI_CHECK") + .HasColumnType("bit"); + + b.Property("MULTI_CHECK_COUNT") + .HasColumnType("int"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORDER") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("QUERY_API_URL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("QUERY_SEND_TYPE") + .HasColumnType("int"); + + b.Property("RELATION_FIELD") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SELECT_CONDITION") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("SHOW_MODEL") + .HasColumnType("int"); + + b.Property("SORT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TREE_SELECTED_PARAM") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_FORM_ID"); + + b.ToTable("T_PF_PAGE_TREE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PARAM_ITEM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CASE") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CODE_RULE_TYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEFAULT_VALUE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("EDITABLE") + .HasColumnType("bit"); + + b.Property("EDIT_CONTROL_TYPE") + .HasColumnType("int"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ENUM") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FIELD_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SHOW") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROMPT_INFO") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("REMARK") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("REQUIRED") + .HasColumnType("bit"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TABLE_CONTROL_TYPE") + .HasColumnType("int"); + + b.Property("WIDTH") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_PARAM_ITEM"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PARAM_SCHEME", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_PANEL_SHOW") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NAME_ACRONYM") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_PARAM_SCHEME"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PARAM_SCHEME_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EDITABLE") + .HasColumnType("bit"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SHOW") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAM_ITEM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PARAM_SCHEME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIRED") + .HasColumnType("bit"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARAM_ITEM_ID"); + + b.HasIndex("PARAM_SCHEME_ID"); + + b.ToTable("T_PF_PARAM_SCHEME_DETAIL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PIC_FILTER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasMaxLength(50) + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PICTURE_ID") + .HasMaxLength(50) + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_FORM_ID"); + + b.HasIndex("PICTURE_ID"); + + b.ToTable("T_PF_PIC_FILTER"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PIC_FILTER_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIELD_TYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("OPERATE") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PIC_FILTER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VALUE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PIC_FILTER_ID"); + + b.ToTable("T_PF_PIC_FILTER_DETAIL"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_QUERY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CASE") + .HasColumnType("int"); + + b.Property("CHECK_STRICTLY") + .HasColumnType("bit"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA_TYPE") + .HasColumnType("int"); + + b.Property("DATA_VALUE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("DATETIME_FORMATE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ENUM_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INPUT_DATA_API") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("INPUT_DATA_LEVEL") + .HasColumnType("int"); + + b.Property("INPUT_FILTER_FIELD") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("INPUT_ID_FIELD") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("INPUT_LABEL_FIELD") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("INPUT_NAV_FIELD") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("INPUT_SAVE_FIELD") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("INPUT_SHOW_FIELD") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("INPUT_SORT_FIELD") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("INPUT_SORT_ORDER") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IS_CUSTOM") + .HasColumnType("bit"); + + b.Property("IS_DEFAULT_QUERY") + .HasColumnType("bit"); + + b.Property("IS_DEFAULT_SHOW") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_ONLY_CHECK_LEAF") + .HasColumnType("bit"); + + b.Property("IS_REQUIRE") + .HasColumnType("bit"); + + b.Property("IS_SYS_PARAM") + .HasColumnType("bit"); + + b.Property("IS_TITLE") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MULTIPLE_CHOICE") + .HasColumnType("bit"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("OP_DEFAULT") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_FORM_QUERY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("QUERY_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("SELECT_CONDITION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_FORM_ID"); + + b.HasIndex("PAGE_FORM_QUERY_ID"); + + b.ToTable("T_PF_QUERY"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_QUERY_APP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA_TYPE") + .HasColumnType("int"); + + b.Property("DATA_VALUE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DEFAULT_QUERY") + .HasColumnType("bit"); + + b.Property("IS_DEFAULT_SHOW") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LABEL") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("OP_DEFAULT") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("QUERY_NAME") + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_QUERY_APP"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_QUESTION_FEEDBACK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAPARTMENT_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FEEDBACK_TIME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUESTION_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USER_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_QUESTION_FEEDBACK"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_SCOPES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_SCOPES"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_TABLE_PARAMS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIELD_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CUSTOM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SYS_PARAM") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_TABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VALUE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_TABLE_ID"); + + b.ToTable("T_PF_TABLE_PARAMS"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_TREE_COLUMN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ENUM") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("FIELD_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORMAT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INPUT_DATA_LEVEL") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PAGE_TREE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("QUERY_FORMAT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("SRC_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PAGE_TREE_ID"); + + b.ToTable("T_PF_TREE_COLUMN"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_VERSION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("VERSION") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PF_VERSION"); + }); + + modelBuilder.Entity("APT.Infrastructure.Core.DataUpdateRecord", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("int") + .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DataID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EntityFullName") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("EntityName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TargetDepartmentID") + .HasColumnType("uniqueidentifier"); + + b.Property("UpdateFiled") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("UpdateType") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("DataUpdateRecord"); + }); + + modelBuilder.Entity("APT.Infrastructure.Core.T_FM_ORGANIZATION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasColumnType("nvarchar(max)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESC") + .HasColumnType("nvarchar(max)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasColumnType("nvarchar(max)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TENANT_CODE") + .HasColumnType("nvarchar(max)"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_FM_ORGANIZATION"); + }); + + modelBuilder.Entity("APT.Infrastructure.Core.T_PF_CODE_RULE_SERIAL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE_TYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE_VALUE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RELEASE_TIME") + .HasColumnType("datetime2"); + + b.Property("ROW_VERSION") + .HasColumnType("int"); + + b.Property("SERIAL") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAKE_TIME") + .HasColumnType("datetime2"); + + b.Property("USE_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID", "CODE_TYPE", "SERIAL"); + + b.HasIndex("ORG_ID", "CODE_TYPE", "DATE_VALUE", "SERIAL"); + + b.HasIndex("ORG_ID", "CODE_TYPE", "STATUS", "NUM"); + + b.HasIndex("ORG_ID", "CODE_TYPE", "DATE_VALUE", "STATUS", "NUM"); + + b.ToTable("T_PF_CODE_RULE_SERIAL"); + }); + + modelBuilder.Entity("APT.Infrastructure.Core.T_PF_PARAM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(60) + .HasColumnType("nvarchar(60)"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VALUE") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.HasKey("ID"); + + b.ToTable("T_PF_PARAM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_DAMAGE_OBJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_DAMAGE_OBJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REASON_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CATEGORY") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_REASON_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REPORT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCIDENT_LEVEL") + .HasColumnType("int"); + + b.Property("ACCIDENT_PLACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ACCIDENT_REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ACCIDENT_TIME") + .HasColumnType("datetime2"); + + b.Property("ACCIDENT_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ECONOMIC_LOSSES") + .HasColumnType("decimal(18,2)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ESTIMATE_CASUALTY_COUNT") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMPACT_SCOPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_ACCIDENT") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("RSP_LEVEL") + .HasColumnType("int"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAKE_MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("WORK_SUGGEST") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.HasKey("ID"); + + b.HasIndex("ACCIDENT_TYPE_ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_REPORT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REPORT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REPORT_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_REPORT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REPORT_LIST_KIND", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("KIND_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("KIND_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REPORT_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_REPORT_LIST_KIND"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_ADM_PUNISHMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PUNISHMENT_REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("PUNISHMENT_RESULT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RESULT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_SURVEY_ADM_PUNISHMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_CASUALTIES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INJURED_AREA") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("INJURED_TIME") + .HasColumnType("datetime2"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RESULT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_SURVEY_CASUALTIES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_DAMAGE_OBJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DAMAGE_OBJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DAMAGE_OBJECT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RESULT_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_SURVEY_DAMAGE_OBJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_EQUIPMENT_LOSS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EQUIPMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FACILITIES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LOSS_CONDITION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MACHINE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SPEC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("EQUIPMENT_ID"); + + b.HasIndex("FACILITIES_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RESULT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_SURVEY_EQUIPMENT_LOSS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RESULT_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_SURVEY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_FORENSICS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVIDENCE_DESC") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("EVIDENCE_SOURCE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RESULT_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_SURVEY_FORENSICS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_FORENSICS_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SURVEY_FORENSICS_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SURVEY_FORENSICS_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_SURVEY_FORENSICS_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_PFILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RESULT_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_SURVEY_PFILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_REASON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REASON_ANALYZE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REASON_MODEL") + .HasColumnType("int"); + + b.Property("RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RESULT_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_SURVEY_REASON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_REASON_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REASON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REASON_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REASON_ID"); + + b.HasIndex("REASON_TYPE_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_SURVEY_REASON_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_RESULT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCIDENT_COURSE") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CASUALTY_COUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ECONOMIC_LOSSES") + .HasColumnType("decimal(18,2)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("SYSTEMMAXTIME") + .HasColumnType("datetime2"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REPORT_ID"); + + b.HasIndex("RISK_SUBMIT_ID"); + + b.ToTable("T_AE_ACCIDENT_EVENT_SURVEY_RESULT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_KIND", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_AE_ACCIDENT_KIND"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_LEVEL_DAYS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCIDENT_LEVEL") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DAYS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_AE_ACCIDENT_LEVEL_DAYS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_SURVEY_TEAM_DEPUTY_LEADER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TEAM_MEMBER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TEAM_MEMBER_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_AE_ACCIDENT_SURVEY_TEAM_DEPUTY_LEADER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_SURVEY_TEAM_MEMBER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEADER_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("SURVEY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LEADER_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REPORT_ID"); + + b.HasIndex("SURVEY_USER_ID"); + + b.ToTable("T_AE_ACCIDENT_SURVEY_TEAM_MEMBER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_SURVEY_TEAM_MEMBERS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TEAM_MEMBER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TEAM_MEMBER_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_AE_ACCIDENT_SURVEY_TEAM_MEMBERS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_AE_ACCIDENT_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_DOSET_DEPARTMENT_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVENTTYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_AE_DOSET_DEPARTMENT_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCIDENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INVESTIGATION_LOCATION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("INVESTIGATION_REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("INVESTIGATION_TIME") + .HasColumnType("datetime2"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAUNCH_TIME") + .HasColumnType("datetime2"); + + b.Property("LEADER_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REVIEW_COMMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REVIEW_OK") + .HasColumnType("bit"); + + b.Property("SCENE_DESC") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("SCENE_ENV_DESC") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("SCENE_EVIDENCE_DESC") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TEAM_MEMBER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ACCIDENT_ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("LEADER_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TEAM_MEMBER_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_AE_INVESTIGATION_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD_ACC_FILES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_AE_INVESTIGATION_RECORD_ACC_FILES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD_ASK_USERS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_AE_INVESTIGATION_RECORD_ASK_USERS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD_CHART_FILES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_AE_INVESTIGATION_RECORD_CHART_FILES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD_INVESTIGATION_USERS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_AE_INVESTIGATION_RECORD_INVESTIGATION_USERS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD_NOTES_FILES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_AE_INVESTIGATION_RECORD_NOTES_FILES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_ACTIVE_USER_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("type") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_ACTIVE_USER_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_BSCHECKTYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKTYPEID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TimeType") + .HasColumnType("int"); + + b.Property("name") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("value") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_BSCHECKTYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_BSCHECKTYPE_YEAR", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ALLCOUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FINISHPERCENT") + .HasColumnType("decimal(18,2)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INTTIMECOUNT") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONTH") + .HasColumnType("int"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NOTFINISHCOUN") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OUTTIMECOUNT") + .HasColumnType("int"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_BSCHECKTYPE_YEAR"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_BSRISK_INFO", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKTYPEID") + .HasColumnType("uniqueidentifier"); + + b.Property("COUNTAPRIL") + .HasColumnType("int"); + + b.Property("COUNTAUGUST") + .HasColumnType("int"); + + b.Property("COUNTDECEMBER") + .HasColumnType("int"); + + b.Property("COUNTFEBRUARY") + .HasColumnType("int"); + + b.Property("COUNTJANUARY") + .HasColumnType("int"); + + b.Property("COUNTJULY") + .HasColumnType("int"); + + b.Property("COUNTJUNE") + .HasColumnType("int"); + + b.Property("COUNTMARCH") + .HasColumnType("int"); + + b.Property("COUNTMAY") + .HasColumnType("int"); + + b.Property("COUNTNOVEMBER") + .HasColumnType("int"); + + b.Property("COUNTOCTOBER") + .HasColumnType("int"); + + b.Property("COUNTSEPTEMBER") + .HasColumnType("int"); + + b.Property("COUNTTOTAL") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_BSRISK_INFO"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_BSSAFECHECK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COUNTCHECK") + .HasColumnType("int"); + + b.Property("COUNTCHECKOUTTIME") + .HasColumnType("int"); + + b.Property("COUNTPLAN") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERCENTCHECK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TEAMID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEAMNAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TimeType") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_BSSAFECHECK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_BSSAFECHECKTYPE_YEAR", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("COUNTAPRIL") + .HasColumnType("int"); + + b.Property("COUNTAUGUST") + .HasColumnType("int"); + + b.Property("COUNTDECEMBER") + .HasColumnType("int"); + + b.Property("COUNTFEBRUARY") + .HasColumnType("int"); + + b.Property("COUNTJANUARY") + .HasColumnType("int"); + + b.Property("COUNTJULY") + .HasColumnType("int"); + + b.Property("COUNTJUNE") + .HasColumnType("int"); + + b.Property("COUNTMARCH") + .HasColumnType("int"); + + b.Property("COUNTMAY") + .HasColumnType("int"); + + b.Property("COUNTNOVEMBER") + .HasColumnType("int"); + + b.Property("COUNTOCTOBER") + .HasColumnType("int"); + + b.Property("COUNTSEPTEMBER") + .HasColumnType("int"); + + b.Property("COUNTTOTAL") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_BSSAFECHECKTYPE_YEAR"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_BSSAFECHECK_YEAR", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COUNTAPRIL") + .HasColumnType("int"); + + b.Property("COUNTAUGUST") + .HasColumnType("int"); + + b.Property("COUNTDECEMBER") + .HasColumnType("int"); + + b.Property("COUNTFEBRUARY") + .HasColumnType("int"); + + b.Property("COUNTJANUARY") + .HasColumnType("int"); + + b.Property("COUNTJULY") + .HasColumnType("int"); + + b.Property("COUNTJUNE") + .HasColumnType("int"); + + b.Property("COUNTMARCH") + .HasColumnType("int"); + + b.Property("COUNTMAY") + .HasColumnType("int"); + + b.Property("COUNTNOVEMBER") + .HasColumnType("int"); + + b.Property("COUNTOCTOBER") + .HasColumnType("int"); + + b.Property("COUNTSEPTEMBER") + .HasColumnType("int"); + + b.Property("COUNTTOTAL") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_BSSAFECHECK_YEAR"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_CLOSE_TASKS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_USER_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPINION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TASK_IDS") + .HasMaxLength(5000) + .HasColumnType("nvarchar(max)"); + + b.Property("TASK_NAMES") + .HasMaxLength(5000) + .HasColumnType("nvarchar(max)"); + + b.Property("USER_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_CLOSE_TASKS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_HOME_BSRISKREASON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONTH") + .HasColumnType("int"); + + b.Property("NUMD") + .HasColumnType("int"); + + b.Property("NUMS") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERCENT") + .HasColumnType("decimal(18,2)"); + + b.Property("SOURCEID") + .HasColumnType("uniqueidentifier"); + + b.Property("SOURCEVAL") + .HasColumnType("int"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_HOME_BSRISKREASON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_HRISKCHANGE_PEC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHANGE_PERCENT") + .HasColumnType("decimal(18,2)"); + + b.Property("CHANGE_PERCENT_SHOW") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("COUNT") + .HasColumnType("int"); + + b.Property("COUNT_DEL") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MINETYPE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONTH") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.Property("YEARMONTH") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_HRISKCHANGE_PEC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_HRISK_COUNT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COUNT_CHANGE") + .HasColumnType("int"); + + b.Property("COUNT_UNCHANGE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MINETYPE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_HRISK_COUNT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_HRISK_TOP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("COUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MAINID") + .HasColumnType("uniqueidentifier"); + + b.Property("MINETYPE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_HRISK_TOP"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_LOGIN_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FROM") + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VERSION") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_BI_LOGIN_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_RISK_LEVEL1", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DepName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RiskCount") + .HasColumnType("int"); + + b.Property("RiskType") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_RISK_LEVEL1"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_RISK_LEVEL2", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("DepName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RiskCount") + .HasColumnType("int"); + + b.Property("RiskType") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_DEPARTMENT_ID"); + + b.ToTable("T_BI_RISK_LEVEL2"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_RUNLOG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RUNDATETIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_RUNLOG"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_SAFETASK_FINISH", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENDTIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILTER_TIME") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FO01_FINISH") + .HasColumnType("int"); + + b.Property("FO01_OVERTIME") + .HasColumnType("int"); + + b.Property("FO01_TOTAL") + .HasColumnType("int"); + + b.Property("FO01_UNFINISH") + .HasColumnType("int"); + + b.Property("FO02_FINISH") + .HasColumnType("int"); + + b.Property("FO02_OVERTIME") + .HasColumnType("int"); + + b.Property("FO02_TOTAL") + .HasColumnType("int"); + + b.Property("FO02_UNFINISH") + .HasColumnType("int"); + + b.Property("FO03_FINISH") + .HasColumnType("int"); + + b.Property("FO03_OVERTIME") + .HasColumnType("int"); + + b.Property("FO03_TOTAL") + .HasColumnType("int"); + + b.Property("FO03_UNFINISH") + .HasColumnType("int"); + + b.Property("FO04_FINISH") + .HasColumnType("int"); + + b.Property("FO04_OVERTIME") + .HasColumnType("int"); + + b.Property("FO04_TOTAL") + .HasColumnType("int"); + + b.Property("FO04_UNFINISH") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STARTTIME") + .HasColumnType("datetime2"); + + b.Property("TEAM_CHARGE_USER") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEAM_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TEAM_ID"); + + b.ToTable("T_BI_SAFETASK_FINISH"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_SUMMARY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("Count1") + .HasColumnType("int"); + + b.Property("Count10") + .HasColumnType("int"); + + b.Property("Count2") + .HasColumnType("int"); + + b.Property("Count3") + .HasColumnType("int"); + + b.Property("Count4") + .HasColumnType("int"); + + b.Property("Count5") + .HasColumnType("int"); + + b.Property("Count6") + .HasColumnType("int"); + + b.Property("Count7") + .HasColumnType("int"); + + b.Property("Count8") + .HasColumnType("int"); + + b.Property("Count9") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PART") + .HasColumnType("int"); + + b.Property("Parameter1") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("Parameter10") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("Parameter2") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("Parameter3") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("Parameter4") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("Parameter5") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("Parameter6") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("Parameter7") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("Parameter8") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("Parameter9") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TimeType") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_SUMMARY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_TRAIN_PLAN_COUNT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DepName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("activeCount") + .HasColumnType("int"); + + b.Property("finishPrecent") + .HasColumnType("float"); + + b.Property("planCount") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_TRAIN_PLAN_COUNT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROOF") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("QUESTION_LEVEL") + .HasColumnType("int"); + + b.Property("SERIOUS_RISK") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_PROJECT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_CHECK_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENTS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKOBJECT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_CHECK_CONTENTS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT_CHECK_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("Nav_CheckProjectCategoryID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENT_ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("Nav_CheckProjectCategoryID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_CHECK_CONTENT_CHECK_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT_CHECK_TYPE_LEVEL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CONTENT_CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("T_BS_CHECK_TYPE_LEVEL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENT_CHECK_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("T_BS_CHECK_TYPE_LEVEL_ID"); + + b.ToTable("T_BS_CHECK_CONTENT_CHECK_TYPE_LEVEL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT_HM_RISK_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HM_RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENT_ID"); + + b.HasIndex("HM_RISK_AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_CHECK_CONTENT_HM_RISK_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT_MAIN_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MAIN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESPONOBJECT") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("MAIN_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_CHECK_CONTENT_MAIN_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT_QUESTION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENT_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_CHECK_CONTENT_QUESTION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_MAIN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKOBJECT") + .HasColumnType("int"); + + b.Property("CHECKPROOF") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_PROJECT_CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_LEVEL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISRISK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUESTION_LEVEL") + .HasColumnType("int"); + + b.Property("RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SERIOUS_RISK") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("CHECK_PROJECT_CATEGORY_ID"); + + b.HasIndex("CHECK_PROJECT_ID"); + + b.HasIndex("CHECK_PROJECT_PROJECT_CATEGORY_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("CHECK_TYPE_LEVEL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_AREA_ID"); + + b.ToTable("T_BS_CHECK_MAIN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_MAIN_LAW", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_MAIN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STANDARD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_MAIN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("STANDARD_ID"); + + b.ToTable("T_BS_CHECK_MAIN_LAW"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_CHECK_PROJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_CHECK_PROJECT_CATEGORY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY_CHECKTYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_CATEGORY_ID"); + + b.ToTable("T_BS_CHECK_PROJECT_CATEGORY_CHECKTYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY_OBJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKOBJECT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_CATEGORY_ID"); + + b.ToTable("T_BS_CHECK_PROJECT_CATEGORY_OBJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_PROJECT_CATEGORY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_PROJECT_CATEGORY_ID"); + + b.HasIndex("CHECK_PROJECT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_CHECK_PROJECT_PROJECT_CATEGORY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_QUESTION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEMAND") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DESCREPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUESTION_LEVEL") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_CHECK_QUESTION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_BS_CHECK_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE_LEVEL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CheckLevel_ENUMS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("CheckLevel_ENUMS_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_CHECK_TYPE_LEVEL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE_MINETYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MINETYPE_ENUMS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("MINETYPE_ENUMS_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_CHECK_TYPE_MINETYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_DEPARTMENT_AREAOBJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKOBJECT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENTID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENTID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_DEPARTMENT_AREAOBJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_OPERATE_LOG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DATA_ID_SUB") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISINTTIME") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LOGTYPE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATEPOINT") + .HasColumnType("int"); + + b.Property("OPERTETIME") + .HasColumnType("datetime2"); + + b.Property("ORDERNO") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USRTNAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_OPERATE_LOG"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKTIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_LEVEL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA") + .HasColumnType("int"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("PLANCHECKOBJECT") + .HasColumnType("int"); + + b.Property("RUNDATA") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RUNSETTIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID_SEND") + .HasColumnType("uniqueidentifier"); + + b.Property("WEEKDATA") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("CHECK_TYPE_LEVEL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID_SEND"); + + b.ToTable("T_BS_PLAN_SET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANSET_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLANSET_ID"); + + b.ToTable("T_BS_PLAN_SET_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET_DEPARTMENT_OUT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANSET_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLANSET_ID"); + + b.ToTable("T_BS_PLAN_SET_DEPARTMENT_OUT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET_DEP_OBJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKOBJECT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANSET_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLANSET_ID"); + + b.ToTable("T_BS_PLAN_SET_DEP_OBJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET_OBJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKOBJECT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANSET_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLANSET_ID"); + + b.ToTable("T_BS_PLAN_SET_OBJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_CATEGORY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_RISK_CATEGORY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_LEVEL_DELAY_DAYS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MAX_DELAY_DAYS") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUESTION_LEVEL") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_RISK_LEVEL_DELAY_DAYS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_REASON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_RISK_REASON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKOBJECT") + .HasColumnType("int"); + + b.Property("CHECKTIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_LEVEL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATAID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISFINISHINTTIME") + .HasColumnType("bit"); + + b.Property("ISORDEREND") + .HasColumnType("bit"); + + b.Property("ISSUBMITFINISHINTTIME") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STARTTIME") + .HasColumnType("datetime2"); + + b.Property("SUBMITFINISHTIME") + .HasColumnType("datetime2"); + + b.Property("SUBMIT_STATUS") + .HasColumnType("int"); + + b.Property("SUBMIT_TYPE") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("CHECK_ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("CHECK_TYPE_LEVEL_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_BS_RISK_SUBMIT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACTUAL_DEAL_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ADDRESS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKDATE") + .HasColumnType("datetime2"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_MAIN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_PROJECT_CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_USER_REFUSED_REASON") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEALDATE") + .HasColumnType("datetime2"); + + b.Property("DEAL_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEAL_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEAL_USER_REFUSED_REASON") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("DEMAND") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DESCREPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DESCRIBE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISBACK") + .HasColumnType("bit"); + + b.Property("ISCHECKERCHECK") + .HasColumnType("bit"); + + b.Property("ISDEALUSERCHECK") + .HasColumnType("bit"); + + b.Property("ISFINISHINTTIME") + .HasColumnType("bit"); + + b.Property("ISSUBMITFINISHINTTIME") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LastDateSystem") + .HasColumnType("datetime2"); + + b.Property("LastDateUser") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NEW_USERID") + .HasColumnType("uniqueidentifier"); + + b.Property("NOTICEDATE") + .HasColumnType("datetime2"); + + b.Property("OKDATE") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENTID") + .HasColumnType("uniqueidentifier"); + + b.Property("PROOF") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("QUESTION_LEVEL") + .HasColumnType("int"); + + b.Property("REPORTDATE") + .HasColumnType("datetime2"); + + b.Property("RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_NOTICE_PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("RiskContentState") + .HasColumnType("int"); + + b.Property("SAFE_CHECK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SERIOUS_RISK") + .HasColumnType("int"); + + b.Property("SUBMITFINISHTIME") + .HasColumnType("datetime2"); + + b.Property("T_BI_AREA_TREEID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ACTUAL_DEAL_USER_ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("CHECK_MAIN_ID"); + + b.HasIndex("CHECK_PROJECT_CATEGORY_ID"); + + b.HasIndex("CHECK_PROJECT_ID"); + + b.HasIndex("CHECK_PROJECT_PROJECT_CATEGORY_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("CHECK_USER_ID"); + + b.HasIndex("DEAL_DEPARTMENT_ID"); + + b.HasIndex("DEAL_USER_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_AREA_ID"); + + b.HasIndex("RISK_SUBMIT_ID"); + + b.HasIndex("RISK_SUBMIT_NOTICE_ID"); + + b.HasIndex("RISK_SUBMIT_NOTICE_PERSON_ID"); + + b.HasIndex("SAFE_CHECK_DETAIL_ID"); + + b.HasIndex("SAFE_CHECK_ID"); + + b.HasIndex("T_BI_AREA_TREEID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_BS_RISK_SUBMIT_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_BACK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACTUAL_DEAL_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ADDRESS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKDATE") + .HasColumnType("datetime2"); + + b.Property("CHECK_MAIN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEALDATE") + .HasColumnType("datetime2"); + + b.Property("DEAL_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEAL_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEMAND") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LastDateSystem") + .HasColumnType("datetime2"); + + b.Property("LastDateUser") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NOTICEDATE") + .HasColumnType("datetime2"); + + b.Property("OKDATE") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUESTION_LEVEL") + .HasColumnType("int"); + + b.Property("REPORTDATE") + .HasColumnType("datetime2"); + + b.Property("RISK_SUBMIT_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_NOTICE_PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RiskContentState") + .HasColumnType("int"); + + b.Property("SAFE_CHECK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ACTUAL_DEAL_USER_ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("CHECK_MAIN_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("CHECK_USER_ID"); + + b.HasIndex("DEAL_DEPARTMENT_ID"); + + b.HasIndex("DEAL_USER_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_SUBMIT_CONTENT_ID"); + + b.HasIndex("RISK_SUBMIT_ID"); + + b.HasIndex("RISK_SUBMIT_NOTICE_PERSON_ID"); + + b.HasIndex("SAFE_CHECK_DETAIL_ID"); + + b.HasIndex("SAFE_CHECK_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_BS_RISK_SUBMIT_CONTENT_BACK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACTUAL_DEAL_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHCECKTIME") + .HasColumnType("datetime2"); + + b.Property("CHECKOPINION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATETIME_ACTUAL_DEAL") + .HasColumnType("datetime2"); + + b.Property("DATETIME_CHECKSIGN") + .HasColumnType("datetime2"); + + b.Property("DATETIME_DEALSIGN") + .HasColumnType("datetime2"); + + b.Property("DEALDESCRIBE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEALOPINION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEALSITUATION") + .HasColumnType("int"); + + b.Property("DEAL_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENDDATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECKSIGN") + .HasColumnType("bit"); + + b.Property("ISDEALSIGN") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUESTION_LEVEL") + .HasColumnType("int"); + + b.Property("RISK_SUBMIT_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_NOTICE_PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ACTUAL_DEAL_USER_ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("CHECK_USER_ID"); + + b.HasIndex("DEAL_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_SUBMIT_CONTENT_ID"); + + b.HasIndex("RISK_SUBMIT_ID"); + + b.HasIndex("RISK_SUBMIT_NOTICE_ID"); + + b.HasIndex("RISK_SUBMIT_NOTICE_PERSON_ID"); + + b.ToTable("T_BS_RISK_SUBMIT_CONTENT_DEAL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL_AFTER_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_CONTENT_DEAL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_SUBMIT_CONTENT_DEAL_ID"); + + b.ToTable("T_BS_RISK_SUBMIT_CONTENT_DEAL_AFTER_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_CONTENT_DEAL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_SUBMIT_CONTENT_DEAL_ID"); + + b.ToTable("T_BS_RISK_SUBMIT_CONTENT_DEAL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL_USERCHECKSIGN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SIGNTYPE") + .HasColumnType("int"); + + b.Property("SUBMIT_CONTENT_DEAL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SUSER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SUBMIT_CONTENT_DEAL_ID"); + + b.HasIndex("SUSER_ID"); + + b.ToTable("T_BS_RISK_SUBMIT_CONTENT_DEAL_USERCHECKSIGN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL_USERSIGN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SIGNTYPE") + .HasColumnType("int"); + + b.Property("SUBMIT_CONTENT_DEAL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SUSER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SUBMIT_CONTENT_DEAL_ID"); + + b.HasIndex("SUSER_ID"); + + b.ToTable("T_BS_RISK_SUBMIT_CONTENT_DEAL_USERSIGN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("T_BS_RISK_SUBMIT_CONTENT_BACKID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_SUBMIT_CONTENT_ID"); + + b.HasIndex("RISK_SUBMIT_ID"); + + b.HasIndex("T_BS_RISK_SUBMIT_CONTENT_BACKID"); + + b.ToTable("T_BS_RISK_SUBMIT_CONTENT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_REASON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_REASON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("T_BS_RISK_SUBMIT_CONTENT_BACKID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_REASON_ID"); + + b.HasIndex("RISK_SUBMIT_CONTENT_ID"); + + b.HasIndex("T_BS_RISK_SUBMIT_CONTENT_BACKID"); + + b.ToTable("T_BS_RISK_SUBMIT_CONTENT_REASON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_TEMP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKOBJECT") + .HasColumnType("int"); + + b.Property("CHECKPROOF") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_PROJECT_CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_LEVEL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEMAND") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DESCREPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISINSERT") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORDERTYPE") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUESTION_LEVEL") + .HasColumnType("int"); + + b.Property("RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SERIOUS_RISK") + .HasColumnType("int"); + + b.Property("USER_ID_AUDIT") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID_EDIT") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("CHECK_PROJECT_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("CHECK_TYPE_LEVEL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_AREA_ID"); + + b.HasIndex("RISK_SUBMIT_CONTENT_ID"); + + b.HasIndex("RISK_SUBMIT_ID"); + + b.HasIndex("SAFE_CHECK_DETAIL_ID"); + + b.HasIndex("SAFE_CHECK_ID"); + + b.HasIndex("USER_ID_AUDIT"); + + b.HasIndex("USER_ID_EDIT"); + + b.ToTable("T_BS_RISK_SUBMIT_CONTENT_TEMP"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_DELAY_APPLY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("OPERARTETYPE") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUESTION_LEVEL") + .HasColumnType("int"); + + b.Property("RISK_SUBMIT_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_NOTICE_PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_SUBMIT_CONTENT_ID"); + + b.HasIndex("RISK_SUBMIT_ID"); + + b.HasIndex("RISK_SUBMIT_NOTICE_PERSON_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_BS_RISK_SUBMIT_DELAY_APPLY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_DELAY_APPLY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHCEKTIME") + .HasColumnType("datetime2"); + + b.Property("CHCEKUSERID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LastDate") + .HasColumnType("datetime2"); + + b.Property("LastDateApply") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUESTION_LEVEL") + .HasColumnType("int"); + + b.Property("REASON") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("RISK_SUBMIT_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_DELAY_APPLY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_NOTICE_PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEMPDEMAND") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_SUBMIT_CONTENT_ID"); + + b.HasIndex("RISK_SUBMIT_DELAY_APPLY_ID"); + + b.HasIndex("RISK_SUBMIT_NOTICE_PERSON_ID"); + + b.ToTable("T_BS_RISK_SUBMIT_DELAY_APPLY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_SUBMIT_ID"); + + b.ToTable("T_BS_RISK_SUBMIT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_NOTICE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUESTION_LEVEL") + .HasColumnType("int"); + + b.Property("RISK_SUBMIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RiskContentState") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_SUBMIT_ID"); + + b.ToTable("T_BS_RISK_SUBMIT_NOTICE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_NOTICE_PERSON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("OPERATETYPE") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUESTION_LEVEL") + .HasColumnType("int"); + + b.Property("RISK_SUBMIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_SUBMIT_NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_SUBMIT_ID"); + + b.HasIndex("RISK_SUBMIT_NOTICE_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_BS_RISK_SUBMIT_NOTICE_PERSON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_TPM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_MATCH") + .HasColumnType("bit"); + + b.Property("IS_REPORT") + .HasColumnType("bit"); + + b.Property("MATCH_EXCEPTION") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("crdate") + .HasColumnType("datetime2"); + + b.Property("description") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("machinecode") + .HasMaxLength(32) + .HasColumnType("nvarchar(32)"); + + b.Property("machinename") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("processresult") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("processworkerid") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("processworkername") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("remark") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("usedepartmentname") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BS_RISK_TPM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_CHECKAUDIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_TEMP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKFINISHINTTIME") + .HasColumnType("datetime2"); + + b.Property("CHECKOBJECT") + .HasColumnType("int"); + + b.Property("CHECKTIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_LEVEL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREACTTYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CheckUsers") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEPARTMENTID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECKFINISHINTTIME") + .HasColumnType("bit"); + + b.Property("ISFINISHINTTIME") + .HasColumnType("bit"); + + b.Property("ISNEEDTOUP") + .HasColumnType("bit"); + + b.Property("IS_CANCEL") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LIMITDATETIME") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK_CANCEL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("RISKSTATE") + .HasColumnType("int"); + + b.Property("STATECHECK") + .HasColumnType("int"); + + b.Property("STATUCHECK") + .HasColumnType("int"); + + b.Property("STATUSPLAN") + .HasColumnType("int"); + + b.Property("T_BI_AREA_TREEID") + .HasColumnType("uniqueidentifier"); + + b.Property("USERID_DOPLAN") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID_CANCEL") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_CHECKAUDIT_ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("APPROVE_TEMP_ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("CHECK_TYPE_LEVEL_ID"); + + b.HasIndex("DEPARTMENTID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_SET_ID"); + + b.HasIndex("T_BI_AREA_TREEID"); + + b.HasIndex("USERID_DOPLAN"); + + b.ToTable("T_BS_SAFE_CHECK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADDRESS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKPROOF") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKRESULT") + .HasColumnType("int"); + + b.Property("CHECKTYPE") + .HasColumnType("int"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_MAIN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_PROJECT_CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISMAINCHANGE") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_REJECTING") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUESTION_LEVEL") + .HasColumnType("int"); + + b.Property("REMARK_RESULT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("SAFE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SERIOUS_RISK") + .HasColumnType("int"); + + b.Property("USERID_REJECT") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("CHECK_MAIN_ID"); + + b.HasIndex("CHECK_PROJECT_CATEGORY_ID"); + + b.HasIndex("CHECK_PROJECT_ID"); + + b.HasIndex("CHECK_PROJECT_PROJECT_CATEGORY_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_AREA_ID"); + + b.HasIndex("SAFE_CHECK_ID"); + + b.ToTable("T_BS_SAFE_CHECK_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFE_CHECK_DETAIL_ID"); + + b.HasIndex("SAFE_CHECK_ID"); + + b.ToTable("T_BS_SAFE_CHECK_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_LAW", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STANDARD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("STANDARD_ID"); + + b.ToTable("T_BS_SAFE_CHECK_DETAIL_LAW"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_QUESTION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFE_CHECK_DETAIL_ID"); + + b.HasIndex("SAFE_CHECK_ID"); + + b.HasIndex("SAFE_CHECK_QUESTION_ID"); + + b.ToTable("T_BS_SAFE_CHECK_DETAIL_QUESTION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_REASON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_REASON_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_REASON_ID"); + + b.ToTable("T_BS_SAFE_CHECK_DETAIL_REASON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_REJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REASON") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("RESULT") + .HasColumnType("int"); + + b.Property("SAFE_CHECK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFE_CHECK_DETAIL_ID"); + + b.HasIndex("SAFE_CHECK_ID"); + + b.ToTable("T_BS_SAFE_CHECK_DETAIL_REJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_REJECT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REJECT_ID"); + + b.ToTable("T_BS_SAFE_CHECK_DETAIL_REJECT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKFALSEREASON") + .HasColumnType("int"); + + b.Property("CHECKTIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("ISMAINCHECK") + .HasColumnType("bit"); + + b.Property("ISSAMEMAINCHECKOK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFECHECKSTATE") + .HasColumnType("int"); + + b.Property("SAFE_CHECK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFE_CHECK_DETAIL_ID"); + + b.HasIndex("SAFE_CHECK_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_BS_SAFE_CHECK_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFE_CHECK_ID"); + + b.ToTable("T_BS_SAFE_CHECK_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_PROJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_PROJECT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFE_CHECK_ID"); + + b.ToTable("T_BS_SAFE_CHECK_PROJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_PROJECT_CATEGORY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PROJECT_CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_PROJECT_CATEGORY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFE_CHECK_ID"); + + b.ToTable("T_BS_SAFE_CHECK_PROJECT_CATEGORY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("ISLEAVE") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SAFE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFE_CHECK_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_BS_SAFE_CHECK_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFE_CHECK_DETAIL_ID"); + + b.HasIndex("SAFE_CHECK_RECORD_ID"); + + b.ToTable("T_BS_SAFE_CHECK_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_RISK_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_AREA_ID"); + + b.HasIndex("SAFE_CHECK_ID"); + + b.ToTable("T_BS_SAFE_CHECK_RISK_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_USERSIGN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SUSER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFE_CHECK_ID"); + + b.HasIndex("SUSER_ID"); + + b.ToTable("T_BS_SAFE_CHECK_USERSIGN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_ABILITY_EVALUATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVERALL_EVALUATE_CONCLUSION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_ABILITY_EVALUATE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_ABILITY_EVALUATE_PROJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLATFORM_TYPE") + .HasColumnType("int"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.ToTable("T_CM_ABILITY_EVALUATE_PROJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_ABILITY_EVALUATE_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ABILITY_EVALUATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ABILITY_EVALUATE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_CM_ABILITY_EVALUATE_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_ABILITY_PROJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_ABILITY_PROJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_CONFIG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEMAND_SURVEY_END_TIME") + .HasColumnType("datetime2"); + + b.Property("DEMAND_SURVEY_START_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DRILL_PLAN_TRIGGER_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EQUIPMENT_DEMAND_SURVEY_END_TIME") + .HasColumnType("datetime2"); + + b.Property("EQUIPMENT_DEMAND_SURVEY_START_TIME") + .HasColumnType("datetime2"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LASTRUNDATE") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("URGENT_EVENT_LIST_START_TIME") + .HasColumnType("datetime2"); + + b.Property("URGENT_EVENT_TRIGGER_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_CM_CONFIG"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_CONTINGENCY_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_CONTINGENCY_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_COVERAGE_INFLUENCE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_COVERAGE_INFLUENCE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_ESTIMATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADVISE") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_CM_DRILL_ESTIMATE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_ESTIMATE_ITEM_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_DRILL_ESTIMATE_ITEM_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_ESTIMATE_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADVISE") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ESTIMEATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("ITEM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ESTIMEATE_ID"); + + b.HasIndex("ITEM_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_DRILL_ESTIMATE_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_NAME", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_DRILL_NAME"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_PLAN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_DRILL_PLAN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_PLAN_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DRLL_DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TRIGGERED") + .HasColumnType("bit"); + + b.Property("TRIGGER_TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("NAME_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_CM_DRILL_PLAN_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_PLAN_STANDARD_CREATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STANDARD_CREATE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.HasIndex("STANDARD_CREATE_ID"); + + b.ToTable("T_CM_DRILL_PLAN_STANDARD_CREATE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CONTENT") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("CREACTTYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_OUT") + .HasMaxLength(800) + .HasColumnType("nvarchar(800)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("METHOD") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLACE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("PLAN_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasMaxLength(50) + .HasColumnType("datetime2"); + + b.Property("USER_ID_MANAGE") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID_RECORD") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("NAME_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_DETAIL_ID"); + + b.HasIndex("USER_ID_MANAGE"); + + b.HasIndex("USER_ID_RECORD"); + + b.ToTable("T_CM_DRILL_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_CM_DRILL_RECORD_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_CM_DRILL_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD_SUMMARY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_CM_DRILL_RECORD_SUMMARY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD_USER_ESTIMATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISAGREE") + .HasColumnType("bit"); + + b.Property("ISSIGN") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_CM_DRILL_RECORD_USER_ESTIMATE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_SUMMARY_REQUIREMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISOK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_CM_DRILL_SUMMARY_REQUIREMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_SUMMARY_REQUIREMENT_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_DRILL_SUMMARY_REQUIREMENT_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("END_TIME") + .HasMaxLength(50) + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasMaxLength(50) + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_CM_EQUIPMENT_DEMAND_SURVEY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AVAILABLE_COUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEMAND_SURVEY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MATERIAL_LOCATION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MATERIAL_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NEED_COUNT") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PURPOSE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SPECIFICATION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SURVEY_MASTER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("DEMAND_SURVEY_ID"); + + b.HasIndex("LIBRARY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SURVEY_MASTER_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_CM_EQUIPMENT_DEMAND_SURVEY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEMAND_SURVEY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEMAND_SURVEY_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_EQUIPMENT_DEMAND_SURVEY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY_MASTER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasMaxLength(50) + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasMaxLength(50) + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_CM_EQUIPMENT_DEMAND_SURVEY_MASTER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY_MASTER_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SURVEY_MASTER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SURVEY_MASTER_ID"); + + b.ToTable("T_CM_EQUIPMENT_DEMAND_SURVEY_MASTER_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_EVENT_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_EVENT_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_LIBRARY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("COUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEATHLINE") + .HasColumnType("datetime2"); + + b.Property("DEPARMTNET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INTERNAL_NO") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LOCATION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("MAIN_TEC_PARAMS") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MATERIAL_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PURPOSE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SPECIFICATION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("UNIT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARMTNET_ID"); + + b.HasIndex("MATERIAL_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_CM_MATERIAL_LIBRARY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_LIBRARY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MATERIAL_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("MATERIAL_LIBRARY_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_MATERIAL_LIBRARY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_OPERATE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COUNT_END") + .HasColumnType("decimal(18,2)"); + + b.Property("COUNT_OPERATE") + .HasColumnType("decimal(18,2)"); + + b.Property("COUNT_START") + .HasColumnType("decimal(18,2)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECKSAME") + .HasColumnType("bit"); + + b.Property("ISEND") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MATERIAL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATETYPE") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REASON") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("MATERIAL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_CM_MATERIAL_OPERATE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_OPERATE_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISSYSTEM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MASTERA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MATERIAL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATETYPE") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(350) + .HasColumnType("nvarchar(350)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID_OPERATE") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("MASTERA_ID"); + + b.HasIndex("MATERIAL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("USER_ID"); + + b.HasIndex("USER_ID_OPERATE"); + + b.ToTable("T_CM_MATERIAL_OPERATE_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_MATERIAL_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCIDENT_LEVEL") + .HasColumnType("int"); + + b.Property("ACCIDENT_PLACE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ACCIDENT_TIME") + .HasColumnType("datetime2"); + + b.Property("ACCIDENT_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ADVISE") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CONCLUSION") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_ID_REPORT") + .HasColumnType("uniqueidentifier"); + + b.Property("DESC") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EVENT_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JoinDepartment") + .HasMaxLength(400) + .HasColumnType("nvarchar(400)"); + + b.Property("LAUNCH_TIME") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESTORE_SITUATION") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("RSP_COMMAND_LEVEL") + .HasColumnType("int"); + + b.Property("RSP_CONDITION") + .HasColumnType("int"); + + b.Property("RSP_LEVEL") + .HasColumnType("int"); + + b.Property("RSP_ORDER") + .HasColumnType("int"); + + b.Property("RSP_START_TIME") + .HasColumnType("datetime2"); + + b.Property("RSP_STOP_TIME") + .HasColumnType("datetime2"); + + b.Property("RSP_TRAINING_LEVEL") + .HasColumnType("int"); + + b.Property("RUN_SITUATION") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID_MANAGE") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID_REPORT") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ACCIDENT_TYPE_ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEPARTMENT_ID_REPORT"); + + b.HasIndex("EVENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.HasIndex("USER_ID_MANAGE"); + + b.HasIndex("USER_ID_REPORT"); + + b.ToTable("T_CM_RSP_ESTIMATE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE_CONDITION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_RSP_ESTIMATE_CONDITION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE_CONDITIONS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONDITION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ESTIMATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("RSP_CONDITION_STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CONDITION_ID"); + + b.HasIndex("ESTIMATE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_RSP_ESTIMATE_CONDITIONS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE_ESTIMATE_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ESTIMATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISSIGN") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ESTIMATE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_CM_RSP_ESTIMATE_ESTIMATE_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE_EVENT_KIND", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ESTIMATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("KIND_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ESTIMATE_ID"); + + b.HasIndex("KIND_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_CM_RSP_ESTIMATE_EVENT_KIND"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE_JOIN_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ESTIMATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ESTIMATE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_CM_RSP_ESTIMATE_JOIN_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_URGENT_AREAR_INFLUENCE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COVERAGE_INFLUENCE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("URGENT_EVENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("COVERAGE_INFLUENCE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("URGENT_EVENT_ID"); + + b.ToTable("T_CM_URGENT_AREAR_INFLUENCE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_URGENT_EVENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCIDENT_CONSEQUENCE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ADDRESS_INFLUENCE") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("AREAR_INFLUENCE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREACTTYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVENT_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("EVENT_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_CM_URGENT_EVENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_URGENT_EVENT_CONTINGENCY_PLAN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COMPLETE_TIME") + .HasColumnType("datetime2"); + + b.Property("CONTINGENCY_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_DRAW_UP") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("URGENT_EVENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CONTINGENCY_TYPE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("URGENT_EVENT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_CM_URGENT_EVENT_CONTINGENCY_PLAN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_URGENT_EVENT_RISK_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("URGENT_EVENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_TYPE_ID"); + + b.HasIndex("URGENT_EVENT_ID"); + + b.ToTable("T_CM_URGENT_EVENT_RISK_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_CATEGORY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_CATEGORY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCEPT_DATE") + .HasColumnType("datetime2"); + + b.Property("CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_PURCHASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_STATUS") + .HasColumnType("int"); + + b.Property("DEVICE_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_EMERGENCY") + .HasColumnType("bit"); + + b.Property("IS_SEND") + .HasColumnType("int"); + + b.Property("MACHINE_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAMETER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("POSITION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("PURCHASE_DATE") + .HasColumnType("datetime2"); + + b.Property("PURPOSE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("QTY") + .HasColumnType("int"); + + b.Property("SPEC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TPM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("T_BI_AREA_TREEID") + .HasColumnType("uniqueidentifier"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USE_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USE_USER_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CATEGORY_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("T_BI_AREA_TREEID"); + + b.HasIndex("USER_ID"); + + b.HasIndex("USER_POST_ID"); + + b.HasIndex("USE_DEPARTMENT_ID"); + + b.HasIndex("USE_USER_ID"); + + b.HasIndex("USE_USER_POST_ID"); + + b.ToTable("T_DM_DEVICE_BASE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_CHECK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKTIME") + .HasColumnType("datetime2"); + + b.Property("CHECKTYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA") + .HasColumnType("int"); + + b.Property("DEVICEBASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("ITEM1") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ITEM2") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ITEM3") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("RUNDATA") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("T_DM_DEVICE_BASEID") + .HasColumnType("uniqueidentifier"); + + b.Property("WEEKDATA") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEVICEBASE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("T_DM_DEVICE_BASEID"); + + b.ToTable("T_DM_DEVICE_BASE_CHECK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_CHECK_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BASECHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISMAIN") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BASECHECK_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_BASE_CHECK_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEVICE_BASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEVICE_BASE_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE_BASE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_INSPECTION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CYCLE") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_BASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MECHANISM") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEVICE_BASE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_BASE_INSPECTION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_INSPECTION_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_DM_DEVICE_BASE_INSPECTION_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_OVERHAUL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEVICE_BASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXTERNAL_SUPPORT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MALFUCTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVERHAUL_TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEVICE_BASE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_BASE_OVERHAUL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_OVERHAUL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FILE_PARENT_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE_BASE_OVERHAUL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_PURCHASE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TPM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_BASE_PURCHASE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_PURCHASE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCEPT_DATE") + .HasColumnType("datetime2"); + + b.Property("CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_BASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_PURCHASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_EMERGENCY") + .HasColumnType("bit"); + + b.Property("MANAGE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MANUFACTURER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MANUFACTURE_DATE") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAMETER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("POSITION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PURCHASE_DATE") + .HasColumnType("datetime2"); + + b.Property("QTY") + .HasColumnType("int"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SERVICE_LIFE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SPEC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SUPPLIER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TPM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CATEGORY_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEVICE_ID"); + + b.HasIndex("DEVICE_PURCHASE_ID"); + + b.HasIndex("MANAGE_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_BASE_PURCHASE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_PURCHASE_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEVICE_PURCHASE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEVICE_PURCHASE_DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE_BASE_PURCHASE_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_PURCHASE_DETAIL_RECEIPT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEVICE_PURCHASE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEVICE_PURCHASE_DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE_BASE_PURCHASE_DETAIL_RECEIPT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKTYPE") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEVICEBASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MACHINE_CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("MACHINE_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANID") + .HasColumnType("uniqueidentifier"); + + b.Property("POSITION_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("RECORD_DATE") + .HasColumnType("datetime2"); + + b.Property("SCHEDULIN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SPEC") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEAM_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("DEVICEBASE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SCHEDULIN_ID"); + + b.ToTable("T_DM_DEVICE_CHECK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BASECHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_VALUE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("DEVICEBASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("ITEM1") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ITEM2") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ITEM3") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("BASECHECK_ID"); + + b.HasIndex("DEVICE_CHECK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE_CHECK_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE_CHECK_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE_CHECK_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE_CHECK_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("ISMAIN") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_CHECK_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_CHECK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKDATETIME") + .HasColumnType("datetime2"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_MAINTENANCE_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENDTIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS_APPROVE") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_MAINTENANCE_CHECK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_CHECK_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("COUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEVICEBASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MACHINE_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANID") + .HasColumnType("uniqueidentifier"); + + b.Property("POSITION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("Result") + .HasColumnType("int"); + + b.Property("SPEC") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("WORK_PLAN") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_ID"); + + b.HasIndex("DEVICEBASE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLANID"); + + b.ToTable("T_DM_DEVICE_MAINTENANCE_CHECK_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_CHECK_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEVICE_MAINTENANCE_CHECK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEVICE_MAINTENANCE_CHECK_DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE_MAINTENANCE_CHECK_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_CHECK_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKTIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("ISMAIN") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_MAINTENANCE_CHECK_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_PLAN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_RUN") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS_APPROVE") + .HasColumnType("int"); + + b.Property("SYNC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEARPLAN") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_MAINTENANCE_PLAN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_PLAN_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENTS") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("COUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICEBASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_MAINTENANCE_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENDTIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("POSITION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("RUNSETTIME") + .HasColumnType("datetime2"); + + b.Property("SPEC") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEVICEBASE_ID"); + + b.HasIndex("DEVICE_MAINTENANCE_PLAN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_MAINTENANCE_PLAN_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_PLAN_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.ToTable("T_DM_DEVICE_MAINTENANCE_PLAN_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_PLAN_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("ISMAIN") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_MAINTENANCE_PLAN_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_PPLAN_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE_MAINTENANCE_PPLAN_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_OVERHAUL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_OPINION") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEVICE_BASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXTERNAL_SUPPORT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_HELP") + .HasColumnType("bit"); + + b.Property("MACHINE_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MACHINE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MALFUCTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("OPINION") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVERHAUL_TIME") + .HasColumnType("datetime2"); + + b.Property("PERSON_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("PHONE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("POSITION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REPAIR_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SPEC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEVICE_BASE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REPAIR_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_OVERHAUL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_OVERHAUL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVERHAUL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("OVERHAUL_ID"); + + b.ToTable("T_DM_DEVICE_OVERHAUL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_PURCHASE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BASE_PURCHASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TPM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BASE_PURCHASE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_PURCHASE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_PURCHASE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCEPT_DATE") + .HasColumnType("datetime2"); + + b.Property("CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_BASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_PURCHASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_EMERGENCY") + .HasColumnType("bit"); + + b.Property("MANAGE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MANUFACTURER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MANUFACTURE_DATE") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAMETER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("POSITION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PURCHASE_DATE") + .HasColumnType("datetime2"); + + b.Property("QTY") + .HasColumnType("int"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SERVICE_LIFE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SPEC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SUPPLIER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TPM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CATEGORY_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEVICE_ID"); + + b.HasIndex("DEVICE_PURCHASE_ID"); + + b.HasIndex("MANAGE_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_PURCHASE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_PURCHASE_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEVICE_PURCHASE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEVICE_PURCHASE_DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE_PURCHASE_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_PURCHASE_DETAIL_RECEIPT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEVICE_PURCHASE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEVICE_PURCHASE_DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE_PURCHASE_DETAIL_RECEIPT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_REPAIR", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DESCRPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEVICE_BASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EMERGENCY_LEVEL_NAME") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_HELP") + .HasColumnType("bit"); + + b.Property("MACHINE_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MACHINE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POSITION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REPAIR_CHARGE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REPAIR_TIME") + .HasColumnType("datetime2"); + + b.Property("REPAIR_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SPEC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEVICE_BASE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REPAIR_CHARGE_USER_ID"); + + b.HasIndex("REPAIR_USER_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_REPAIR"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_REPAIR_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REPAIR_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REPAIR_ID"); + + b.ToTable("T_DM_DEVICE_REPAIR_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_SCRAP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICEBASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEVICEBASE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_SCRAP"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_TIME_RUN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_BASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONTH") + .HasColumnType("int"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RUNSETTIME") + .HasColumnType("datetime2"); + + b.Property("SET_TYPE") + .HasColumnType("int"); + + b.Property("WEEKDATA") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEVICE_BASE_ID"); + + b.HasIndex("DEVICE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_DM_TIME_RUN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_TIME_RUN_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POSITION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TIME_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TIME_SET_ID"); + + b.ToTable("T_DM_TIME_RUN_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CHANGE_SHIFT_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADDRESS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHANGE_SHIFT_TIME") + .HasColumnType("datetime2"); + + b.Property("CLASS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CURRENT_CLASS_MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CURRENT_CLASS_QUESTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CURRENT_CLASS_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CURRENT_CLASS_STATUS") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEVICE_QUESTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEVICE_STATUS") + .HasColumnType("int"); + + b.Property("DEVICE_STORAGE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EDITOR_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ENVIRONMENT_MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENVIRONMENT_QUESTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENVIRONMENT_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAST_CLASS_FINISH_QUESTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("LAST_CLASS_FINISH_STATUS") + .HasColumnType("int"); + + b.Property("LAST_CLASS_RECORD_QUESTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("LAST_CLASS_RECORD_STATUS") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVERTIME") + .HasColumnType("int"); + + b.Property("SHIFT_STATUS") + .HasColumnType("int"); + + b.Property("SUPPLIES_MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SUPPLIES_QUESTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SUPPLIES_STATUS") + .HasColumnType("int"); + + b.Property("TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CLASS_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEPARTMENT_POST_ID"); + + b.HasIndex("EDITOR_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TEAM_ID"); + + b.ToTable("T_FO_CHANGE_SHIFT_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CHANGE_SHIFT_RECORD_AFTER_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHANGE_SHIFT_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_SHIFT_STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHANGE_SHIFT_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_CHANGE_SHIFT_RECORD_AFTER_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CHANGE_SHIFT_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHANGE_SHIFT_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHANGE_SHIFT_RECORD_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_CHANGE_SHIFT_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CHANGE_SHIFT_RECORD_PRE_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHANGE_SHIFT_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_SHIFT_STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHANGE_SHIFT_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_CHANGE_SHIFT_RECORD_PRE_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_DEAL_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_LICENSE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CRUCIAL_LICENSE_JOB_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_CRUCIAL_LICENSE_DEAL_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_LEVEL") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_LEVEL") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_AUTO") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_OUTSOURCE") + .HasColumnType("bit"); + + b.Property("IS_PUBLISH") + .HasColumnType("int"); + + b.Property("JOB_DATE") + .HasColumnType("datetime2"); + + b.Property("JOB_END_DATE") + .HasColumnType("datetime2"); + + b.Property("JOB_LOCATION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("JOB_SCHEME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("JobCause") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RELATED_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SHIFT_MEETING_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SafeMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TERRITORY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("JOB_SCHEME_ID"); + + b.HasIndex("MONITOR_USER_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RELATED_ID"); + + b.HasIndex("TERRITORY_DEPARTMENT_ID"); + + b.ToTable("T_FO_CRUCIAL_LICENSE_JOB"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_LICENSE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CRUCIAL_LICENSE_JOB_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_CRUCIAL_LICENSE_JOB_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_LEVEL") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_LEVEL") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_AUTO") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_OUTSOURCE") + .HasColumnType("bit"); + + b.Property("IS_PUBLISH") + .HasColumnType("int"); + + b.Property("JOB_DATE") + .HasColumnType("datetime2"); + + b.Property("JOB_END_DATE") + .HasColumnType("datetime2"); + + b.Property("JOB_LOCATION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("JOB_SCHEME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("JobCause") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RELATED_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SHIFT_MEETING_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SafeMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TERRITORY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("JOB_SCHEME_ID"); + + b.HasIndex("MONITOR_USER_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RELATED_ID"); + + b.HasIndex("TERRITORY_DEPARTMENT_ID"); + + b.ToTable("T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB_RISK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_LICENSE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTERPRISE_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_NAME") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.HasKey("ID"); + + b.HasIndex("CRUCIAL_LICENSE_JOB_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_CRUCIAL_LICENSE_JOB_RISK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_OUTSOURCE_DEAL_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_LICENSE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CRUCIAL_LICENSE_JOB_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_CRUCIAL_LICENSE_OUTSOURCE_DEAL_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_OUTSOURCE_PERSON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CERTIFICATE_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CERTIFICATE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_LICENSE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("CRUCIAL_LICENSE_JOB_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_CRUCIAL_LICENSE_OUTSOURCE_PERSON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_OUTSOURCE_RISK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_LICENSE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTERPRISE_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_NAME") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.HasKey("ID"); + + b.HasIndex("CRUCIAL_LICENSE_JOB_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_CRUCIAL_LICENSE_OUTSOURCE_RISK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_OUTSOURCE_SAFE_CONFIRM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_LICENSE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CRUCIAL_LICENSE_JOB_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_CRUCIAL_LICENSE_OUTSOURCE_SAFE_CONFIRM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_OUTSOURCE_SAFE_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_LICENSE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CRUCIAL_LICENSE_JOB_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_CRUCIAL_LICENSE_OUTSOURCE_SAFE_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_PERSON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CERTIFICATE_TYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_LICENSE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXIST_CERTIFICATE") + .HasColumnType("bit"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_DOCUMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TRAIN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CRUCIAL_LICENSE_JOB_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TRAIN_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_CRUCIAL_LICENSE_PERSON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_SAFE_CONFIRM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_LICENSE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CRUCIAL_LICENSE_JOB_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_CRUCIAL_LICENSE_SAFE_CONFIRM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_SAFE_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_LICENSE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CRUCIAL_LICENSE_JOB_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_CRUCIAL_LICENSE_SAFE_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CURRENT_CLASS_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_DATE") + .HasColumnType("datetime2"); + + b.Property("AUDIT_OPINION") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("CHARGE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CLASS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CLASS_TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CURRENT_CLASS_MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CURRENT_CLASS_QUESTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CURRENT_CLASS_STATUS") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEVICE_QUESTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEVICE_STATUS") + .HasColumnType("int"); + + b.Property("DEVICE_STORAGE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EDITOR_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ENVIRONMENT_MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENVIRONMENT_QUESTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENVIRONMENT_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_HANDOVER") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NEXT_CLASS_TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVERTIME") + .HasColumnType("int"); + + b.Property("RECORD_DATE") + .HasColumnType("datetime2"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SHIFT_STATUS") + .HasColumnType("int"); + + b.Property("SUPPLIES_MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SUPPLIES_QUESTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SUPPLIES_STATUS") + .HasColumnType("int"); + + b.Property("SUPPLIES_USED") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHARGE_USER_ID"); + + b.HasIndex("CLASS_ID"); + + b.HasIndex("CLASS_TEAM_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEPARTMENT_POST_ID"); + + b.HasIndex("EDITOR_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_CURRENT_CLASS_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CURRENT_CLASS_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CURRENT_CLASS_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CURRENT_CLASS_RECORD_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_CURRENT_CLASS_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CURRENT_CLASS_RECORD_LABOUR_SUPPLY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CURRENT_CLASS_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LABOUR_SUPPLY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("Nav_LabourSupplyID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CURRENT_CLASS_RECORD_ID"); + + b.HasIndex("Nav_LabourSupplyID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_CURRENT_CLASS_RECORD_LABOUR_SUPPLY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CURRENT_CLASS_RECORD_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CURRENT_CLASS_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_SHIFT_STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CURRENT_CLASS_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_CURRENT_CLASS_RECORD_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_EDUCATIONAL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_EDUCATIONAL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACT_DATE") + .HasColumnType("datetime2"); + + b.Property("ACT_END_DATE") + .HasColumnType("datetime2"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_LEVEL") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("COMPANY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("COMPLETED_CONDITION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("COMPLETED_CONTENT") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DISPATCH_DEAL_STATUS") + .HasColumnType("int"); + + b.Property("DISPATCH_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_LEVEL") + .HasColumnType("int"); + + b.Property("FIRE_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FIRE_STATUS") + .HasColumnType("int"); + + b.Property("FIRE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_FIRE") + .HasColumnType("int"); + + b.Property("IS_HOLIDAY") + .HasColumnType("bit"); + + b.Property("IS_LEAVE") + .HasColumnType("int"); + + b.Property("IS_RUN") + .HasColumnType("bit"); + + b.Property("JOB_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("JOB_DATE") + .HasColumnType("datetime2"); + + b.Property("JOB_END_DATE") + .HasColumnType("datetime2"); + + b.Property("JOB_LOCATION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("LEAVE_DATE") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_DEAL_FINISH_STATUS") + .HasColumnType("int"); + + b.Property("SAFE_DEAL_STATUS") + .HasColumnType("int"); + + b.Property("SAFE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_DEAL_FINISH_STATUS") + .HasColumnType("int"); + + b.Property("USER_DEAL_STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("COMPANY_ID"); + + b.HasIndex("DISPATCH_USER_ID"); + + b.HasIndex("FIRE_DEPARTMENT_ID"); + + b.HasIndex("FIRE_USER_ID"); + + b.HasIndex("MONITOR_USER_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("SAFE_USER_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_FO_FIRE_JOB"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CONFIRM") + .HasColumnType("int"); + + b.Property("IS_CONFIRM_NEW") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_STEP") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_FIRE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_JOB_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_FIRE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_MONITOR_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_MONITOR_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_RISK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTERPRISE_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_NAME") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_RISK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CERTIFICATE_CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CERTIFICATE_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TRAIN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TRAIN_ID"); + + b.HasIndex("USER_ID"); + + b.HasIndex("USER_TYPE_ID"); + + b.ToTable("T_FO_FIRE_JOB_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_USER_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_USER_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_USER_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACT_DATE") + .HasColumnType("datetime2"); + + b.Property("ACT_END_DATE") + .HasColumnType("datetime2"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_LEVEL") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("COMPANY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("COMPLETED_CONDITION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("COMPLETED_CONTENT") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DISPATCH_DEAL_STATUS") + .HasColumnType("int"); + + b.Property("DISPATCH_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DPARTMENT_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_LEVEL") + .HasColumnType("int"); + + b.Property("FIRE_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_FIRE") + .HasColumnType("int"); + + b.Property("IS_HOLIDAY") + .HasColumnType("bit"); + + b.Property("IS_LEAVE") + .HasColumnType("int"); + + b.Property("IS_RUN") + .HasColumnType("bit"); + + b.Property("JOB_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("JOB_DATE") + .HasColumnType("datetime2"); + + b.Property("JOB_END_DATE") + .HasColumnType("datetime2"); + + b.Property("JOB_LOCATION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("LEAVE_DATE") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RELATED_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_DEAL_FINISH_STATUS") + .HasColumnType("int"); + + b.Property("SAFE_DEAL_STATUS") + .HasColumnType("int"); + + b.Property("SAFE_USER_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("SAFE_USER_PHONE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_DEAL_FINISH_STATUS") + .HasColumnType("int"); + + b.Property("USER_DEAL_STATUS") + .HasColumnType("int"); + + b.Property("USER_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("USER_PHONE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("COMPANY_ID"); + + b.HasIndex("DISPATCH_USER_ID"); + + b.HasIndex("MONITOR_USER_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("RELATED_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_FO_FIRE_JOB_WB"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_WB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CONFIRM") + .HasColumnType("int"); + + b.Property("IS_CONFIRM_NEW") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_STEP") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_WB_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_WB_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_WB_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_WB_DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_WB_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_WB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_WB_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_WB_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_FIRE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_WB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_WB_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_WB_FIRE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_FIRE_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_WB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_WB_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_WB_FIRE_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_MONITOR_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_WB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_WB_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_WB_MONITOR_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_RISK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTERPRISE_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_WB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_NAME") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_WB_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_WB_RISK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_SAFE_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_WB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_WB_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_WB_SAFE_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CERTIFICATE_CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CERTIFICATE_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_WB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("USER_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_WB_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.HasIndex("USER_TYPE_ID"); + + b.ToTable("T_FO_FIRE_JOB_WB_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_USER_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_WB_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_WB_USER_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_WB_USER_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_USER_SIGN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_WB_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FIRE_JOB_WB_USER_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_JOB_WB_USER_SIGN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_FIRE_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_HOLIDAYS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_HOLIDAYS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_HOLIDAYS_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HOLIDAYS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_DATE") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("HOLIDAYS_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_HOLIDAYS_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONFIRM_DATE") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CONFIRM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_ACTIVITY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SafeConfirmsStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("JOB_ACTIVITY_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_JOB_ACTIVITY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("T_FO_JOB_ACTIVITY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("T_FO_JOB_ACTIVITY_DETAIL_ID"); + + b.ToTable("T_FO_JOB_ACTIVITY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_FLOW", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONFIRM_DATE") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CONFIRM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_ACTIVITY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SafeMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("JOB_ACTIVITY_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_JOB_ACTIVITY_FLOW"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_FLOW_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("T_FO_JOB_ACTIVITY_FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("T_FO_JOB_ACTIVITY_FLOW_ID"); + + b.ToTable("T_FO_JOB_ACTIVITY_FLOW_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONFIRM_DATE") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DealMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CONFIRM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_ACTIVITY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("JOB_ACTIVITY_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_JOB_ACTIVITY_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_MEASURE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("T_FO_JOB_ACTIVITY_MEASURE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("T_FO_JOB_ACTIVITY_MEASURE_ID"); + + b.ToTable("T_FO_JOB_ACTIVITY_MEASURE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_PERSON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_ACTIVITY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("JOB_DOCUMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RELATED_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("JOB_ACTIVITY_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RELATED_USER_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_JOB_ACTIVITY_PERSON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EFFECTIVE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXIST") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_STATUS") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_EFFECTIVE") + .HasColumnType("int"); + + b.Property("IS_EXIST") + .HasColumnType("int"); + + b.Property("IS_NEED") + .HasColumnType("int"); + + b.Property("IS_OUTSOURCE") + .HasColumnType("bit"); + + b.Property("IS_REQUIRES") + .HasColumnType("int"); + + b.Property("IS_SUITABLE") + .HasColumnType("int"); + + b.Property("JOB_DATE") + .HasColumnType("datetime2"); + + b.Property("JOB_END_DATE") + .HasColumnType("datetime2"); + + b.Property("JOB_LOCATION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("JOB_NAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("JOB_NAME_OUTSOURCE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NEED") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RELATED_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIRES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SUITABLE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TECH_DISCLOSURE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CREATER_ID"); + + b.HasIndex("JOB_NAME_ID"); + + b.HasIndex("JOB_NAME_OUTSOURCE_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TECH_DISCLOSURE_ID"); + + b.ToTable("T_FO_JOB_ACTIVITY_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CONFIRM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_EVENT_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("SafeConfirmsStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("JOB_EVENT_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_JOB_EVENT_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("T_FO_JOB_EVENT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("T_FO_JOB_EVENT_DETAIL_ID"); + + b.ToTable("T_FO_JOB_EVENT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_FLOW", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CONFIRM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_EVENT_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("SafeMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("JOB_EVENT_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_JOB_EVENT_FLOW"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_FLOW_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("T_FO_JOB_EVENT_FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("T_FO_JOB_EVENT_FLOW_ID"); + + b.ToTable("T_FO_JOB_EVENT_FLOW_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DealMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CONFIRM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_EVENT_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.HasKey("ID"); + + b.HasIndex("JOB_EVENT_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_JOB_EVENT_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_MEASURE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("T_FO_JOB_EVENT_MEASURE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("T_FO_JOB_EVENT_MEASURE_ID"); + + b.ToTable("T_FO_JOB_EVENT_MEASURE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_PERSON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_EVENT_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("JOB_EVENT_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_JOB_EVENT_PERSON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_STATUS") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_DATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("JOB_LOCATION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SHIFT_MEETING_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CREATER_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_JOB_EVENT_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LABOUR_SUPPLY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LABOUR_SUPPLY_TYPE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_LABOUR_SUPPLY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CLASS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("COMPANY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_END_DATE") + .HasColumnType("datetime2"); + + b.Property("JOB_START_DATE") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLACE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("CLASS_ID"); + + b.HasIndex("COMPANY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.ToTable("T_FO_LEADER_WELL_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_AFTERUSER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AFTER_USER_DEAL_STATUS") + .HasColumnType("int"); + + b.Property("AFTER_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEADER_WELL_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AFTER_USER_ID"); + + b.HasIndex("LEADER_WELL_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_LEADER_WELL_RECORD_AFTERUSER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("END_DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("ITEM") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("LEADER_WELL_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLACE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("QUESTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("START_DATE") + .HasColumnType("datetime2"); + + b.Property("USER_DEAL_STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LEADER_WELL_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_LEADER_WELL_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AFTER_USER_DEAL_STATUS") + .HasColumnType("int"); + + b.Property("AFTER_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEADER_WELL_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AFTER_USER_ID"); + + b.HasIndex("LEADER_WELL_RECORD_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEADER_WELL_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("LEADER_WELL_RECORD_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_LEADER_WELL_RECORD_DETAIL_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEADER_WELL_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("LEADER_WELL_RECORD_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_LEADER_WELL_RECORD_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEADER_WELL_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRE_USER_DEAL_STATUS") + .HasColumnType("int"); + + b.Property("PRE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LEADER_WELL_RECORD_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRE_USER_ID"); + + b.ToTable("T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEADER_WELL_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("LEADER_WELL_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_LEADER_WELL_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_PREUSER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEADER_WELL_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRE_USER_DEAL_STATUS") + .HasColumnType("int"); + + b.Property("PRE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LEADER_WELL_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRE_USER_ID"); + + b.ToTable("T_FO_LEADER_WELL_RECORD_PREUSER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEADER_WELL_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LEADER_WELL_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_LEADER_WELL_RECORD_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_OPER_SCH", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_STATUS") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LANUNCH_TIME") + .HasColumnType("datetime2"); + + b.Property("LANUNCH_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("LANUNCH_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_PRE_OPER_SCH"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_OPER_SCH_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRE_OPER_SCH_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRE_OPER_SCH_ID"); + + b.ToTable("T_FO_PRE_OPER_SCH_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_OPER_SCH_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRE_OPER_SCH_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REAL_DEPARTMENT_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRE_OPER_SCH_ID"); + + b.HasIndex("REAL_DEPARTMENT_POST_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_PRE_OPER_SCH_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ABNORMAL_CAUSE") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("ACTUAL_QTY") + .HasColumnType("int"); + + b.Property("CLASS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DANGER") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_SCHEDULING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DIFFICULTY") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GREETING") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_RUN") + .HasColumnType("int"); + + b.Property("JOB_CONTENT") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("LATE_QTY") + .HasColumnType("int"); + + b.Property("LEARNING") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("LEAVE_QTY") + .HasColumnType("int"); + + b.Property("LOCATION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MEETING_TIME") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OTHER_CONTENT") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("OVERTIME") + .HasColumnType("int"); + + b.Property("PRAISE") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("PRE_MEETING_STATUS") + .HasColumnType("int"); + + b.Property("PROTECT_MEASURE") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFETY_OATH") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("SHARE") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("SHOULD_QTY") + .HasColumnType("int"); + + b.Property("SLOGAN") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TODAY_PLAN") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("WELCOME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("CLASS_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("MONITOR_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("TEAM_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_PRE_SHIFT_MEETING_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACTUAL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMPROVE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRE_SHIFT_MEETING_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PURPOSE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("QUOTA") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RATE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRE_SHIFT_MEETING_RECORD_ID"); + + b.ToTable("T_FO_PRE_SHIFT_MEETING_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD_DETAIL_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PRE_SHIFT_MEETING_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("PRE_SHIFT_MEETING_RECORD_DETAIL_ID"); + + b.ToTable("T_FO_PRE_SHIFT_MEETING_RECORD_DETAIL_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRE_SHIFT_MEETING_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRE_SHIFT_MEETING_RECORD_ID"); + + b.ToTable("T_FO_PRE_SHIFT_MEETING_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRE_SHIFT_MEETING_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REAL_DEPARTMENT_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRE_SHIFT_MEETING_RECORD_ID"); + + b.HasIndex("REAL_DEPARTMENT_POST_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_PRE_SHIFT_MEETING_RECORD_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_CATEGORY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_PROFESSIONAL_CATEGORY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AGE") + .HasColumnType("int"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("COMPANY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EDUCATIONAL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GRADUATION_DATE") + .HasColumnType("datetime2"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_END_DATE") + .HasColumnType("datetime2"); + + b.Property("JOB_START_DATE") + .HasColumnType("datetime2"); + + b.Property("MAJOR") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROFESSIONAL_CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCHOOL") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("SEX") + .HasColumnType("int"); + + b.Property("TECH_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("COMPANY_ID"); + + b.HasIndex("EDUCATIONAL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROFESSIONAL_CATEGORY_ID"); + + b.HasIndex("TECH_POST_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_PROFESSIONAL_RESUME"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_CERTIFICATE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROFESSIONAL_RESUME_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROFESSIONAL_RESUME_ID"); + + b.ToTable("T_FO_PROFESSIONAL_RESUME_CERTIFICATE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_DUTY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("PROFESSIONAL_RESUME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SKILL_IMPROVE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("START_DATE") + .HasColumnType("datetime2"); + + b.Property("UNIT") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("WORK_ACHIEVEMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("WORK_POST") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("WORK_YEAR") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROFESSIONAL_RESUME_ID"); + + b.ToTable("T_FO_PROFESSIONAL_RESUME_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROFESSIONAL_RESUME_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROFESSIONAL_RESUME_DETAIL_ID"); + + b.ToTable("T_FO_PROFESSIONAL_RESUME_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_EDUCATIONAL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROFESSIONAL_RESUME_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROFESSIONAL_RESUME_ID"); + + b.ToTable("T_FO_PROFESSIONAL_RESUME_EDUCATIONAL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_MEDICAL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROFESSIONAL_RESUME_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROFESSIONAL_RESUME_ID"); + + b.ToTable("T_FO_PROFESSIONAL_RESUME_MEDICAL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_OTHER_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROFESSIONAL_RESUME_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROFESSIONAL_RESUME_ID"); + + b.ToTable("T_FO_PROFESSIONAL_RESUME_OTHER_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_POST_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROFESSIONAL_RESUME_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROFESSIONAL_RESUME_ID"); + + b.ToTable("T_FO_PROFESSIONAL_RESUME_POST_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_TRAIN_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROFESSIONAL_RESUME_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROFESSIONAL_RESUME_ID"); + + b.ToTable("T_FO_PROFESSIONAL_RESUME_TRAIN_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_SCHEDULING", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CLASS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("DRIVER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PHONE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TECH_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("WEEK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("CLASS_ID"); + + b.HasIndex("DRIVER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TECH_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_SCHEDULING"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_SCHEDULING_TEMPLATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CYCLE") + .HasColumnType("int"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_SCHEDULING_TEMPLATE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_SCHEDULING_TEMPLATE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PHONE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SCHEDULING_TEMPLATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SCHEDULING_TEMPLATE_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_SCHEDULING_TEMPLATE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TEAM_ACTIVITY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACTIVITY_CONTENT") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("ACTIVITY_TIME") + .HasColumnType("datetime2"); + + b.Property("ADDRESS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DURATION") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTE_AKER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVERTIME") + .HasColumnType("int"); + + b.Property("TA_STATUS") + .HasColumnType("int"); + + b.Property("TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TITLE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NOTE_AKER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TEAM_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_TEAM_ACTIVITY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TEAM_ACTIVITY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TEAM_ACTIVITY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TEAM_ACTIVITY_ID"); + + b.ToTable("T_FO_TEAM_ACTIVITY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TEAM_ACTIVITY_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ATTEND_STATUS") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SIGN_IN_STATUS") + .HasColumnType("int"); + + b.Property("TEAM_ACTIVITY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TEAM_ACTIVITY_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_TEAM_ACTIVITY_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TEAM_SLOGAN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LOCATION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFETY_OATH") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("SLOGAN") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TEAM_ID"); + + b.ToTable("T_FO_TEAM_SLOGAN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TECH_DISCLOSURE_FROM_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TECH_DISCLOSURE_FROM_ID"); + + b.ToTable("T_FO_TECH_DISCLOSURE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DISCLOSURED_PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DISCLOSURE_DATE") + .HasColumnType("datetime2"); + + b.Property("DISCLOSURE_PERSON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DisclosureContent") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_STATUS") + .HasColumnType("int"); + + b.Property("IS_AUTO") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_OUTSOURCE") + .HasColumnType("bit"); + + b.Property("JOB_LOCATION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("JOB_NAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("JOB_NAME_OUTSOURCE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RELATED_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DISCLOSURED_PERSON_ID"); + + b.HasIndex("DISCLOSURE_PERSON_ID"); + + b.HasIndex("JOB_NAME_ID"); + + b.HasIndex("JOB_NAME_OUTSOURCE_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_TECH_DISCLOSURE_FROM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_SAFE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DISCLOSURE_DATE") + .HasColumnType("datetime2"); + + b.Property("DisclosureContent") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRE_JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_STATUS") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_LOCATION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("FIRE_JOB_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_TECH_DISCLOSURE_FROM_SAFE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_SAFE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TECH_DISCLOSURE_FROM_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TECH_DISCLOSURE_FROM_ID"); + + b.ToTable("T_FO_TECH_DISCLOSURE_FROM_SAFE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_SAFE_PERSON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TECH_DISCLOSURE_FROM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TECH_DISCLOSURE_FROM_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_TECH_DISCLOSURE_FROM_SAFE_PERSON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_TECH", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DISCLOSURE_DATE") + .HasColumnType("datetime2"); + + b.Property("DisclosureContent") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_STATUS") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_LOCATION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_TECH_DISCLOSURE_FROM_TECH"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_TECH_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TECH_DISCLOSURE_FROM_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TECH_DISCLOSURE_FROM_ID"); + + b.ToTable("T_FO_TECH_DISCLOSURE_FROM_TECH_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_TECH_PERSON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TECH_DISCLOSURE_FROM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TECH_DISCLOSURE_FROM_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_TECH_DISCLOSURE_FROM_TECH_PERSON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_PERSON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RELATED_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TECH_DISCLOSURE_FROM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RELATED_USER_ID"); + + b.HasIndex("TECH_DISCLOSURE_FROM_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_FO_TECH_DISCLOSURE_PERSON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROFESSIONAL_CATEGORY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROFESSIONAL_CATEGORY_ID"); + + b.ToTable("T_FO_TECH_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_USER_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_FO_USER_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ANALYSIS_PERSON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_FIRST") + .HasColumnType("bit"); + + b.Property("LICENSE_ANALYSIS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LICENSE_ANALYSIS_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_ANALYSIS_PERSON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_ANALYSIS_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_TASK_ANALYSIS_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CRUCIAL_TASK_ANALYSIS_DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_CRUCIAL_ANALYSIS_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_ANALYSIS_PERSON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_TASK_ANALYSIS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_FIRST") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CRUCIAL_TASK_ANALYSIS_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_CRUCIAL_ANALYSIS_PERSON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_TASK_ANALYSIS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_LEVEL") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("COMPLETE_DATE") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_AUTO") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_PUBLISH") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_ANALYZE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CREATER_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("OPERATION_ANALYZE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_CRUCIAL_TASK_ANALYSIS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_TASK_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_LEVEL") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_TASK_ANALYSIS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CYCLE_TYPE") + .HasColumnType("int"); + + b.Property("DealMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SafeConfirmsStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SafeMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("CRUCIAL_TASK_ANALYSIS_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_CRUCIAL_TASK_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_TASK_DETAIL_RISK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_TASK_ANALYSIS_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CRUCIAL_TASK_ANALYSIS_DETAIL_ID"); + + b.HasIndex("EVALUATE_RISK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_CRUCIAL_TASK_DETAIL_RISK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EDUCATION_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_TYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EDUCATION_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EMERGENCY_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_TYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EMERGENCY_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ENGINEERING_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_TYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_ENGINEERING_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EQUIPMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EQUIPMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_LIABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXPOSURE_LIMIT_VALUE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("EXPOSURE_NUMBER") + .HasColumnType("int"); + + b.Property("EXPOSURE_TIME") + .HasColumnType("decimal(18,2)"); + + b.Property("EducationTrainingMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EmergencyDisposalMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EngineeringMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HAZARD_LEVEL") + .HasColumnType("int"); + + b.Property("HAZARD_POSITION") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("IDENTIFYING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SHOW") + .HasColumnType("int"); + + b.Property("IndividualMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MODIFY_TYPE") + .HasColumnType("int"); + + b.Property("MONITOR_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ManagementMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("OCCUPATIONALRISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_LIABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("DEPARTMENT_LIABLE_ID"); + + b.HasIndex("IDENTIFYING_ID"); + + b.HasIndex("MONITOR_MEASURES_ID"); + + b.HasIndex("OCCUPATIONALRISK_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_LIABLE_ID"); + + b.ToTable("T_HM_EVALUATE_HAZARD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("EVALUATE_HAZARD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_HAZARD_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD_EDUCATION_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EDUCATION_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EDUCATION_MEASURES_ID"); + + b.HasIndex("EVALUATE_HAZARD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_HAZARD_EDUCATION_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD_EMERGENCY_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EMERGENCY_MEASURES_ID"); + + b.HasIndex("EVALUATE_HAZARD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_HAZARD_EMERGENCY_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD_ENGINEERING_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENGINEERING_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ENGINEERING_MEASURES_ID"); + + b.HasIndex("EVALUATE_HAZARD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_HAZARD_ENGINEERING_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD_INDIVIDUAL_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDIVIDUAL_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATE_HAZARD_ID"); + + b.HasIndex("INDIVIDUAL_MEASURES_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_HAZARD_INDIVIDUAL_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD_MANAGEMENT_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MANAGEMENT_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATE_HAZARD_ID"); + + b.HasIndex("MANAGEMENT_MEASURES_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_HAZARD_MANAGEMENT_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_REQUIREMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_REQUIREMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVECODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_TYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INITIATING_DEPARTMENT") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTE_TAKER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIREMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("INITIATING_DEPARTMENT"); + + b.HasIndex("NOTE_TAKER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.HasIndex("REQUIREMENT_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATE_RESULT_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_LIABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EVALUATE_RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EXPOSURE_LIMIT_VALUE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("EXPOSURE_NUMBER") + .HasColumnType("int"); + + b.Property("EXPOSURE_TIME") + .HasColumnType("decimal(18,2)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HAZARD_LEVEL") + .HasColumnType("int"); + + b.Property("HAZARD_POSITION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("IDENTIFYING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LIABLE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MODIFY_TYPE") + .HasColumnType("int"); + + b.Property("MONITOR_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("OCCUPATIONALRISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_LIABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("DEPARTMENT_LIABLE_ID"); + + b.HasIndex("EVALUATE_HAZARD_ID"); + + b.HasIndex("EVALUATE_RESULT_ID"); + + b.HasIndex("IDENTIFYING_ID"); + + b.HasIndex("LIABLE_USER_ID"); + + b.HasIndex("MONITOR_MEASURES_ID"); + + b.HasIndex("OCCUPATIONALRISK_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_LIABLE_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_HAZARD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD_EDUCATION_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EDUCATION_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_RESULT_HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EDUCATION_MEASURES_ID"); + + b.HasIndex("EVALUATE_RESULT_HAZARD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_HAZARD_EDUCATION_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD_EMERGENCY_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_RESULT_HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EMERGENCY_MEASURES_ID"); + + b.HasIndex("EVALUATE_RESULT_HAZARD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_HAZARD_EMERGENCY_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD_ENGINEERING_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENGINEERING_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_RESULT_HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ENGINEERING_MEASURES_ID"); + + b.HasIndex("EVALUATE_RESULT_HAZARD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_HAZARD_ENGINEERING_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD_INDIVIDUAL_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_RESULT_HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDIVIDUAL_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATE_RESULT_HAZARD_ID"); + + b.HasIndex("INDIVIDUAL_MEASURES_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_HAZARD_INDIVIDUAL_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD_MANAGEMENT_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_RESULT_HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MANAGEMENT_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATE_RESULT_HAZARD_ID"); + + b.HasIndex("MANAGEMENT_MEASURES_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_HAZARD_MANAGEMENT_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_LIABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_C") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_E") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_L") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_LEVEL") + .HasColumnType("int"); + + b.Property("EVALUATE_RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EVALUATE_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EVALUATE_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFYING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LIABLE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MODIFY_TYPE") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_LIABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_PLACE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("DEPARTMENT_LIABLE_ID"); + + b.HasIndex("EVALUATE_RESULT_ID"); + + b.HasIndex("EVALUATE_RISK_ID"); + + b.HasIndex("IDENTIFYING_ID"); + + b.HasIndex("LIABLE_USER_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_LIABLE_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_RISK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_EDUCATION_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EDUCATION_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RESULT_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EDUCATION_MEASURES_ID"); + + b.HasIndex("EVALUATION_RESULT_RISK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_RISK_EDUCATION_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_EMERGENCY_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RESULT_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EMERGENCY_MEASURES_ID"); + + b.HasIndex("EVALUATION_RESULT_RISK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_RISK_EMERGENCY_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_ENGINEERING_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENGINEERING_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RESULT_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ENGINEERING_MEASURES_ID"); + + b.HasIndex("EVALUATION_RESULT_RISK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_RISK_ENGINEERING_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_EQUIPMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EQUIPMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EVALUATION_RESULT_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EQUIPMENT_ID"); + + b.HasIndex("EVALUATION_RESULT_RISK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_RISK_EQUIPMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_FACILITIES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RESULT_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FACILITIES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATION_RESULT_RISK_ID"); + + b.HasIndex("FACILITIES_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_RISK_FACILITIES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_INDIVIDUAL_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RESULT_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDIVIDUAL_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATION_RESULT_RISK_ID"); + + b.HasIndex("INDIVIDUAL_MEASURES_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_RISK_INDIVIDUAL_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_MANAGEMENT_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RESULT_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MANAGEMENT_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATION_RESULT_RISK_ID"); + + b.HasIndex("MANAGEMENT_MEASURES_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_RISK_MANAGEMENT_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_WORKDUTY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RESULT_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("WORKDUTY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATION_RESULT_RISK_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("WORKDUTY_ID"); + + b.ToTable("T_HM_EVALUATE_RESULT_RISK_WORKDUTY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_LIABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_C") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_E") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_L") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_LEVEL") + .HasColumnType("int"); + + b.Property("EVALUATE_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("EducationTrainingMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EmergencyDisposalMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EngineeringMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFYING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IndividualMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MODIFY_TYPE") + .HasColumnType("int"); + + b.Property("ManagementMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_LIABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_PLACE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("SOURCE_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("T_BI_AREA_TREEID") + .HasColumnType("uniqueidentifier"); + + b.Property("equipmentStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("postStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("DEPARTMENT_LIABLE_ID"); + + b.HasIndex("IDENTIFYING_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_LIABLE_ID"); + + b.HasIndex("SOURCE_DEPARTMENT_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("T_BI_AREA_TREEID"); + + b.ToTable("T_HM_EVALUATE_RISK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("EVALUATION_RISK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RISK_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_EDUCATION_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EDUCATION_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EDUCATION_MEASURES_ID"); + + b.HasIndex("EVALUATION_RISK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RISK_EDUCATION_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_EMERGENCY_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EMERGENCY_MEASURES_ID"); + + b.HasIndex("EVALUATION_RISK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RISK_EMERGENCY_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_ENGINEERING_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENGINEERING_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ENGINEERING_MEASURES_ID"); + + b.HasIndex("EVALUATION_RISK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RISK_ENGINEERING_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_EQUIPMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EQUIPMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EVALUATION_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EQUIPMENT_ID"); + + b.HasIndex("EVALUATION_RISK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RISK_EQUIPMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_FACILITIES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FACILITIES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATION_RISK_ID"); + + b.HasIndex("FACILITIES_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RISK_FACILITIES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_INDIVIDUAL_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDIVIDUAL_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATION_RISK_ID"); + + b.HasIndex("INDIVIDUAL_MEASURES_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RISK_INDIVIDUAL_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_LEC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasColumnType("float"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE") + .HasMaxLength(1) + .HasColumnType("nvarchar(1)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RISK_LEC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_MANAGEMENT_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MANAGEMENT_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATION_RISK_ID"); + + b.HasIndex("MANAGEMENT_MEASURES_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATE_RISK_MANAGEMENT_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_WORKDUTY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATION_RISK_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_HM_EVALUATE_RISK_WORKDUTY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHARGE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CYCLE") + .HasColumnType("int"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FREQUENCY") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("RISK_TYPE") + .HasColumnType("int"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("CHARGE_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.ToTable("T_HM_EVALUATION_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_DETAIL_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATION_DETAIL_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_DETAIL_IDENTIFYING", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFYING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DETAIL_ID"); + + b.HasIndex("IDENTIFYING_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATION_DETAIL_IDENTIFYING"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATION_PLAN_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATION_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_PLAN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVECODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("AUDIT_OPINION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_STATUS") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPUTY_GROUP_LEADER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPUTY_GROUP_LEADER_OPINION") + .HasColumnType("int"); + + b.Property("DOCUMENT_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EVALUATION_DATE") + .HasColumnType("datetime2"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GROUP_LEADER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GROUP_LEADER_OPINION") + .HasColumnType("int"); + + b.Property("INITIATING_DEPARTMENT") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RELEASE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPUTY_GROUP_LEADER_ID"); + + b.HasIndex("GROUP_LEADER_ID"); + + b.HasIndex("INITIATING_DEPARTMENT"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RELEASE_USER_ID"); + + b.ToTable("T_HM_EVALUATION_PLAN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_SCHEDULE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("Cycle") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ROLE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_EVALUATION_SCHEDULE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_FACILITIES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TYPE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_FACILITIES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_FILE_PUBLISH", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CRUCIAL_TASK_ANALYSIS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EDITION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_AUTO") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_PUBLISH") + .HasColumnType("int"); + + b.Property("LICENSE_ANALYSIS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORDINARY_TASK_ANALYSIS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PUBLISH_DATE") + .HasColumnType("datetime2"); + + b.Property("SecretLevel") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CREATER_ID"); + + b.HasIndex("CRUCIAL_TASK_ANALYSIS_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("LICENSE_ANALYSIS_ID"); + + b.HasIndex("ORDINARY_TASK_ANALYSIS_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_FILE_PUBLISH"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_FILE_PUBLISH_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_PUBLISH_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("FILE_PUBLISH_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_FILE_PUBLISH_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVECODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("AREAS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFYINGS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("INITIATING_DEPARTMENT") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("LIABLE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTE_TAKER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("Nav_TaskID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("INITIATING_DEPARTMENT"); + + b.HasIndex("LIABLE_USER_ID"); + + b.HasIndex("NOTE_TAKER_ID"); + + b.HasIndex("Nav_TaskID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.ToTable("T_HM_HAZARD_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EXPOSURE_LIMIT_VALUE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("EXPOSURE_NUMBER") + .HasColumnType("int"); + + b.Property("EXPOSURE_TIME") + .HasColumnType("decimal(18,2)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HAZARD_POSITION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("HAZARD_STATUS") + .HasColumnType("int"); + + b.Property("IDENTIFYING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MODIFY_TYPE") + .HasColumnType("int"); + + b.Property("OCCUPATIONALRISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("EVALUATE_HAZARD_ID"); + + b.HasIndex("IDENTIFYING_ID"); + + b.HasIndex("OCCUPATIONALRISK_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_HM_HAZARD_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_HM_HAZARD_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_RECORD_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_HAZARD_RECORD_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVECODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INITIATING_DEPARTMENT") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("LIABLE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("INITIATING_DEPARTMENT"); + + b.HasIndex("LIABLE_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.ToTable("T_HM_HAZARD_TASK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_ID"); + + b.ToTable("T_HM_HAZARD_TASK_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_USER_ID"); + + b.HasIndex("TASK_ID"); + + b.ToTable("T_HM_HAZARD_TASK_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_DETAIL_IDENTIFYING", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFYING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IDENTIFYING_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_DETAIL_ID"); + + b.ToTable("T_HM_HAZARD_TASK_DETAIL_IDENTIFYING"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("TASK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_DETAIL_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_HAZARD_TASK_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_ID"); + + b.ToTable("T_HM_HAZARD_TASK_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_IDENTIFYING", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFYING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IDENTIFYING_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_ID"); + + b.ToTable("T_HM_HAZARD_TASK_IDENTIFYING"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LIMIT_UNIT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_TYPE") + .HasColumnType("int"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_IDENTIFYING"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_INDIVIDUAL_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_TYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_INDIVIDUAL_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("COMPLETE_DATE") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_PUBLISH") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CREATER_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_JOBTASK_IDENTIFY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CYCLE_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOBTASK_IDENTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("JOBTASK_IDENTIFY_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_JOBTASK_IDENTIFY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY_DETAIL_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOBTASK_IDENTIFY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("JOBTASK_IDENTIFY_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_HM_JOBTASK_IDENTIFY_DETAIL_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY_DETAIL_RISK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOBTASK_IDENTIFY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATE_RISK_ID"); + + b.HasIndex("JOBTASK_IDENTIFY_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_JOBTASK_IDENTIFY_DETAIL_RISK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOBTASK_IDENTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("JOBTASK_IDENTIFY_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_JOBTASK_IDENTIFY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_FIRST") + .HasColumnType("bit"); + + b.Property("JOBTASK_IDENTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("JOBTASK_IDENTIFY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_JOBTASK_IDENTIFY_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("COMPLETE_DATE") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_AUTO") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_PUBLISH") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_ANALYZE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CREATER_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("OPERATION_ANALYZE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_LICENSE_ANALYSIS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_LEVEL") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CYCLE_TYPE") + .HasColumnType("int"); + + b.Property("DealMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LICENSE_ANALYSIS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SafeConfirmsStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SafeMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("WORK_PERMIT_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("LICENSE_ANALYSIS_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("WORK_PERMIT_TYPE_ID"); + + b.ToTable("T_HM_LICENSE_ANALYSIS_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS_DETAIL_RISK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LICENSE_ANALYSIS_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATE_RISK_ID"); + + b.HasIndex("LICENSE_ANALYSIS_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_LICENSE_ANALYSIS_DETAIL_RISK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LICENSE_ANALYSIS_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("LICENSE_ANALYSIS_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_LICENSE_ANALYSIS_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_MANAGEMENT_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_TYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_MANAGEMENT_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_MONITOR_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_MONITOR_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_NOTICE_RELEASE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DOCUMENT_CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("DOCUMENT_LEVEL") + .HasColumnType("int"); + + b.Property("DOCUMENT_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("DOCUMENT_VERSION") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTICE_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NOTICE_RELEASE_TYPE") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RELEASE_STATUS") + .HasColumnType("int"); + + b.Property("RELEASE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RELEAS_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ANALYZE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.HasIndex("RELEASE_USER_ID"); + + b.HasIndex("RELEAS_DEPARTMENT_ID"); + + b.HasIndex("TASK_ANALYZE_ID"); + + b.ToTable("T_HM_NOTICE_RELEASE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_NOTICE_RELEASE_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTICE_RELEASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("NOTICE_RELEASE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_NOTICE_RELEASE_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_NOTICE_RELEASE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTICE_RELEASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("NOTICE_RELEASE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_NOTICE_RELEASE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OCCUPATIONAL_RISK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OCCUPATIONAL_RISK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_INSTRUCTION_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_LINK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("OPERATION_LINK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_INSTRUCTION_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_LEVEL") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CYCLE_TYPE") + .HasColumnType("int"); + + b.Property("DealMeasuresStr") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_LEVEL") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_IMPORTANT") + .HasColumnType("int"); + + b.Property("IS_RUN") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MODIFY_TYPE") + .HasColumnType("int"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("POST") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("SafeConfirmsStr") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("SafeMeasuresStr") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("TASK_LEVEL") + .HasColumnType("int"); + + b.Property("UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("WORK_PERMIT_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("UNIT_ID"); + + b.HasIndex("WORK_PERMIT_TYPE_ID"); + + b.ToTable("T_HM_OPERATION_LINK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_LINK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("OPERATION_LINK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_LINK_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK_EVALUATE_RISK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_LINK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("T_HM_OPERATION_TASK_DISTINGUISH_DETAILID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATE_RISK_ID"); + + b.HasIndex("OPERATION_LINK_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("T_HM_OPERATION_TASK_DISTINGUISH_DETAILID"); + + b.ToTable("T_HM_OPERATION_LINK_EVALUATE_RISK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_LINK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_LINK_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_HM_OPERATION_LINK_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SPECIAL") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("STEP_TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_STEP"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP_DEAL_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_STEP_DEAL_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP_SAFE_CONFIRM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_STEP_SAFE_CONFIRM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP_SAFE_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_STEP_SAFE_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_ANALYZE_DEAL_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Nav_TaskAnalyzeDetailID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ANALYZE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("Nav_TaskAnalyzeDetailID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_ANALYZE_DEAL_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_ANALYZE_SAFE_CONFIRM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Nav_TaskAnalyzeDetailID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ANALYZE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("Nav_TaskAnalyzeDetailID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_ANALYZE_SAFE_CONFIRM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_ANALYZE_SAFE_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("Nav_TaskAnalyzeDetailID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ANALYZE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("Nav_TaskAnalyzeDetailID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_ANALYZE_SAFE_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DEAL_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("OPERATION_LINK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_LINK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DEAL_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("COMPLETION_TIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DISTINGUISH"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("COMPLETION_TIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_AUTO") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_PUBLISH") + .HasColumnType("int"); + + b.Property("JOBTASK_IDENTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CREATER_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("JOBTASK_IDENTIFY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ANALYZE_E_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ANALYZE_H_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ANALYZE_L_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ANALYZE_P_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ANALYZE_R_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CYCLE_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_MAINTASK") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("OPERATION_TASK_DISTINGUISH_ANALYZE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("int"); + + b.Property("WORK_PERMIT_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ANALYZE_E_ID"); + + b.HasIndex("ANALYZE_H_ID"); + + b.HasIndex("ANALYZE_L_ID"); + + b.HasIndex("ANALYZE_P_ID"); + + b.HasIndex("ANALYZE_R_ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("OPERATION_TASK_DISTINGUISH_ANALYZE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("WORK_PERMIT_TYPE_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_E", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_E"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_TASK_DISTINGUISH_ANALYZE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("OPERATION_TASK_DISTINGUISH_ANALYZE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_H", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_H"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_L", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_L"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_P", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_P"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_R", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_R"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_RISK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_TASK_DISTINGUISH_ANALYZE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATE_RISK_ID"); + + b.HasIndex("OPERATION_TASK_DISTINGUISH_ANALYZE_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_RISK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_FIRST") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_TASK_DISTINGUISH_ANALYZE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_TASK_DISTINGUISH_ANALYZE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_LINK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("OPERATION_TASK_DISTINGUISH_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("WORKDUTY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("WORK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_LINK_ID"); + + b.HasIndex("OPERATION_TASK_DISTINGUISH_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("WORKDUTY_ID"); + + b.HasIndex("WORK_TYPE_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DISTINGUISH_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_TASK_DISTINGUISH_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("OPERATION_TASK_DISTINGUISH_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DISTINGUISH_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISAGREE") + .HasColumnType("int"); + + b.Property("ISCHARGE") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_TASK_DISTINGUISH_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_TASK_DISTINGUISH_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_OPERATION_TASK_DISTINGUISH_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_SAFE_CONFIRM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("OPERATION_LINK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_LINK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_SAFE_CONFIRM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_SAFE_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("OPERATION_LINK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_LINK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_OPERATION_TASK_SAFE_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_ANALYSIS_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORDINARY_TASK_ANALYSIS_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORDINARY_TASK_ANALYSIS_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_ORDINARY_ANALYSIS_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_ANALYSIS_PERSON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_FIRST") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORDINARY_TASK_ANALYSIS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORDINARY_TASK_ANALYSIS_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_ORDINARY_ANALYSIS_PERSON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_TASK_ANALYSIS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("COMPLETE_DATE") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_AUTO") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_PUBLISH") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_ANALYZE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CREATER_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("OPERATION_ANALYZE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_ORDINARY_TASK_ANALYSIS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_TASK_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CYCLE_TYPE") + .HasColumnType("int"); + + b.Property("DealMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORDINARY_TASK_ANALYSIS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SafeConfirmsStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SafeMeasuresStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORDINARY_TASK_ANALYSIS_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_ORDINARY_TASK_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_TASK_DETAIL_RISK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORDINARY_TASK_ANALYSIS_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATE_RISK_ID"); + + b.HasIndex("ORDINARY_TASK_ANALYSIS_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_ORDINARY_TASK_DETAIL_RISK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OTHER_APPROVE_LOG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MAIN_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_OTHER_APPROVE_LOG"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_REQUEST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_REQUEST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISKSOURCE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_RISKSOURCE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_HM_RISK_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVECODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INITIATING_DEPARTMENT") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("LIABLE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTE_TAKER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REQUEST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("INITIATING_DEPARTMENT"); + + b.HasIndex("LIABLE_USER_ID"); + + b.HasIndex("NOTE_TAKER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.HasIndex("REQUEST_ID"); + + b.HasIndex("TASK_ID"); + + b.ToTable("T_HM_RISK_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_LIABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_RISK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFYING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LIABLE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MODIFY_TYPE") + .HasColumnType("int"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_LIABLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("RISK_PLACE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("RISK_STATUS") + .HasColumnType("int"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("DEPARTMENT_LIABLE_ID"); + + b.HasIndex("EVALUATE_RISK_ID"); + + b.HasIndex("IDENTIFYING_ID"); + + b.HasIndex("LIABLE_USER_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_LIABLE_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_HM_RISK_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_DETAIL_EQUIPMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EQUIPMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EQUIPMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_RECORD_DETAIL_ID"); + + b.ToTable("T_HM_RISK_RECORD_DETAIL_EQUIPMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_DETAIL_FACILITIES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FACILITIES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FACILITIES_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_RECORD_DETAIL_ID"); + + b.ToTable("T_HM_RISK_RECORD_DETAIL_FACILITIES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_DETAIL_WORKDUTY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("WORKDUTY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_RECORD_DETAIL_ID"); + + b.HasIndex("WORKDUTY_ID"); + + b.ToTable("T_HM_RISK_RECORD_DETAIL_WORKDUTY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_HM_RISK_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_IDENTIFYING", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFYING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IDENTIFYING_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_HM_RISK_RECORD_IDENTIFYING"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_RISK_RECORD_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVECODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CHANGE_IDENTIFY_EVALUATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INITIATING_DEPARTMENT") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("LIABLE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REQUEST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("INITIATING_DEPARTMENT"); + + b.HasIndex("LIABLE_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.HasIndex("REQUEST_ID"); + + b.ToTable("T_HM_RISK_TASK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_ID"); + + b.ToTable("T_HM_RISK_TASK_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_USER_ID"); + + b.HasIndex("TASK_ID"); + + b.ToTable("T_HM_RISK_TASK_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_ID"); + + b.ToTable("T_HM_RISK_TASK_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK_IDENTIFYING", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFYING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IDENTIFYING_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_ID"); + + b.ToTable("T_HM_RISK_TASK_IDENTIFYING"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("TASK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_DETAIL_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_RISK_TASK_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_RISK_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("COMPLETION_TIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("OPERATION_TASK_DISTINGUISH_ANALYZE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TASK_ANALYZE_TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("OPERATION_TASK_DISTINGUISH_ANALYZE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_TASK_ANALYZE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_LEVEL") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_LINK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("OPERATION_TASK_AUDIT") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ANALYZE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_LINK_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_ANALYZE_ID"); + + b.ToTable("T_HM_TASK_ANALYZE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FILE_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("Nav_FileID") + .HasColumnType("uniqueidentifier"); + + b.Property("Nav_TaskAnalyzeDetailID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ANALYZE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("Nav_FileID"); + + b.HasIndex("Nav_TaskAnalyzeDetailID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_TASK_ANALYZE_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ANALYZE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_ANALYZE_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_HM_TASK_ANALYZE_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_WORK_PERMIT_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_WORK_PERMIT_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_WORK_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_HM_WORK_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_WB_SAFE_CHECK_TASK_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NUM") + .HasColumnType("int"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("TASK_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_SAFE_CHECK_TASK_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_DISTINGUISH", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DISTINGUISH_TIME") + .HasColumnType("datetime2"); + + b.Property("DISTINGUISH_TYPE") + .HasColumnType("int"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TRIGGER_TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEARS") + .HasColumnType("int"); + + b.Property("demandTypeStr") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_LR_DEMAND_DISTINGUISH"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_DISTINGUISH_REPORT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FEEDBACK_RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FEEDBACK_TIMES") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INVESTIGATE_TIMES") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REPORT_TIME") + .HasColumnType("datetime2"); + + b.Property("YEARS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_LR_DEMAND_DISTINGUISH_REPORT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_DISTINGUISH_REPORT_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEMAND_DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEMAND_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEMAND_PERSON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEMAND_TIMES") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_OTHER") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REPORT_ID"); + + b.ToTable("T_LR_DEMAND_DISTINGUISH_REPORT_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_LAW", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DISTINGUISH_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.HasKey("ID"); + + b.HasIndex("DISTINGUISH_ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_LR_DEMAND_LAW"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_OTHER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DISTINGUISH_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OTHER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("DISTINGUISH_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("OTHER_ID"); + + b.ToTable("T_LR_DEMAND_OTHER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEMANDTYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DISTINGUISH_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEMANDTYPE_ID"); + + b.HasIndex("DISTINGUISH_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_LR_DEMAND_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OTHER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("OTHER_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_LR_DEMAND_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_INTEGRATE_UPDATE_TIME", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INTEGRATE_UPDATE_TIME") + .HasColumnType("datetime2"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_LR_INTEGRATE_UPDATE_TIME"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXECUTE_TIME") + .HasColumnType("datetime2"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JT_SYNC") + .HasColumnType("bit"); + + b.Property("LAW_STATUS") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PREPARED_DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UPDATE_TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VERSION_NUM") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_LR_LAW"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_INSTITUTION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SC_SYSTEM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UPDATE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UPDATE_STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SC_SYSTEM_ID"); + + b.HasIndex("UPDATE_DETAIL_ID"); + + b.ToTable("T_LR_LAW_INSTITUTION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_INTEGRATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_LR_LAW_INTEGRATE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_INTEGRATE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("LAW_INTEGRATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SYSTEM_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("LAW_INTEGRATE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SYSTEM_ID"); + + b.ToTable("T_LR_LAW_INTEGRATE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_INTEGRATE_UPDATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("YEAR") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_LR_LAW_INTEGRATE_UPDATE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_INTEGRATE_UPDATE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INTEGRATE_UPDATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("UPDATE_STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("INTEGRATE_UPDATE_ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_LR_LAW_INTEGRATE_UPDATE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_SC_SYSTEM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SC_SYSTEM_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SC_SYSTEM_ID"); + + b.ToTable("T_LR_LAW_SC_SYSTEM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JT_SYNC") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_LR_LAW_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_UPDATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_LR_LAW_UPDATE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_VERSION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTER_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXECUTE_TIME") + .HasColumnType("datetime2"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("UPDATE_TIME") + .HasColumnType("datetime2"); + + b.Property("VERSION_NUM") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("VERSION_STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_LR_LAW_VERSION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_VERSION_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("VERSION_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("VERSION_ID"); + + b.ToTable("T_LR_LAW_VERSION_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LEGAL_LIST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DISTINGUISH_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEGAL_END_TIME") + .HasColumnType("datetime2"); + + b.Property("LEGAL_STATUS") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEARS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_LR_LEGAL_LIST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LEGAL_LIST_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEMANDTYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXECUTE_TIME") + .HasColumnType("datetime2"); + + b.Property("FILE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FILE_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEGAL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OTHER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UPDATE_TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VERSION_NUM") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("DEMANDTYPE_ID"); + + b.HasIndex("LEGAL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("OTHER_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_LR_LEGAL_LIST_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LEGAL_LIST_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEGAL_LIST_DETAIL") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("LEGAL_LIST_DETAIL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_LR_LEGAL_LIST_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LEGAL_LIST_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEGAL_LIST_DETAIL") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LEGAL_LIST_DETAIL"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_LR_LEGAL_LIST_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LRCONFIG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEMAND_END_TIME") + .HasColumnType("datetime2"); + + b.Property("DEMAND_START_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_LR_LRCONFIG"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_OTHER_DISTINGUISH", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_LR_OTHER_DISTINGUISH"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_AGENCY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_AGENCY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_AGENCY_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AGENCY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AGENCY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_AGENCY_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_APPROVE_REWARD_PUNISHMENT_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AMOUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REPORT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_APPROVE_REWARD_PUNISHMENT_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_APPROVE_REWARD_PUNISHMENT_REASON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OBJECT") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_APPROVE_REWARD_PUNISHMENT_REASON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_APPROVE_REWARD_PUNISHMENT_REPORT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_APPROVE") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OBJECT") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REASON_DESCRIBE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REASON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REASON_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_APPROVE_REWARD_PUNISHMENT_REPORT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_ITEM_CATEGORY_ENUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EMPLOYEE_ITEM_CATEGORY_ENUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COLLECTION_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPINION_CONTENT") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REFUSE_DESCRIPTION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("RESULT") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("COLLECTION_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EMPLOYEE_OPINION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_COLLECTION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AH_CHARGE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHARGE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AH_CHARGE_USER_ID"); + + b.HasIndex("CHARGE_USER_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID") + .HasDatabaseName("IX_T_OG_EMPLOYEE_OPINION_COLLECTION_USER_ID1"); + + b.ToTable("T_OG_EMPLOYEE_OPINION_COLLECTION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_COLLECTION_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COLLECTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REFUSE_DESCRIPTION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("RESULT") + .HasColumnType("int"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("COLLECTION_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_EMPLOYEE_OPINION_COLLECTION_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_COLLECTION_USER_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COLLECTION_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("COLLECTION_USER_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EMPLOYEE_OPINION_COLLECTION_USER_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_IMPLEMENT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMPLOYEE_OPINION_REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EMPLOYEE_OPINION_REPORT_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EMPLOYEE_OPINION_IMPLEMENT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_REPORT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ASSIGNEE_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ASSIGNEE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ASSIGNEE_STATUS") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DO_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DO_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMPLEMENT_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAUNCH_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SATISFACTION_STATUS") + .HasColumnType("int"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ASSIGNEE_ID"); + + b.HasIndex("DO_DEPARTMENT_ID"); + + b.HasIndex("DO_USER_ID"); + + b.HasIndex("LAUNCH_DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_EMPLOYEE_OPINION_REPORT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_SUGGESTION_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMPLOYEE_OPINION_REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EMPLOYEE_OPINION_REPORT_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EMPLOYEE_OPINION_SUGGESTION_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_REFUSE_ITEM_INVESTIGATION_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMPLOYEE_REFUSE_ITEM_REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EMPLOYEE_REFUSE_ITEM_REPORT_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EMPLOYEE_REFUSE_ITEM_INVESTIGATION_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_REFUSE_ITEM_REPORT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ASSIGNEE_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ASSIGNEE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ASSIGNEE_STATUS") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMPLEMENT_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMPLEMENT_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IMPLEMENT_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAUNCH_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SATISFACTION_STATUS") + .HasColumnType("int"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ASSIGNEE_ID"); + + b.HasIndex("IMPLEMENT_DEPARTMENT_ID"); + + b.HasIndex("IMPLEMENT_USER_ID"); + + b.HasIndex("LAUNCH_DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_EMPLOYEE_REFUSE_ITEM_REPORT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_REFUSE_ITEM_REPORT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMPLOYEE_REFUSE_ITEM_REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EMPLOYEE_REFUSE_ITEM_REPORT_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EMPLOYEE_REFUSE_ITEM_REPORT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_GET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BACK") + .HasColumnType("bit"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVENT_COMPARE") + .HasColumnType("int"); + + b.Property("EVENT_COUNT") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAST_EVENT_COUNT") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_EVENT_GET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_GET_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REPLY_USER_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_EVENT_GET_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_GET_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EVENT_GET_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_GET_DETAIL_ITEM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REPLY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EVENT_GET_DETAIL_ITEM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_REPORT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AGREE") + .HasColumnType("bit"); + + b.Property("AH_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("COMMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DESC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DO_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DO_DESC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DO_TYPE") + .HasColumnType("int"); + + b.Property("DO_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HAPPEN_TIME") + .HasColumnType("datetime2"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLACE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AH_USER_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DO_DEPARTMENT_ID"); + + b.HasIndex("DO_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_EVENT_REPORT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_REPORT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REPORT_ID"); + + b.ToTable("T_OG_EVENT_REPORT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_REPORT_SUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RATIO") + .HasColumnType("decimal(18,2)"); + + b.Property("SUM_YEAR") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EVENT_REPORT_SUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_COMPLAIN_ADVISE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ASSIGNEE_DESCRIPTION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ASSIGNEE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ASSIGNEE_STATUS") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DESCRIPTION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXTERNAL_COMPANY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SATISFACTION_STATUS") + .HasColumnType("int"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("SURVEY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SURVEY_DESCRIPTION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("SURVEY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ASSIGNEE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("EXTERNAL_COMPANY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SURVEY_DEPARTMENT_ID"); + + b.HasIndex("SURVEY_USER_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_EXTERNAL_COMPLAIN_ADVISE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_COMPLAIN_ADVISE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXTERNAL_COMPLAIN_ADVISE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EXTERNAL_COMPLAIN_ADVISE_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EXTERNAL_COMPLAIN_ADVISE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_COMPLAIN_ADVISE_SURVEY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXTERNAL_COMPLAIN_ADVISE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EXTERNAL_COMPLAIN_ADVISE_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EXTERNAL_COMPLAIN_ADVISE_SURVEY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_CONTACT_COMMUNICATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COMMUNICATE_DES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("COMMUNICATE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("COMMUNICATE_PURPOSE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DO_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DO_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXTERNAL_COMMUNICATE_PERSON") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("EXTERNAL_COMPANY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMPLEMENT_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DO_DEPARTMENT_ID"); + + b.HasIndex("DO_USER_ID"); + + b.HasIndex("EXTERNAL_COMPANY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_EXTERNAL_CONTACT_COMMUNICATE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_CONTACT_COMMUNICATE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXTERNAL_CONTACT_COMMUNICATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EXTERNAL_CONTACT_COMMUNICATE_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EXTERNAL_CONTACT_COMMUNICATE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_CONTACT_COMMUNICATE_IMPL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXTERNAL_CONTACT_COMMUNICATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EXTERNAL_CONTACT_COMMUNICATE_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EXTERNAL_CONTACT_COMMUNICATE_IMPL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_CONTACT_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADDRESS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CONTACT_MATTER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSON") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("PHONE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_EXTERNAL_CONTACT_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_INNER_CONTACT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("DESC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DO_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DO_DESC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DO_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_USER_TIME") + .HasColumnType("datetime2"); + + b.Property("FROM_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PURPOSE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TO_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TO_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TO_USER_TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DO_DEPARTMENT_ID"); + + b.HasIndex("DO_USER_ID"); + + b.HasIndex("FORM_DEPARTMENT_ID"); + + b.HasIndex("FROM_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TO_DEPARTMENT_ID"); + + b.HasIndex("TO_USER_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_INNER_CONTACT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_INNER_CONTACT_DO_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTACT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CONTACT_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_INNER_CONTACT_DO_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_INNER_CONTACT_ITEM_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTACT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CONTACT_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_INNER_CONTACT_ITEM_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_OGCONFIG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMPLOYEE_OPINION_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVENT_GET_TIME") + .HasColumnType("datetime2"); + + b.Property("EVENT_GET_TIME_1") + .HasColumnType("datetime2"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REPORT_SUM_TIME") + .HasColumnType("datetime2"); + + b.Property("SAFE_PDT_PERSONAL_SIGNED_TRIGGER_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_OGCONFIG"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_PERSONNEL_TYPE_ENUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_PERSONNEL_TYPE_ENUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPOINT_AGREEUSER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPOINT_EFFECT_TIME") + .HasColumnType("datetime2"); + + b.Property("APPOINT_REASON") + .HasColumnType("int"); + + b.Property("APPOINT_TYPE") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PUBLISH_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VERSION") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPOINT_AGREEUSER_ID"); + + b.HasIndex("APPOINT_TYPE"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_POLICY_DOCUMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPOINT_AGREEUSER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPOINT_EFFECT_TIME") + .HasColumnType("datetime2"); + + b.Property("APPOINT_REASON") + .HasColumnType("int"); + + b.Property("APPOINT_TYPE") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POLICY_DOCUMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PUBLISH_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VERSION") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPOINT_AGREEUSER_ID"); + + b.HasIndex("APPOINT_TYPE"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POLICY_DOCUMENT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_POLICY_DOCUMENT_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT_DETAIL_APPOINT_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POLICY_DOCUMENT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("T_OG_POLICY_DOCUMENTID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POLICY_DOCUMENT_DETAIL_ID"); + + b.HasIndex("T_OG_POLICY_DOCUMENTID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_POLICY_DOCUMENT_DETAIL_APPOINT_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POLICY_DOCUMENT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("T_OG_POLICY_DOCUMENTID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POLICY_DOCUMENT_DETAIL_ID"); + + b.HasIndex("T_OG_POLICY_DOCUMENTID"); + + b.ToTable("T_OG_POLICY_DOCUMENT_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_POLICY_DOCUMENT_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADDRESS") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CONTACT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CONTACT_INFO") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CONTENT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("SAFE_USER_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("SAFE_USER_PHONE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_RELATED"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_AGREEMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AMOUNT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RELATED_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RELATED_ID"); + + b.ToTable("T_OG_RELATED_AGREEMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_AGREEMENT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AGREEMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AGREEMENT_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_RELATED_AGREEMENT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_ESTIMATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RELATED_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RELATED_ID"); + + b.ToTable("T_OG_RELATED_ESTIMATE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_ESTIMATE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("ESTIMATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("ITEM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT_TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ESTIMATE_ID"); + + b.HasIndex("ITEM_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_RELATED_ESTIMATE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_ESTIMATE_ITEM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_RELATED_ESTIMATE_ITEM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_FIRE_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RELATED_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RELATED_ID"); + + b.ToTable("T_OG_RELATED_FIRE_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RELATED_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LEVEL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RELATED_ID"); + + b.ToTable("T_OG_RELATED_QUALIFICATION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BUSINESS_SCOPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("ITEM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUALIFICATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT") + .HasColumnType("int"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.Property("VALID_PERIOD") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ITEM_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("QUALIFICATION_ID"); + + b.ToTable("T_OG_RELATED_QUALIFICATION_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_RELATED_QUALIFICATION_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION_DETAIL_ITEM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_RELATED_QUALIFICATION_DETAIL_ITEM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION_LEVEL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE", "NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.ToTable("T_OG_RELATED_QUALIFICATION_LEVEL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_SAFE_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RELATED_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RELATED_ID"); + + b.ToTable("T_OG_RELATED_SAFE_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CERTIFICATE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CERTIFICATE_NUMBER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE_BIRTH") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GENDER") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RELATED_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VALIDITY_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RELATED_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_OG_RELATED_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER_HEALTH", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_RELATED_USER_HEALTH"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER_INSURANCE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_RELATED_USER_INSURANCE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER_SIGN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_RELATED_USER_SIGN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_RELATED_USER_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_ITEM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ASSESS_PLAN_INPUT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("METHOD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ASSESS_PLAN_INPUT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_SAFE_ASSESS_ITEM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_PLAN_INPUT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ANNUAL") + .HasColumnType("int"); + + b.Property("CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CYCLE") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEP_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_SAFE_ASSESS_PLAN_INPUT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ANNUAL") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CYCLE") + .HasColumnType("int"); + + b.Property("CYCLE_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_SAFE_ASSESS_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REWARD_PUNISHMENT_MEASURES") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SAFE_ASSESS_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("SAFE_ASSESS_RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_SAFE_ASSESS_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_RECORD_ITEM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ASSESS_ITEM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CORRECT_MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT_INSTRUCTIONS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ASSESS_ITEM_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_DETAIL_ID"); + + b.ToTable("T_OG_SAFE_ASSESS_RECORD_ITEM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_PDT_ASSESS_PLAN_CHECK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ANNUAL") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_SAFE_PDT_ASSESS_PLAN_CHECK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_PDT_SIGNED", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ANNUAL") + .HasColumnType("int"); + + b.Property("CHARGE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_CONTENT") + .HasMaxLength(5000) + .HasColumnType("nvarchar(max)"); + + b.Property("FILE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("Nav_CreateUserID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STANDARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TRIGGER_TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHARGE_USER_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("Nav_CreateUserID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("STANDARD_ID"); + + b.ToTable("T_OG_SAFE_PDT_SIGNED"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_PDT_SIGNED_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHARGE_DEAL_STATUS") + .HasColumnType("int"); + + b.Property("CHARGE_SIGNED_TIME") + .HasColumnType("datetime2"); + + b.Property("CHARGE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_PDT_SIGNED_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SIGNED_TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHARGE_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("SAFE_PDT_SIGNED_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_SAFE_PDT_SIGNED_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_ACTION_PLAN_ENUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_STANDARDIZATION_ACTION_PLAN_ENUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_ACTION_PLAN_REL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMPLEMENTATION") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REVIEW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.HasIndex("REVIEW_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_STANDARDIZATION_ACTION_PLAN_REL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_PERSON_REL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REVIEW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REVIEW_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_STANDARDIZATION_PERSON_REL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_REVIEW_ITEMS_REL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("ITEM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROBLEM") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REVIEW_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ITEM_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REVIEW_ID"); + + b.ToTable("T_OG_STANDARDIZATION_REVIEW_ITEMS_REL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_REVIEW_ITEM_ENUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_STANDARDIZATION_REVIEW_ITEM_ENUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_REVIEW_RESULT_REL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REVIEW_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RESULT_ID"); + + b.HasIndex("REVIEW_ID"); + + b.ToTable("T_OG_STANDARDIZATION_REVIEW_RESULT_REL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_SYSTEM_REVIEW", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HOST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REVIEW_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HOST_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OG_STANDARDIZATION_SYSTEM_REVIEW"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_EXAM_NOTICE_OCC_HAZARD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REGISTER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HAZARD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REGISTER_ID"); + + b.ToTable("T_OH_EXAM_NOTICE_OCC_HAZARD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_EXAM_RESULT_OCC_HAZARD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("T_OH_HEALTH_EXAM_RESULTID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HAZARD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RESULT_ID"); + + b.HasIndex("T_OH_HEALTH_EXAM_RESULTID"); + + b.ToTable("T_OH_EXAM_RESULT_OCC_HAZARD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEVICE_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("DEVICE_SPEC") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_METHOD") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("MONITOR_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_TYPE") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAMPLE_PEOPLE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID_GET") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OH_HAZARD_MONITOR_JOB"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("JOB_STATUS") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_RESULT") + .HasColumnType("decimal(18,2)"); + + b.Property("MONITOR_RESULT_05") + .HasColumnType("decimal(18,2)"); + + b.Property("MONITOR_RESULT_10") + .HasColumnType("decimal(18,2)"); + + b.Property("MONITOR_RESULT_AROUND") + .HasColumnType("decimal(18,2)"); + + b.Property("MONITOR_RESULT_HIGH") + .HasColumnType("decimal(18,2)"); + + b.Property("MONITOR_RESULT_LOW") + .HasColumnType("decimal(18,2)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVER_LIMIT") + .HasColumnType("int"); + + b.Property("PROTECT_STATUS") + .HasColumnType("int"); + + b.Property("RULE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAMPLE_SOURCE") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("SAMPLE_TIME") + .HasColumnType("datetime2"); + + b.Property("TESTER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TEST_DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TEST_TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID_GET") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("JOB_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RULE_ID"); + + b.ToTable("T_OH_HAZARD_MONITOR_JOB_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_OH_HAZARD_MONITOR_JOB_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB_REPORT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BEGINTIME_MONITOR") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENTNAME_JOB") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENDTIME_MONITOR") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OH_HAZARD_MONITOR_JOB_REPORT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB_REPORT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REPORT_ID"); + + b.ToTable("T_OH_HAZARD_MONITOR_JOB_REPORT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_RESULT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_COUNT") + .HasColumnType("int"); + + b.Property("OK_COUNT") + .HasColumnType("int"); + + b.Property("OK_PERCENT") + .HasColumnType("decimal(18,2)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RULE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("SUM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TREND") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("User_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RULE_ID"); + + b.HasIndex("SUM_ID"); + + b.ToTable("T_OH_HAZARD_MONITOR_RESULT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_RESULT_SUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RATIO") + .HasColumnType("decimal(18,2)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OH_HAZARD_MONITOR_RESULT_SUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_RULE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DAY") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_ID_WARN") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_ID_WORKSHOP") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAST_NOTIFY") + .HasColumnType("datetime2"); + + b.Property("LOCATION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_INTERVAL") + .HasColumnType("int"); + + b.Property("MONTH") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("THRESHOLD_DUST") + .HasColumnType("decimal(18,2)"); + + b.Property("THRESHOLD_NOISE") + .HasColumnType("decimal(18,2)"); + + b.Property("THRESHOLD_RADIATION_05") + .HasColumnType("decimal(18,2)"); + + b.Property("THRESHOLD_RADIATION_10") + .HasColumnType("decimal(18,2)"); + + b.Property("THRESHOLD_RADIATION_AROUND") + .HasColumnType("decimal(18,2)"); + + b.Property("THRESHOLD_WARTER_HIGH") + .HasColumnType("decimal(18,2)"); + + b.Property("THRESHOLD_WARTER_LOW") + .HasColumnType("decimal(18,2)"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("WARN_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("WEEKDATA") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEPARTMENT_ID_WARN"); + + b.HasIndex("DEPARTMENT_ID_WORKSHOP"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_POST_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("WARN_POST_ID"); + + b.ToTable("T_OH_HAZARD_MONITOR_RULE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_TYPE") + .HasMaxLength(200) + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SMALL_TYPE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OH_HAZARD_MONITOR_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EAXM_CYCLE_OCC_HAZARD_MID", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HAZARD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_OH_HEALTH_EAXM_CYCLE_OCC_HAZARD_MID"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EAXM_CYCLE_POST_MID", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SC_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("SC_POST_ID"); + + b.ToTable("T_OH_HEALTH_EAXM_CYCLE_POST_MID"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EAXM_PLAN_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCONTENTMASTER") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OH_HEALTH_EAXM_PLAN_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_BATCH", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BATCH") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LOCATION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_BATCH"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_BATCH_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BATCH_ID") + .HasMaxLength(200) + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BATCH_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_BATCH_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_CYCLE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HEALTH_EXAM_CONTENT") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("HEALTH_EXAM_CYCLE") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_CYCLE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_CYCLE_DEPARTMENTINFO", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXAM_CYCLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("EXAM_CYCLE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_CYCLE_DEPARTMENTINFO"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_CYCLE_DEPARTMENTINFO_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENTINFO_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENTINFO_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_CYCLE_DEPARTMENTINFO_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_NOTICE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXAM_BATCH_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISSYSTEM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NOTICEIMPORTSTATE") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OTHER_STUFF") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("PARENTID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("EXAM_BATCH_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_NOTICE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_NOTICE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("NOTICE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_NOTICE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_NOTICE_REGISTER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CYCLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_ID_WORKSHOP") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXAM_BATCH_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LASTDATE") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NEXTDATE") + .HasColumnType("datetime2"); + + b.Property("NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID_DEP") + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_REGISTER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("THISDATE") + .HasColumnType("datetime2"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CYCLE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEPARTMENT_ID_WORKSHOP"); + + b.HasIndex("EXAM_BATCH_ID"); + + b.HasIndex("NOTICE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_NOTICE_REGISTER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_OCC_DISEASE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_OCC_DISEASE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_OCC_DISEASE_SEVERITY_LEVEL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_OCC_DISEASE_SEVERITY_LEVEL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_PLAN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DUE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATAUSORDER") + .HasColumnType("int"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_PLAN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_PLAN_REGISTER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_ID_WORKSHOP") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXAM_CYCLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HEALTH_EXAM_CONTENT") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID_DEP") + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("WORKYEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEPARTMENT_ID_WORKSHOP"); + + b.HasIndex("EXAM_CYCLE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.HasIndex("PLAN_ID_DEP"); + + b.HasIndex("POST_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_PLAN_REGISTER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_PLAN_REGISTER_HAZARD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HAZARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REGISTER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HAZARD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REGISTER_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_PLAN_REGISTER_HAZARD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_RESULT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTICE_REGISTER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT_ENUM") + .HasColumnType("int"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("SUGGESTION") + .HasMaxLength(800) + .HasColumnType("nvarchar(800)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NOTICE_REGISTER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_RESULT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_RESULT_IMPORT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NOTICE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_RESULT_IMPORT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_RESULT_OCC_DISEASE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(600) + .HasColumnType("nvarchar(600)"); + + b.Property("DIAGNOSE_AGENCY") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("DIAGNOSE_METHOD") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEDICAL_AID") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OCC_DISEASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("OCC_DISEASE_SEVERITY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("OCC_HISTORY") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OCC_DISEASE_ID"); + + b.HasIndex("OCC_DISEASE_SEVERITY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RESULT_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_RESULT_OCC_DISEASE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_RESULT_OCC_DISEASE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DISEASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DISEASE_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OH_HEALTH_EXAM_RESULT_OCC_DISEASE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_RUNCONFIG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONFIGTYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISONLY") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LASTRUNDATE") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_OH_RUNCONFIG"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PC.T_PC_COLORSET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("COUNTMAX_HIGH") + .HasColumnType("int"); + + b.Property("COUNTMAX_LOW") + .HasColumnType("int"); + + b.Property("COUNTMIN_HIGH") + .HasColumnType("int"); + + b.Property("COUNTMIN_LOW") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_AREAEVEL") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_JOBLEVEL") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PC_COLORSET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PC.T_PC_INFO", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIBE") + .HasMaxLength(350) + .HasColumnType("nvarchar(350)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_PATH") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HEIGHT") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("OPACITY_TL") + .HasColumnType("decimal(18,2)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RGBCOLOR_TL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("WIDTH") + .HasColumnType("int"); + + b.Property("ZDEX") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PC_INFO"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PC.T_PC_INFO_COLOR", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIBE") + .HasMaxLength(350) + .HasColumnType("nvarchar(350)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INFO_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISDIY") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("OPACITY") + .HasColumnType("decimal(18,2)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RGBCOLOR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ZNDEX") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("INFO_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PC_INFO_COLOR"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PC.T_PC_INFO_COLOR_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("COLOR_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INFO_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("COLOR_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PC_INFO_COLOR_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PC.T_PC_INFO_COLOR_POINT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INFO_COLOR_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INFO_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("X") + .HasColumnType("decimal(18,2)"); + + b.Property("Y") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("INFO_COLOR_ID"); + + b.HasIndex("INFO_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PC_INFO_COLOR_POINT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PC.T_PC_INFO_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INFO_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("INFO_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PC_INFO_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISHEAD") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("ROLE_ID"); + + b.ToTable("T_PF_APPROVAL_ROLE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PF.T_PF_QUESTION_FEEDBACK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("T_PF_QUESTION_FEEDBACK") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("T_PF_QUESTION_FEEDBACK"); + + b.ToTable("T_PF_QUESTION_FEEDBACK_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_AREA_TREE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_BI_AREA_TREE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_DEPARTMENT_MONTH_RUN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FINISH_RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONTH") + .HasColumnType("datetime2"); + + b.Property("MONTHStr") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NORMAL_FINISH_RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_DEPARTMENT_MONTH_RUN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_FORM_CHECK_ITEM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS_FIELD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS_VALUE") + .HasColumnType("int"); + + b.Property("TABLE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TITLE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_FORM_CHECK_ITEM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_FORM_RUN_ANALYSIS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FINISH_QTY") + .HasColumnType("int"); + + b.Property("FINISH_RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MOUDLE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NORMAL_FINISH_RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVER_FINISH_QTY") + .HasColumnType("int"); + + b.Property("OVER_UNFINISH_QTY") + .HasColumnType("int"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TOTAL_QTY") + .HasColumnType("int"); + + b.Property("UNFINISH_QTY") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_FORM_RUN_ANALYSIS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_JOB_PROFILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DepId") + .HasColumnType("uniqueidentifier"); + + b.Property("DepName") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JobId") + .HasColumnType("uniqueidentifier"); + + b.Property("JobName") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RiskCount") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_JOB_PROFILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_MOULD_RUN_SUMMARY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FINISH_QTY") + .HasColumnType("int"); + + b.Property("FINISH_RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MOUDLE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NORMAL_FINISH_RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVER_FINISH_QTY") + .HasColumnType("int"); + + b.Property("TOTAL_QTY") + .HasColumnType("int"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.Property("UNFINISH_QTY") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_MOULD_RUN_SUMMARY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_NOTIFICATION_TASK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CLASS_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_DATE") + .HasColumnType("datetime2"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CREATE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPT_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MOUDLE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NOTICE_STATUS") + .HasColumnType("int"); + + b.Property("NOTICE_TITLE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SHOP_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SOURCE_DATA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SOURCE_FORMCODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_NOTIFICATION_TASK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_NOTIFICATION_TASK_NEW", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CLASS_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_DATE") + .HasColumnType("datetime2"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPT_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_TYPE") + .HasColumnType("int"); + + b.Property("ISCANCEL") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MOUDLE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NOTICE_STATUS") + .HasColumnType("int"); + + b.Property("NOTICE_TITLE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NOTICE_TYPE") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SENDTIME") + .HasColumnType("datetime2"); + + b.Property("SHOP_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SOURCE_DATA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SOURCE_FORMCODE") + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); + + b.Property("TABLE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TASK_DT") + .HasColumnType("datetime2"); + + b.Property("TASK_ENDDT") + .HasColumnType("datetime2"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_STARTDT") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_NAME") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SOURCE_DATA_ID"); + + b.ToTable("T_BI_NOTIFICATION_TASK_NEW"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_SYSTEM_RUN_SUMMARY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FINISH_QTY") + .HasColumnType("int"); + + b.Property("FINISH_RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NORMAL_FINISH_RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OVER_FINISH_QTY") + .HasColumnType("int"); + + b.Property("PARENT_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TOTAL_QTY") + .HasColumnType("int"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.Property("UNFINISH_QTY") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_BI_SYSTEM_RUN_SUMMARY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DETECTION_INSPECTION_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_BASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MACHINE_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MECHANISM") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("POSITION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("QUALIFICATION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RESULT") + .HasColumnType("int"); + + b.Property("SPEC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEVICE_BASE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DETECTION_INSPECTION_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DETECTION_INSPECTION_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEVICE_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEVICE_RECORD_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DETECTION_INSPECTION_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_APPLY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_PURCHASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_DM_DEVICE_APPLY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_APPLY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DAY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_APPLY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_BASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POSITION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("QTY") + .HasColumnType("int"); + + b.Property("RETURN_TIME") + .HasColumnType("datetime2"); + + b.Property("SPEC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEVICE_APPLY_ID"); + + b.HasIndex("DEVICE_BASE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.HasIndex("USER_POST_ID"); + + b.ToTable("T_DM_DEVICE_APPLY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_BASE_RECEIPT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEVICE_BASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEVICE_BASE_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE_BASE_RECEIPT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_ISSUE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_PURCHASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.HasIndex("USER_POST_ID"); + + b.ToTable("T_DM_DEVICE_ISSUE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_ISSUE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_BASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_ISSUE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POSITION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("QTY") + .HasColumnType("int"); + + b.Property("RETURN_STATUS") + .HasColumnType("int"); + + b.Property("RETURN_TIME") + .HasColumnType("datetime2"); + + b.Property("SPEC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USE_USER_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEVICE_BASE_ID"); + + b.HasIndex("DEVICE_ISSUE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.HasIndex("USE_USER_POST_ID"); + + b.ToTable("T_DM_DEVICE_ISSUE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_MAINTENANCE_CHECK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEVICE_MAINTENANCE_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEVICE_MAINTENANCE_CHECK_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_DM_DEVICE_MAINTENANCE_CHECK_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.OG.T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ANNUAL") + .HasColumnType("int"); + + b.Property("CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CYCLE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.OG.T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_DETAIL_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("METHOD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_DETAIL_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PE_CORRECTIVE_PREVENTIVE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONFORM_PROPERTY") + .HasColumnType("int"); + + b.Property("CONTENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CORRECTIVE_PREVENTIVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECTIFICATION_TIME") + .HasColumnType("datetime2"); + + b.Property("STANDARDIZED_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CORRECTIVE_PREVENTIVE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("STANDARDIZED_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PE_CORRECTIVE_PREVENTIVE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COMMENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CORRECTIVE_PREVENTIVE_PROCESS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CORRECTIVE_PREVENTIVE_PROCESS_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PE_CORRECTIVE_PREVENTIVE_EVALUATION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_CONSIDER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONSIDER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CORRECTIVE_PREVENTIVE_EVALUATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CONSIDER_ID"); + + b.HasIndex("CORRECTIVE_PREVENTIVE_EVALUATION_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_CONSIDER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COMMENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CONTENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CORRECTIVE_PREVENTIVE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CORRECTIVE_PREVENTIVE_EVALUATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_RESULT") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOT_CARRY_OUT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SITUATION") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CORRECTIVE_PREVENTIVE_EVALUATION_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_CONSIDER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONSIDER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CONSIDER_ID"); + + b.HasIndex("CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_CONSIDER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_PROCESS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CORRECTIVE_PREVENTIVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CORRECTIVE_PREVENTIVE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PE_CORRECTIVE_PREVENTIVE_PROCESS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_PROCESS_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CORRECTIVE_PREVENTIVE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CORRECTIVE_PREVENTIVE_PROCESS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CORRECT_TIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOT_CARRY_OUT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RECTIFICATION_TIME") + .HasColumnType("datetime2"); + + b.Property("SITUATION") + .HasColumnType("int"); + + b.Property("STANDARDIZED_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CORRECTIVE_PREVENTIVE_PROCESS_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("STANDARDIZED_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PE_CORRECTIVE_PREVENTIVE_PROCESS_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_PROCESS_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CORRECTIVE_PREVENTIVE_PROCESS_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CORRECTIVE_PREVENTIVE_PROCESS_DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PE_CORRECTIVE_PREVENTIVE_PROCESS_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_EVALUATION_METHOD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PE_EVALUATION_METHOD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_MEASURE_CONSIDER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PE_MEASURE_CONSIDER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_MONITOR_PROJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PE_MONITOR_PROJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_RUN") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.ToTable("T_PE_SAFETY_EVALUATION_PLAN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_TECHNOLOGY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFETY_EVALUATION_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STANDARDIZED_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFETY_EVALUATION_PLAN_ID"); + + b.HasIndex("STANDARDIZED_ID"); + + b.ToTable("T_PE_SAFETY_EVALUATION_PLAN_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN_METHOD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_PLAN_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("METHOD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATION_PLAN_DETAIL_ID"); + + b.HasIndex("METHOD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PE_SAFETY_EVALUATION_PLAN_METHOD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_PLAN_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATION_PLAN_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PE_SAFETY_EVALUATION_PLAN_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_PLAN_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EVALUATION_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATION_PLAN_DETAIL_ID"); + + b.HasIndex("EVALUATION_PLAN_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PE_SAFETY_EVALUATION_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_ITEM") + .HasColumnType("int"); + + b.Property("EVALUATION_RESULT") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GROUP_NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_AUTO") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NON_CONFORMANCE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NON_STANDARDIZED_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRIMARY_ELEMENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("SAFETY_EVALUATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SECOND_ELEMENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STANDARDIZED_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("THREE_ELEMENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRIMARY_ELEMENTS_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("SAFETY_EVALUATION_RECORD_ID"); + + b.HasIndex("SECOND_ELEMENTS_ID"); + + b.HasIndex("THREE_ELEMENTS_ID"); + + b.ToTable("T_PE_SAFETY_EVALUATION_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_RECORD_METHOD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("METHOD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFETY_EVALUATION_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("METHOD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFETY_EVALUATION_RECORD_DETAIL_ID"); + + b.ToTable("T_PE_SAFETY_EVALUATION_RECORD_METHOD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_RECORD_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GROUP_NO") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("SAFETY_EVALUATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFETY_EVALUATION_RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PE_SAFETY_EVALUATION_RECORD_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_PLAN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_RUN") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_PROGRAM") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MONITOR_RANGE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RESOURCES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PE_SAFETY_MONITOR_PLAN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_PLAN_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ASSESSMENT_CYCLE") + .HasColumnType("int"); + + b.Property("CONTENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("METHOD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFETY_MONITOR_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.HasIndex("SAFETY_MONITOR_PLAN_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PE_SAFETY_MONITOR_PLAN_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ASSESSMENT_CYCLE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFETY_MONITOR_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFETY_MONITOR_PLAN_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PE_SAFETY_MONITOR_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("METHOD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_LIVE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT_DISCUSS") + .HasColumnType("int"); + + b.Property("SAFETY_MONITOR_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.HasIndex("SAFETY_MONITOR_RECORD_ID"); + + b.ToTable("T_PE_SAFETY_MONITOR_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_RECORD_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFETY_MONITOR_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFETY_MONITOR_RECORD_DETAIL_ID"); + + b.ToTable("T_PE_SAFETY_MONITOR_RECORD_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_RECORD_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFETY_MONITOR_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFETY_MONITOR_RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PE_SAFETY_MONITOR_RECORD_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_STANDARDIZED_SCORE_AUTO_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_ITEM") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_AUTO") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("Primary") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RESULT_SCORE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STANDARDIZED_SCORE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("Second") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("Three") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PE_STANDARDIZED_SCORE_AUTO_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_STANDARDIZED_SCORE_IMPORT_ITEM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_ITEM") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GROUP_NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_AUTO") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NON_STANDARDIZED_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STANDARDIZED_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("STANDARDIZED_SCORE_IMPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("STANDARDIZED_SCORE_IMPORT_ID"); + + b.ToTable("T_PE_STANDARDIZED_SCORE_IMPORT_ITEM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PM.T_PE_ASSESSMENT_ITEM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PE_ASSESSMENT_ITEM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_PE_STANDARDIZED_SCORE_IMPORT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_ITEM") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GROUP_NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_AUTO") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NON_STANDARDIZED_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRIMARY_ELEMENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SECOND_ELEMENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STANDARDIZED_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("THREE_ELEMENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRIMARY_ELEMENTS_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("SECOND_ELEMENTS_ID"); + + b.HasIndex("THREE_ELEMENTS_ID"); + + b.ToTable("T_PE_STANDARDIZED_SCORE_IMPORT_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_AUDIT_REQUIREMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_AUDIT_REQUIREMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_ACCEPTANCE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHANGE_IDENTIFY_EVALUATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHANGE_IDENTIFY_EVALUATION_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_CHANGE_ACCEPTANCE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_IDENTIFY_EVALUATION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_CHANGE_IDENTIFY_EVALUATION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_IDENTIFY_EVALUATION_TASK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCEPTANCE_OPINION") + .HasColumnType("int"); + + b.Property("CHANGE_IDENTIFY_EVALUATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTHROUGH_REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHANGE_IDENTIFY_EVALUATION_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_CHANGE_IDENTIFY_EVALUATION_TASK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_IDENTIFY_EVALUATION_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHANGE_IDENTIFY_EVALUATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHANGE_IDENTIFY_EVALUATION_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_PR_CHANGE_IDENTIFY_EVALUATION_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_TASK_IMPLEMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHANGE_IDENTIFY_EVALUATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTHROUGH_REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERFORM_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("PERFORM_STATUS") + .HasColumnType("int"); + + b.Property("REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHANGE_IDENTIFY_EVALUATION_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_CHANGE_TASK_IMPLEMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_TASK_IMPLEMENT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHANGE_TASK_IMPLEMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHANGE_TASK_IMPLEMENT_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_CHANGE_TASK_IMPLEMENT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_TASK_IMPLEMENT_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHANGE_TASK_IMPLEMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHANGE_TASK_IMPLEMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_CHANGE_TASK_IMPLEMENT_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_CHANGE_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_CONTROLROOM_OPERATION_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD_AIR", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRESS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TIME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_CONTROLROOM_OPERATION_RECORD_AIR"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD_DEAL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COUNT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HOUR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_CONTROLROOM_OPERATION_RECORD_DEAL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD_DRUG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACERAGE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QTY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_CONTROLROOM_OPERATION_RECORD_DRUG"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD_SERI", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BUBBLE_ROUGH") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("BUBBLE_SCAVENG1") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("BUBBLE_SCAVENG2") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INHI_START") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("INHI_TRAFFIC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAPO_SCAVENG") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SAPO_START") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SAPO_TRAFFIC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SODA_START") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SODA_TRAFFIC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TIME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_CONTROLROOM_OPERATION_RECORD_SERI"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DEPARTMENT_STEP_LINK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_DEPARTMENT_STEP_LINK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DESIGN_DOCUMENT_PICTURE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESIGN_DOCUMENT_REVIEW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DESIGN_DOCUMENT_REVIEW_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_DESIGN_DOCUMENT_PICTURE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DESIGN_DOCUMENT_REVIEW", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DESIGN_LEVEL") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POTENTIAL_RISK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_DESIGN_DOCUMENT_REVIEW"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DESIGN_DOCUMENT_REVIEW_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESIGN_DOCUMENT_REVIEW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DESIGN_DOCUMENT_REVIEW_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_DESIGN_DOCUMENT_REVIEW_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DESIGN_DOCUMENT_REVIEW_REQUIREMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESIGN_DOCUMENT_REVIEW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIREMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DESIGN_DOCUMENT_REVIEW_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REQUIREMENT_ID"); + + b.ToTable("T_PR_DESIGN_DOCUMENT_REVIEW_REQUIREMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OUTBOUND_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("OUTBOUND_RECORD_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_PR_DRUG_CARRY_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CARRY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CARRY_TIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DRUG_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLACE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("QTY") + .HasColumnType("int"); + + b.Property("SPECIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("CARRY_RECORD_ID"); + + b.HasIndex("DRUG_SET_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLACE_ID"); + + b.HasIndex("SPECIFY_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_PR_DRUG_CARRY_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD_DETAIL_ACCEPT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CARRY_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CARRY_RECORD_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_DRUG_CARRY_RECORD_DETAIL_ACCEPT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CARRY_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CARRY_RECORD_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_DRUG_CARRY_RECORD_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_SAFE_CONFIRM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CARRY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CONFIRM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CARRY_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_PR_DRUG_CARRY_SAFE_CONFIRM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_OUTBOUND_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_DRUG_OUTBOUND_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_OUTBOUND_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CARRY_TIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DRUG_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OUTBOUND_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PLACE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("QTY") + .HasColumnType("int"); + + b.Property("SPECIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("DRUG_SET_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("OUTBOUND_RECORD_ID"); + + b.HasIndex("PLACE_ID"); + + b.HasIndex("SPECIFY_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_PR_DRUG_OUTBOUND_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_OUTBOUND_RECORD_DETAIL_ACCEPT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OUTBOUND_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("OUTBOUND_RECORD_DETAIL_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_DRUG_OUTBOUND_RECORD_DETAIL_ACCEPT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_OUTBOUND_RECORD_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OUTBOUND_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("OUTBOUND_RECORD_DETAIL_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_DRUG_OUTBOUND_RECORD_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_PLACE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_DRUG_PLACE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_PR_DRUG_SET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET_SAFE_CONFIRM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DRUG_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DRUG_SET_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_DRUG_SET_SAFE_CONFIRM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET_SPECIFY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DRUG_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("DRUG_SET_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_DRUG_SET_SPECIFY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_DRUG_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_TYPE_SAFE_CONFIRM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_PR_DRUG_TYPE_SAFE_CONFIRM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CARRY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DRUG_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QTY") + .HasColumnType("int"); + + b.Property("SPECIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CARRY_RECORD_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DRUG_SET_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SPECIFY_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_DRUG_USE_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD_CONFIRM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CONFIRM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("USE_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USE_RECORD_ID"); + + b.ToTable("T_PR_DRUG_USE_RECORD_CONFIRM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DRUG_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QTY") + .HasColumnType("int"); + + b.Property("SPECIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USE_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DRUG_SET_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SPECIFY_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("USE_RECORD_ID"); + + b.ToTable("T_PR_DRUG_USE_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD_DETAIL_CONFIRM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CONFIRM") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USE_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USE_RECORD_DETAIL_ID"); + + b.ToTable("T_PR_DRUG_USE_RECORD_DETAIL_CONFIRM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD_PRINT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DRUG_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QTY") + .HasColumnType("int"); + + b.Property("SPECIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USE_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USE_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DRUG_SET_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SPECIFY_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("USER_ID"); + + b.HasIndex("USE_RECORD_ID"); + + b.ToTable("T_PR_DRUG_USE_RECORD_PRINT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USE_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.HasIndex("USE_RECORD_ID"); + + b.ToTable("T_PR_DRUG_USE_RECORD_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_DUTY_OPERATION_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD_DEAL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COUNT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HOUR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_DUTY_OPERATION_RECORD_DEAL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD_DRUG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACERAGE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QTY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_DUTY_OPERATION_RECORD_DRUG"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD_INVE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCEPT_QTY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HEIGHT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("INPUT_QTY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SEND_QTY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USE_QTY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_DUTY_OPERATION_RECORD_INVE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD_MACH", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HEAT_QTY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRESS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("QTY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_DUTY_OPERATION_RECORD_MACH"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD_TUNG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COARSE_FINE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENRICHMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECOVERY_RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TAILING") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("UNDRESS_ORE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_DUTY_OPERATION_RECORD_TUNG"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_EXPERIMENTAL_OPERATION_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PURPOSE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REQUIREMENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SAMPLE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_EXPERIMENTAL_OPERATION_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_EXPERIMENTAL_OPERATION_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GRADE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("METAL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("WEIGHT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_EXPERIMENTAL_OPERATION_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_EXTERNAL_ACCEPTANCE_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLICATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_RELIABLE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECTIFICATION_RECORD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("APPLICATION_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_EXTERNAL_ACCEPTANCE_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_EXTERNAL_ACCEPTANCE_RECORD_ACCEPTANCE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXTERNAL_ACCEPTANCE_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EXTERNAL_ACCEPTANCE_RECORD_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_EXTERNAL_ACCEPTANCE_RECORD_ACCEPTANCE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_EXTERNAL_ACCEPTANCE_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXTERNAL_ACCEPTANCE_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EXTERNAL_ACCEPTANCE_RECORD_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_EXTERNAL_ACCEPTANCE_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_EXTERNAL_ASSISTANCE_APPLICATION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXTERNAL_COMPANY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PHONE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("EXTERNAL_COMPANY_ID"); + + b.HasIndex("MONITOR_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_EXTERNAL_ASSISTANCE_APPLICATION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_LABORATORY_OPERATION_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD_DET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COARSE_FINE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENRICHMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECOVERY_RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TAILING") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("UNDRESS_ORE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_LABORATORY_OPERATION_RECORD_DET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD_ORE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FINENESS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PH") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STRINGNESS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_LABORATORY_OPERATION_RECORD_ORE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD_PRE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COARSE_FINE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENRICHMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECOVERY_RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TAILING") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("UNDRESS_ORE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_LABORATORY_OPERATION_RECORD_PRE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD_SAM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BATCH_NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("H2O") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("WO3") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_LABORATORY_OPERATION_RECORD_SAM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LANDSLIDE_ROLLSTONE_MONITOR", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DEAL") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_HELP") + .HasColumnType("int"); + + b.Property("IS_RELIABLE") + .HasColumnType("int"); + + b.Property("MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_STATUS") + .HasColumnType("int"); + + b.Property("OPINION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_LANDSLIDE_ROLLSTONE_MONITOR"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LANDSLIDE_ROLLSTONE_MONITOR_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LANDSLIDE_ROLLSTONE_MONITOR_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("LANDSLIDE_ROLLSTONE_MONITOR_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_LANDSLIDE_ROLLSTONE_MONITOR_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_MAP_PROCESS_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_RUN") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_MAP_PROCESS_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_MAP_PROCESS_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MAP_PROCESS_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("MAP_PROCESS_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_MAP_PROCESS_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_PERFORM_TASK_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_PERFORM_TASK_SET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_PR_POST_FORM_LINK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK_CODE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PF_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("POST_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PF_FORM_ID"); + + b.HasIndex("POST_POST_ID"); + + b.ToTable("T_PR_POST_FORM_LINK_CODE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_POST_ID"); + + b.ToTable("T_PR_POST_FORM_LINK_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK_XK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_PR_POST_FORM_LINK_XK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK_XK_PARAM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAM") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("POST_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_POST_ID"); + + b.ToTable("T_PR_POST_FORM_LINK_XK_PARAM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_PROCESS_FORM_XK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CLASS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_PR_PROCESS_FORM_XK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_PROCESS_FORM_XK_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAM") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("POST_PROCESS_FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_TIME") + .HasColumnType("datetime2"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("VALUE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_PROCESS_FORM_ID"); + + b.ToTable("T_PR_PROCESS_FORM_XK_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_PRODUCTION_OPERATION_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_STEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_STEP_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_PRODUCTION_OPERATION_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_PRODUCTION_OPERATION_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_OPERATION_RECORD_ID"); + + b.ToTable("T_PR_PRODUCTION_OPERATION_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_PRODUCTION_OPERATION_RECORD_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_OPERATION_RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_PRODUCTION_OPERATION_RECORD_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SANDPUMP_OPERATION_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_SANDPUMP_OPERATION_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SANDPUMP_OPERATION_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_SANDPUMP_OPERATION_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SURVEY_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_SURVEY_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SURVEY_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACTUAL_VALUE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAMETER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SURVEY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("VALUE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SURVEY_RECORD_ID"); + + b.ToTable("T_PR_SURVEY_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SURVEY_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SURVEY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SURVEY_RECORD_ID"); + + b.ToTable("T_PR_SURVEY_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SURVEY_RECORD_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARAMETER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("VALUE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_SURVEY_RECORD_SET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SURVEY_RECORD_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("SURVEY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SURVEY_RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PR_SURVEY_RECORD_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_THOUSANDPUMP_OPERATION_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_THOUSANDPUMP_OPERATION_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_THOUSANDPUMP_OPERATION_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_THOUSANDPUMP_OPERATION_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_TUNGPRE_OPERATION_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD_DRUG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACERAGE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QTY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_TUNGPRE_OPERATION_RECORD_DRUG"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD_MEAS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TEMP") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TIME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_TUNGPRE_OPERATION_RECORD_MEAS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD_SERI", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AIRPRESS_ROUGH") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("AIRPRESS_SCAVENG1") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("AIRPRESS_SCAVENG2") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("BUBBLE_ROUGH") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("BUBBLE_SCAVENG1") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("BUBBLE_SCAVENG2") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DETAIL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INHI_START") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("INHI_TRAFFIC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PUMP_ROUGH") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("PUMP_SCAVENG1") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("PUMP_SCAVENG2") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SAPO_SCAVENG") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SAPO_START") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SAPO_TRAFFIC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SODA_START") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SODA_TRAFFIC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STRONG") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TIME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_TUNGPRE_OPERATION_RECORD_SERI"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD_TARG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COARSE_FINE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENRICHMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NO") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPERATION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECOVERY_RATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TAILING") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("UNDRESS_ORE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("OPERATION_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PR_TUNGPRE_OPERATION_RECORD_TARG"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ANNUAL_MONOTOR_SUMMARY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SET_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_ANNUAL_MONOTOR_SUMMARY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ANNUAL_MONOTOR_SUMMARY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FIRST_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FOURTH_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_SUMMARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SECOND_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("THIRD_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR_SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("MONITOR_SUMMARY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PT_ANNUAL_MONOTOR_SUMMARY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ANNUAL_MONOTOR_SUMMARY_DETAIL_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("METHOD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONOTOR_SUMMARY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUARTER_TYPE") + .HasColumnType("int"); + + b.Property("RESULT_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("MONOTOR_SUMMARY_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_ANNUAL_MONOTOR_SUMMARY_DETAIL_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDICATOR_FORMULATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_RUN") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SET_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("INDICATOR_FORMULATION_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PT_ASSESSMENT_PLAN_AUDIT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ASSESSMENT_CYCLE") + .HasColumnType("int"); + + b.Property("ASSESSMENT_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHARGE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ASSESSMENT_PLAN_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PT_ASSESSMENT_PLAN_AUDIT_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT_DETAIL_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("METHOD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_AUDIT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_AUDIT_DETAIL_ID"); + + b.ToTable("T_PT_ASSESSMENT_PLAN_AUDIT_DETAIL_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ASSESSMENT_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ASSESSMENT_PLAN_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_ASSESSMENT_PLAN_AUDIT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT_TEMP_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ASSESSMENT_CYCLE") + .HasColumnType("int"); + + b.Property("CHARGE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PT_ASSESSMENT_PLAN_AUDIT_TEMP_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT_TEMP_DETAIL_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("METHOD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_AUDIT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_AUDIT_DETAIL_ID"); + + b.ToTable("T_PT_ASSESSMENT_PLAN_AUDIT_TEMP_DETAIL_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_COLLECT_REQUIREMENTS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_COLLECT_REQUIREMENTS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_FILE_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_FILE_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_FORMULATE_REQUIREMENTS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_FORMULATE_REQUIREMENTS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_GOALS_AND_TARGET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDICATOR_FORMULATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("INDICATOR_FORMULATION_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_GOALS_AND_TARGET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_DEMAND") + .HasColumnType("bit"); + + b.Property("IS_PLAN") + .HasColumnType("bit"); + + b.Property("IS_TARGET") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROFILE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SET_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VERSION") + .HasColumnType("decimal(18,2)"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PT_INDICATOR_FORMULATION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDICATOR_FORMULATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SET_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("INDICATOR_FORMULATION_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PT_INDICATOR_FORMULATION_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDICATOR_FORMULATION_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("INDICATOR_FORMULATION_DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_INDICATOR_FORMULATION_DEPARTMENT_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT_DETAIL_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDICATOR_FORMULATION_DEPARTMENT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("INDICATOR_FORMULATION_DEPARTMENT_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_INDICATOR_FORMULATION_DEPARTMENT_DETAIL_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDICATOR_FORMULATION_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("INDICATOR_FORMULATION_DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_INDICATOR_FORMULATION_DEPARTMENT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT_TEAM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDICATOR_FORMULATION_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("INDICATOR_FORMULATION_DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PT_INDICATOR_FORMULATION_DEPARTMENT_TEAM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT_TEAM_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDICATOR_FORMULATION_DEPARTMENT_TEAM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("INDICATOR_FORMULATION_DEPARTMENT_TEAM_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_INDICATOR_FORMULATION_DEPARTMENT_TEAM_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDICATOR_FORMULATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("INDICATOR_FORMULATION_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_INDICATOR_FORMULATION_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_PLAN_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDICATOR_FORMULATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("INDICATOR_FORMULATION_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_INDICATOR_FORMULATION_PLAN_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_PLAN_RESOURCES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDICATOR_FORMULATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESOURCES_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("INDICATOR_FORMULATION_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RESOURCES_ID"); + + b.ToTable("T_PT_INDICATOR_FORMULATION_PLAN_RESOURCES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_REQUIREMENTS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORMULATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INDICATOR_FORMULATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("FORMULATE_ID"); + + b.HasIndex("INDICATOR_FORMULATION_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_INDICATOR_FORMULATION_REQUIREMENTS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INTENTIONAL_GUIDELINES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_INTENTIONAL_GUIDELINES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_MONITOR_ASSESSMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ASSESSMENT_CYCLE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SET_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PT_MONITOR_ASSESSMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_MONITOR_ASSESSMENT_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_ASSESSMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("MONITOR_ASSESSMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PT_MONITOR_ASSESSMENT_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_MONITOR_ASSESSMENT_DETAIL_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("METHOD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_ASSESSMENT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("MONITOR_ASSESSMENT_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_MONITOR_ASSESSMENT_DETAIL_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_MONITOR_ASSESSMENT_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONITOR_ASSESSMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("MONITOR_ASSESSMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PT_MONITOR_ASSESSMENT_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_PLAN_RESOURCES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_PT_PLAN_RESOURCES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_SAFETY_POLICY_SURVEY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COMPLETE_DATE") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GUIDELINES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DEAL") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_RUN") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("GUIDELINES_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PT_SAFETY_POLICY_SURVEY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_SAFETY_POLICY_SURVEY_COLLECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COLLECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFETY_POLICY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("COLLECT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFETY_POLICY_ID"); + + b.ToTable("T_PT_SAFETY_POLICY_SURVEY_COLLECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_SAFETY_POLICY_SURVEY_FEEDBACK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GUIDELINES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_AGREE") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OTHER_SUGGESTIONS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("SAFETY_POLICY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("GUIDELINES_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFETY_POLICY_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PT_SAFETY_POLICY_SURVEY_FEEDBACK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_SAFETY_POLICY_SURVEY_RANGE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFETY_POLICY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFETY_POLICY_ID"); + + b.ToTable("T_PT_SAFETY_POLICY_SURVEY_RANGE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_TIME_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("DEVICE_BASE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEVICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONTH") + .HasColumnType("int"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("POLICY_DATETIME") + .HasColumnType("datetime2"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RUNSETTIME") + .HasColumnType("datetime2"); + + b.Property("SET_TYPE") + .HasColumnType("int"); + + b.Property("TARGET_DATETIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("WEEKDATA") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEVICE_BASE_ID"); + + b.HasIndex("DEVICE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_PT_TIME_SET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_SC_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_DEPARTMENT_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPOST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPOST_ID"); + + b.HasIndex("DEPT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_DEPARTMENT_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_DOCUMENT_LIBRARY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FILE_TYPE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MODULE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("VALID_TIME") + .HasColumnType("datetime2"); + + b.Property("VALUE_FIELD") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_DOCUMENT_LIBRARY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_DOCUMENT_LIBRARY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COMPILE_TIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DOCUMENT_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PUBLISH_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VERSION") + .HasColumnType("decimal(18,2)"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("DOCUMENT_LIBRARY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SC_DOCUMENT_LIBRARY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_DOCUMENT_LIBRARY_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DOCUMENT_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DOCUMENT_LIBRARY_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_DOCUMENT_LIBRARY_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_STANDARD_CREATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("COMPILE_TIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_CONTENT") + .HasMaxLength(5000) + .HasColumnType("nvarchar(max)"); + + b.Property("FILE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FILE_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORMULATE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMPORT_TYPE") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("LAW_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NOTE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PROFILE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("PUBLISH_TIME") + .HasColumnType("datetime2"); + + b.Property("REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.Property("UNIT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("UPDATE_TIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VERSION") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SC_STANDARD_CREATE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_STANDARD_CREATE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STANDARD_CREATE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("STANDARD_CREATE_ID"); + + b.ToTable("T_SC_STANDARD_CREATE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_CONFIG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SENDMSG") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_CONFIG"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKTYPE") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CONTENTNAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT_NO") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETINGTYPE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TITLE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("CONTENTNAME_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_CONTENT_DEAL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENTDETAIL") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CONTENT_DEAL_NO") + .HasColumnType("int"); + + b.Property("CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("CONTENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_CONTENT_DEAL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_CONTENT_NAME", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETINGTYPE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_CONTENT_NAME"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADDRESS") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("BEGIN_TIME") + .HasColumnType("datetime2"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CONTENT") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("CREACTTYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CheckLevel_ENUMS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISBEGIN") + .HasColumnType("bit"); + + b.Property("ISCANCEL") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SEND") + .HasColumnType("bit"); + + b.Property("IS_SENDED") + .HasColumnType("bit"); + + b.Property("LEVELVALUE") + .HasColumnType("int"); + + b.Property("MEETINGTYPE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("Nav_MinutesID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("PLANSET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("THEME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USER_ID_HOST") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID_ORIGINATOR") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID_RECORDER") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("CheckLevel_ENUMS_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("Nav_MinutesID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID_HOST"); + + b.HasIndex("USER_ID_ORIGINATOR"); + + b.HasIndex("USER_ID_RECORDER"); + + b.ToTable("T_SC_MT_MEETING"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_BEGIN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("END_IGNORE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISBEGIN") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RUN_COUNT") + .HasColumnType("int"); + + b.Property("SOURCETYPE") + .HasColumnType("int"); + + b.Property("TABLENAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_MEETING_BEGIN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENTNAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CONTENTNAME_ID"); + + b.HasIndex("MEETING_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_MEETING_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_END", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISEND") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RUN_COUNT") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_MEETING_END"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("MEETING_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_MEETING_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_FILE_OFFICIALSEAL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("MEETING_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_MEETING_FILE_OFFICIALSEAL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_FILE_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("MEETING_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_MEETING_FILE_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETINGRECORD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MEETINGTYPE") + .HasColumnType("int"); + + b.Property("MEETING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESOLUTION") + .HasMaxLength(3000) + .HasColumnType("nvarchar(3000)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("MEETING_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_MEETING_MINUTES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETING_MINUTES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CONTENT_ID"); + + b.HasIndex("MEETING_MINUTES_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_MEETING_MINUTES_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES_CONTENT_DEAL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT_DEAL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GETPOINT") + .HasColumnType("int"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CONTENT_DEAL_ID"); + + b.HasIndex("CONTENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_MEETING_MINUTES_CONTENT_DEAL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEALBACK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEALEFFECT") + .HasColumnType("int"); + + b.Property("DEAL_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEAL_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISNEEDDEAL") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LIMITDATETIME") + .HasColumnType("datetime2"); + + b.Property("MEETING_MINUTES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPINION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESOLUTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEAL_DEPARTMENT_ID"); + + b.HasIndex("DEAL_USER_ID"); + + b.HasIndex("MEETING_MINUTES_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_MEETING_MINUTES_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETING_MINUTES_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("MEETING_MINUTES_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_MEETING_MINUTES_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETING_MINUTES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("MEETING_MINUTES_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_MEETING_MINUTES_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_PABSENCE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETING_MINUTES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSONTYPE") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("MEETING_MINUTES_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SC_MT_MEETING_PABSENCE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_PALL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOINRESULT") + .HasColumnType("int"); + + b.Property("MEETING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTJOINREASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSONNATURE") + .HasColumnType("int"); + + b.Property("PERSONTYPE") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("MEETING_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SC_MT_MEETING_PALL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_PASKFORLEAVE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETING_MINUTES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSONTYPE") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("MEETING_MINUTES_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SC_MT_MEETING_PASKFORLEAVE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_PJOIN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISRECORDRED") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETING_MINUTES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSONTYPE") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("MEETING_MINUTES_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SC_MT_MEETING_PJOIN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_PREVIEW", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOINRESULT") + .HasColumnType("int"); + + b.Property("MEETING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTJOINREASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSONTYPE") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("MEETING_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SC_MT_MEETING_PREVIEW"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_THEME", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETINGTYPE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_MEETING_THEME"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_THEMES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("THEME_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("MEETING_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("THEME_ID"); + + b.ToTable("T_SC_MT_MEETING_THEMES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MINUTES_PREVIEW", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISRECORDRED") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETING_MINUTES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSONTYPE") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("MEETING_MINUTES_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SC_MT_MINUTES_PREVIEW"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_PLAN_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENTNAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA") + .HasColumnType("int"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEETINGTYPE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("RUNDATA") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RUNSETTIME") + .HasColumnType("datetime2"); + + b.Property("WEEKDATA") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ROLE_ID"); + + b.HasIndex("CONTENTNAME_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_MT_PLAN_SET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_PLAN_SET_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_SET_ID"); + + b.ToTable("T_SC_MT_PLAN_SET_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AS_SAFE_USER") + .HasColumnType("bit"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPOST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DEPOST_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SC_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_POST_DEPOST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPOST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPOST_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_SC_POST_DEPOST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_POST_SAFE_PDT_TEMPLATE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_SC_POST_SAFE_PDT_TEMPLATE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_CERTIFICATE_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_CERTIFICATE_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENTID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILENAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FILE_DB_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FILE_PATH") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREPASS") + .HasColumnType("decimal(18,2)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENTID"); + + b.HasIndex("FILE_DB_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_COURSEWEARLIBRARY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EDU_CARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREPER") + .HasColumnType("decimal(18,2)"); + + b.Property("TEST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EDU_CARD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TEST_ID"); + + b.ToTable("T_SE_COURSEWEARLIBRARY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COURSEWEARLIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("COURSEWEARLIBRARY_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_COURSEWEARLIBRARY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_DEP_TRAIN_PLAN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAUNCH_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("LAUNCH_TIME") + .HasColumnType("datetime2"); + + b.Property("LAUNCH_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_YEAR") + .HasColumnType("int"); + + b.Property("SAFE_USER_IDS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TRIGGER_TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("LAUNCH_DEPARTMENT_ID"); + + b.HasIndex("LAUNCH_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_DEP_TRAIN_PLAN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_DEP_TRAIN_PLAN_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEP_TRAIN_PLAN_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CONTENT_ID"); + + b.HasIndex("DEP_TRAIN_PLAN_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_DEP_TRAIN_PLAN_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_DEP_TRAIN_PLAN_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADDRESS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEP_TRAIN_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MOON") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("OBJECT") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TEACHER") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TEACHING_MATERIAL") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("TRAIN_MODEL") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("DEP_TRAIN_PLAN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_SE_DEP_TRAIN_PLAN_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USERS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CREATETEST") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAINNING_ADDR") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TRAINNING_TIME") + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("TRAINTYPE") + .HasColumnType("int"); + + b.Property("TRAIN_STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CONTENT_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_NEW_USERS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USERS_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NEW_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("NEW_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_NEW_USERS_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USERS_TEACHER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NEW_USERS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NEW_USERS_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_NEW_USERS_TEACHER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USER_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EDU_CARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXAMINATION_RESULTS") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ID_CARD_NUMBER") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IN_TIME") + .HasColumnType("datetime2"); + + b.Property("ISSIGN") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NEXT_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EDU_CARD_ID"); + + b.HasIndex("NEXT_DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_DEPARTMENT_ID"); + + b.HasIndex("USER_ID"); + + b.HasIndex("USER_POST_ID"); + + b.ToTable("T_SE_NEW_USER_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USER_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_DETAIL_ID"); + + b.ToTable("T_SE_NEW_USER_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USER_DETAIL_PAPER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ANSWER") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("int"); + + b.Property("TEST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEXT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("TEST_ID"); + + b.HasIndex("TEXT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_NEW_USER_DETAIL_PAPER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USER_DETAIL_TEXT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISPASS") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("int"); + + b.Property("TEXT_TIMES") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_NEW_USER_DETAIL_TEXT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_RENEWAL_TRAIN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CERTIFICATE_AUTHORITY") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CERTIFICATE_CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CERTIFICATE_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("CERTIFICATE_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXPIRY_DATE") + .HasColumnType("datetime2"); + + b.Property("EXPIRY_START_DATE") + .HasColumnType("datetime2"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISSUE_DATE") + .HasColumnType("datetime2"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REVIEW_DATE") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CERTIFICATE_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_RENEWAL_TRAIN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_RENEWAL_TRAIN_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RENEWALD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RENEWALD_ID"); + + b.ToTable("T_SE_RENEWAL_TRAIN_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COMPNAY_REPORT") + .HasColumnType("bit"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAUNCH_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("LAUNCH_TIME") + .HasColumnType("datetime2"); + + b.Property("LAUNCH_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_USER_IDS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LAUNCH_DEPARTMENT_ID"); + + b.HasIndex("LAUNCH_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_SAFE_SURVEY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY_LIST_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFE_ID"); + + b.ToTable("T_SE_SAFE_SURVEY_LIST_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY_LIST_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFE_ID"); + + b.ToTable("T_SE_SAFE_SURVEY_LIST_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY_LIST_PAPER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ANSWER") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("int"); + + b.Property("TEST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SAFE_ID"); + + b.HasIndex("TEST_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_SAFE_SURVEY_LIST_PAPER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY_LIST_POINT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POINT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POINT_ID"); + + b.HasIndex("SAFE_ID"); + + b.ToTable("T_SE_SAFE_SURVEY_LIST_POINT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SURVEY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SURVEY_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_SAFE_SURVEY_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SECONFIG", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COUNT_RETRY") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("C_TEST_COUNT") + .HasColumnType("int"); + + b.Property("C_TEST_SCORE") + .HasColumnType("int"); + + b.Property("DEP_TRAIN_PLAN_END_TIME") + .HasColumnType("datetime2"); + + b.Property("DEP_TRAIN_PLAN_START_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("M_TEST_COUNT") + .HasColumnType("int"); + + b.Property("M_TEST_SCORE") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PASS_MARK") + .HasColumnType("int"); + + b.Property("SAFE_SERVEY_TRIGGER_TIME") + .HasColumnType("datetime2"); + + b.Property("S_TEST_COUNT") + .HasColumnType("int"); + + b.Property("S_TEST_SCORE") + .HasColumnType("int"); + + b.Property("TRAIN_SURVEY_TRIGGER_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_SECONFIG"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TEST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ANSWER") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPTION_A") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPTION_B") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPTION_C") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPTION_D") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPTION_E") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TRAINNAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.Property("USAGE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_TEST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TEST_ENUM_POINT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_TEST_ENUM_POINT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TEST_LIST_POINT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POINT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POINT_ID"); + + b.HasIndex("TEST_ID"); + + b.ToTable("T_SE_TEST_LIST_POINT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TEST_LIST_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("TEST_ID"); + + b.ToTable("T_SE_TEST_LIST_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("THREE_LEVEL_SAFE_TRAIN_TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_THREE_LEVEL_SAFE_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_EDU_CARD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ID_CARD_NUMBER") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("IN_TIME") + .HasColumnType("datetime2"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAUNCH_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("LAUNCH_TIME") + .HasColumnType("datetime2"); + + b.Property("LAUNCH_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("LAUNCH_DEPARTMENT_ID"); + + b.HasIndex("LAUNCH_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_THREE_LEVEL_SAFE_EDU_CARD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EDU_CARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXAMINATION_RESULTS") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAINNING_ADDR") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TEACHER") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("THREE_LEVEL_SAFE_TRAIN_TYPE") + .HasColumnType("int"); + + b.Property("TRAINNING_TIME") + .HasMaxLength(10) + .HasColumnType("nvarchar(10)"); + + b.Property("TRAIN_MODEL") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CONTENT_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("EDU_CARD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TRAIN_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TRAIN_RECORD_ID"); + + b.ToTable("T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD_SIGNATURE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TRAIN_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TRAIN_RECORD_ID"); + + b.ToTable("T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD_SIGNATURE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FEEDBACK_NUMS") + .HasColumnType("int"); + + b.Property("FEEDBACK_RATIO") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("SURVEY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SURVEY_NUMS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_TRAINING_EFFECT_EVALUATION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION_END", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BAD_RATION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("BETTER_RATION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GOOD_RATION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NORMAL_RATION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SUBJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TRAINING_EFFECT_EVALUATION_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SUBJECT_ID"); + + b.HasIndex("TRAINING_EFFECT_EVALUATION_ID"); + + b.ToTable("T_SE_TRAINING_EFFECT_EVALUATION_END"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION_OPINION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPINION_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TRAINING_EFFECT_EVALUATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TRAINING_EFFECT_EVALUATION_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_TRAINING_EFFECT_EVALUATION_OPINION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION_SURVEY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NOTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("OPINION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_TRAINING_EFFECT_EVALUATION_SURVEY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION_SURVEY_RESULTS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_RESULT") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SUBJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TRAINING_EFFECT_EVALUATION_SURVEY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SUBJECT_ID"); + + b.HasIndex("TRAINING_EFFECT_EVALUATION_SURVEY_ID"); + + b.ToTable("T_SE_TRAINING_EFFECT_EVALUATION_SURVEY_RESULTS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAINING_SURVEY_SUBJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_TRAINING_SURVEY_SUBJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_CHECK_TYPE_ENUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_TRAIN_CHECK_TYPE_ENUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_DEMAND_ENUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_TRAIN_DEMAND_ENUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKTYPE") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_NOTIFY_RECORD") + .HasColumnType("bit"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXAMETYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HOURS") + .HasColumnType("decimal(18,2)"); + + b.Property("IN_OUT") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAUNCH_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("LAUNCH_TIME") + .HasColumnType("datetime2"); + + b.Property("LAUNCH_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NEED_EVALUATION") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ORIGINAL_NOTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PLANDETAILID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TRAINTYPE") + .HasColumnType("int"); + + b.Property("TRAIN_ADDR") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TRAIN_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TRAIN_END_TIME") + .HasColumnType("datetime2"); + + b.Property("TRAIN_MODEL") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TRAIN_PLAN") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TRAIN_PLAN_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TRAIN_START_TIME") + .HasColumnType("datetime2"); + + b.Property("TRAIN_TEACHER") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TRAIN_TYPE") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID_TEACHER") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LAUNCH_DEPARTMENT_ID"); + + b.HasIndex("LAUNCH_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_USER_ID"); + + b.HasIndex("TRAIN_DEPARTMENT_ID"); + + b.HasIndex("TRAIN_TYPE"); + + b.HasIndex("USER_ID_TEACHER"); + + b.ToTable("T_SE_TRAIN_NOTIFY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY_CONTENT_REL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POINT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NOTIFY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POINT_ID"); + + b.ToTable("T_SE_TRAIN_NOTIFY_CONTENT_REL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COURSEWEARLIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("COURSEWEARLIBRARY_ID"); + + b.HasIndex("NOTIFY_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("NOTIFY_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_TRAIN_NOTIFY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY_PERSONS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAVE") + .HasColumnType("int"); + + b.Property("LEAVE_REASON") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TRANSFER_TRAINING") + .HasColumnType("bit"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NOTIFY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_TRAIN_NOTIFY_PERSONS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_PLAN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("GUIDE_PRINCIPLE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAUNCH_TIME") + .HasColumnType("datetime2"); + + b.Property("LAUNCH_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERSENT") + .HasColumnType("decimal(18,2)"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TRAIN_REQUIREMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("LAUNCH_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_TRAIN_PLAN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_PLAN_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKTYPE") + .HasColumnType("int"); + + b.Property("CLASSHOUR") + .HasColumnType("decimal(18,2)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE_TRAIN") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IN_OUT") + .HasColumnType("int"); + + b.Property("ISALL") + .HasColumnType("bit"); + + b.Property("ISNEEDINI") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("OBJECT") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SPRINTTYPE") + .HasColumnType("int"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TRAINTYPE") + .HasColumnType("int"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_SE_TRAIN_PLAN_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_PLAN_DETAIL_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_DETAIL_ID"); + + b.ToTable("T_SE_TRAIN_PLAN_DETAIL_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_PLAN_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.ToTable("T_SE_TRAIN_PLAN_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TRAIN_COUNT") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NOTIFY_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_TRAIN_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_SE_TRAIN_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_PAPER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ANSWER") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EDU_CARD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_PATH") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_UUSER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("int"); + + b.Property("TEST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEXT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("RECORD_UUSER_ID"); + + b.HasIndex("TEST_ID"); + + b.HasIndex("TEXT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_TRAIN_RECORD_PAPER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_REPORT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CLASS_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXAMINATION_RESULTS") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NOTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("TRAIN_HOUR") + .HasColumnType("decimal(18,2)"); + + b.Property("TRAIN_MODEL") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TRAIN_SCORE") + .HasColumnType("int"); + + b.Property("TRAIN_TEACHER") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TRAIN_TYPE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("UNIT") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_TRAIN_RECORD_REPORT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_TEXT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISPASS") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("int"); + + b.Property("TEXT_TIMES") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_TRAIN_RECORD_TEXT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXAMETIMES") + .HasColumnType("int"); + + b.Property("EXAMINATION_RESULTS") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OK") + .HasColumnType("bit"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("int"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_TRAIN_RECORD_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_USER_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_USER_ID"); + + b.ToTable("T_SE_TRAIN_RECORD_USER_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAUNCH_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("LAUNCH_TIME") + .HasColumnType("datetime2"); + + b.Property("LAUNCH_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_USER_IDS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LAUNCH_DEPARTMENT_ID"); + + b.HasIndex("LAUNCH_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_TRAIN_SURVEY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY_LIST_DEMAND", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OK") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OTHER") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("SURVEY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SURVEY_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_TRAIN_SURVEY_LIST_DEMAND"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY_LIST_DEMAND_ITEM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEMAND_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LIST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEMAND_ID"); + + b.HasIndex("LIST_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_TRAIN_SURVEY_LIST_DEMAND_ITEM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY_LIST_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SURVEY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SURVEY_ID"); + + b.ToTable("T_SE_TRAIN_SURVEY_LIST_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY_LIST_POINT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POINT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SURVEY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POINT_ID"); + + b.HasIndex("SURVEY_ID"); + + b.ToTable("T_SE_TRAIN_SURVEY_LIST_POINT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_TYPE_ENUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_TRAIN_TYPE_ENUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_USER_TEMP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SEND") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SE_USER_TEMP"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMPLEMENT_REQUIREMENT") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAUNCH_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("LAUNCH_TIME") + .HasColumnType("datetime2"); + + b.Property("LAUNCH_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("PLAN_YEAR") + .HasColumnType("int"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TRAIN_GOAL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("LAUNCH_DEPARTMENT_ID"); + + b.HasIndex("LAUNCH_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SE_YEAR_TRAIN_PLAN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR_TRAIN_PLAN_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CONTENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("YEAR_TRAIN_PLAN_DETAIL_ID"); + + b.ToTable("T_SE_YEAR_TRAIN_PLAN_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN_DEPARTMENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR_TRAIN_PLAN_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("YEAR_TRAIN_PLAN_DETAIL_ID"); + + b.ToTable("T_SE_YEAR_TRAIN_PLAN_DEPARTMENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADDRESS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MOON") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("OBJECT") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESPONSIBILITY_DEP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RESPONSIBILITY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SEND") + .HasColumnType("int"); + + b.Property("TEACHER") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TEACHING_MATERIAL") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("TRAIN_MODEL") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR_TRAIN_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RESPONSIBILITY_DEP_ID"); + + b.HasIndex("RESPONSIBILITY_USER_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("YEAR_TRAIN_PLAN_ID"); + + b.ToTable("T_SE_YEAR_TRAIN_PLAN_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR_TRAIN_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("YEAR_TRAIN_PLAN_ID"); + + b.ToTable("T_SE_YEAR_TRAIN_PLAN_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_C") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_E") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_L") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_LEVEL") + .HasColumnType("int"); + + b.Property("EVALUATE_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MINE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("RISK_NAME_ID"); + + b.HasIndex("SCOREC_ID"); + + b.HasIndex("SCOREE_ID"); + + b.HasIndex("SCOREL_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_SK_BASIC_LIBRARY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BASIC_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURES_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("BASIC_LIBRARY_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_BASIC_LIBRARY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_DETAIL_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BASIC_LIBRARY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_BASIC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_STANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("BASIC_LIBRARY_DETAIL_ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_BASIC_LIBRARY_DETAIL_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_DETAIL_CONTENT_BASIC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BASIC_LIBRARY_DETAIL_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BASIC_LIBRARY_DETAIL_CONTENT_ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_BASIC_LIBRARY_DETAIL_CONTENT_BASIC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_DETAIL_CONTENT_HIDDEN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BASIC_LIBRARY_DETAIL_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_LEVEL") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECTIFICATION_MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("BASIC_LIBRARY_DETAIL_CONTENT_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_BASIC_LIBRARY_DETAIL_CONTENT_HIDDEN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_C") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_E") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_L") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_LEVEL") + .HasColumnType("int"); + + b.Property("EVALUATE_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MINE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_SK_BASIC_LIBRARY_TEMP"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BASIC_LIBRARY_TEMP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_BASIC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_STANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURE_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BASIC_LIBRARY_TEMP_ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_BASIC_LIBRARY_TEMP_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP_HIDDEN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BASIC_LIBRARY_TEMP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CONTENT_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_LEVEL") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURE_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECTIFICATION_MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("BASIC_LIBRARY_TEMP_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_BASIC_LIBRARY_TEMP_HIDDEN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BASIC_LIBRARY_TEMP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURES_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BASIC_LIBRARY_TEMP_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_BASIC_LIBRARY_TEMP_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP_MEASURE_LEVEL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BASIC_LIBRARY_TEMP_MEASURE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURE_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BASIC_LIBRARY_TEMP_MEASURE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_BASIC_LIBRARY_TEMP_MEASURE_LEVEL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_STANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JT_SYNC") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.ToTable("T_SK_CHECK_CONTENTS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS_BASIC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JT_SYNC") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_CHECK_CONTENTS_BASIC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_CYCLE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONTH") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("RUNSETTIME") + .HasColumnType("datetime2"); + + b.Property("WEEKDATA") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_CHECK_CYCLE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_QUESTION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEMAND") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DESCREPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JT_SYNC") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUESTION_LEVEL") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_CHECK_QUESTION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CYCLE") + .HasColumnType("int"); + + b.Property("CHECK_TYPE") + .HasColumnType("int"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_AUTO") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("POST_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.ToTable("T_SK_CHECK_SET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_STANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTERPRISE_LIBRARY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTERPRISE_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURES_NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("CHECK_SET_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_CHECK_SET_CONTENTS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_SET_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("CHECK_SET_CONTENTS_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_CHECK_SET_CONTENTS_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS_AREA_RISK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_SET_CONTENTS_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_NAME_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_SET_CONTENTS_AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_NAME_ID"); + + b.ToTable("T_SK_CHECK_SET_CONTENTS_AREA_RISK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS_BASIC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CONTENTS_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENTS_SET_ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_CHECK_SET_CONTENTS_BASIC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS_HIDDEN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CONTENTS_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_LEVEL") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECTIFICATION_MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENTS_SET_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_CHECK_SET_CONTENTS_HIDDEN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_SET_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SK_CHECK_SET_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.ToTable("T_SK_CHECK_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKPROOF") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKSTANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_CONFIRM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_LEVEL") + .HasColumnType("int"); + + b.Property("HIDDEN_PLACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECTIFICATION_MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_EVALUATE_SUMMARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_AREA_ID"); + + b.ToTable("T_SK_DOUBLE_PREVENT_MECHANISM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DOUBLE_PREVENT_MECHANISM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTERPRISE_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_C") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_E") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_L") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_LEVEL") + .HasColumnType("int"); + + b.Property("EVALUATE_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_DEPART") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_POST") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_USER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MARK") + .HasColumnType("int"); + + b.Property("MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("DOUBLE_PREVENT_MECHANISM_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("RISK_NAME_ID"); + + b.HasIndex("SCOREC_ID"); + + b.HasIndex("SCOREE_ID"); + + b.HasIndex("SCOREL_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_DEPART", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DOUBLE_PREVENT_MECHANISM_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DOUBLE_PREVENT_MECHANISM_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_DEPART"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_DEPART_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MECHANISM_DETAIL_DEPART_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("MECHANISM_DETAIL_DEPART_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_DEPART_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DOUBLE_PREVENT_MECHANISM_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURES_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DOUBLE_PREVENT_MECHANISM_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_BASIC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_STANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_BASIC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_BASIC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_DEPART", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_POST_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_DEPART"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_HIDDEN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_LEVEL") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECTIFICATION_MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_HIDDEN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CYCLE") + .HasColumnType("int"); + + b.Property("CHECK_TYPE") + .HasColumnType("int"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("DOUBLE_PREVENT_MECHANISM_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DOUBLE_PREVENT_MECHANISM_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DOUBLE_PREVENT_MECHANISM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DOUBLE_PREVENT_MECHANISM_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_DOUBLE_PREVENT_MECHANISM_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_C") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_E") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_L") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_LEVEL") + .HasColumnType("int"); + + b.Property("EVALUATE_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MINE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("RISK_NAME_ID"); + + b.HasIndex("SCOREC_ID"); + + b.HasIndex("SCOREE_ID"); + + b.HasIndex("SCOREL_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DEPART", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ROLE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTERPRISE_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ROLE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_DEPART"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTERPRISE_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURES_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_BASIC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_STANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTERPRISE_LIBRARY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_BASIC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTERPRISE_LIBRARY_DETAIL_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_DETAIL_CONTENT_ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_BASIC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CYCLE") + .HasColumnType("int"); + + b.Property("CHECK_TYPE") + .HasColumnType("int"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTERPRISE_LIBRARY_DETAIL_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_DETAIL_CONTENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_HIDDEN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTERPRISE_LIBRARY_DETAIL_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_LEVEL") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECTIFICATION_MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_DETAIL_CONTENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_HIDDEN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTERPRISE_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_POST_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTERPRISE_LIBRARY_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_POST_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_POST_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_C") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_E") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_L") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_LEVEL") + .HasColumnType("int"); + + b.Property("EVALUATE_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MINE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_TEMP"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_CONTENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_BASIC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_STANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTERPRISE_LIBRARY_TEMP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURE_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_TEMP_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_TEMP_CONTENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_CONTENT_DEPART", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CYCLE") + .HasColumnType("int"); + + b.Property("CHECK_TYPE") + .HasColumnType("int"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTERPRISE_LIBRARY_TEMP_CONTENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURE_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_TEMP_CONTENT_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_TEMP_CONTENT_DEPART"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_CONTENT_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTERPRISE_LIBRARY_TEMP_CONTENT_DEPART_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_TEMP_CONTENT_DEPART_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_TEMP_CONTENT_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_HIDDEN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CONTENT_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTERPRISE_LIBRARY_TEMP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_LEVEL") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURE_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECTIFICATION_MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_TEMP_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_TEMP_HIDDEN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTERPRISE_LIBRARY_TEMP_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURES_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_TEMP_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_TEMP_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_MEASURE_DEPART", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTERPRISE_LIBRARY_TEMP_MEASURE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURE_CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ENTERPRISE_LIBRARY_TEMP_MEASURE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SK_ENTERPRISE_LIBRARY_TEMP_MEASURE_DEPART"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_EVALUATION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_EVALUATION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKPROOF") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKSTANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_HAND_REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_DESCRIPTION_DETAIL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_LEVEL") + .HasColumnType("int"); + + b.Property("HIDDEN_PLACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_REASON") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_STORE") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NOTICE_CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECITIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("RECITIFY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECTIFICATION_MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("HIDDEN_DANGER_HAND_REPORT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("RECITIFY_USER_ID"); + + b.HasIndex("RISK_AREA_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_CONFIRM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM_BASIC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_CONFIRM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_CONFIRM_ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_CONFIRM_BASIC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_CONFIRM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_CONFIRM_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_CONFIRM_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM_PHOTO", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_CONFIRM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_CONFIRM_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_CONFIRM_PHOTO"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM_REASON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_CONFIRM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REASON_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_CONFIRM_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REASON_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_CONFIRM_REASON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_HAND_REPORT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_PLACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NOTICE_CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("RISK_AREA_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_HAND_REPORT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_HAND_REPORT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_HAND_REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_HAND_REPORT_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_HAND_REPORT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_DELAY_APPLY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DELAY_REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DELAY_RECITIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_RECTIFY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECITIFY_MEASURES_TEMP") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("HIDDEN_DANGER_RECTIFY_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_RECTIFY_DELAY_APPLY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("AcceptUser") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_PERSON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_TIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_CONFIRM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_REPORT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_LEVEL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_PLACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ISAUTO") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("ImplementUser") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NOTICE_CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECITIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("RECTIFICATION_MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RecitifyUser") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_RECTIFY_NOTICE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCEPT_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKPROOF") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKSTANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKTIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PERSON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_RECTIFY_NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_LEVEL") + .HasColumnType("int"); + + b.Property("HIDDEN_PLACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_REASON") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("IMPLEMENT_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECITIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("RECITIFY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECTIFICATION_MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ACCEPT_USER_ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("HIDDEN_DANGER_RECTIFY_NOTICE_ID"); + + b.HasIndex("IMPLEMENT_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECITIFY_USER_ID"); + + b.HasIndex("RISK_AREA_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_BASIC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_BASIC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_REASON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REASON_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REASON_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_REASON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_RECTIFY_NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_RECTIFY_NOTICE_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCEPT_DATE") + .HasColumnType("datetime2"); + + b.Property("ACCEPT_OPINION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ACCEPT_RESULTE") + .HasColumnType("int"); + + b.Property("ACCEPT_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKPROOF") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKSTANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PERSON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("COMPLETE_DATE") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_CONFIRM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_RECTIFY_NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_REPORT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_LEVEL") + .HasColumnType("int"); + + b.Property("HIDDEN_PLACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_REASON") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("IMPLEMENT_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISAUTO") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NOTICE_CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECITIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("RECITIFY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECTIFICATION_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RECTIFICATION_MEASURES") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RECTIFICATION_MONEY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ACCEPT_USER_ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("IMPLEMENT_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("RECITIFY_USER_ID"); + + b.HasIndex("RISK_AREA_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_RECTIFY_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD_BASIC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_RECTIFY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_RECTIFY_RECORD_ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_RECTIFY_RECORD_BASIC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_RECTIFY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_RECTIFY_RECORD_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_RECTIFY_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD_PHOTOA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_RECTIFY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_RECTIFY_RECORD_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_RECTIFY_RECORD_PHOTOA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD_PHOTOB", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_RECTIFY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_RECTIFY_RECORD_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_RECTIFY_RECORD_PHOTOB"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD_REASON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_RECTIFY_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REASON_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_RECTIFY_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REASON_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_RECTIFY_RECORD_REASON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CHECK_PERSON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_TIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISAUTO") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NOTICE_CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_RECORD_SUMMARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_REPORT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKPROOF") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKSTANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKTIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_PERSON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_LEVEL") + .HasColumnType("int"); + + b.Property("HIDDEN_PLACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_REASON") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_STORE") + .HasColumnType("int"); + + b.Property("MARK") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECITIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("RECITIFY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("HIDDEN_DANGER_REPORT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECITIFY_USER_ID"); + + b.HasIndex("RISK_AREA_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_REPORT_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT_DETAIL_BASIC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_REPORT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_REPORT_DETAIL_ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_REPORT_DETAIL_BASIC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_REPORT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_REPORT_DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_REPORT_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT_DETAIL_REASON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_REPORT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REASON_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_REPORT_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REASON_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_REPORT_DETAIL_REASON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_REPORT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIDDEN_DANGER_REPORT_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_DANGER_REPORT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_REASON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_HIDDEN_REASON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CONTENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_END_DATE") + .HasColumnType("datetime2"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISAUTO") + .HasColumnType("bit"); + + b.Property("ISSEND") + .HasColumnType("bit"); + + b.Property("ISSEND_RESULT") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("START_DATE") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_IDENTIFY_EVALUATION_PLAN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_EVALUATION_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("IDENTIFY_EVALUATION_PLAN_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_IDENTIFY_EVALUATION_PLAN_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_EVALUATION_PLAN_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IDENTIFY_EVALUATION_PLAN_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SK_IDENTIFY_EVALUATION_PLAN_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_EVALUATION_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("EVALUATION_ID"); + + b.HasIndex("IDENTIFY_EVALUATION_PLAN_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_EVALUATION_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IDENTIFY_EVALUATION_PLAN_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_IDENTIFY_EVALUATION_PLAN_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN_REQUIRE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_EVALUATION_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIRE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IDENTIFY_EVALUATION_PLAN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REQUIRE_ID"); + + b.ToTable("T_SK_IDENTIFY_EVALUATION_PLAN_REQUIRE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_LIBRARY_IMPORT_MAIN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EMERGENCY") + .HasMaxLength(9999) + .HasColumnType("nvarchar(max)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_C") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EVALUATE_E") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EVALUATE_L") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EVALUATE_LEVEL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EVALUATE_SCORE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TYPE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_LIBRARY_IMPORT_MAIN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_LIBRARY_IMPORT_MAIN_HIDDEN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(9999) + .HasColumnType("nvarchar(max)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(9999) + .HasColumnType("nvarchar(max)"); + + b.Property("HIDDEN_LEVEL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_RECITIFY") + .HasMaxLength(9999) + .HasColumnType("nvarchar(max)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURES_NAME") + .HasMaxLength(9999) + .HasColumnType("nvarchar(max)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TYPE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_LIBRARY_IMPORT_MAIN_HIDDEN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_LIBRARY_IMPORT_MAIN_MEASURES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_BASIC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(9999) + .HasColumnType("nvarchar(max)"); + + b.Property("CHECK_CYCLE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_LEVEL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_OBJECT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_POST") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_STANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY") + .HasMaxLength(9999) + .HasColumnType("nvarchar(max)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURES_NAME") + .HasMaxLength(9999) + .HasColumnType("nvarchar(max)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TYPE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_LIBRARY_IMPORT_MAIN_MEASURES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_LIBRARY_IMPORT_MAIN_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TYPE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_LIBRARY_IMPORT_MAIN_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_LIBRARY_IMPORT_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_NAME1") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("AREA_NAME2") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("AREA_NAME3") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("AREA_NAME4") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("AREA_NAME5") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("AREA_NAME6") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME1") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME2") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME3") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME4") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME5") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME6") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_LIBRARY_IMPORT_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_LIBRARY_IMPORT_TEMP", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_BASIC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CYCLE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_LEVEL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_POST") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_STANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURES_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TYPE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_LIBRARY_IMPORT_TEMP"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_LIBRARY_IMPORT_TEMP_NEW", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_BASIC") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(9999) + .HasColumnType("nvarchar(max)"); + + b.Property("CHECK_CYCLE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_LEVEL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_OBJECT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_POST") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_STANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEPARTMENT_TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DEPARTMENT_USER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_C") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EVALUATE_E") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EVALUATE_L") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EVALUATE_LEVEL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EVALUATE_SCORE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(9999) + .HasColumnType("nvarchar(max)"); + + b.Property("HIDDEN_LEVEL") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_RECITIFY") + .HasMaxLength(9999) + .HasColumnType("nvarchar(max)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURES_NAME") + .HasMaxLength(9999) + .HasColumnType("nvarchar(max)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TYPE_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_LIBRARY_IMPORT_TEMP_NEW"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_PLAN_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKTIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_CYCLE") + .HasColumnType("int"); + + b.Property("CHECK_TYPE") + .HasColumnType("int"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA") + .HasColumnType("int"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONTH") + .HasColumnType("int"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKOBJECT") + .HasColumnType("int"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RUNDATA") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RUNSETTIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID_SEND") + .HasColumnType("uniqueidentifier"); + + b.Property("WEEKDATA") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("USER_ID_SEND"); + + b.ToTable("T_SK_PLAN_SET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_PLAN_SET_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANSET_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLANSET_ID"); + + b.ToTable("T_SK_PLAN_SET_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_PLAN_SET_DEPARTMENT_OUT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANSET_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLANSET_ID"); + + b.ToTable("T_SK_PLAN_SET_DEPARTMENT_OUT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_PLAN_SET_DEP_OBJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANSET_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLANSET_ID"); + + b.ToTable("T_SK_PLAN_SET_DEP_OBJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_REQUEST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_REQUEST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LEAF") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEXT") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.ToTable("T_SK_RISK_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_EVALUATION_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCOMPANY") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIRE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_DATE") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("IDENTIFY_EVALUATION_PLAN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REQUIRE_ID"); + + b.ToTable("T_SK_RISK_EVALUATION"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTERPRISE_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_C") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_E") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_L") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_LEVEL") + .HasColumnType("int"); + + b.Property("EVALUATE_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_DEPART") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_POST") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_USER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MARK") + .HasColumnType("int"); + + b.Property("MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_EVALUATION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("RISK_EVALUATION_ID"); + + b.HasIndex("RISK_NAME_ID"); + + b.HasIndex("SCOREC_ID"); + + b.HasIndex("SCOREE_ID"); + + b.HasIndex("SCOREL_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL_DEPART", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_EVALUATION_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_EVALUATION_DETAIL_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_DETAIL_DEPART"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURES_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_EVALUATION_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_EVALUATION_DETAIL_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_DETAIL_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_EVALUATION_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_EVALUATION_DETAIL_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_DETAIL_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL_POST_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_EVALUATION_DETAIL_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("RISK_EVALUATION_DETAIL_POST_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_DETAIL_POST_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_EVALUATION_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_EVALUATION_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_REQUIRE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIRE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_EVALUATION_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REQUIRE_ID"); + + b.HasIndex("RISK_EVALUATION_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_REQUIRE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_EVALUATION_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCOMPANY") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIRE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_DATE") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("IDENTIFY_EVALUATION_PLAN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REQUIRE_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_SUMMARY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTERPRISE_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EVALUATE_C") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_E") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_L") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATE_LEVEL") + .HasColumnType("int"); + + b.Property("EVALUATE_SCORE") + .HasColumnType("decimal(18,2)"); + + b.Property("EVALUATION_DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EVALUATION_POST") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_DEPART") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_POST") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_USER") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MARK") + .HasColumnType("int"); + + b.Property("MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_EVALUATION_SUMMARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREC_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCOREL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("RISK_EVALUATION_SUMMARY_ID"); + + b.HasIndex("RISK_NAME_ID"); + + b.HasIndex("SCOREC_ID"); + + b.HasIndex("SCOREE_ID"); + + b.HasIndex("SCOREL_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_SUMMARY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL_DEPART", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_EVALUATION_SUMMARY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_EVALUATION_SUMMARY_DETAIL_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_SUMMARY_DETAIL_DEPART"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURES_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_EVALUATION_SUMMARY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_EVALUATION_SUMMARY_DETAIL_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_SUMMARY_DETAIL_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_EVALUATION_SUMMARY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_EVALUATION_SUMMARY_DETAIL_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_SUMMARY_DETAIL_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL_POST_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_EVALUATION_SUMMARY_DETAIL_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("RISK_EVALUATION_SUMMARY_DETAIL_POST_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_SUMMARY_DETAIL_POST_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_EVALUATION_SUMMARY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_EVALUATION_SUMMARY_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_SUMMARY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_REQUIRE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIRE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_EVALUATION_SUMMARY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REQUIRE_ID"); + + b.HasIndex("RISK_EVALUATION_SUMMARY_ID"); + + b.ToTable("T_SK_RISK_EVALUATION_SUMMARY_REQUIRE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CONTENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_EVALUATION_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISAUTO") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIRE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_DATE") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("IDENTIFY_EVALUATION_PLAN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REQUIRE_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTERPRISE_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MARK") + .HasColumnType("int"); + + b.Property("MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_IDENTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("RISK_IDENTIFY_ID"); + + b.HasIndex("RISK_NAME_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_IDENTIFY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_IDENTIFY_DETAIL_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_DETAIL_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL_RESULT_DEPART", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_IDENTIFY_RESULT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_IDENTIFY_RESULT_DETAIL_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_DETAIL_RESULT_DEPART"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL_RESULT_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_IDENTIFY_RESULT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_IDENTIFY_RESULT_DETAIL_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_DETAIL_RESULT_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL_RESULT_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_IDENTIFY_RESULT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_IDENTIFY_RESULT_DETAIL_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_DETAIL_RESULT_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL_RESULT_POST_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_IDENTIFY_DETAIL_RESULT_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("RISK_IDENTIFY_DETAIL_RESULT_POST_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_DETAIL_RESULT_POST_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_IDENTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_IDENTIFY_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_REQUIRE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIRE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_IDENTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REQUIRE_ID"); + + b.HasIndex("RISK_IDENTIFY_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_REQUIRE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CONTENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_EVALUATION_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISAUTO") + .HasColumnType("bit"); + + b.Property("ISCOMPANY") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIRE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_DATE") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("IDENTIFY_EVALUATION_PLAN_ID"); + + b.HasIndex("IDENTIFY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REQUIRE_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_RESULT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTERPRISE_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_POST") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MARK") + .HasColumnType("int"); + + b.Property("MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_IDENTIFY_RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("RISK_IDENTIFY_RESULT_ID"); + + b.HasIndex("RISK_NAME_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_RESULT_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_IDENTIFY_RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_IDENTIFY_RESULT_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_RESULT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_REQUIRE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIRE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_IDENTIFY_RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REQUIRE_ID"); + + b.HasIndex("RISK_IDENTIFY_RESULT_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_RESULT_REQUIRE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CONTENTS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_EVALUATION_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_RESULT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCOMPANY") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIRE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_DATE") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("YEAR") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("IDENTIFY_EVALUATION_PLAN_ID"); + + b.HasIndex("IDENTIFY_ID"); + + b.HasIndex("IDENTIFY_RESULT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REQUIRE_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_RESULT_SUMMARY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_DEPART", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_RESULT_SUMMARY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("IDENTIFY_RESULT_SUMMARY_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_RESULT_SUMMARY_DEPART"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTERPRISE_LIBRARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_DEPARTMENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_POST") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IDENTIFY_RESULT_SUMMARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MARK") + .HasColumnType("int"); + + b.Property("MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RISK_NAME_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("IDENTIFY_RESULT_SUMMARY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("RISK_NAME_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_RESULT_SUMMARY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_RESULT_SUMMARY") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IDENTIFY_RESULT_SUMMARY"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_RESULT_SUMMARY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_MEASURE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("EMERGENCY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_RESULT_SUMMARY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IDENTIFY_RESULT_SUMMARY_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_RESULT_SUMMARY_MEASURE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_POST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_RESULT_SUMMARY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("IDENTIFY_RESULT_SUMMARY_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_RESULT_SUMMARY_POST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_POST_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_RESULT_SUMMARY_POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IDENTIFY_RESULT_SUMMARY_POST_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_RESULT_SUMMARY_POST_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_REQUIRE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IDENTIFY_RESULT_SUMMARY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIRE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IDENTIFY_RESULT_SUMMARY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REQUIRE_ID"); + + b.ToTable("T_SK_RISK_IDENTIFY_RESULT_SUMMARY_REQUIRE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_NAME", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_RISK_NAME"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JT_SYNC") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("NAME") + .IsUnique() + .HasFilter("[NAME] IS NOT NULL"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.ToTable("T_SK_RISK_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SCOREC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JT_SYNC") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_SCOREC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SCOREE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JT_SYNC") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_SCOREE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SCOREL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JT_SYNC") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_SCOREL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CHECK_PERSON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_TIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISAUTO") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NOTICE_CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_NOTICE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKPROOF") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKSTANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_AREA_ID"); + + b.HasIndex("SECURITY_INSPECTION_NOTICE_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_NOTICE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE_DETAIL_BASIC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_NOTICE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SECURITY_INSPECTION_NOTICE_DETAIL_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_NOTICE_DETAIL_BASIC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKTIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("ISMAINCHECK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_NOTICE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SECURITY_INSPECTION_NOTICE_DETAIL_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_NOTICE_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SECURITY_INSPECTION_NOTICE_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_NOTICE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CHECK_PERSON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_TIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISAUTO") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NOTICE_CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.HasIndex("RECORD_USER_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKPROOF") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKSTANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_RESULT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_LEVEL") + .HasColumnType("int"); + + b.Property("HIDDEN_PLACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_REASON") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MARK") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_AREA_ID"); + + b.HasIndex("SECURITY_INSPECTION_RECORD_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL_BASIC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SECURITY_INSPECTION_RECORD_DETAIL_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_RECORD_DETAIL_BASIC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SECURITY_INSPECTION_RECORD_DETAIL_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_RECORD_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL_REASON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REASON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REASON_ID"); + + b.HasIndex("SECURITY_INSPECTION_RECORD_DETAIL_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_RECORD_DETAIL_REASON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKTIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("ISMAINCHECK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_RECORD_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SECURITY_INSPECTION_RECORD_DETAIL_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_RECORD_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SECURITY_INSPECTION_RECORD_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("APPLY_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ApplyDepartmentName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ApplyPostName") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CHECK_PERSON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_TIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_TYPE") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISAUTO") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("NOTICE_CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("PRODUCTION_UNIT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_NOTICE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("APPLY_DEPARTMENT_ID"); + + b.HasIndex("APPLY_USER_ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PRODUCTION_UNIT_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_RECORD_SUMMARY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKCONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKPROOF") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECKSTANDARD") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENTS_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_QUESTION_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_RESULT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DESCRIPTION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_LEVEL") + .HasColumnType("int"); + + b.Property("HIDDEN_PLACE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("HIDDEN_REASON") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MARK") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RISK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_RECORD_SUMMARY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_CONTENTS_ID"); + + b.HasIndex("CHECK_QUESTION_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RISK_AREA_ID"); + + b.HasIndex("SECURITY_INSPECTION_RECORD_SUMMARY_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_BASIC", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LAW_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_BASIC"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_REASON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REASON_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REASON_ID"); + + b.HasIndex("SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_REASON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKTIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("ISMAINCHECK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SECURITY_INSPECTION_RECORD_SUMMARY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SECURITY_INSPECTION_RECORD_SUMMARY_ID"); + + b.ToTable("T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_TIME_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA") + .HasColumnType("int"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONTH") + .HasColumnType("int"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("RUNSETTIME") + .HasColumnType("datetime2"); + + b.Property("SET_TYPE") + .HasColumnType("int"); + + b.Property("WEEKDATA") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_SK_TIME_SET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_VIDEO_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("VIDEO_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("VIDEO_ID"); + + b.ToTable("T_SK_VIDEO_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_COST_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TI_COST_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_CLAIM_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ACCIDENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DISABILITY_AFFIRM_AGENCY") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("DISABILITY_AFFIRM_TIME") + .HasColumnType("datetime2"); + + b.Property("DISABILITY_LEVEL") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HOSPITAL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("INJURE_AFFIRM_AGENCY") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("INJURE_AFFIRM_TIME") + .HasColumnType("datetime2"); + + b.Property("INJURE_DETAIL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("INJURE_TIME") + .HasColumnType("datetime2"); + + b.Property("INSURANCE_CLAIM_AMOUNT") + .HasColumnType("decimal(18,2)"); + + b.Property("IN_HOSPITAL") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(1000) + .HasColumnType("nvarchar(1000)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_CLAIM_AMOUNT") + .HasColumnType("decimal(18,2)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ACCIDENT_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TI_INSURANCE_CLAIM_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_CLAIM_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_TI_INSURANCE_CLAIM_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TI_INSURANCE_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_TI_INSURANCE_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_USER_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENTNAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INSURE_DURATION") + .HasColumnType("int"); + + b.Property("INSURE_STATUS") + .HasColumnType("int"); + + b.Property("INSURE_TIME") + .HasColumnType("datetime2"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OPERATEYEARMON") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("STOP_TIME") + .HasColumnType("datetime2"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.Property("USERPOSTNAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TI_INSURANCE_USER_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PLAN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BEGINTIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TI_PLAN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PLAN_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.ToTable("T_TI_PLAN_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PLAN_RANGE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RANGE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.HasIndex("RANGE_ID"); + + b.ToTable("T_TI_PLAN_RANGE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PLAN_RANGE_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TI_PLAN_RANGE_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PLAN_SOURCE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SOURCE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.HasIndex("SOURCE_ID"); + + b.ToTable("T_TI_PLAN_SOURCE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PLAN_SOURCE_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TI_PLAN_SOURCE_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BEGINTIME") + .HasColumnType("datetime2"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("ISMONEY") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_FOREIGN") + .HasColumnType("bit"); + + b.Property("MANAGER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONEY") + .HasColumnType("decimal(18,2)"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("YEAR") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("MANAGER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PLAN_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TI_PROJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_CHECK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BEGINTIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONEY") + .HasColumnType("decimal(18,2)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT") + .HasColumnType("int"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TI_PROJECT_CHECK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_CHECK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_CHECK_ID"); + + b.ToTable("T_TI_PROJECT_CHECK_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_CHECK_WFFILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_CHECK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_CHECK_ID"); + + b.ToTable("T_TI_PROJECT_CHECK_WFFILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.ToTable("T_TI_PROJECT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_MONEY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BEGINTIME") + .HasColumnType("datetime2"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TI_PROJECT_MONEY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_MONEY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEFT") + .HasColumnType("decimal(18,2)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MONEY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("NAME") + .HasMaxLength(150) + .HasColumnType("nvarchar(150)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("TOTAL") + .HasColumnType("decimal(18,2)"); + + b.Property("USE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("MONEY_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TI_PROJECT_MONEY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_MONEY_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DETAIL_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TI_PROJECT_MONEY_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_RANGE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RANGE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.HasIndex("RANGE_ID"); + + b.ToTable("T_TI_PROJECT_RANGE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_SOURCE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SOURCE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.HasIndex("SOURCE_ID"); + + b.ToTable("T_TI_PROJECT_SOURCE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_WFFILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.ToTable("T_TI_PROJECT_WFFILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_SAFE_PDT_COST_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("COUNT") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROCTNAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("PROJECT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("PURPOSE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("UNIT") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USETIME") + .HasColumnType("datetime2"); + + b.Property("USE_AMOUNT") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TI_SAFE_PDT_COST_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_SAFE_PDT_COST_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_TI_SAFE_PDT_COST_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_SAFE_PDT_COST_RECORD_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("COST_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("COST_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.ToTable("T_TI_SAFE_PDT_COST_RECORD_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("BACKDATE") + .HasColumnType("datetime2"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISEND") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_BACK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BACK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("DATEEND") + .HasColumnType("datetime2"); + + b.Property("DATESTART") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NUM") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BACK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TL_BACK_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BACK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("BACK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("ISMAINCHECK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BACK_DETAIL_ID"); + + b.HasIndex("BACK_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_BACK_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BACK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BACK_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TL_BACK_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("APPROVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("BACKTIME") + .HasColumnType("datetime2"); + + b.Property("BACKTIMEEND") + .HasColumnType("datetime2"); + + b.Property("BACK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("BACK_DIREACT") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("BACK_NUMBER") + .HasColumnType("decimal(18,2)"); + + b.Property("BACK_ORDER") + .HasColumnType("int"); + + b.Property("BACK_SCALE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("BACK_THICKNESS") + .HasColumnType("decimal(18,2)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DRIVE_LONG") + .HasColumnType("decimal(18,2)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SAFE_HIGHT") + .HasColumnType("decimal(18,2)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("APPROVE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_BACK_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK_RECORD_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BACK_RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("ISMAINCHECK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BACK_RECORD_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_BACK_RECORD_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK_REQUIRE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("BACK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REQUIRE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("BACK_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REQUIRE_ID"); + + b.ToTable("T_TL_BACK_REQUIRE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_CACULATE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_CACULATE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_CACULATE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CACULATE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CACULATE_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TL_CACULATE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_FILE_SUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONTENT") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILETYPE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_FILE_SUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_FILE_SUM_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SUM_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SUM_ID"); + + b.ToTable("T_TL_FILE_SUM_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_HIGH_CHECK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_HIGH_CHECK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_HIGH_CHECK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIGH_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIGH_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TL_HIGH_CHECK_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_OUT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OUTDATE") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_OUT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_OUT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OUT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("OUT_ID"); + + b.ToTable("T_TL_OUT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PLAN_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RUNDATA") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RUNSETTIME") + .HasColumnType("datetime2"); + + b.Property("WEEKDATA") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.ToTable("T_TL_PLAN_SET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_FINISH", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT") + .HasColumnType("int"); + + b.Property("RESULT_REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_PROJECT_FINISH"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_FINISH_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIGHT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIGHT_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TL_PROJECT_FINISH_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_HIGHT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT") + .HasColumnType("int"); + + b.Property("RESULT_REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_PROJECT_HIGHT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_HIGHT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIGHT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("HIGHT_ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TL_PROJECT_HIGHT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_INTRODUCE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_PROJECT_INTRODUCE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_INTRODUCE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INTRODUCE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("INTRODUCE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TL_PROJECT_INTRODUCE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT") + .HasColumnType("int"); + + b.Property("RESULT_CHECK") + .HasColumnType("int"); + + b.Property("RESULT_CHECK_REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RESULT_REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RESULT_WATCH") + .HasColumnType("int"); + + b.Property("RESULT_WATCH_REASON") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_PROJECT_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_RECORD_CHECK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.ToTable("T_TL_PROJECT_RECORD_CHECK_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.ToTable("T_TL_PROJECT_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_RECORD_WATCH_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.ToTable("T_TL_PROJECT_RECORD_WATCH_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_SLOPEBANK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("COUNTNUM") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAMESUB") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RESULT") + .HasColumnType("int"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_PROJECT_SLOPEBANK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_SLOPEBANK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SLOPEBANK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SLOPEBANK_ID"); + + b.ToTable("T_TL_PROJECT_SLOPEBANK_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_SLOPEBANK_PROJ_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SLOPEBANK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SLOPEBANK_ID"); + + b.ToTable("T_TL_PROJECT_SLOPEBANK_PROJ_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_SLOPEBANK_SUB_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SLOPEBANK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SLOPEBANK_ID"); + + b.ToTable("T_TL_PROJECT_SLOPEBANK_SUB_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_QUALITY_CHECK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_QUALITY_CHECK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_QUALITY_CHECK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("QUALITY_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("QUALITY_ID"); + + b.ToTable("T_TL_QUALITY_CHECK_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_REQUIRE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TL_REQUIRE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_SET_WATCH_DAYLY_ITEM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISAUTOLAST") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MAX") + .HasColumnType("int"); + + b.Property("MIN") + .HasColumnType("int"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UNITE") + .HasMaxLength(30) + .HasColumnType("nvarchar(30)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.ToTable("T_TL_SET_WATCH_DAYLY_ITEM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_TAILING", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LOCATION") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TL_TAILING"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_DAYLY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("DATETIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("SUM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SUM_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_WATCH_DAYLY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_DAYLY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("DAYLY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DREEP") + .HasColumnType("decimal(18,2)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIGHTEST") + .HasColumnType("decimal(18,2)"); + + b.Property("HIGHT_MORE") + .HasColumnType("decimal(18,2)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("ITEM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ITEM_VALUE") + .HasColumnType("decimal(18,2)"); + + b.Property("LONG") + .HasColumnType("decimal(18,2)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SUM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("WATERLINE") + .HasColumnType("decimal(18,2)"); + + b.HasKey("ID"); + + b.HasIndex("DAYLY_ID"); + + b.HasIndex("ITEM_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SUM_ID"); + + b.HasIndex("TAILING_ID"); + + b.ToTable("T_TL_WATCH_DAYLY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_DAYLY_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DAYLY_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DAYLY_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_WATCH_DAYLY_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_DAYLY_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DAYLY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DAYLY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_WATCH_DAYLY_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("SUM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SUM_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_WATCH_LINE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("DEEP") + .HasColumnType("decimal(18,2)"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LINE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SUM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("WATCH_LINE_POINT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LINE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SUM_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("WATCH_LINE_POINT_ID"); + + b.ToTable("T_TL_WATCH_LINE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LINE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("LINE_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_TL_WATCH_LINE_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LINE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("LINE_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_WATCH_LINE_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE_POINT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LOCATION") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POINT_DEEP") + .HasColumnType("decimal(18,2)"); + + b.Property("POINT_NO") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.ToTable("T_TL_WATCH_LINE_POINT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_MOVE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("SUM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SUM_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_WATCH_MOVE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_MOVE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHANGELOOKPOINT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LOOKPOINT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MOVE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SUM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("WATCH_MOVE_POINT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("MOVE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SUM_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("WATCH_MOVE_POINT_ID"); + + b.ToTable("T_TL_WATCH_MOVE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_MOVE_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MOVE_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("MOVE_DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_WATCH_MOVE_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_MOVE_POINT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME_BASE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NAME_WATCH") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("POINT_BASE") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.ToTable("T_TL_WATCH_MOVE_POINT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_PERCENT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("SUM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SUM_ID"); + + b.HasIndex("TAILING_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_WATCH_PERCENT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_PERCENT_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("INT_PERCENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OUT_PERCENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("PERCENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SUM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PERCENT_ID"); + + b.HasIndex("SUM_ID"); + + b.HasIndex("TAILING_ID"); + + b.ToTable("T_TL_WATCH_PERCENT_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_PERCENT_DETAIL_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISCHECK") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PERCENT_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PERCENT_DETAIL_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_TL_WATCH_PERCENT_DETAIL_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_PLAN_SET", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RUNDATA") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("RUNSETTIME") + .HasColumnType("datetime2"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("WATCHTYPE") + .HasColumnType("int"); + + b.Property("WEEKDATA") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("TAILING_ID"); + + b.ToTable("T_TL_WATCH_PLAN_SET"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_SUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TAILING_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TAILING_ID"); + + b.ToTable("T_TL_WATCH_SUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_CHECK_AREA_ENUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CHECK_BASIS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_WB_CHECK_AREA_ENUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_CHECK_MAIN", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECKCONTENT") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CHECKPROOF") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CHECK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_AREA_ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_WB_CHECK_MAIN"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_CHECK_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_WB_CHECK_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_CHECK_TYPE_ENUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATA") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SAFE") + .HasColumnType("bit"); + + b.Property("IS_SCENE_USERID") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLANCHECKFREQUENCY") + .HasColumnType("int"); + + b.Property("POST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RUNDATA") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("RUNSETTIME") + .HasColumnType("datetime2"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("WEEKDATA") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("POST_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_CHECK_TYPE_ENUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DANGEROUS_JOB_ITEM") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("DANGEROUS_JOB_NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("DISCLOSE") + .HasColumnType("int"); + + b.Property("DISCLOSE_STATUS") + .HasColumnType("int"); + + b.Property("DISCLOSE_TIME") + .HasColumnType("datetime2"); + + b.Property("DISCLOSE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOB_ADDRESS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("JOB_RISK_IDENTIFY") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MOINTER_DEAL_STATUS") + .HasColumnType("int"); + + b.Property("MOINTER_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MOINTER_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("STATUS_DETAIL") + .HasColumnType("int"); + + b.Property("STATUS_MOINTER") + .HasColumnType("int"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("DISCLOSE_USER_ID"); + + b.HasIndex("MOINTER_DEPARTMENT_ID"); + + b.HasIndex("MOINTER_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_DANGEROUS_JOB"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_AUDIT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_DATE") + .HasColumnType("datetime2"); + + b.Property("AUDIT_OPINION") + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); + + b.Property("AUDIT_STATUS") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISORNOT") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_DANGEROUS_JOB_AUDIT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISORNOT") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ROW_NUM") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_DANGEROUS_JOB_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_DISCLOSE_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISORNOT") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ROW_NUM") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_DANGEROUS_JOB_DISCLOSE_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_DISCLOSE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_DANGEROUS_JOB_DISCLOSE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_DISCLOSE_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_DANGEROUS_JOB_DISCLOSE_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_DANGEROUS_JOB_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_MOINTER_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MOINTER_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MOINTER_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("MOINTER_DEPARTMENT_ID"); + + b.HasIndex("MOINTER_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_DANGEROUS_JOB_MOINTER_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_MOINTER_RECORD_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_DANGEROUS_JOB_MOINTER_RECORD_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISOCONFIRM") + .HasColumnType("bit"); + + b.Property("ISORNOT") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ROW_NUM") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_DANGEROUS_JOB_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_RECORD_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_DANGEROUS_JOB_RECORD_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_USER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_DANGEROUS_JOB_USER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_NOTIFY", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_OPINION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_TIME") + .HasColumnType("datetime2"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAUNCH_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("LAUNCH_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_HIDDEN_DANGER_NOTIFY"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_NOTIFY_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADRESS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_BASIS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ROW_NUM") + .HasColumnType("int"); + + b.Property("TASK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("DETAIL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_HIDDEN_DANGER_NOTIFY_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_NOTIFY_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_HIDDEN_DANGER_NOTIFY_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_NOTIFY_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_HIDDEN_DANGER_NOTIFY_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_OPINION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENDTIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NOTIFY_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("NOTIFY_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_ID"); + + b.ToTable("T_WB_HIDDEN_DANGER_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADRESS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_BASIS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FINISH_TIME") + .HasColumnType("datetime2"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ROW_NUM") + .HasColumnType("int"); + + b.Property("TASK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_HIDDEN_DANGER_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD_DETAIL_AFTER_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_HIDDEN_DANGER_RECORD_DETAIL_AFTER_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD_DETAIL_BEFORE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_HIDDEN_DANGER_RECORD_DETAIL_BEFORE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_HIDDEN_DANGER_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_JOB_SAFE_MEASURE_ENUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.ToTable("T_WB_JOB_SAFE_MEASURE_ENUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_JOB_SAFE_MEASURE_ENUM_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NUM") + .HasColumnType("int"); + + b.Property("SAFE_MEASURE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_JOB_SAFE_MEASURE_ENUM_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_JOB_TYPE_ENUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_WB_JOB_TYPE_ENUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PASSSCORE") + .HasColumnType("int"); + + b.Property("TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TYPE_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_OUTSOURCE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SOURCE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SOURCE_ID"); + + b.ToTable("T_WB_OUTSOURCE_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TEST", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ANSWER") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPTION_A") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPTION_B") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPTION_C") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPTION_D") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("OPTION_E") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("SCORE") + .HasColumnType("int"); + + b.Property("SOURCE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TRAINNAME") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SOURCE_ID"); + + b.ToTable("T_WB_OUTSOURCE_TEST"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISEND") + .HasColumnType("bit"); + + b.Property("IS_CREATE_TEST") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("OFFLINE_END_TIME") + .HasColumnType("datetime2"); + + b.Property("OFFLINE_START_TIME") + .HasColumnType("datetime2"); + + b.Property("OFFLINE_TOTAL_TIME") + .HasColumnType("int"); + + b.Property("ONLINE_END_TIME") + .HasColumnType("datetime2"); + + b.Property("ONLINE_START_TIME") + .HasColumnType("datetime2"); + + b.Property("ONLINE_TOTAL_TIME") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TOTAL_TIME") + .HasColumnType("int"); + + b.Property("TRAIN_ADDR") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("TRAIN_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("TRAIN_TYPE") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_OUTSOURCE_TRAIN_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_OUTSOURCE_TRAIN_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_PAPER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ANSWER") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FILE_PATH") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_ONLINE") + .HasColumnType("bit"); + + b.Property("IS_WATCH") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORDER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NO") + .HasColumnType("int"); + + b.Property("SCORE") + .HasColumnType("int"); + + b.Property("SCOREVAL") + .HasColumnType("int"); + + b.Property("SOURCE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TEST_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("T_WB_OUTSOURCE_TRAIN_RECORD_PAPER_ORDERID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORDER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("SOURCE_ID"); + + b.HasIndex("TEST_ID"); + + b.HasIndex("T_WB_OUTSOURCE_TRAIN_RECORD_PAPER_ORDERID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_OUTSOURCE_TRAIN_RECORD_PAPER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_PAPER_ORDER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("RECORD_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("RECORD_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_OUTSOURCE_TRAIN_RECORD_PAPER_ORDER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_PHOTO", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_OUTSOURCE_TRAIN_RECORD_PHOTO"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_SOURCE_OFF", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OUTSOURCE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("OUTSOURCE_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_OUTSOURCE_TRAIN_RECORD_SOURCE_OFF"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_SOURCE_ON", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("OUTSOURCE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("OUTSOURCE_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_OUTSOURCE_TRAIN_RECORD_SOURCE_ON"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_USERS", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEAL_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("EXAMINATION_RESULTS") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("SCORE") + .HasColumnType("int"); + + b.Property("SIGN_STATUS") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_OUTSOURCE_TRAIN_RECORD_USERS"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_USERS_FILES", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_OUTSOURCE_TRAIN_RECORD_USERS_FILES"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_WB_OUTSOURCE_TYPE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_VIDEO", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SOURCE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VIDEO_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SOURCE_ID"); + + b.HasIndex("VIDEO_ID"); + + b.ToTable("T_WB_OUTSOURCE_VIDEO"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_PROJECT_INPUT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CONSTRUCTION_NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_CONSTRUCTION") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LAUNCH_DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("LAUNCH_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MAJOR_RISK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MAJOR_WORK_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("SCENE_USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UNIT_NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID_SAFE") + .HasColumnType("uniqueidentifier"); + + b.Property("WB_USER_CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("WB_USER_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("WB_USER_PASSWORD") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("WB_USER_PHONE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("LAUNCH_DEPARTMENT_ID"); + + b.HasIndex("LAUNCH_USER_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("SCENE_USER_ID"); + + b.HasIndex("USER_ID"); + + b.HasIndex("USER_ID_SAFE"); + + b.ToTable("T_WB_PROJECT_INPUT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_PROJECT_INPUT_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_PROJECT_INPUT_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CONSTRUCTION_NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("UNIT_NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("WB_USER_NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("WB_USER_PHONE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.ToTable("T_WB_REGISTER"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_1", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AGREEMENT_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("AGREEMENT_TYPE") + .HasColumnType("int"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("START_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_REGISTER_1"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_1_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_REGISTER_1_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADRESS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("AGE") + .HasColumnType("int"); + + b.Property("CERTIFICATE_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("CURRENT_ADRESS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("EMERGENCY_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("EMERGENCY_PHONE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ENABLE_STATUS") + .HasColumnType("int"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ID_CARD") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_LOGIN") + .HasMaxLength(100) + .HasColumnType("bit"); + + b.Property("JOBTYPE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PHONE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("SCORE") + .HasColumnType("float"); + + b.Property("SEX") + .HasMaxLength(100) + .HasColumnType("int"); + + b.Property("USERID") + .HasColumnType("uniqueidentifier"); + + b.Property("VALID_DATE") + .HasMaxLength(100) + .HasColumnType("datetime2"); + + b.Property("WORKTYPE") + .HasMaxLength(100) + .HasColumnType("int"); + + b.Property("WORKTYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("WORKTYPE_ID"); + + b.ToTable("T_WB_REGISTER_2"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2_FILE1", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_REGISTER_2_FILE1"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2_FILE2", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_REGISTER_2_FILE2"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2_FILE3", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_REGISTER_2_FILE3"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2_FILE4", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_REGISTER_2_FILE4"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2_JOB_TYPE_ENUM", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("JOBTYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("REGISTERT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("JOBTYPE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("REGISTERT_ID"); + + b.ToTable("T_WB_REGISTER_2_JOB_TYPE_ENUM"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_3", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CERTIFICATE_NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CERTIFICATE_TYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LEVEL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.Property("VALID_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("LEVEL_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_REGISTER_3"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_3_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_REGISTER_3_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_4", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DATE_LIMIT") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("IS_SPECIAL_DEVICE") + .HasColumnType("bit"); + + b.Property("MAIN_SAFE_DEVICE") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("MODEL") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("NUMBER") + .HasMaxLength(300) + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("UNIT") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("USETO") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_REGISTER_4"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_4_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("VALID_TIME") + .HasColumnType("datetime2"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_REGISTER_4_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_RELATED_LEVEL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("TYPE") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_WB_RELATED_LEVEL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_CATEGORY") + .HasColumnType("int"); + + b.Property("CHECK_TIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("HIDDEN_DANGER_COUNT") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.ToTable("T_WB_SAFE_CHECK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_SAFE_CHECK_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_PHOTO", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_SAFE_CHECK_PHOTO"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AUDIT_OPINION") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TASK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("TASK_DETAIL_ID"); + + b.HasIndex("TASK_ID"); + + b.ToTable("T_WB_SAFE_CHECK_RECORD"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("ADRESS") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_BASIS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISORNOT") + .HasColumnType("int"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("ROW_NUM") + .HasColumnType("int"); + + b.Property("TASK_DETAIL_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("PROJECT_ID"); + + b.HasIndex("TASK_DETAIL_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_SAFE_CHECK_RECORD_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD_DETAIL_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_SAFE_CHECK_RECORD_DETAIL_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD_FILE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IMG_FILE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("IMG_FILE_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.ToTable("T_WB_SAFE_CHECK_RECORD_FILE"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TIME") + .HasColumnType("datetime2"); + + b.Property("CHECK_TYPE_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); + + b.Property("CREACTTYPE") + .HasColumnType("int"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENTID") + .HasColumnType("uniqueidentifier"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ISSENDRECORD") + .HasColumnType("bit"); + + b.Property("IS_CANCEL") + .HasColumnType("bit"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("LIMITDATETIME") + .HasColumnType("datetime2"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("MineTypeShow") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PLAN_SET_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("REMARK_CANCEL") + .HasMaxLength(200) + .HasColumnType("nvarchar(200)"); + + b.Property("STATUS") + .HasColumnType("int"); + + b.Property("TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USERID_DOPLAN") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID_CANCEL") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_TYPE_ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.HasIndex("TASK_ID"); + + b.ToTable("T_WB_SAFE_CHECK_TASK"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK_AREA", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_TASK_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("CHECK_AREA_ID"); + + b.HasIndex("CHECK_TASK_ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_WB_SAFE_CHECK_TASK_AREA"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK_DETAIL", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("AREA_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CHECK_BASIS") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CHECK_CONTENT") + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MAIN_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("MineType") + .HasColumnType("int"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PARENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("ROW_NUM") + .HasColumnType("int"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("AREA_ID"); + + b.HasIndex("MAIN_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PARENT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_SAFE_CHECK_TASK_DETAIL"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_TRAIN_SELECT", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("DEPARTMENT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("END_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(300) + .HasColumnType("nvarchar(300)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("PROJECT_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("USER_ID") + .HasColumnType("uniqueidentifier"); + + b.HasKey("ID"); + + b.HasIndex("DEPARTMENT_ID"); + + b.HasIndex("ORG_ID"); + + b.HasIndex("PROJECT_ID"); + + b.HasIndex("USER_ID"); + + b.ToTable("T_WB_TRAIN_SELECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_WORKTYPE", b => + { + b.Property("ID") + .ValueGeneratedOnAdd() + .HasColumnType("uniqueidentifier"); + + b.Property("CODE") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("CREATER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("CREATE_TIME") + .HasColumnType("datetime2"); + + b.Property("ENTITY_ORG_TPYE") + .HasColumnType("int"); + + b.Property("FLOW_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("FLOW_SEND_STATUS") + .HasColumnType("int"); + + b.Property("FLOW_STATUS") + .HasColumnType("int"); + + b.Property("FORM_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("IS_DELETED") + .HasColumnType("bit"); + + b.Property("MODIFIER_ID") + .HasColumnType("uniqueidentifier"); + + b.Property("MODIFY_TIME") + .HasColumnType("datetime2"); + + b.Property("NAME") + .HasMaxLength(100) + .HasColumnType("nvarchar(100)"); + + b.Property("ORG_ID") + .IsRequired() + .HasColumnType("uniqueidentifier"); + + b.Property("WORKTYPE") + .HasMaxLength(100) + .HasColumnType("int"); + + b.HasKey("ID"); + + b.HasIndex("ORG_ID"); + + b.ToTable("T_WB_WORKTYPE"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_HMI", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_PICTURE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ENUM", "Nav_Enum") + .WithMany() + .HasForeignKey("ENUM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ENUM_ITEM", "Nav_EnumItem") + .WithMany() + .HasForeignKey("ENUM_ITEM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Enum"); + + b.Navigation("Nav_EnumItem"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_PICTURE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.BD.T_BD_PICTURE", "Nav_Picture") + .WithMany("Nav_PictureFiles") + .HasForeignKey("PICTURE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Picture"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_PLACE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.BD.T_BD_PLACE", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_SERVER_INFO", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_SYSTEM_INFO", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_WORD_TEMPLATE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_API", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_AUTO_PRINT_RECORD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_AUTO_PRINT_RECORD_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_AUTO_PRINT_RECORD", "Nav_AutoPrintRecord") + .WithMany("Nav_Details") + .HasForeignKey("AUTO_PRINT_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_AutoPrintRecord"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_BASE_ADD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_BASE_CONFIG", b => + { + b.HasOne("APT.BaseData.Domain.Entities.BD.T_BD_PICTURE", "Nav_ConsPicture") + .WithMany() + .HasForeignKey("APP_CONS_PICTURE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.BD.T_BD_PICTURE", "Nav_PictureBg") + .WithMany() + .HasForeignKey("BACK_PIC_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.BD.T_BD_HMI", "Nav_HMI") + .WithMany() + .HasForeignKey("CURRENT_VOLTAGE_HMI_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.BD.T_BD_HMI", "Nav_HomeHmi") + .WithMany() + .HasForeignKey("HOME_HMI_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.BD.T_BD_PICTURE", "Nav_PictureLogo") + .WithMany() + .HasForeignKey("LOGO_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.BD.T_BD_PICTURE", "Nav_LowPicture") + .WithMany() + .HasForeignKey("LOWER_PICTURE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_MESSAGE_TEMPLATE", "Nav_MessageTemplate") + .WithMany() + .HasForeignKey("MESSAGE_TEMPLATE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.BD.T_BD_PICTURE", "Nav_TopPicture") + .WithMany() + .HasForeignKey("T0P_PICTURE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ConsPicture"); + + b.Navigation("Nav_HMI"); + + b.Navigation("Nav_HomeHmi"); + + b.Navigation("Nav_LowPicture"); + + b.Navigation("Nav_MessageTemplate"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PictureBg"); + + b.Navigation("Nav_PictureLogo"); + + b.Navigation("Nav_TopPicture"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_BASE_ENERGY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_BASE_INFO", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ENUM_ITEM", "Nav_FundEunmItem") + .WithMany() + .HasForeignKey("FUND_ENUM_ITEM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.BD.T_BD_PLACE", "Nav_Place") + .WithMany() + .HasForeignKey("PLACE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ENUM_ITEM", "Nav_PropEunmItem") + .WithMany() + .HasForeignKey("PROP_ENUM_ITEM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_FundEunmItem"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Place"); + + b.Navigation("Nav_PropEunmItem"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_CALENDAR", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_HOLIDAY", "Nav_Holiday") + .WithMany() + .HasForeignKey("HOLIDAY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Holiday"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_CALENDAR_CLASS", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_CALENDAR", null) + .WithMany("Nav_CalendarClass") + .HasForeignKey("CALENDAR_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_CLASS", "Nav_Class") + .WithMany() + .HasForeignKey("CLASS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_CALENDAR", "Nav_Calendar") + .WithMany() + .HasForeignKey("Nav_CalendarID"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Calendar"); + + b.Navigation("Nav_Class"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_CLASS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_CLASS_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_CLASS", null) + .WithMany("Nav_ClassDetail") + .HasForeignKey("CLASS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_COST_CENTER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_COST_CENTER", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ChargeUser") + .WithMany() + .HasForeignKey("CHARGEUSER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PERSON", "Nav_Person") + .WithMany() + .HasForeignKey("PERSON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_Unit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ChargeUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_Person"); + + b.Navigation("Nav_Unit"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_CALENDAR_CONFIG", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_CALENDAR", "Nav_Calendar") + .WithMany() + .HasForeignKey("CALENDAR_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany("Nav_DepartmentCalendarConfig") + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Calendar"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_CALENDAR_CONFIG_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_CLASS", "Nav_Class") + .WithMany() + .HasForeignKey("CLASS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_CALENDAR_CONFIG", "Nav_DepartmentCalendarConfig") + .WithMany("Nav_DepartmentCalendarConfigDetail") + .HasForeignKey("DEPARTMENT_CALENDAR_CONFIG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Class"); + + b.Navigation("Nav_DepartmentCalendarConfig"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_CALENDAR_CONFIG_TEAM", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_CALENDAR_CONFIG", "Nav_DepartmentCalendarConfig") + .WithMany("Nav_DepartmentCalendarConfigTeam") + .HasForeignKey("DEPARTMENT_CALENDAR_CONFIG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_TEAM", "Nav_Team") + .WithMany() + .HasForeignKey("TEAM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DepartmentCalendarConfig"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Team"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_COMPLETION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_COMPLETION_SORT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_POST", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_POST_USER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_POST", "Nav_DepartmentPost") + .WithMany("Nav_Users") + .HasForeignKey("DEPARTMENT_POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DepartmentPost"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_PRODUCTION_UNIT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany("Nav_ProdutionUnit") + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_DepartUnit") + .WithMany() + .HasForeignKey("DEPART_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ENUMS", "Nav_Enums") + .WithMany() + .HasForeignKey("ENUMS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DepartUnit"); + + b.Navigation("Nav_Enums"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_SAFEUSER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany("Nav_SafeUser") + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_SCHEDULING", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_CLASS", "Nav_Class") + .WithMany() + .HasForeignKey("CLASS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_CALENDAR_CONFIG", "Nav_DepartmentCalendarConfig") + .WithMany() + .HasForeignKey("DEPARTMENT_CALENDAR_CONFIG_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartMent") + .WithMany("Nav_DepartmentScheduling") + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_TEAM", "Nav_Team") + .WithMany() + .HasForeignKey("TEAM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Class"); + + b.Navigation("Nav_DepartMent"); + + b.Navigation("Nav_DepartmentCalendarConfig"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Team"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_SCHEDULING_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_SCHEDULING", "Nav_DepartmentScheduling") + .WithMany("Nav_DepartmentSchedulingDetail") + .HasForeignKey("DEPARTMENT_SCHEDULING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PERSON", "Nav_Person") + .WithMany() + .HasForeignKey("PERSON_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DepartmentScheduling"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Person"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_USER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany("Nav_DepartmentUser") + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ENUM", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ENUM_TYPE", "Nav_EnumType") + .WithMany() + .HasForeignKey("ENUM_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EnumType"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ENUMS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ENUM_ITEM", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ENUM", "Nav_Enum") + .WithMany("Nav_EnumItems") + .HasForeignKey("ENUM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Enum"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ENUM_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_EQUIPMENT_INTEGRATION_TASK", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_EXT_CONN_ASYNCH_TEMP", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_EXT_CONN_CONFIG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_EXT_CONN_CONFIG_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_EXT_CONN_CONFIG", "Nav_ExtConnConfig") + .WithMany("Nav_Details") + .HasForeignKey("EXT_CONN_CONFIG_ID") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ExtConnConfig"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_EXT_CONN_LOG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_EXT_CONN_TRANS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_HIDDEN_DANGER_RECTIFICATION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_HOLIDAY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_HOLIDAY_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_HOLIDAY", null) + .WithMany("Nav_HolidayDetails") + .HasForeignKey("HOLIDAY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_IMPORT_CONFIG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_IMPORT_CONFIG_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_IMPORT_CONFIG", "Nav_ImportConfig") + .WithMany("Nav_Details") + .HasForeignKey("IMPORT_CONFIG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_IMPORT_CONFIG_DETAIL", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("Nav_ParentID"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImportConfig"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_IMPORT_CONFIG_FIELD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_IMPORT_CONFIG_DETAIL", "Nav_ImportConfigDetail") + .WithMany("Nav_Fields") + .HasForeignKey("IMPORT_CONFIG_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImportConfigDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_INFO", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_JOB_ACTIVITY_COMPLETION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_MESSAGE_TEMPLATE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_MONITORING", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_NOTICE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_NOTIFICATION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_NOTIFICATION_ACCEPTED", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_NOTIFICATION", "Nav_Notification") + .WithMany("Nav_Accepteds") + .HasForeignKey("NOTIFICATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Notification"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_NOTIFICATION_PERMIT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_NOTIFICATION", "Nav_Notification") + .WithMany("Nav_Permits") + .HasForeignKey("NOTIFICATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Notification"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PANEL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PANEL_BELONG_ROLE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ROLE", "Nav_BelongRole") + .WithMany("Nav_Panels") + .HasForeignKey("BELONG_ROLE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PANEL", "Nav_Panel") + .WithMany() + .HasForeignKey("PANEL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_BelongRole"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Panel"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PANEL_INFO", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_INFO", "Nav_Info") + .WithMany() + .HasForeignKey("INFO_ID") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PANEL", null) + .WithMany("Nav_PanelInfo") + .HasForeignKey("PANEL_ID") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Nav_Info"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PARAM_SET", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PARAM_SET_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PARAM_SET", "Nav_Param") + .WithMany("Nav_Departments") + .HasForeignKey("PARAM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Param"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PERSON", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartMent") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DepartMent"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PERSON_CERTIFICATE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PERSON", "Nav_Person") + .WithMany("Nav_PersonCertificateFiles") + .HasForeignKey("PERSON_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Person"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PERSON_EDUCATION_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PERSON", "Nav_Person") + .WithMany("Nav_PersonEducationFiles") + .HasForeignKey("PERSON_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Person"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PERSON_IDCARD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PERSON", "Nav_Person") + .WithMany("Nav_PersonIDCardFiles") + .HasForeignKey("PERSON_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Person"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PERSON_SKILLS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PERSON", "Nav_Person") + .WithMany("Nav_PersonSkills") + .HasForeignKey("PERSON_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Person"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PERSON_WORK", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PERSON", "Nav_Person") + .WithMany("Nav_PersonWorks") + .HasForeignKey("PERSON_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Person"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PLAN_PARAM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PRINTER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PRINTER_TASK", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_RISK_LEVEL_PROPORTION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_RISK_TYPE_PROPORTION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ROLE", "Nav_Role") + .WithMany() + .HasForeignKey("ROLE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Role"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_GROUP", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_GROUP_BELONG_ROLE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ROLE", "Nav_BelongRole") + .WithMany() + .HasForeignKey("BELONG_ROLE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_GROUP", "Nav_RoleGroup") + .WithMany("Nav_BelongRoles") + .HasForeignKey("ROLE_GROUP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_BelongRole"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RoleGroup"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_MENU_PERM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_PermissionForm") + .WithMany() + .HasForeignKey("PERMISSION_FORM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ROLE", "Nav_Role") + .WithMany("Nav_MenuPermissions") + .HasForeignKey("ROLE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PermissionForm"); + + b.Navigation("Nav_Role"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_MENU_PERM_BTN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_BTN", "Nav_Btn") + .WithMany() + .HasForeignKey("BTN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_MENU_PERM", "Nav_RoleMenuPermission") + .WithMany("Nav_PermissionBtns") + .HasForeignKey("ROLE_MENU_PERMISSION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Btn"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RoleMenuPermission"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_MENU_PERM_COL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_COLUMN", "Nav_Column") + .WithMany() + .HasForeignKey("COLUMN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_MENU_PERM", "Nav_RoleMenuPermission") + .WithMany("Nav_PermissionColumns") + .HasForeignKey("ROLE_MENU_PERMISSION_ID") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Nav_Column"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RoleMenuPermission"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SNAPSHOT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("ACCEPT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SNAPSHOT_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_SNAPSHOT", "Nav_Snapshot") + .WithMany("Nav_Files") + .HasForeignKey("SNAPSHOT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Snapshot"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_STAGE_ATTR", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PLAN_PARAM", "Nav_PlanParam") + .WithMany() + .HasForeignKey("PLAN_PARAM_ID") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PlanParam"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_STAGE_BELONG_ROLE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ROLE", "Nav_BelongRole") + .WithMany() + .HasForeignKey("Nav_BelongRoleID"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_BelongRole"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_STAGE_DYNAMIC", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PLAN_PARAM", "Nav_PlanParam") + .WithMany() + .HasForeignKey("PLAN_PARAM_ID") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PlanParam"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_STAGE_PLAN", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SYNC_LIMIT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SYNC_LOG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SYNC_LOG_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SYNC_TASK", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SYNC_USER_RULE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Dep") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Dep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_TEAM", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PERSON", "Nav_ChargePerson") + .WithMany() + .HasForeignKey("CHARGE_PERSON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ChargePerson"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_TEAM_PERSON", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PERSON", "Nav_Person") + .WithMany("Nav_TeamPersons") + .HasForeignKey("PERSON_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_TEAM", "Nav_Team") + .WithMany("Nav_TeamPersons") + .HasForeignKey("TEAM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Person"); + + b.Navigation("Nav_Team"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_UNIT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", "Nav_ApproveRole") + .WithMany() + .HasForeignKey("APPROVE_ROLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany("Nav_UserList") + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_PERSON", "Nav_Person") + .WithOne("Nav_User") + .HasForeignKey("APT.BaseData.Domain.Entities.FM.T_FM_USER", "PERSON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.BI.T_BI_AREA_TREE", null) + .WithMany("Nav_User") + .HasForeignKey("T_BI_AREA_TREEID"); + + b.Navigation("Nav_ApproveRole"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Person"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_BELONG_ROLE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ROLE", "Nav_BelongRole") + .WithMany("Nav_UserBelongRoles") + .HasForeignKey("BELONG_ROLE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany("Nav_BelongRoles") + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_BelongRole"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_BELONG_ROLE_GROUP", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_GROUP", "Nav_BelongRoleGroup") + .WithMany() + .HasForeignKey("BELONG_ROLE_GROUP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany("Nav_BelongRoleGroups") + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_BelongRoleGroup"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_BELONG_USER_GROUP", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_GROUP", "Nav_BelongUserGroup") + .WithMany() + .HasForeignKey("BELONG_USER_GROUP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany("Nav_BelongUserGroups") + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_BelongUserGroup"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_CUSTOM_CONFIG", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("Nav_UserID"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_CUSTOM_CONFIG_H_COL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_COLUMN", "Nav_Column") + .WithMany() + .HasForeignKey("COLUMN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_CUSTOM_CONFIG_H_TAB", "Nav_HiddenTable") + .WithMany("Nav_HiddenColumns") + .HasForeignKey("USER_CUSTOM_CONFIG_H_TAB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Column"); + + b.Navigation("Nav_HiddenTable"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_CUSTOM_CONFIG_H_TAB", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_TABLE", "Nav_PageTable") + .WithMany() + .HasForeignKey("PAGE_TABLE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_CUSTOM_CONFIG", "Nav_UserCustomConfig") + .WithMany("Nav_HiddenTables") + .HasForeignKey("USER_CUSTOM_CONFIG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageTable"); + + b.Navigation("Nav_UserCustomConfig"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_EDIT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_EDIT", "Nav_PageEdit") + .WithMany() + .HasForeignKey("PAGE_EDIT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_CUSTOM_CONFIG", "Nav_UserCustomConfig") + .WithMany("Nav_Edits") + .HasForeignKey("USER_CUSTOM_CONFIG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageEdit"); + + b.Navigation("Nav_UserCustomConfig"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_EDIT_COL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN", "Nav_EditColumn") + .WithMany() + .HasForeignKey("EDIT_COLUMN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_EDIT", "Nav_UserCCEdit") + .WithMany("Nav_EditColumns") + .HasForeignKey("USER_C_C_EDIT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EditColumn"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UserCCEdit"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_EDIT_H_COL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN", "Nav_EditColumn") + .WithMany() + .HasForeignKey("EDIT_COLUMN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_EDIT", "Nav_UserCCEdit") + .WithMany("Nav_HiddenCols") + .HasForeignKey("USER_C_C_EDIT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EditColumn"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UserCCEdit"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_QUERY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_PageForm") + .WithMany() + .HasForeignKey("PAGE_FORM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_CUSTOM_CONFIG", "Nav_UserCustomConfig") + .WithMany("Nav_Querys") + .HasForeignKey("USER_CUSTOM_CONFIG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageForm"); + + b.Navigation("Nav_UserCustomConfig"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_QUERY_FIELD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_QUERY_GROUP", "Nav_UserCCQueryGroup") + .WithMany() + .HasForeignKey("USER_C_C_QUERY_GROUP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_QUERY", "Nav_UserCCQuery") + .WithMany("Nav_Fields") + .HasForeignKey("USER_C_C_QUERY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UserCCQuery"); + + b.Navigation("Nav_UserCCQueryGroup"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_QUERY_GROUP", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_QUERY_GROUP", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_QUERY", "Nav_UserCCQuery") + .WithMany("Nav_Groups") + .HasForeignKey("USER_C_C_QUERY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_UserCCQuery"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_TABLE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_TABLE", "Nav_PageTable") + .WithMany() + .HasForeignKey("PAGE_TABLE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_CUSTOM_CONFIG", "Nav_UserCustomConfig") + .WithMany("Nav_Tabls") + .HasForeignKey("USER_CUSTOM_CONFIG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageTable"); + + b.Navigation("Nav_UserCustomConfig"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_TABLE_COL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_COLUMN", "Nav_Column") + .WithMany() + .HasForeignKey("COLUMN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_TABLE", "Nav_UserCCTable") + .WithMany("Nav_Columns") + .HasForeignKey("USER_C_C_TABLE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Column"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UserCCTable"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany("Nav_UserDeparts") + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_GROUP", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_GROUP_BELONG_ROLE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ROLE", "Nav_BelongRole") + .WithMany() + .HasForeignKey("BELONG_ROLE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_GROUP", "Nav_UserGroup") + .WithMany("Nav_BelongRoles") + .HasForeignKey("USER_GROUP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_BelongRole"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UserGroup"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_GROUP_BELONG_R_G", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_GROUP", "Nav_BelongRoleGroup") + .WithMany() + .HasForeignKey("BELONG_ROLE_GROUP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_GROUP", "Nav_UserGroup") + .WithMany("Nav_BelongRoleGroups") + .HasForeignKey("USER_GROUP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_BelongRoleGroup"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UserGroup"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_GROUP_BELONG_U_G", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_GROUP", "Nav_BelongUserGroup") + .WithMany() + .HasForeignKey("BELONG_USER_GROUP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_GROUP", "Nav_UserGroup") + .WithMany("Nav_BelongUserGroups") + .HasForeignKey("USER_GROUP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_BelongUserGroup"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UserGroup"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_PHOTO_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany("Nav_UserPhotoFiles") + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.BI.T_BI_AREA_TREE", null) + .WithMany("Nav_Post") + .HasForeignKey("T_BI_AREA_TREEID"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ENUMS", "Nav_Enums") + .WithMany() + .HasForeignKey("ENUMS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_Unit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany("Nav_ProdutionUnit") + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Enums"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Unit"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_SIGN_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany("Nav_UserSignFiles") + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_TEST", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_UserPost") + .WithMany("Nav_UserTests") + .HasForeignKey("USER_POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UserPost"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_VACATION_SET", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_Agent") + .WithMany() + .HasForeignKey("AGENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Agent"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_WORK_TICKET_COMPLETION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_PF_SYS_LOG", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_LogForm") + .WithMany() + .HasForeignKey("LOG_FORM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_LogForm"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.LG.T_LG_OPRATE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.NW.T_NW_ENTERPRISE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.NW.T_NW_ENTERPRISE", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.NW.T_NW_ROLE_DATA_PERM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.NW.T_NW_ROLE_MENU", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_ALLUSER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_BILLING_RULE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.OP.T_OP_BILLING_RULE_VERSION", "Nav_Version") + .WithMany() + .HasForeignKey("VERSION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Version"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_BILLING_RULE_VERSION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.OP.T_OP_BILLING_RULE", "Nav_Rule") + .WithMany("Nav_Versions") + .HasForeignKey("RULE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Rule"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_CHARGE_TIME_SET", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_CLIENT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_CLINET_OPENID", b => + { + b.HasOne("APT.BaseData.Domain.Entities.OP.T_OP_CLIENT", "NavClient") + .WithMany() + .HasForeignKey("CLIENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("NavClient"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_COMMON_QUESTION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_FILE_FIRMWARE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_MEMBER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.OP.T_OP_RECHARGE_CARD", "Nav_RechargeCard") + .WithMany() + .HasForeignKey("RECHARGE_CARD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RechargeCard"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_MENU", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_MenuForm") + .WithMany() + .HasForeignKey("MENU_FORM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.OP.T_OP_MENU", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_MenuForm"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_NOTICE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_NOTICE_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.OP.T_OP_NOTICE", "Nav_Notice") + .WithMany("Nav_NoticeDetails") + .HasForeignKey("NOTICE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Notice"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_PEAK_VALLEY_CONFIG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_RECHARGE_CARD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.OP.T_OP_RFID_CARD", "Nav_CardRfid") + .WithMany() + .HasForeignKey("RFID_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CardRfid"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_RECHARGE_ORDER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.OP.T_OP_RECHARGE_CARD", "Nav_RechargeCard") + .WithMany() + .HasForeignKey("RECHARGE_CARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RechargeCard"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_RECHARGE_SETTING", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_RFID_CARD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_ROLE_MENU", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_TENANT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.OP.T_OP_TENANT_DB_CONN", "Nav_TenantDB") + .WithMany() + .HasForeignKey("DB_CONN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.OP.T_OP_TENANT", "Nav_Tenant") + .WithMany() + .HasForeignKey("TEMPLATE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tenant"); + + b.Navigation("Nav_TenantDB"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_TENANT_DB_CONN", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_TENANT_DOMAIN", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.OP.T_OP_TENANT", "Nav_Tenant") + .WithMany("Nav_Domains") + .HasForeignKey("TENANT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tenant"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_TENANT_EXPIRATION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.OP.T_OP_TENANT", "Nav_TENANT") + .WithMany() + .HasForeignKey("TENANT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TENANT"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_VERSION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.OP.T_OP_TENANT", "Nav_Tenant") + .WithMany() + .HasForeignKey("TEMPLATE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tenant"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_VERSION_MENU", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_VERSION_TENANT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.PF.T_PF_APPROVE_OPERATION_ROLE", b => + { + b.HasOne("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", "Nav_Approve") + .WithMany("Nav_ApproveRoles") + .HasForeignKey("APPROVAL_ROLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ROLE", "Nav_Role") + .WithMany() + .HasForeignKey("ROLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Role"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.PF.T_PF_APPROVE_REJECT_CONFIG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.PF.T_PF_APPROVE_ROLE_DEPARTMENT", b => + { + b.HasOne("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", "Nav_Approve") + .WithMany("Nav_ApproveDeparts") + .HasForeignKey("APPROVAL_ROLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.PF.T_PF_COMPLAINT_LOG", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE_DETAIL", "Nav_ApproveDetails") + .WithMany() + .HasForeignKey("APPROVE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApproveUser") + .WithMany() + .HasForeignKey("COMPLAINT_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ApproveDetails"); + + b.Navigation("Nav_ApproveUser"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.PF.T_PF_FORM_RELATION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.PF.T_PF_VERSION_MANAGE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.Platform.T_PF_DEFECT_CODE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.Platform.T_PF_DEFECT_GRADE", "Nav_DefectGrade") + .WithMany("Nav_DefectCodes") + .HasForeignKey("BAD_GRADE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.Platform.T_PF_DEFECT_CODE", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DefectGrade"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.Platform.T_PF_DEFECT_GRADE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.Platform.T_PF_ECM_LOG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T4.T_PF_APP_VERSION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T4.T_PF_APP_VERSION_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T4.T_PF_APP_VERSION", "Nav_AppVersion") + .WithMany("Nav_Files") + .HasForeignKey("APP_VERSION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_AppVersion"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_FM_NOTIFICATION_TASK", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_FM_NOTIFICATION_TASK_TIME_SET", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_APPMENU", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_MenuForm") + .WithMany() + .HasForeignKey("MENU_FORM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPMENU", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.BD.T_BD_PICTURE", "Nav_Picture") + .WithMany() + .HasForeignKey("PICTURE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_MenuForm"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_Picture"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_APPROVE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_APPROVE_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany("Nav_ApproveDetails") + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", "Nav_ApproveRole") + .WithMany() + .HasForeignKey("APPROVE_ROLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApproveUser") + .WithMany() + .HasForeignKey("APPROVE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_ApproveRole"); + + b.Navigation("Nav_ApproveUser"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_APPROVE_TEMP", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_APPROVE_TEMP_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE_TEMP", "Nav_ApproveTemp") + .WithMany("Nav_ApproveTempDetails") + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", "Nav_ApproveRole") + .WithMany() + .HasForeignKey("APPROVE_ROLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_DefaultApproveUser") + .WithMany() + .HasForeignKey("DEFAULT_APPROVE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ApproveRole"); + + b.Navigation("Nav_ApproveTemp"); + + b.Navigation("Nav_DefaultApproveUser"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_BTN", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_TABLE", null) + .WithMany("Nav_Btns") + .HasForeignKey("PAGE_TABLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_CLIENT_MENU", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_MenuForm") + .WithMany() + .HasForeignKey("MENU_FORM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_CLIENT_MENU", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_MenuForm"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_CLIENT_SCOPES", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_DATA_CHANNEL", "Nav_DataChanel") + .WithMany("Nav_ClientScopes") + .HasForeignKey("DATA_CHANNEL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_SCOPES", "Nav_Scope") + .WithMany() + .HasForeignKey("SCOPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DataChanel"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Scope"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_CODE_RULE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_CODE_RULE_RUN_LOG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_CODE_RULE_SERIAL_LOG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_COLUMN", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_TABLE", "Nav_PageTable") + .WithMany("Nav_Columns") + .HasForeignKey("PAGE_TABLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_TABLE_PANEL", "Nav_PageTablePanel") + .WithMany() + .HasForeignKey("PAGE_TABLE_PANEL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageTable"); + + b.Navigation("Nav_PageTablePanel"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_COLUMN_FILTER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_COLUMN", "Nav_Column") + .WithMany("Nav_Filters") + .HasForeignKey("COLUMN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Column"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_DATA_CHANNEL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_DATA_FREQUENCY", "Nav_DataFrequency") + .WithMany() + .HasForeignKey("DATA_FREQUENCY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.OP.T_OP_TENANT", "Nav_Tenant") + .WithMany() + .HasForeignKey("TENANT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DataFrequency"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tenant"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_DATA_FREQUENCY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_EDIT", "Nav_PageEdit") + .WithMany("Nav_Columns") + .HasForeignKey("PAGE_EDIT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_EDIT_PANEL", "Nav_PageEditPanel") + .WithMany() + .HasForeignKey("PAGE_EDIT_PANEL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageEdit"); + + b.Navigation("Nav_PageEditPanel"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN_FILL_MAP", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN", "Nav_EditColumn") + .WithMany("Nav_FillMaps") + .HasForeignKey("EDIT_COLUMN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EditColumn"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN_FILL_MAP_D", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN_FILL_MAP", "Nav_EditColumnFillMap") + .WithMany("Nav_Details") + .HasForeignKey("EDIT_COLUMN_FILL_MAP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EditColumnFillMap"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN_FILTER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN", "Nav_EditColumn") + .WithMany("Nav_Filters") + .HasForeignKey("EDIT_COLUMN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EditColumn"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FDDEBACK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FDDEBACK_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FDDEBACK", "Nav_FeedBack") + .WithMany("Nav_Files") + .HasForeignKey("FDDEBACK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_FeedBack"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FILE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FILE_DB", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FILE_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FILE_DB_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FILE_DB", "Nav_FileDB") + .WithMany("Nav_Files") + .HasForeignKey("FILE_DB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_FileDB"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FILE_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FLOW_INSTANCE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Form") + .WithMany() + .HasForeignKey("FrmId") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FLOW_SCHEME", "InstanceScheme") + .WithMany() + .HasForeignKey("InstanceSchemeId") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Form"); + + b.Navigation("InstanceScheme"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FLOW_INSTANCE_OPER_HIS", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FLOW_INSTANCE", "FlowInstance") + .WithMany("OperationHistorys") + .HasForeignKey("InstanceId"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("FlowInstance"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FLOW_INSTANCE_TRANS_HIS", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FLOW_INSTANCE", "FlowInstance") + .WithMany("TransitionHistorys") + .HasForeignKey("InstanceId"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("FlowInstance"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FLOW_SCHEME", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Form") + .WithMany() + .HasForeignKey("FrmId") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "PermitForm") + .WithMany() + .HasForeignKey("PermitFrmId") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Form"); + + b.Navigation("Nav_Org"); + + b.Navigation("PermitForm"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_CONFIG_VERSION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_CONFIG_VERSION_D", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM_CONFIG_VERSION", "Nav_FormConfigVersion") + .WithMany("Nav_Details") + .HasForeignKey("FORM_CONFIG_VERSION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_FormConfigVersion"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_HOME_CHART", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", null) + .WithMany("Nav_HomeCharts") + .HasForeignKey("PAGE_FORM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_HOME_HMI", b => + { + b.HasOne("APT.BaseData.Domain.Entities.BD.T_BD_HMI", "Nav_Hmi") + .WithMany() + .HasForeignKey("HMI_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", null) + .WithMany("Nav_HomeHmis") + .HasForeignKey("PAGE_FORM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Hmi"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_HOME_RANKING", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", null) + .WithMany("Nav_HomeRankings") + .HasForeignKey("PAGE_FORM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_HOME_STATISTIC", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", null) + .WithMany("Nav_HomeStatistics") + .HasForeignKey("PAGE_FORM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_QUERY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_PageForm") + .WithMany() + .HasForeignKey("PAGE_FORM_ID"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageForm"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_HOME_TITLE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FILE", "Nav_File") + .WithMany("Nav_ImgFiles") + .HasForeignKey("FILE_ID"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_File"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_IMG_FILE_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FILE", "Nav_File") + .WithMany() + .HasForeignKey("FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany("Nav_Details") + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_File"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_LABEL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_MENU", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_MenuForm") + .WithMany() + .HasForeignKey("MENU_FORM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_MENU", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.BD.T_BD_PICTURE", "Nav_Picture") + .WithMany() + .HasForeignKey("PICTURE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_MenuForm"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_Picture"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_MQTT_CONFIG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_MQTT_CONFIG_THEME", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_MQTT_CONFIG", "Nav_MqttConfig") + .WithMany("Nav_MqttConfigTheme") + .HasForeignKey("MQTT_CONFIG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_MqttConfig"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_NOTICE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_NOTICE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_NOTICE", "Nav_Notice") + .WithMany("Nav_Files") + .HasForeignKey("NOTICE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Notice"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_CHART", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_PageForm") + .WithMany() + .HasForeignKey("PAGE_FORM_ID"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageForm"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_CHART_PARAM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_CHART", "Nav_PageChart") + .WithMany("Nav_Params") + .HasForeignKey("PAGE_CHART_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageChart"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_CUSTOM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_PageForm") + .WithMany() + .HasForeignKey("PAGE_FORM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageForm"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_EDIT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_PageForm") + .WithMany() + .HasForeignKey("PAGE_FORM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PARAM_SCHEME", "Nav_ParamScheme") + .WithMany("Nav_PageEdits") + .HasForeignKey("PARAM_SCHEME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_EDIT", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageForm"); + + b.Navigation("Nav_ParamScheme"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_EDIT_PANEL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_EDIT", "Nav_PageEdit") + .WithMany("Nav_Panels") + .HasForeignKey("PAGE_EDIT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageEdit"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_TABLE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_PageForm") + .WithMany() + .HasForeignKey("PAGE_FORM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PARAM_SCHEME", "Nav_ParamScheme") + .WithMany("Nav_PageTables") + .HasForeignKey("PARAM_SCHEME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_TABLE", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageForm"); + + b.Navigation("Nav_ParamScheme"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_TABLE_PANEL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_TABLE", "Nav_PageTable") + .WithMany("Nav_Panels") + .HasForeignKey("PAGE_TABLE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageTable"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_TREE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_PageForm") + .WithMany() + .HasForeignKey("PAGE_FORM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageForm"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PARAM_ITEM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PARAM_SCHEME", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PARAM_SCHEME_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PARAM_ITEM", "Nav_ParamItem") + .WithMany() + .HasForeignKey("PARAM_ITEM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PARAM_SCHEME", "Nav_ParamScheme") + .WithMany("Nav_Details") + .HasForeignKey("PARAM_SCHEME_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ParamItem"); + + b.Navigation("Nav_ParamScheme"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PIC_FILTER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_Form") + .WithMany() + .HasForeignKey("PAGE_FORM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.BD.T_BD_PICTURE", "Nav_Picture") + .WithMany() + .HasForeignKey("PICTURE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Form"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Picture"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PIC_FILTER_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PIC_FILTER", "Nav_PicFilter") + .WithMany("Nav_PicFilterDetail") + .HasForeignKey("PIC_FILTER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PicFilter"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_QUERY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_PageForm") + .WithMany() + .HasForeignKey("PAGE_FORM_ID"); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM_QUERY", "Nav_PageFormQuery") + .WithMany("Nav_Querys") + .HasForeignKey("PAGE_FORM_QUERY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageForm"); + + b.Navigation("Nav_PageFormQuery"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_QUERY_APP", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_QUESTION_FEEDBACK", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_SCOPES", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_TABLE_PARAMS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_TABLE", "Nav_PageTable") + .WithMany("Nav_TableParams") + .HasForeignKey("PAGE_TABLE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageTable"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_TREE_COLUMN", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_PAGE_TREE", "Nav_PageTree") + .WithMany("Nav_Columns") + .HasForeignKey("PAGE_TREE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PageTree"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_VERSION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.Infrastructure.Core.DataUpdateRecord", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.Infrastructure.Core.T_FM_ORGANIZATION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.Infrastructure.Core.T_PF_CODE_RULE_SERIAL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_DAMAGE_OBJECT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REASON_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REPORT", b => + { + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_TYPE", "Nav_AccidentType") + .WithMany() + .HasForeignKey("ACCIDENT_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_AccidentType"); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REPORT_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REPORT", "Nav_Report") + .WithMany("Nav_Files") + .HasForeignKey("REPORT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Report"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REPORT_LIST_KIND", b => + { + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_KIND", "Nav_AccidentKind") + .WithMany() + .HasForeignKey("KIND_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REPORT", "Nav_EventReport") + .WithMany("Nav_ListAccidentListKind") + .HasForeignKey("REPORT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_AccidentKind"); + + b.Navigation("Nav_EventReport"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_ADM_PUNISHMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_RESULT", "Nav_SurveyResult") + .WithMany("Nav_ListAdmPunishment") + .HasForeignKey("RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SurveyResult"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_CASUALTIES", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_RESULT", "Nav_SurveyResult") + .WithMany("Nav_ListCasualties") + .HasForeignKey("RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SurveyResult"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_DAMAGE_OBJECT", b => + { + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_DAMAGE_OBJECT", "Nav_DamageObject") + .WithMany() + .HasForeignKey("DAMAGE_OBJECT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_RESULT", "Nav_SurveyResult") + .WithMany("Nav_ListSurveyDamageObject") + .HasForeignKey("RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DamageObject"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SurveyResult"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_EQUIPMENT_LOSS", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EQUIPMENT", "Nav_Equipment") + .WithMany() + .HasForeignKey("EQUIPMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_FACILITIES", "Nav_Facilities") + .WithMany() + .HasForeignKey("FACILITIES_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_RESULT", "Nav_SurveyResult") + .WithMany("Nav_ListEquipmentLoss") + .HasForeignKey("RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Equipment"); + + b.Navigation("Nav_Facilities"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SurveyResult"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_RESULT", "Nav_SurveyResult") + .WithMany("Nav_FilesSurvey") + .HasForeignKey("RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SurveyResult"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_FORENSICS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_RESULT", "Nav_SurveyResult") + .WithMany("Nav_ListForensics") + .HasForeignKey("RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SurveyResult"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_FORENSICS_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_FORENSICS", "Nav_SurveyForensics") + .WithMany("Nav_FilesSurvey") + .HasForeignKey("SURVEY_FORENSICS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SurveyForensics"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_PFILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_RESULT", "Nav_SurveyResult") + .WithMany("Nav_FilesP") + .HasForeignKey("RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SurveyResult"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_REASON", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_RESULT", "Nav_SurveyResult") + .WithMany("Nav_ListReason") + .HasForeignKey("RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SurveyResult"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_REASON_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_REASON", "Nav_SurveyReason") + .WithMany("Nav_ListReasonType") + .HasForeignKey("REASON_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REASON_TYPE", "Nav_ReasonType") + .WithMany() + .HasForeignKey("REASON_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ReasonType"); + + b.Navigation("Nav_SurveyReason"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_RESULT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REPORT", "Nav_AccidentEventReport") + .WithMany() + .HasForeignKey("REPORT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT", "Nav_RiskSubmit") + .WithMany() + .HasForeignKey("RISK_SUBMIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_AccidentEventReport"); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskSubmit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_KIND", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_LEVEL_DAYS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_SURVEY_TEAM_DEPUTY_LEADER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_SURVEY_TEAM_MEMBER", "Nav_TeamMember") + .WithMany("Nav_DeputyLeaderUser") + .HasForeignKey("TEAM_MEMBER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TeamMember"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_SURVEY_TEAM_MEMBER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LeaderUser") + .WithMany() + .HasForeignKey("LEADER_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REPORT", "Nav_AccidentEventReport") + .WithMany() + .HasForeignKey("REPORT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_SurveyUser") + .WithMany() + .HasForeignKey("SURVEY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_AccidentEventReport"); + + b.Navigation("Nav_LeaderUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SurveyUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_SURVEY_TEAM_MEMBERS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_SURVEY_TEAM_MEMBER", "Nav_TeamMember") + .WithMany("Nav_TeamMembers") + .HasForeignKey("TEAM_MEMBER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TeamMember"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_DOSET_DEPARTMENT_USER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD", b => + { + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REPORT", "Nav_Accident") + .WithMany() + .HasForeignKey("ACCIDENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LeaderUser") + .WithMany() + .HasForeignKey("LEADER_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_SURVEY_TEAM_MEMBER", "Nav_TeamMember") + .WithMany() + .HasForeignKey("TEAM_MEMBER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Accident"); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_LeaderUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TeamMember"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD_ACC_FILES", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD", "Nav_Record") + .WithMany("Nav_FilesAcc") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD_ASK_USERS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD", "Nav_Record") + .WithMany("Nav_UsersAsk") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD_CHART_FILES", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD", "Nav_Record") + .WithMany("Nav_FilesChart") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD_INVESTIGATION_USERS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD", "Nav_Record") + .WithMany("Nav_UsersInvestigation") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD_NOTES_FILES", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD", "Nav_Record") + .WithMany("Nav_NotesFilesNotes") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_ACTIVE_USER_RECORD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_BSCHECKTYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_BSCHECKTYPE_YEAR", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_BSRISK_INFO", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_BSSAFECHECK", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_BSSAFECHECKTYPE_YEAR", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_BSSAFECHECK_YEAR", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_CLOSE_TASKS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_HOME_BSRISKREASON", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_HRISKCHANGE_PEC", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_HRISK_COUNT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_HRISK_TOP", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_LOGIN_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_RISK_LEVEL1", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_RISK_LEVEL2", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ParentDepartment") + .WithMany() + .HasForeignKey("PARENT_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ParentDepartment"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_RUNLOG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_SAFETASK_FINISH", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_TEAM", "Nav_Team") + .WithMany() + .HasForeignKey("TEAM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Team"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_SUMMARY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BI.T_BI_TRAIN_PLAN_COUNT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT", "Nav_CheckProject") + .WithMany() + .HasForeignKey("CHECK_PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckProject"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENTS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT_CHECK_TYPE", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT", "Nav_Content") + .WithMany("Nav_ListContentCheckTypes") + .HasForeignKey("CHECK_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY", "Nav_CheckProjectCategory") + .WithMany() + .HasForeignKey("Nav_CheckProjectCategoryID"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckProjectCategory"); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Content"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT_CHECK_TYPE_LEVEL", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT_CHECK_TYPE", "Nav_CheckContentCheckType") + .WithMany("Nav_ListContentCheckTypeLevels") + .HasForeignKey("CHECK_CONTENT_CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE_LEVEL", "Nav_CheckTypeLevel") + .WithMany() + .HasForeignKey("T_BS_CHECK_TYPE_LEVEL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckContentCheckType"); + + b.Navigation("Nav_CheckTypeLevel"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT_HM_RISK_AREA", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT", "Nav_Content") + .WithMany("Nav_ListContentAreas") + .HasForeignKey("CHECK_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("HM_RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Content"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT_MAIN_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_MAIN", "Nav_Main") + .WithMany("Nav_ListMainDep") + .HasForeignKey("MAIN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Main"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT_QUESTION", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT", "Nav_Content") + .WithMany("Nav_ListContentQuestions") + .HasForeignKey("CHECK_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Content"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Question"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_MAIN", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY", "Nav_CheckProjectCategory") + .WithMany() + .HasForeignKey("CHECK_PROJECT_CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT", "Nav_CheckProject") + .WithMany() + .HasForeignKey("CHECK_PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_PROJECT_CATEGORY", "Nav_CheckProjectProjectCategory") + .WithMany() + .HasForeignKey("CHECK_PROJECT_PROJECT_CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_QUESTION", "Nav_CheckQuestion") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE_LEVEL", "Nav_CheckTypeLevel") + .WithMany() + .HasForeignKey("CHECK_TYPE_LEVEL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_RiskArea") + .WithMany() + .HasForeignKey("RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CheckProject"); + + b.Navigation("Nav_CheckProjectCategory"); + + b.Navigation("Nav_CheckProjectProjectCategory"); + + b.Navigation("Nav_CheckQuestion"); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_CheckTypeLevel"); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskArea"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_MAIN_LAW", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_MAIN", "Nav_Main") + .WithMany("Nav_ListLaw") + .HasForeignKey("CHECK_MAIN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.SC.T_SC_STANDARD_CREATE", "Nav_Standard") + .WithMany() + .HasForeignKey("STANDARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Main"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Standard"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY_CHECKTYPE", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY", "Nav_ProjectCategory") + .WithMany("Nav_ListCategoryType") + .HasForeignKey("PROJECT_CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProjectCategory"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY_OBJECT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY", "Nav_ProjectCategory") + .WithMany("Nav_ListOBJECT") + .HasForeignKey("PROJECT_CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProjectCategory"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_PROJECT_CATEGORY", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY", "Nav_CheckProjectCategory") + .WithMany() + .HasForeignKey("CHECK_PROJECT_CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT", "Nav_CheckProject") + .WithMany("Nav_ListCheckProjectProjectCategory") + .HasForeignKey("CHECK_PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckProject"); + + b.Navigation("Nav_CheckProjectCategory"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_QUESTION", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENTS", "Nav_Contents") + .WithMany("Nav_ListCheckQuestion") + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE_LEVEL", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE", "Nav_CheckType") + .WithMany("Nav_ListCheckTypeLevel") + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ENUMS", "Nav_Enums") + .WithMany() + .HasForeignKey("CheckLevel_ENUMS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Enums"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE_MINETYPE", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE", "Nav_CheckType") + .WithMany("Nav_ListMineType") + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ENUMS", "Nav_Enums") + .WithMany() + .HasForeignKey("MINETYPE_ENUMS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Enums"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_DEPARTMENT_AREAOBJECT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENTID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_OPERATE_LOG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE_LEVEL", "Nav_CheckTypeLevel") + .WithMany() + .HasForeignKey("CHECK_TYPE_LEVEL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserSend") + .WithMany() + .HasForeignKey("USER_ID_SEND") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_CheckTypeLevel"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UserSend"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET_AREA", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET", "Nav_PlanSet") + .WithMany("Nav_ListArea") + .HasForeignKey("PLANSET_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PlanSet"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET_DEPARTMENT_OUT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET", "Nav_PlanSet") + .WithMany("Nav_ListDepOut") + .HasForeignKey("PLANSET_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PlanSet"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET_DEP_OBJECT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET", "Nav_PlanSet") + .WithMany("Nav_ListSetDepObject") + .HasForeignKey("PLANSET_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PlanSet"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET_OBJECT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET", "Nav_PlanSet") + .WithMany("Nav_ListSetObject") + .HasForeignKey("PLANSET_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PlanSet"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_CATEGORY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_LEVEL_DELAY_DAYS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_REASON", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_ApproveCheckAudit") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_Check") + .WithMany() + .HasForeignKey("CHECK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE_LEVEL", "Nav_CheckTypeLevel") + .WithMany() + .HasForeignKey("CHECK_TYPE_LEVEL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApproveCheckAudit"); + + b.Navigation("Nav_Check"); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_CheckTypeLevel"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserActualDeal") + .WithMany() + .HasForeignKey("ACTUAL_DEAL_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_ApproveCheckAudit") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_MAIN", "Nav_CheckMain") + .WithMany() + .HasForeignKey("CHECK_MAIN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY", "Nav_CheckProjectCategory") + .WithMany() + .HasForeignKey("CHECK_PROJECT_CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT", "Nav_CheckProject") + .WithMany() + .HasForeignKey("CHECK_PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_PROJECT_CATEGORY", "Nav_CheckProjectProjectCategory") + .WithMany() + .HasForeignKey("CHECK_PROJECT_PROJECT_CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserCheck") + .WithMany() + .HasForeignKey("CHECK_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentDeal") + .WithMany() + .HasForeignKey("DEAL_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserDeal") + .WithMany() + .HasForeignKey("DEAL_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_RiskArea") + .WithMany() + .HasForeignKey("RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT", "Nav_Submit") + .WithMany("Nav_ListRiskSubmitContent") + .HasForeignKey("RISK_SUBMIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_NOTICE", "Nav_SubmitNotice") + .WithMany("Nav_ListRiskSubmitContent") + .HasForeignKey("RISK_SUBMIT_NOTICE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_NOTICE_PERSON", "Nav_SubmitNoticePerson") + .WithMany("Nav_ListRiskSubmitContent") + .HasForeignKey("RISK_SUBMIT_NOTICE_PERSON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL", "Nav_SafeCheckDetail") + .WithMany() + .HasForeignKey("SAFE_CHECK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_SafeCheck") + .WithMany() + .HasForeignKey("SAFE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.BI.T_BI_AREA_TREE", null) + .WithMany("Nav_Submit") + .HasForeignKey("T_BI_AREA_TREEID"); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApproveCheckAudit"); + + b.Navigation("Nav_CheckMain"); + + b.Navigation("Nav_CheckProject"); + + b.Navigation("Nav_CheckProjectCategory"); + + b.Navigation("Nav_CheckProjectProjectCategory"); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DepartmentDeal"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Question"); + + b.Navigation("Nav_RiskArea"); + + b.Navigation("Nav_SafeCheck"); + + b.Navigation("Nav_SafeCheckDetail"); + + b.Navigation("Nav_Submit"); + + b.Navigation("Nav_SubmitNotice"); + + b.Navigation("Nav_SubmitNoticePerson"); + + b.Navigation("Nav_User"); + + b.Navigation("Nav_UserActualDeal"); + + b.Navigation("Nav_UserCheck"); + + b.Navigation("Nav_UserDeal"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_BACK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserActualDeal") + .WithMany() + .HasForeignKey("ACTUAL_DEAL_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_ApproveCheckAudit") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_MAIN", "Nav_CheckMain") + .WithMany() + .HasForeignKey("CHECK_MAIN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserCheck") + .WithMany() + .HasForeignKey("CHECK_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentDeal") + .WithMany() + .HasForeignKey("DEAL_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserDeal") + .WithMany() + .HasForeignKey("DEAL_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT", "Nav_SubmitContent") + .WithMany() + .HasForeignKey("RISK_SUBMIT_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT", "Nav_Submit") + .WithMany() + .HasForeignKey("RISK_SUBMIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_NOTICE_PERSON", "Nav_SubmitNoticePerson") + .WithMany() + .HasForeignKey("RISK_SUBMIT_NOTICE_PERSON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL", "Nav_SafeCheckDetail") + .WithMany() + .HasForeignKey("SAFE_CHECK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_SafeCheck") + .WithMany() + .HasForeignKey("SAFE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApproveCheckAudit"); + + b.Navigation("Nav_CheckMain"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DepartmentDeal"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Question"); + + b.Navigation("Nav_SafeCheck"); + + b.Navigation("Nav_SafeCheckDetail"); + + b.Navigation("Nav_Submit"); + + b.Navigation("Nav_SubmitContent"); + + b.Navigation("Nav_SubmitNoticePerson"); + + b.Navigation("Nav_User"); + + b.Navigation("Nav_UserActualDeal"); + + b.Navigation("Nav_UserCheck"); + + b.Navigation("Nav_UserDeal"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserActualDeal") + .WithMany() + .HasForeignKey("ACTUAL_DEAL_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_ApproveCheckAudit") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserCheck") + .WithMany() + .HasForeignKey("CHECK_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserDeal") + .WithMany() + .HasForeignKey("DEAL_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT", "Nav_SubmitContent") + .WithMany() + .HasForeignKey("RISK_SUBMIT_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT", "Nav_Submit") + .WithMany() + .HasForeignKey("RISK_SUBMIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_NOTICE", "Nav_SubmitNotice") + .WithMany() + .HasForeignKey("RISK_SUBMIT_NOTICE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_NOTICE_PERSON", "Nav_SubmitNoticePerson") + .WithMany() + .HasForeignKey("RISK_SUBMIT_NOTICE_PERSON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApproveCheckAudit"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Submit"); + + b.Navigation("Nav_SubmitContent"); + + b.Navigation("Nav_SubmitNotice"); + + b.Navigation("Nav_SubmitNoticePerson"); + + b.Navigation("Nav_UserActualDeal"); + + b.Navigation("Nav_UserCheck"); + + b.Navigation("Nav_UserDeal"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL_AFTER_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL", "Nav_RiskSubmitContentDeal") + .WithMany("Nav_FilesAfter") + .HasForeignKey("RISK_SUBMIT_CONTENT_DEAL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskSubmitContentDeal"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL", "Nav_RiskSubmitContentDeal") + .WithMany("Nav_Files") + .HasForeignKey("RISK_SUBMIT_CONTENT_DEAL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskSubmitContentDeal"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL_USERCHECKSIGN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL", "Nav_ContentDeal") + .WithMany("Nav_ListCheckUserSign") + .HasForeignKey("SUBMIT_CONTENT_DEAL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("SUSER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ContentDeal"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL_USERSIGN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL", "Nav_ContentDeal") + .WithMany("Nav_ListUserSign") + .HasForeignKey("SUBMIT_CONTENT_DEAL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("SUSER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ContentDeal"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT", "Nav_RiskSubmitContent") + .WithMany("Nav_Files") + .HasForeignKey("RISK_SUBMIT_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT", "Nav_RiskSubmit") + .WithMany() + .HasForeignKey("RISK_SUBMIT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_BACK", null) + .WithMany("Nav_Files") + .HasForeignKey("T_BS_RISK_SUBMIT_CONTENT_BACKID"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskSubmit"); + + b.Navigation("Nav_RiskSubmitContent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_REASON", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_REASON", "Nav_RiskReason") + .WithMany() + .HasForeignKey("RISK_REASON_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT", "Nav_RiskSubmitContent") + .WithMany("Nav_ListRiskQuestionReason") + .HasForeignKey("RISK_SUBMIT_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_BACK", null) + .WithMany("Nav_ListRiskQuestionReason") + .HasForeignKey("T_BS_RISK_SUBMIT_CONTENT_BACKID"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskReason"); + + b.Navigation("Nav_RiskSubmitContent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_TEMP", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_ApproveCheckAudit") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT", "Nav_CheckProject") + .WithMany() + .HasForeignKey("CHECK_PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_QUESTION", "Nav_CheckQuestion") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE_LEVEL", "Nav_CheckTypeLevel") + .WithMany() + .HasForeignKey("CHECK_TYPE_LEVEL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_RiskArea") + .WithMany() + .HasForeignKey("RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT", "Nav_SubmitContent") + .WithMany() + .HasForeignKey("RISK_SUBMIT_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT", "Nav_Submit") + .WithMany() + .HasForeignKey("RISK_SUBMIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL", "Nav_SafeCheckDetail") + .WithMany() + .HasForeignKey("SAFE_CHECK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_SafeCheck") + .WithMany() + .HasForeignKey("SAFE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserAudit") + .WithMany() + .HasForeignKey("USER_ID_AUDIT") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID_EDIT") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApproveCheckAudit"); + + b.Navigation("Nav_CheckProject"); + + b.Navigation("Nav_CheckQuestion"); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_CheckTypeLevel"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskArea"); + + b.Navigation("Nav_SafeCheck"); + + b.Navigation("Nav_SafeCheckDetail"); + + b.Navigation("Nav_Submit"); + + b.Navigation("Nav_SubmitContent"); + + b.Navigation("Nav_User"); + + b.Navigation("Nav_UserAudit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_DELAY_APPLY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentApply") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT", "Nav_SubmitContent") + .WithMany() + .HasForeignKey("RISK_SUBMIT_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT", "Nav_Submit") + .WithMany() + .HasForeignKey("RISK_SUBMIT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_NOTICE_PERSON", "Nav_SubmitNoticePerson") + .WithMany() + .HasForeignKey("RISK_SUBMIT_NOTICE_PERSON_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_DepartmentApply"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Submit"); + + b.Navigation("Nav_SubmitContent"); + + b.Navigation("Nav_SubmitNoticePerson"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_DELAY_APPLY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT", "Nav_SubmitContent") + .WithMany() + .HasForeignKey("RISK_SUBMIT_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_DELAY_APPLY", "Nav_Apply") + .WithMany("Nav_ListApplyDetail") + .HasForeignKey("RISK_SUBMIT_DELAY_APPLY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_NOTICE_PERSON", "Nav_SubmitNoticePerson") + .WithMany() + .HasForeignKey("RISK_SUBMIT_NOTICE_PERSON_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Apply"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Question"); + + b.Navigation("Nav_SubmitContent"); + + b.Navigation("Nav_SubmitNoticePerson"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT", "Nav_RiskSubmit") + .WithMany("Nav_Files") + .HasForeignKey("RISK_SUBMIT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskSubmit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_NOTICE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT", "Nav_Submit") + .WithMany() + .HasForeignKey("RISK_SUBMIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Submit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_NOTICE_PERSON", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT", "Nav_Submit") + .WithMany() + .HasForeignKey("RISK_SUBMIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_NOTICE", "Nav_SubmitNotice") + .WithMany() + .HasForeignKey("RISK_SUBMIT_NOTICE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Submit"); + + b.Navigation("Nav_SubmitNotice"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_TPM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_ApproveCheckAudit") + .WithMany() + .HasForeignKey("APPROVE_CHECKAUDIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE_TEMP", "Nav_ApproveTemp") + .WithMany() + .HasForeignKey("APPROVE_TEMP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE_LEVEL", "Nav_CheckTypeLevel") + .WithMany() + .HasForeignKey("CHECK_TYPE_LEVEL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENTID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET", "Nav_PlanSet") + .WithMany() + .HasForeignKey("PLAN_SET_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.BI.T_BI_AREA_TREE", null) + .WithMany("Nav_Check") + .HasForeignKey("T_BI_AREA_TREEID"); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USERID_DOPLAN") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_ApproveCheckAudit"); + + b.Navigation("Nav_ApproveTemp"); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_CheckTypeLevel"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PlanSet"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_MAIN", "Nav_CheckMain") + .WithMany() + .HasForeignKey("CHECK_MAIN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY", "Nav_CheckProjectCategory") + .WithMany() + .HasForeignKey("CHECK_PROJECT_CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT", "Nav_CheckProject") + .WithMany() + .HasForeignKey("CHECK_PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_PROJECT_CATEGORY", "Nav_CheckProjectProjectCategory") + .WithMany() + .HasForeignKey("CHECK_PROJECT_PROJECT_CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_QUESTION", "Nav_CheckQuestion") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_CheckArea") + .WithMany() + .HasForeignKey("RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_SafeCheck") + .WithMany("Nav_ListSafeCheckDetail") + .HasForeignKey("SAFE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckArea"); + + b.Navigation("Nav_CheckMain"); + + b.Navigation("Nav_CheckProject"); + + b.Navigation("Nav_CheckProjectCategory"); + + b.Navigation("Nav_CheckProjectProjectCategory"); + + b.Navigation("Nav_CheckQuestion"); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafeCheck"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL", "Nav_CheckDetail") + .WithMany("Nav_Files") + .HasForeignKey("SAFE_CHECK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_SafeCheck") + .WithMany() + .HasForeignKey("SAFE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckDetail"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafeCheck"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_LAW", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL", "Nav_CheckDetail") + .WithMany("Nav_ListLaw") + .HasForeignKey("CHECK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.SC.T_SC_STANDARD_CREATE", "Nav_Standard") + .WithMany() + .HasForeignKey("STANDARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Standard"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_QUESTION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL", "Nav_SafeCheckDetail") + .WithMany("Nav_ListCheckDetailQuestion") + .HasForeignKey("SAFE_CHECK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_SafeCheck") + .WithMany() + .HasForeignKey("SAFE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("SAFE_CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Question"); + + b.Navigation("Nav_SafeCheck"); + + b.Navigation("Nav_SafeCheckDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_REASON", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL", "Nav_CheckDetail") + .WithMany("Nav_ListCheckDetailReason") + .HasForeignKey("CHECK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_RISK_REASON", "Nav_RiskReason") + .WithMany() + .HasForeignKey("RISK_REASON_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskReason"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_REJECT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL", "Nav_CheckDetail") + .WithMany() + .HasForeignKey("SAFE_CHECK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_Check") + .WithMany() + .HasForeignKey("SAFE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Check"); + + b.Navigation("Nav_CheckDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_REJECT_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_REJECT", "Nav_Reject") + .WithMany("Nav_Files") + .HasForeignKey("REJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Reject"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL", "Nav_SafeCheckDetail") + .WithMany("Nav_ListCheckDetailUser") + .HasForeignKey("SAFE_CHECK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_SafeCheck") + .WithMany() + .HasForeignKey("SAFE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafeCheck"); + + b.Navigation("Nav_SafeCheckDetail"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_SafeCheck") + .WithMany("Nav_Files") + .HasForeignKey("SAFE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafeCheck"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_PROJECT", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT", "Nav_CheckProject") + .WithMany() + .HasForeignKey("CHECK_PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_SafeCheck") + .WithMany("Nav_ListCheckProject") + .HasForeignKey("SAFE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckProject"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafeCheck"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_PROJECT_CATEGORY", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY", "Nav_CheckProjectCategory") + .WithMany() + .HasForeignKey("CHECK_PROJECT_CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_SafeCheck") + .WithMany("Nav_ListCheckProjectCategory") + .HasForeignKey("SAFE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckProjectCategory"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafeCheck"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_RECORD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_SafeCheck") + .WithMany() + .HasForeignKey("SAFE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafeCheck"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_RECORD_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL", "Nav_SafeCheckDetail") + .WithMany() + .HasForeignKey("SAFE_CHECK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_RECORD", "Nav_CheckRecord") + .WithMany("Nav_ListRecordDetail") + .HasForeignKey("SAFE_CHECK_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CheckRecord"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafeCheckDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_RISK_AREA", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_RiskArea") + .WithMany() + .HasForeignKey("RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_SafeCheck") + .WithMany("Nav_ListCheckRiskArea") + .HasForeignKey("SAFE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskArea"); + + b.Navigation("Nav_SafeCheck"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_USERSIGN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", "Nav_SafeCheck") + .WithMany("Nav_ListCheckUserSign") + .HasForeignKey("SAFE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("SUSER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafeCheck"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_ABILITY_EVALUATE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_ABILITY_EVALUATE_PROJECT", b => + { + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_ABILITY_EVALUATE", "Nav_Evaluate") + .WithMany("Nav_ListProject") + .HasForeignKey("EVALUATE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_ABILITY_PROJECT", "Nav_EvaluateProject") + .WithMany() + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Evaluate"); + + b.Navigation("Nav_EvaluateProject"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_ABILITY_EVALUATE_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_ABILITY_EVALUATE", "Nav_AbilityEvaluate") + .WithMany("Nav_Users") + .HasForeignKey("ABILITY_EVALUATE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_AbilityEvaluate"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_ABILITY_PROJECT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_CONFIG", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_CONTINGENCY_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_COVERAGE_INFLUENCE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_ESTIMATE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD", "Nav_Record") + .WithMany() + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_ESTIMATE_ITEM_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_ESTIMATE_RECORD", b => + { + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_DRILL_ESTIMATE", "Nav_Estimate") + .WithMany("Nav_ListEstimateRecord") + .HasForeignKey("ESTIMEATE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_DRILL_ESTIMATE_ITEM_TYPE", "Nav_Item") + .WithMany() + .HasForeignKey("ITEM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Estimate"); + + b.Navigation("Nav_Item"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_NAME", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_PLAN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_PLAN_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_DRILL_NAME", "Nav_Name") + .WithMany() + .HasForeignKey("NAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_DRILL_PLAN", "Nav_PLAN") + .WithMany("Nav_listPlanDetail") + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Name"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PLAN"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_PLAN_STANDARD_CREATE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_DRILL_PLAN_DETAIL", "Nav_Plan") + .WithMany("Nav_ListStandard") + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.SC.T_SC_STANDARD_CREATE", "Nav_StandardCreate") + .WithMany() + .HasForeignKey("STANDARD_CREATE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_StandardCreate"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_DRILL_NAME", "Nav_Name") + .WithMany() + .HasForeignKey("NAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_DRILL_PLAN_DETAIL", "Nav_PlanDetail") + .WithMany() + .HasForeignKey("PLAN_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserManage") + .WithMany() + .HasForeignKey("USER_ID_MANAGE") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserRecord") + .WithMany() + .HasForeignKey("USER_ID_RECORD") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Name"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PlanDetail"); + + b.Navigation("Nav_UserManage"); + + b.Navigation("Nav_UserRecord"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD", "Nav_Record") + .WithMany("Nav_ListDepartment") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD", "Nav_Record") + .WithMany("Nav_FilesRecord") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD_SUMMARY_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD", "Nav_Record") + .WithMany("Nav_FilesSummary") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD_USER_ESTIMATE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD", "Nav_Record") + .WithMany("Nav_ListUserEstimate") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_SUMMARY_REQUIREMENT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD", "Nav_Record") + .WithMany("Nav_ListSummaryRequirement") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_DRILL_SUMMARY_REQUIREMENT_TYPE", "Nav_TypeRequirement") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_TypeRequirement"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_SUMMARY_REQUIREMENT_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY", "Nav_EQDSurvey") + .WithMany("Nav_ListDetail") + .HasForeignKey("DEMAND_SURVEY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_LIBRARY", "Nav_MaterialLibrary") + .WithMany() + .HasForeignKey("LIBRARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY_MASTER", "Nav_SurveyMaster") + .WithMany("Nav_ListDetail") + .HasForeignKey("SURVEY_MASTER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_TYPE", "Nav_MaterialType") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EQDSurvey"); + + b.Navigation("Nav_MaterialLibrary"); + + b.Navigation("Nav_MaterialType"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SurveyMaster"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY", "Nav_EQDSurvey") + .WithMany("Nav_Files") + .HasForeignKey("DEMAND_SURVEY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EQDSurvey"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY_MASTER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY_MASTER_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY_MASTER", "Nav_SurveyMaster") + .WithMany("Nav_Files") + .HasForeignKey("SURVEY_MASTER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SurveyMaster"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_EVENT_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_LIBRARY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARMTNET_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_TYPE", "Nav_MaterialType") + .WithMany() + .HasForeignKey("MATERIAL_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_MaterialType"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_LIBRARY_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_LIBRARY", "Nav_MaterialLibrary") + .WithMany("Nav_Files") + .HasForeignKey("MATERIAL_LIBRARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_MaterialLibrary"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_OPERATE_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_LIBRARY", "Nav_Material") + .WithMany() + .HasForeignKey("MATERIAL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_OPERATE_DETAIL", "Nav_Detail") + .WithMany() + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_OPERATE_RECORD", "Nav_Record") + .WithMany("Nav_listDetail") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_Material"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_OPERATE_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY_MASTER", "Nav_Mastera") + .WithMany() + .HasForeignKey("MASTERA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_LIBRARY", "Nav_Material") + .WithMany() + .HasForeignKey("MATERIAL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_OPERATE_RECORD", "Nav_Record") + .WithMany() + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserOperate") + .WithMany() + .HasForeignKey("USER_ID_OPERATE") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Mastera"); + + b.Navigation("Nav_Material"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + + b.Navigation("Nav_UserOperate"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE", b => + { + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_TYPE", "Nav_AccidentType") + .WithMany() + .HasForeignKey("ACCIDENT_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentReport") + .WithMany() + .HasForeignKey("DEPARTMENT_ID_REPORT") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REPORT", "Nav_Event") + .WithMany() + .HasForeignKey("EVENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserManage") + .WithMany() + .HasForeignKey("USER_ID_MANAGE") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserReport") + .WithMany() + .HasForeignKey("USER_ID_REPORT") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_AccidentType"); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DepartmentReport"); + + b.Navigation("Nav_Event"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + + b.Navigation("Nav_UserManage"); + + b.Navigation("Nav_UserReport"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE_CONDITION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE_CONDITIONS", b => + { + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE_CONDITION", "Nav_RspEstimateCondition") + .WithMany() + .HasForeignKey("CONDITION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE", "Nav_RspEstimate") + .WithMany("Nav_ListRspConditions") + .HasForeignKey("ESTIMATE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RspEstimate"); + + b.Navigation("Nav_RspEstimateCondition"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE_ESTIMATE_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE", "Nav_RspEstimate") + .WithMany("Nav_ListEstimate") + .HasForeignKey("ESTIMATE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RspEstimate"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE_EVENT_KIND", b => + { + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE", "Nav_RspEstimate") + .WithMany("Nav_ListEventKind") + .HasForeignKey("ESTIMATE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_KIND", "Nav_RspAccdentKind") + .WithMany() + .HasForeignKey("KIND_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RspAccdentKind"); + + b.Navigation("Nav_RspEstimate"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE_JOIN_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE", "Nav_RspEstimate") + .WithMany("Nav_ListJoin") + .HasForeignKey("ESTIMATE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RspEstimate"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_URGENT_AREAR_INFLUENCE", b => + { + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_COVERAGE_INFLUENCE", "Nav_CoverageInfluence") + .WithMany() + .HasForeignKey("COVERAGE_INFLUENCE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_URGENT_EVENT", "Nav_UrgentEvent") + .WithMany("Nav_ListArearInfluence") + .HasForeignKey("URGENT_EVENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CoverageInfluence"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UrgentEvent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_URGENT_EVENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_EVENT_TYPE", "Nav_EventType") + .WithMany() + .HasForeignKey("EVENT_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_EventType"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_URGENT_EVENT_CONTINGENCY_PLAN", b => + { + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_CONTINGENCY_TYPE", "Nav_ContingencyType") + .WithMany() + .HasForeignKey("CONTINGENCY_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_URGENT_EVENT", "Nav_UrgentEvent") + .WithMany("Nav_ListEventContingencyPlan") + .HasForeignKey("URGENT_EVENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ContingencyType"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UrgentEvent"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_URGENT_EVENT_RISK_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_TYPE", "Nav_RiskType") + .WithMany() + .HasForeignKey("RISK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.CM.T_CM_URGENT_EVENT", "Nav_UrgentEvent") + .WithMany("Nav_ListEventRiskType") + .HasForeignKey("URGENT_EVENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskType"); + + b.Navigation("Nav_UrgentEvent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_CATEGORY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_CATEGORY", "Nav_Category") + .WithMany() + .HasForeignKey("CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.BI.T_BI_AREA_TREE", null) + .WithMany("Nav_Device") + .HasForeignKey("T_BI_AREA_TREEID"); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_UserPost") + .WithMany() + .HasForeignKey("USER_POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_UseDepartment") + .WithMany() + .HasForeignKey("USE_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UseUser") + .WithMany() + .HasForeignKey("USE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_UseUserPost") + .WithMany() + .HasForeignKey("USE_USER_POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Category"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Type"); + + b.Navigation("Nav_UseDepartment"); + + b.Navigation("Nav_User"); + + b.Navigation("Nav_UserPost"); + + b.Navigation("Nav_UseUser"); + + b.Navigation("Nav_UseUserPost"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_CHECK", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_DeviceBase") + .WithMany("Nav_ListCheck") + .HasForeignKey("DEVICEBASE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", null) + .WithMany("Nav_ListCheckCircle") + .HasForeignKey("T_DM_DEVICE_BASEID"); + + b.Navigation("Nav_DeviceBase"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_CHECK_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_CHECK", "Nav_DeviceBaseCheck") + .WithMany("Nav_ListUser") + .HasForeignKey("BASECHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DeviceBaseCheck"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_DeviceBase") + .WithMany("Nav_Files") + .HasForeignKey("DEVICE_BASE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DeviceBase"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_INSPECTION", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_DeviceBase") + .WithMany("Nav_Inspection") + .HasForeignKey("DEVICE_BASE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DeviceBase"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_INSPECTION_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_INSPECTION", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_OVERHAUL", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_DeviceBase") + .WithMany("Nav_Overhaul") + .HasForeignKey("DEVICE_BASE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DeviceBase"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_OVERHAUL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_OVERHAUL", "Nav_FileParent") + .WithMany("Nav_Files") + .HasForeignKey("FILE_PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_FileParent"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_PURCHASE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_PURCHASE_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_CATEGORY", "Nav_Category") + .WithMany() + .HasForeignKey("CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE", "Nav_Device") + .WithMany() + .HasForeignKey("DEVICE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_PURCHASE", "Nav_DevicePurchase") + .WithMany("Nav_Details") + .HasForeignKey("DEVICE_PURCHASE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ManageUser") + .WithMany() + .HasForeignKey("MANAGE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Category"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Device"); + + b.Navigation("Nav_DevicePurchase"); + + b.Navigation("Nav_ManageUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_Type"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_PURCHASE_DETAIL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_PURCHASE_DETAIL", "Nav_PurchaseDetail") + .WithMany("Nav_Files") + .HasForeignKey("DEVICE_PURCHASE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PurchaseDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_PURCHASE_DETAIL_RECEIPT_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_PURCHASE_DETAIL", "Nav_PurchaseDetail") + .WithMany("Nav_ReceiptFiles") + .HasForeignKey("DEVICE_PURCHASE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PurchaseDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_DeviceBase") + .WithMany() + .HasForeignKey("DEVICEBASE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_SCHEDULING", "Nav_Scheduling") + .WithMany() + .HasForeignKey("SCHEDULIN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DeviceBase"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Scheduling"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_CHECK", "Nav_BaseCheck") + .WithMany() + .HasForeignKey("BASECHECK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK", "Nav_DeviceCheck") + .WithMany("Nav_ListDetail") + .HasForeignKey("DEVICE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_BaseCheck"); + + b.Navigation("Nav_DeviceCheck"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK_DETAIL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK_DETAIL", "Nav_CheckDetail") + .WithMany("Nav_DetailFiles") + .HasForeignKey("CHECK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckDetail"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK", "Nav_Check") + .WithMany("Nav_Files") + .HasForeignKey("CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Check"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK", "Nav_Check") + .WithMany("Nav_ListUser") + .HasForeignKey("CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Check"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_CHECK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_CHECK_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_CHECK", "Nav_Check") + .WithMany("Nav_ListDetail") + .HasForeignKey("CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_DeviceBase") + .WithMany() + .HasForeignKey("DEVICEBASE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_PLAN", "Nav_Plan") + .WithMany() + .HasForeignKey("PLANID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Check"); + + b.Navigation("Nav_DeviceBase"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_CHECK_DETAIL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_CHECK_DETAIL", "Nav_CheckDetail") + .WithMany("Nav_Files") + .HasForeignKey("DEVICE_MAINTENANCE_CHECK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckDetail"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_CHECK_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_CHECK", "Nav_Check") + .WithMany("Nav_ListUser") + .HasForeignKey("CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Check"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_PLAN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_PLAN_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_DeviceBase") + .WithMany() + .HasForeignKey("DEVICEBASE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_PLAN", "Nav_Plan") + .WithMany("Nav_PlanDetails") + .HasForeignKey("DEVICE_MAINTENANCE_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DeviceBase"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_PLAN_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_PLAN", "Nav_Plan") + .WithMany("Nav_Files") + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_PLAN_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_PPLAN_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_OVERHAUL", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_Device") + .WithMany() + .HasForeignKey("DEVICE_BASE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_REPAIR", "Nav_Repair") + .WithMany() + .HasForeignKey("REPAIR_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Device"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Repair"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_OVERHAUL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_OVERHAUL", "Nav_Overhaul") + .WithMany("Nav_Files") + .HasForeignKey("OVERHAUL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Overhaul"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_PURCHASE", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_PURCHASE", "Nav_Purchase") + .WithMany() + .HasForeignKey("BASE_PURCHASE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Purchase"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_PURCHASE_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_CATEGORY", "Nav_Category") + .WithMany() + .HasForeignKey("CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE", "Nav_Device") + .WithMany() + .HasForeignKey("DEVICE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_PURCHASE", "Nav_DevicePurchase") + .WithMany("Nav_Details") + .HasForeignKey("DEVICE_PURCHASE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ManageUser") + .WithMany() + .HasForeignKey("MANAGE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Category"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Device"); + + b.Navigation("Nav_DevicePurchase"); + + b.Navigation("Nav_ManageUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_Type"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_PURCHASE_DETAIL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_PURCHASE_DETAIL", "Nav_PurchaseDetail") + .WithMany("Nav_Files") + .HasForeignKey("DEVICE_PURCHASE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PurchaseDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_PURCHASE_DETAIL_RECEIPT_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_PURCHASE_DETAIL", "Nav_PurchaseDetail") + .WithMany("Nav_ReceiptFiles") + .HasForeignKey("DEVICE_PURCHASE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PurchaseDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_REPAIR", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_Device") + .WithMany() + .HasForeignKey("DEVICE_BASE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_Repair_Charge_User") + .WithMany() + .HasForeignKey("REPAIR_CHARGE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_Repair_User") + .WithMany() + .HasForeignKey("REPAIR_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Device"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Repair_Charge_User"); + + b.Navigation("Nav_Repair_User"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_REPAIR_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_REPAIR", "Nav_Repair") + .WithMany("Nav_Files") + .HasForeignKey("REPAIR_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Repair"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_SCRAP", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_DeviceBase") + .WithMany() + .HasForeignKey("DEVICEBASE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DeviceBase"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_TIME_RUN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_DeviceBase") + .WithMany() + .HasForeignKey("DEVICE_BASE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE", "Nav_Device") + .WithMany() + .HasForeignKey("DEVICE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Device"); + + b.Navigation("Nav_DeviceBase"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_TIME_RUN_CONTENT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_TIME_RUN", "Nav_TimeSet") + .WithMany("Nav_Contents") + .HasForeignKey("TIME_SET_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TimeSet"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CHANGE_SHIFT_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_CLASS", "Nav_Class") + .WithMany() + .HasForeignKey("CLASS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_DepartmentPost") + .WithMany() + .HasForeignKey("DEPARTMENT_POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_Editor") + .WithMany() + .HasForeignKey("EDITOR_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_TEAM", "Nav_Team") + .WithMany() + .HasForeignKey("TEAM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Class"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DepartmentPost"); + + b.Navigation("Nav_Editor"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Team"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CHANGE_SHIFT_RECORD_AFTER_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CHANGE_SHIFT_RECORD", "Nav_ChangeShiftRecord") + .WithMany("Nav_AfterUsers") + .HasForeignKey("CHANGE_SHIFT_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ChangeShiftRecord"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CHANGE_SHIFT_RECORD_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CHANGE_SHIFT_RECORD", "Nav_ChangeShiftRecord") + .WithMany("Nav_Files") + .HasForeignKey("CHANGE_SHIFT_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ChangeShiftRecord"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CHANGE_SHIFT_RECORD_PRE_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CHANGE_SHIFT_RECORD", "Nav_ChangeShiftRecord") + .WithMany("Nav_PreUsers") + .HasForeignKey("CHANGE_SHIFT_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ChangeShiftRecord"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_DEAL_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB", "Nav_CrucialLicenseJob") + .WithMany("Nav_DealMeasures") + .HasForeignKey("CRUCIAL_LICENSE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CrucialLicenseJob"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PRE_OPER_SCH", "Nav_JobScheme") + .WithMany() + .HasForeignKey("JOB_SCHEME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_MonitorUser") + .WithMany() + .HasForeignKey("MONITOR_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED", "Nav_Related") + .WithMany() + .HasForeignKey("RELATED_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("TERRITORY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_JobScheme"); + + b.Navigation("Nav_MonitorUser"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Related"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB", "Nav_CrucialLicenseJob") + .WithMany("Nav_Files") + .HasForeignKey("CRUCIAL_LICENSE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CrucialLicenseJob"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PRE_OPER_SCH", "Nav_JobScheme") + .WithMany() + .HasForeignKey("JOB_SCHEME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_MonitorUser") + .WithMany() + .HasForeignKey("MONITOR_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED", "Nav_Related") + .WithMany() + .HasForeignKey("RELATED_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("TERRITORY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_JobScheme"); + + b.Navigation("Nav_MonitorUser"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Related"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB_RISK", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB", "Nav_CrucialLicenseJob") + .WithMany("Nav_Risks") + .HasForeignKey("CRUCIAL_LICENSE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CrucialLicenseJob"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_OUTSOURCE_DEAL_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE", "Nav_CrucialLicenseJob") + .WithMany("Nav_DealMeasures") + .HasForeignKey("CRUCIAL_LICENSE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CrucialLicenseJob"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_OUTSOURCE_PERSON", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE", "Nav_CrucialLicenseJob") + .WithMany("Nav_CrucialLicensePerson") + .HasForeignKey("CRUCIAL_LICENSE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CrucialLicenseJob"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_OUTSOURCE_RISK", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE", "Nav_CrucialLicenseJob") + .WithMany("Nav_Risks") + .HasForeignKey("CRUCIAL_LICENSE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CrucialLicenseJob"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_OUTSOURCE_SAFE_CONFIRM", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE", "Nav_CrucialLicenseJob") + .WithMany("Nav_SafeConfirms") + .HasForeignKey("CRUCIAL_LICENSE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CrucialLicenseJob"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_OUTSOURCE_SAFE_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE", "Nav_CrucialLicenseJob") + .WithMany("Nav_SafeMeasures") + .HasForeignKey("CRUCIAL_LICENSE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CrucialLicenseJob"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_PERSON", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB", "Nav_CrucialLicenseJob") + .WithMany("Nav_CrucialLicensePerson") + .HasForeignKey("CRUCIAL_LICENSE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_RENEWAL_TRAIN", "Nav_Train") + .WithMany() + .HasForeignKey("TRAIN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CrucialLicenseJob"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Train"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_SAFE_CONFIRM", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB", "Nav_CrucialLicenseJob") + .WithMany("Nav_SafeConfirms") + .HasForeignKey("CRUCIAL_LICENSE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CrucialLicenseJob"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_SAFE_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB", "Nav_CrucialLicenseJob") + .WithMany("Nav_SafeMeasures") + .HasForeignKey("CRUCIAL_LICENSE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CrucialLicenseJob"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CURRENT_CLASS_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ChargeUser") + .WithMany() + .HasForeignKey("CHARGE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_CLASS", "Nav_Class") + .WithMany() + .HasForeignKey("CLASS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_TEAM", "Nav_Team") + .WithMany() + .HasForeignKey("CLASS_TEAM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_DepartmentPost") + .WithMany() + .HasForeignKey("DEPARTMENT_POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_Editor") + .WithMany() + .HasForeignKey("EDITOR_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ChargeUser"); + + b.Navigation("Nav_Class"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DepartmentPost"); + + b.Navigation("Nav_Editor"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Team"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CURRENT_CLASS_RECORD_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CURRENT_CLASS_RECORD", "Nav_CurrentClassRecord") + .WithMany("Nav_Files") + .HasForeignKey("CURRENT_CLASS_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CurrentClassRecord"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CURRENT_CLASS_RECORD_LABOUR_SUPPLY", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CURRENT_CLASS_RECORD", "Nav_CurrentClassRecord") + .WithMany("Nav_LabourSupplies") + .HasForeignKey("CURRENT_CLASS_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_LABOUR_SUPPLY", "Nav_LabourSupply") + .WithMany() + .HasForeignKey("Nav_LabourSupplyID"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CurrentClassRecord"); + + b.Navigation("Nav_LabourSupply"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CURRENT_CLASS_RECORD_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CURRENT_CLASS_RECORD", "Nav_CurrentClassRecord") + .WithMany("Nav_Users") + .HasForeignKey("CURRENT_CLASS_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CurrentClassRecord"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_EDUCATIONAL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Company") + .WithMany() + .HasForeignKey("COMPANY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_DispatchUser") + .WithMany() + .HasForeignKey("DISPATCH_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_FireDepartment") + .WithMany() + .HasForeignKey("FIRE_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_FireUser") + .WithMany() + .HasForeignKey("FIRE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_MonitorUser") + .WithMany() + .HasForeignKey("MONITOR_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_SafeUser") + .WithMany() + .HasForeignKey("SAFE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Company"); + + b.Navigation("Nav_DispatchUser"); + + b.Navigation("Nav_FireDepartment"); + + b.Navigation("Nav_FireUser"); + + b.Navigation("Nav_MonitorUser"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_SafeUser"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB", "Nav_Job") + .WithMany("Nav_Details") + .HasForeignKey("FIRE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_DETAIL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_DETAIL", "Nav_Detail") + .WithMany("Nav_DetailFiles") + .HasForeignKey("FIRE_JOB_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB", "Nav_Job") + .WithMany("Nav_Files") + .HasForeignKey("FIRE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_FIRE_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB", "Nav_Job") + .WithMany("Nav_FireFiles") + .HasForeignKey("FIRE_JOB_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_MONITOR_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB", "Nav_Job") + .WithMany("Nav_MonitorFiles") + .HasForeignKey("FIRE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_RISK", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB", "Nav_Job") + .WithMany("Nav_Risks") + .HasForeignKey("FIRE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB", "Nav_Job") + .WithMany("Nav_Users") + .HasForeignKey("FIRE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_RENEWAL_TRAIN", "Nav_Train") + .WithMany() + .HasForeignKey("TRAIN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER_TYPE", "Nav_UserType") + .WithMany() + .HasForeignKey("USER_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Train"); + + b.Navigation("Nav_User"); + + b.Navigation("Nav_UserType"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_USER_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_USER", "Nav_Job") + .WithMany("Nav_UserFiles") + .HasForeignKey("FIRE_JOB_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Company") + .WithMany() + .HasForeignKey("COMPANY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_DispatchUser") + .WithMany() + .HasForeignKey("DISPATCH_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_MonitorUser") + .WithMany() + .HasForeignKey("MONITOR_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED", "Nav_Related") + .WithMany() + .HasForeignKey("RELATED_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Company"); + + b.Navigation("Nav_DispatchUser"); + + b.Navigation("Nav_MonitorUser"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_Related"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB", "Nav_Job") + .WithMany("Nav_Details") + .HasForeignKey("FIRE_JOB_WB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_DETAIL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_DETAIL", "Nav_Detail") + .WithMany("Nav_DetailFiles") + .HasForeignKey("FIRE_JOB_WB_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB", "Nav_Job") + .WithMany("Nav_Files") + .HasForeignKey("FIRE_JOB_WB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_FIRE_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB", "Nav_Job") + .WithMany("Nav_FireFiles") + .HasForeignKey("FIRE_JOB_WB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_FIRE_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB", "Nav_Job") + .WithMany("Nav_FireUser") + .HasForeignKey("FIRE_JOB_WB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_MONITOR_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB", "Nav_Job") + .WithMany("Nav_MonitorFiles") + .HasForeignKey("FIRE_JOB_WB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_RISK", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB", "Nav_Job") + .WithMany("Nav_Risks") + .HasForeignKey("FIRE_JOB_WB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_SAFE_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB", "Nav_Job") + .WithMany("Nav_SafeUser") + .HasForeignKey("FIRE_JOB_WB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB", "Nav_Job") + .WithMany("Nav_Users") + .HasForeignKey("FIRE_JOB_WB_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER_TYPE", "Nav_UserType") + .WithMany() + .HasForeignKey("USER_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + + b.Navigation("Nav_UserType"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_USER_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_USER", "Nav_JobUser") + .WithMany("Nav_UserFiles") + .HasForeignKey("FIRE_JOB_WB_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_JobUser"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_USER_SIGN", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_USER", "Nav_JobUser") + .WithMany("Nav_Signs") + .HasForeignKey("FIRE_JOB_WB_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_JobUser"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_HOLIDAYS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_HOLIDAYS_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_HOLIDAYS", "Nav_Holidays") + .WithMany("Nav_Details") + .HasForeignKey("HOLIDAYS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Holidays"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_RECORD", "Nav_JobActivityRecord") + .WithMany("Nav_Details") + .HasForeignKey("JOB_ACTIVITY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_JobActivityRecord"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_DETAIL", "Nav_Details") + .WithMany("Nav_Files") + .HasForeignKey("T_FO_JOB_ACTIVITY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Details"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_FLOW", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_RECORD", "Nav_JobActivityRecord") + .WithMany("Nav_Flow") + .HasForeignKey("JOB_ACTIVITY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_JobActivityRecord"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_FLOW_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_FLOW", "Nav_Flow") + .WithMany("Nav_Files") + .HasForeignKey("T_FO_JOB_ACTIVITY_FLOW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Flow"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_RECORD", "Nav_JobActivityRecord") + .WithMany("Nav_Measure") + .HasForeignKey("JOB_ACTIVITY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_JobActivityRecord"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_MEASURE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_MEASURE", "Nav_Measure") + .WithMany("Nav_Files") + .HasForeignKey("T_FO_JOB_ACTIVITY_MEASURE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Measure"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_PERSON", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_RECORD", "Nav_JobActivityRecord") + .WithMany("Nav_JobActivityPerson") + .HasForeignKey("JOB_ACTIVITY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER", "Nav_RelatedUser") + .WithMany() + .HasForeignKey("RELATED_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_JobActivityRecord"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RelatedUser"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_CreateUser") + .WithMany() + .HasForeignKey("CREATER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB", "Nav_JobName") + .WithMany() + .HasForeignKey("JOB_NAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE", "Nav_JobNameOut") + .WithMany() + .HasForeignKey("JOB_NAME_OUTSOURCE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM", "Nav_TechDisclosure") + .WithMany() + .HasForeignKey("TECH_DISCLOSURE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CreateUser"); + + b.Navigation("Nav_JobName"); + + b.Navigation("Nav_JobNameOut"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TechDisclosure"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_RECORD", "Nav_JobEventRecord") + .WithMany("Nav_Details") + .HasForeignKey("JOB_EVENT_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_JobEventRecord"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_DETAIL", "Nav_Details") + .WithMany("Nav_Files") + .HasForeignKey("T_FO_JOB_EVENT_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Details"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_FLOW", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_RECORD", "Nav_JobEventRecord") + .WithMany("Nav_Flow") + .HasForeignKey("JOB_EVENT_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_JobEventRecord"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_FLOW_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_FLOW", "Nav_Flow") + .WithMany("Nav_Files") + .HasForeignKey("T_FO_JOB_EVENT_FLOW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Flow"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_RECORD", "Nav_JobEventRecord") + .WithMany("Nav_Measure") + .HasForeignKey("JOB_EVENT_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_JobEventRecord"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_MEASURE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_MEASURE", "Nav_Measure") + .WithMany("Nav_Files") + .HasForeignKey("T_FO_JOB_EVENT_MEASURE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Measure"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_PERSON", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_RECORD", "Nav_JobEventRecord") + .WithMany("Nav_JobEventPerson") + .HasForeignKey("JOB_EVENT_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_JobEventRecord"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_CreateUser") + .WithMany() + .HasForeignKey("CREATER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CreateUser"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LABOUR_SUPPLY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_CLASS", "Nav_Class") + .WithMany() + .HasForeignKey("CLASS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Company") + .WithMany() + .HasForeignKey("COMPANY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Class"); + + b.Navigation("Nav_Company"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_AFTERUSER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_AfterUser") + .WithMany() + .HasForeignKey("AFTER_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD", "Nav_Record") + .WithMany("Nav_AfterUsers") + .HasForeignKey("LEADER_WELL_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_AfterUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD", "Nav_Record") + .WithMany("Nav_Details") + .HasForeignKey("LEADER_WELL_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_AfterUser") + .WithMany() + .HasForeignKey("AFTER_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL", "Nav_Detail") + .WithMany("Nav_AfterUsers") + .HasForeignKey("LEADER_WELL_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_AfterUser"); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL_AREA", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL", "Nav_Detail") + .WithMany("Nav_DetailAreas") + .HasForeignKey("LEADER_WELL_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL", "Nav_Detail") + .WithMany("Nav_DetailFiles") + .HasForeignKey("LEADER_WELL_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL", "Nav_Detail") + .WithMany("Nav_PreUsers") + .HasForeignKey("LEADER_WELL_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_PreUser") + .WithMany() + .HasForeignKey("PRE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PreUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD", "Nav_Record") + .WithMany("Nav_Files") + .HasForeignKey("LEADER_WELL_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_PREUSER", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD", "Nav_Record") + .WithMany("Nav_PreUsers") + .HasForeignKey("LEADER_WELL_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_PreUser") + .WithMany() + .HasForeignKey("PRE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PreUser"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD", "Nav_Record") + .WithMany("Nav_Users") + .HasForeignKey("LEADER_WELL_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_OPER_SCH", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("LANUNCH_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_OPER_SCH_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PRE_OPER_SCH", "Nav_PreOperSch") + .WithMany("Nav_PreOperSchFile") + .HasForeignKey("PRE_OPER_SCH_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PreOperSch"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_OPER_SCH_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PRE_OPER_SCH", "Nav_PreOperSch") + .WithMany("Nav_PreOperSchUser") + .HasForeignKey("PRE_OPER_SCH_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_RealDepartmentPost") + .WithMany() + .HasForeignKey("REAL_DEPARTMENT_POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PreOperSch"); + + b.Navigation("Nav_RealDepartmentPost"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_CLASS", "Nav_Class") + .WithMany() + .HasForeignKey("CLASS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_Monitor") + .WithMany() + .HasForeignKey("MONITOR_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_Record") + .WithMany() + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_TEAM", "Nav_Team") + .WithMany() + .HasForeignKey("TEAM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Class"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Monitor"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_Team"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD", "Nav_PreShiftMeetingRecord") + .WithMany("Nav_Details") + .HasForeignKey("PRE_SHIFT_MEETING_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PreShiftMeetingRecord"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD_DETAIL_POST", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD_DETAIL", "Nav_PreShiftMeetingDetail") + .WithMany("Nav_DetailPosts") + .HasForeignKey("PRE_SHIFT_MEETING_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_PreShiftMeetingDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD", "Nav_PreShiftMeetingRecord") + .WithMany("Nav_Files") + .HasForeignKey("PRE_SHIFT_MEETING_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PreShiftMeetingRecord"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD", "Nav_PreShiftMeetingRecord") + .WithMany("Nav_Users") + .HasForeignKey("PRE_SHIFT_MEETING_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_RealDepartmentPost") + .WithMany() + .HasForeignKey("REAL_DEPARTMENT_POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PreShiftMeetingRecord"); + + b.Navigation("Nav_RealDepartmentPost"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_CATEGORY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Company") + .WithMany() + .HasForeignKey("COMPANY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_EDUCATIONAL", "Nav_Educational") + .WithMany() + .HasForeignKey("EDUCATIONAL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_CATEGORY", "Nav_Category") + .WithMany() + .HasForeignKey("PROFESSIONAL_CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_TECH_POST", "Nav_TechPost") + .WithMany() + .HasForeignKey("TECH_POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Category"); + + b.Navigation("Nav_Company"); + + b.Navigation("Nav_Educational"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TechPost"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_CERTIFICATE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME", "Nav_Professional") + .WithMany("Nav_CertificateFiles") + .HasForeignKey("PROFESSIONAL_RESUME_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Professional"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME", "Nav_Professional") + .WithMany("Nav_Details") + .HasForeignKey("PROFESSIONAL_RESUME_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Professional"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_DETAIL", "Nav_Detail") + .WithMany("Nav_DetailFiles") + .HasForeignKey("PROFESSIONAL_RESUME_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_EDUCATIONAL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME", "Nav_Professional") + .WithMany("Nav_EducationalFiles") + .HasForeignKey("PROFESSIONAL_RESUME_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Professional"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_MEDICAL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME", "Nav_Professional") + .WithMany("Nav_MedicalFiles") + .HasForeignKey("PROFESSIONAL_RESUME_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Professional"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_OTHER_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME", "Nav_Professional") + .WithMany("Nav_OtherFiles") + .HasForeignKey("PROFESSIONAL_RESUME_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Professional"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_POST_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME", "Nav_Professional") + .WithMany("Nav_PostFiles") + .HasForeignKey("PROFESSIONAL_RESUME_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Professional"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_TRAIN_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME", "Nav_Professional") + .WithMany("Nav_TrainFiles") + .HasForeignKey("PROFESSIONAL_RESUME_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Professional"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_SCHEDULING", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_CLASS", "Nav_Class") + .WithMany() + .HasForeignKey("CLASS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_Driver") + .WithMany() + .HasForeignKey("DRIVER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_Tech") + .WithMany() + .HasForeignKey("TECH_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Class"); + + b.Navigation("Nav_Driver"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tech"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_SCHEDULING_TEMPLATE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_SCHEDULING_TEMPLATE_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_SCHEDULING_TEMPLATE", "Nav_Template") + .WithMany("Nav_Details") + .HasForeignKey("SCHEDULING_TEMPLATE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Template"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TEAM_ACTIVITY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("NOTE_AKER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_TEAM", "Nav_Taem") + .WithMany() + .HasForeignKey("TEAM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_MainUser") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_MainUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Taem"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TEAM_ACTIVITY_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_TEAM_ACTIVITY", "Nav_TeamActivity") + .WithMany("Nav_TeamActivityFile") + .HasForeignKey("TEAM_ACTIVITY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TeamActivity"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TEAM_ACTIVITY_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_TEAM_ACTIVITY", "Nav_TeamActivity") + .WithMany("Nav_TeamActivityUser") + .HasForeignKey("TEAM_ACTIVITY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TeamActivity"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TEAM_SLOGAN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_TEAM", "Nav_Team") + .WithMany() + .HasForeignKey("TEAM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Team"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM", "Nav_TechDisclosure") + .WithMany("Nav_Files") + .HasForeignKey("TECH_DISCLOSURE_FROM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TechDisclosure"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_DisclosuredPerson") + .WithMany() + .HasForeignKey("DISCLOSURED_PERSON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_DisclosurePerson") + .WithMany() + .HasForeignKey("DISCLOSURE_PERSON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB", "Nav_JobName") + .WithMany() + .HasForeignKey("JOB_NAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE", "Nav_JobNameOut") + .WithMany() + .HasForeignKey("JOB_NAME_OUTSOURCE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DisclosuredPerson"); + + b.Navigation("Nav_DisclosurePerson"); + + b.Navigation("Nav_JobName"); + + b.Navigation("Nav_JobNameOut"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_SAFE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB", "Nav_Job") + .WithMany() + .HasForeignKey("FIRE_JOB_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_SAFE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_SAFE", "Nav_TechDisclosure") + .WithMany("Nav_Files") + .HasForeignKey("TECH_DISCLOSURE_FROM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TechDisclosure"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_SAFE_PERSON", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_SAFE", "Nav_TechDisclosure") + .WithMany("Nav_Person") + .HasForeignKey("TECH_DISCLOSURE_FROM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TechDisclosure"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_TECH", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_TECH_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_TECH", "Nav_TechDisclosure") + .WithMany("Nav_Files") + .HasForeignKey("TECH_DISCLOSURE_FROM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TechDisclosure"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_TECH_PERSON", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_TECH", "Nav_TechDisclosure") + .WithMany("Nav_Person") + .HasForeignKey("TECH_DISCLOSURE_FROM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TechDisclosure"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_PERSON", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER", "Nav_RelatedUser") + .WithMany() + .HasForeignKey("RELATED_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM", "Nav_TechDisclosure") + .WithMany("Nav_Person") + .HasForeignKey("TECH_DISCLOSURE_FROM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RelatedUser"); + + b.Navigation("Nav_TechDisclosure"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_POST", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_CATEGORY", "Nav_Category") + .WithMany() + .HasForeignKey("PROFESSIONAL_CATEGORY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Category"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_USER_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ANALYSIS_PERSON", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS", "Nav_LicenseAnalysis") + .WithMany("Nav_AnalysisPerson") + .HasForeignKey("LICENSE_ANALYSIS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_LicenseAnalysis"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_ANALYSIS_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_TASK_DETAIL", "Nav_Details") + .WithMany("Nav_Files") + .HasForeignKey("CRUCIAL_TASK_ANALYSIS_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Details"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_ANALYSIS_PERSON", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_TASK_ANALYSIS", "Nav_CrucialTaskAnalysis") + .WithMany("Nav_CrucialAnalysisPerson") + .HasForeignKey("CRUCIAL_TASK_ANALYSIS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CrucialTaskAnalysis"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_TASK_ANALYSIS", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_CreateUser") + .WithMany() + .HasForeignKey("CREATER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE", "Nav_OperationAnalyze") + .WithMany() + .HasForeignKey("OPERATION_ANALYZE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CreateUser"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_OperationAnalyze"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_TASK_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_TASK_ANALYSIS", "Nav_CrucialTaskAnalysis") + .WithMany("Nav_Details") + .HasForeignKey("CRUCIAL_TASK_ANALYSIS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_CrucialTaskAnalysis"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_TASK_DETAIL_RISK", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_TASK_DETAIL", "Nav_Details") + .WithMany("Nav_DetailRisk") + .HasForeignKey("CRUCIAL_TASK_ANALYSIS_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluateRisk") + .WithMany() + .HasForeignKey("EVALUATE_RISK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Details"); + + b.Navigation("Nav_EvaluateRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EDUCATION_MEASURES", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EMERGENCY_MEASURES", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ENGINEERING_MEASURES", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EQUIPMENT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentLiable") + .WithMany() + .HasForeignKey("DEPARTMENT_LIABLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Identifying") + .WithMany() + .HasForeignKey("IDENTIFYING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_MONITOR_MEASURES", "Nav_MonitorMeasures") + .WithMany() + .HasForeignKey("MONITOR_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OCCUPATIONAL_RISK", "Nav_OccupationalRisk") + .WithMany() + .HasForeignKey("OCCUPATIONALRISK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", "Nav_PostLiable") + .WithMany() + .HasForeignKey("POST_LIABLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_DepartmentLiable"); + + b.Navigation("Nav_Identifying"); + + b.Navigation("Nav_MonitorMeasures"); + + b.Navigation("Nav_OccupationalRisk"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PostLiable"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD", "Nav_EvaluateHazard") + .WithMany("Nav_EvaluateHazardDepartment") + .HasForeignKey("EVALUATE_HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_EvaluateHazard"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD_EDUCATION_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EDUCATION_MEASURES", "Nav_EducationMeasures") + .WithMany() + .HasForeignKey("EDUCATION_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD", "Nav_EvaluateHazard") + .WithMany("Nav_EvaluateHazardEducationMeasures") + .HasForeignKey("EVALUATE_HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EducationMeasures"); + + b.Navigation("Nav_EvaluateHazard"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD_EMERGENCY_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EMERGENCY_MEASURES", "Nav_EmergencyMeasures") + .WithMany() + .HasForeignKey("EMERGENCY_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD", "Nav_EvaluateHazard") + .WithMany("Nav_EvaluateHazardEmergencyMeasures") + .HasForeignKey("EVALUATE_HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EmergencyMeasures"); + + b.Navigation("Nav_EvaluateHazard"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD_ENGINEERING_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_ENGINEERING_MEASURES", "Nav_EngineeringMeasures") + .WithMany() + .HasForeignKey("ENGINEERING_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD", "Nav_EvaluateHazard") + .WithMany("Nav_EvaluateHazardEngineeringMeasures") + .HasForeignKey("EVALUATE_HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EngineeringMeasures"); + + b.Navigation("Nav_EvaluateHazard"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD_INDIVIDUAL_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD", "Nav_EvaluateHazard") + .WithMany("Nav_EvaluateHazardIndividualMeasures") + .HasForeignKey("EVALUATE_HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_INDIVIDUAL_MEASURES", "Nav_IndividualMeasures") + .WithMany() + .HasForeignKey("INDIVIDUAL_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluateHazard"); + + b.Navigation("Nav_IndividualMeasures"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD_MANAGEMENT_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD", "Nav_EvaluateHazard") + .WithMany("Nav_EvaluateHazardManagementMeasures") + .HasForeignKey("EVALUATE_HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_MANAGEMENT_MEASURES", "Nav_ManagementMeasures") + .WithMany() + .HasForeignKey("MANAGEMENT_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluateHazard"); + + b.Navigation("Nav_ManagementMeasures"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_REQUIREMENT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_InitiatingDepartment") + .WithMany() + .HasForeignKey("INITIATING_DEPARTMENT") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_NoteTaker") + .WithMany() + .HasForeignKey("NOTE_TAKER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_PLAN", "Nav_Plan") + .WithMany() + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_REQUIREMENT", "Nav_Requirement") + .WithMany() + .HasForeignKey("REQUIREMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_InitiatingDepartment"); + + b.Navigation("Nav_NoteTaker"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_Requirement"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT", "Nav_EvaluateResult") + .WithMany("Nav_Files") + .HasForeignKey("EVALUATE_RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluateResult"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentLiable") + .WithMany() + .HasForeignKey("DEPARTMENT_LIABLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD", "Nav_EvaluateHazard") + .WithMany() + .HasForeignKey("EVALUATE_HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT", "Nav_EvaluateResult") + .WithMany("Nav_Hazards") + .HasForeignKey("EVALUATE_RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Identifying") + .WithMany() + .HasForeignKey("IDENTIFYING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LiableUser") + .WithMany() + .HasForeignKey("LIABLE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_MONITOR_MEASURES", "Nav_MonitorMeasures") + .WithMany() + .HasForeignKey("MONITOR_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OCCUPATIONAL_RISK", "Nav_OccupationalRisk") + .WithMany() + .HasForeignKey("OCCUPATIONALRISK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", "Nav_PostLiable") + .WithMany() + .HasForeignKey("POST_LIABLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_DepartmentLiable"); + + b.Navigation("Nav_EvaluateHazard"); + + b.Navigation("Nav_EvaluateResult"); + + b.Navigation("Nav_Identifying"); + + b.Navigation("Nav_LiableUser"); + + b.Navigation("Nav_MonitorMeasures"); + + b.Navigation("Nav_OccupationalRisk"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PostLiable"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD_EDUCATION_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EDUCATION_MEASURES", "Nav_EducationMeasures") + .WithMany() + .HasForeignKey("EDUCATION_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD", "Nav_EvaluationResultHazard") + .WithMany("Nav_EvaluateHazardEducationMeasures") + .HasForeignKey("EVALUATE_RESULT_HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EducationMeasures"); + + b.Navigation("Nav_EvaluationResultHazard"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD_EMERGENCY_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EMERGENCY_MEASURES", "Nav_EmergencyMeasures") + .WithMany() + .HasForeignKey("EMERGENCY_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD", "Nav_EvaluationResultHazard") + .WithMany("Nav_EvaluateHazardEmergencyMeasures") + .HasForeignKey("EVALUATE_RESULT_HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EmergencyMeasures"); + + b.Navigation("Nav_EvaluationResultHazard"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD_ENGINEERING_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_ENGINEERING_MEASURES", "Nav_EngineeringMeasures") + .WithMany() + .HasForeignKey("ENGINEERING_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD", "Nav_EvaluationResultHazard") + .WithMany("Nav_EvaluateHazardEngineeringMeasures") + .HasForeignKey("EVALUATE_RESULT_HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EngineeringMeasures"); + + b.Navigation("Nav_EvaluationResultHazard"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD_INDIVIDUAL_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD", "Nav_EvaluationResultHazard") + .WithMany("Nav_EvaluateHazardIndividualMeasures") + .HasForeignKey("EVALUATE_RESULT_HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_INDIVIDUAL_MEASURES", "Nav_IndividualMeasures") + .WithMany() + .HasForeignKey("INDIVIDUAL_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationResultHazard"); + + b.Navigation("Nav_IndividualMeasures"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD_MANAGEMENT_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD", "Nav_EvaluationResultHazard") + .WithMany("Nav_EvaluateHazardManagementMeasures") + .HasForeignKey("EVALUATE_RESULT_HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_MANAGEMENT_MEASURES", "Nav_ManagementMeasures") + .WithMany() + .HasForeignKey("MANAGEMENT_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationResultHazard"); + + b.Navigation("Nav_ManagementMeasures"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentLiable") + .WithMany() + .HasForeignKey("DEPARTMENT_LIABLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT", "Nav_EvaluateResult") + .WithMany("Nav_Risks") + .HasForeignKey("EVALUATE_RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluateRisk") + .WithMany() + .HasForeignKey("EVALUATE_RISK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Identifying") + .WithMany() + .HasForeignKey("IDENTIFYING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LiableUser") + .WithMany() + .HasForeignKey("LIABLE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", "Nav_PostLiable") + .WithMany() + .HasForeignKey("POST_LIABLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_DepartmentLiable"); + + b.Navigation("Nav_EvaluateResult"); + + b.Navigation("Nav_EvaluateRisk"); + + b.Navigation("Nav_Identifying"); + + b.Navigation("Nav_LiableUser"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PostLiable"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_EDUCATION_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EDUCATION_MEASURES", "Nav_EducationMeasures") + .WithMany() + .HasForeignKey("EDUCATION_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK", "Nav_EvaluationResultRisk") + .WithMany("Nav_EvaluateRiskEducationMeasures") + .HasForeignKey("EVALUATION_RESULT_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EducationMeasures"); + + b.Navigation("Nav_EvaluationResultRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_EMERGENCY_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EMERGENCY_MEASURES", "Nav_EmergencyMeasures") + .WithMany() + .HasForeignKey("EMERGENCY_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK", "Nav_EvaluationResultRisk") + .WithMany("Nav_EvaluateRiskEmergencyMeasures") + .HasForeignKey("EVALUATION_RESULT_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EmergencyMeasures"); + + b.Navigation("Nav_EvaluationResultRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_ENGINEERING_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_ENGINEERING_MEASURES", "Nav_EngineeringMeasures") + .WithMany() + .HasForeignKey("ENGINEERING_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK", "Nav_EvaluationResultRisk") + .WithMany("Nav_EvaluateRiskEngineeringMeasures") + .HasForeignKey("EVALUATION_RESULT_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EngineeringMeasures"); + + b.Navigation("Nav_EvaluationResultRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_EQUIPMENT", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EQUIPMENT", "Nav_Equipment") + .WithMany() + .HasForeignKey("EQUIPMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK", "Nav_EvaluationResultRisk") + .WithMany("Nav_EvaluateRiskEquipment") + .HasForeignKey("EVALUATION_RESULT_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Equipment"); + + b.Navigation("Nav_EvaluationResultRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_FACILITIES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK", "Nav_EvaluationResultRisk") + .WithMany("Nav_EvaluateRiskFacilities") + .HasForeignKey("EVALUATION_RESULT_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_FACILITIES", "Nav_Facilities") + .WithMany() + .HasForeignKey("FACILITIES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationResultRisk"); + + b.Navigation("Nav_Facilities"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_INDIVIDUAL_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK", "Nav_EvaluationResultRisk") + .WithMany("Nav_EvaluateRiskIndividualMeasures") + .HasForeignKey("EVALUATION_RESULT_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_INDIVIDUAL_MEASURES", "Nav_IndividualMeasures") + .WithMany() + .HasForeignKey("INDIVIDUAL_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationResultRisk"); + + b.Navigation("Nav_IndividualMeasures"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_MANAGEMENT_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK", "Nav_EvaluationResultRisk") + .WithMany("Nav_EvaluateRiskManagementMeasures") + .HasForeignKey("EVALUATION_RESULT_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_MANAGEMENT_MEASURES", "Nav_ManagementMeasures") + .WithMany() + .HasForeignKey("MANAGEMENT_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationResultRisk"); + + b.Navigation("Nav_ManagementMeasures"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK_WORKDUTY", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK", "Nav_EvaluationResultRisk") + .WithMany("Nav_EvaluateRiskWorkduty") + .HasForeignKey("EVALUATION_RESULT_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("WORKDUTY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationResultRisk"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentLiable") + .WithMany() + .HasForeignKey("DEPARTMENT_LIABLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Identifying") + .WithMany() + .HasForeignKey("IDENTIFYING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", "Nav_PostLiable") + .WithMany() + .HasForeignKey("POST_LIABLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_SourceDepartment") + .WithMany() + .HasForeignKey("SOURCE_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.BI.T_BI_AREA_TREE", null) + .WithMany("Nav_Risk") + .HasForeignKey("T_BI_AREA_TREEID"); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_DepartmentLiable"); + + b.Navigation("Nav_Identifying"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PostLiable"); + + b.Navigation("Nav_SourceDepartment"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluationRisk") + .WithMany("Nav_EvaluateRiskDepartment") + .HasForeignKey("EVALUATION_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_EvaluationRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_EDUCATION_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EDUCATION_MEASURES", "Nav_EducationMeasures") + .WithMany() + .HasForeignKey("EDUCATION_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluationRisk") + .WithMany("Nav_EvaluateRiskEducationMeasures") + .HasForeignKey("EVALUATION_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EducationMeasures"); + + b.Navigation("Nav_EvaluationRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_EMERGENCY_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EMERGENCY_MEASURES", "Nav_EmergencyMeasures") + .WithMany() + .HasForeignKey("EMERGENCY_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluationRisk") + .WithMany("Nav_EvaluateRiskEmergencyMeasures") + .HasForeignKey("EVALUATION_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EmergencyMeasures"); + + b.Navigation("Nav_EvaluationRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_ENGINEERING_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_ENGINEERING_MEASURES", "Nav_EngineeringMeasures") + .WithMany() + .HasForeignKey("ENGINEERING_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluationRisk") + .WithMany("Nav_EvaluateRiskEngineeringMeasures") + .HasForeignKey("EVALUATION_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EngineeringMeasures"); + + b.Navigation("Nav_EvaluationRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_EQUIPMENT", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EQUIPMENT", "Nav_Equipment") + .WithMany() + .HasForeignKey("EQUIPMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluationRisk") + .WithMany("Nav_EvaluateRiskEquipment") + .HasForeignKey("EVALUATION_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Equipment"); + + b.Navigation("Nav_EvaluationRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_FACILITIES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluationRisk") + .WithMany("Nav_EvaluateRiskFacilities") + .HasForeignKey("EVALUATION_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_FACILITIES", "Nav_Facilities") + .WithMany() + .HasForeignKey("FACILITIES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationRisk"); + + b.Navigation("Nav_Facilities"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_INDIVIDUAL_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluationRisk") + .WithMany("Nav_EvaluateRiskIndividualMeasures") + .HasForeignKey("EVALUATION_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_INDIVIDUAL_MEASURES", "Nav_IndividualMeasures") + .WithMany() + .HasForeignKey("INDIVIDUAL_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationRisk"); + + b.Navigation("Nav_IndividualMeasures"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_LEC", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_MANAGEMENT_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluationRisk") + .WithMany("Nav_EvaluateRiskManagementMeasures") + .HasForeignKey("EVALUATION_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_MANAGEMENT_MEASURES", "Nav_ManagementMeasures") + .WithMany() + .HasForeignKey("MANAGEMENT_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationRisk"); + + b.Navigation("Nav_ManagementMeasures"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK_WORKDUTY", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluationRisk") + .WithMany("Nav_EvaluateRiskWorkduty") + .HasForeignKey("EVALUATION_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationRisk"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ChargeUser") + .WithMany() + .HasForeignKey("CHARGE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_PLAN", "Nav_EvaluationPlan") + .WithMany("Nav_Details") + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ChargeUser"); + + b.Navigation("Nav_EvaluationPlan"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_DETAIL_AREA", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_DETAIL", "Nav_Detail") + .WithMany("Nav_Areas") + .HasForeignKey("DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_DETAIL_IDENTIFYING", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_DETAIL", "Nav_Detail") + .WithMany("Nav_Identifyings") + .HasForeignKey("DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Identifying") + .WithMany() + .HasForeignKey("IDENTIFYING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_Identifying"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_PLAN", "Nav_EvaluationPlan") + .WithMany("Nav_Files") + .HasForeignKey("EVALUATION_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationPlan"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_PLAN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_DeputyGroupLeader") + .WithMany() + .HasForeignKey("DEPUTY_GROUP_LEADER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_GroupLeader") + .WithMany() + .HasForeignKey("GROUP_LEADER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_InitiatingDepartment") + .WithMany() + .HasForeignKey("INITIATING_DEPARTMENT") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ReleaseUser") + .WithMany() + .HasForeignKey("RELEASE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DeputyGroupLeader"); + + b.Navigation("Nav_GroupLeader"); + + b.Navigation("Nav_InitiatingDepartment"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ReleaseUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_SCHEDULE", b => + { + b.HasOne("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", "Nav_ApproveRole") + .WithMany() + .HasForeignKey("APPROVE_ROLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ApproveRole"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_FACILITIES", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_FILE_PUBLISH", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_CreateUser") + .WithMany() + .HasForeignKey("CREATER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_TASK_ANALYSIS", "Nav_CrucialTaskAnalysis") + .WithMany() + .HasForeignKey("CRUCIAL_TASK_ANALYSIS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS", "Nav_LicenseAnalysis") + .WithMany() + .HasForeignKey("LICENSE_ANALYSIS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_TASK_ANALYSIS", "Nav_OrdinaryTaskAnalysis") + .WithMany() + .HasForeignKey("ORDINARY_TASK_ANALYSIS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CreateUser"); + + b.Navigation("Nav_CrucialTaskAnalysis"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_LicenseAnalysis"); + + b.Navigation("Nav_OrdinaryTaskAnalysis"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_FILE_PUBLISH_AREA", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_FILE_PUBLISH", "Nav_FilePublish") + .WithMany("Nav_Area") + .HasForeignKey("FILE_PUBLISH_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_FilePublish"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_InitiatingDepartment") + .WithMany() + .HasForeignKey("INITIATING_DEPARTMENT") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LiableUser") + .WithMany() + .HasForeignKey("LIABLE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_NoteTaker") + .WithMany() + .HasForeignKey("NOTE_TAKER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK", "Nav_Task") + .WithMany() + .HasForeignKey("Nav_TaskID"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_PLAN", "Nav_Plan") + .WithMany() + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_InitiatingDepartment"); + + b.Navigation("Nav_LiableUser"); + + b.Navigation("Nav_NoteTaker"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_Task"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_RECORD_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD", "Nav_EvaluateHazard") + .WithMany() + .HasForeignKey("EVALUATE_HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Identifying") + .WithMany() + .HasForeignKey("IDENTIFYING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OCCUPATIONAL_RISK", "Nav_OccupationalRisk") + .WithMany() + .HasForeignKey("OCCUPATIONALRISK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_HAZARD_RECORD", "Nav_HazardRecord") + .WithMany("Nav_Details") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_EvaluateHazard"); + + b.Navigation("Nav_HazardRecord"); + + b.Navigation("Nav_Identifying"); + + b.Navigation("Nav_OccupationalRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_HAZARD_RECORD", "Nav_Record") + .WithMany("Nav_Files") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_RECORD_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_HAZARD_RECORD", "Nav_Record") + .WithMany("Nav_Users") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_InitiatingDepartment") + .WithMany() + .HasForeignKey("INITIATING_DEPARTMENT") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LiableUser") + .WithMany() + .HasForeignKey("LIABLE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_PLAN", "Nav_Plan") + .WithMany() + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_InitiatingDepartment"); + + b.Navigation("Nav_LiableUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_AREA", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK", "Nav_Task") + .WithMany("Nav_Areas") + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("RECORD_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK", "Nav_Task") + .WithMany("Nav_Detail") + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_DETAIL_IDENTIFYING", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Identifying") + .WithMany() + .HasForeignKey("IDENTIFYING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_DETAIL", "Nav_Task_Detail") + .WithMany("Nav_Identifyings") + .HasForeignKey("TASK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Identifying"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task_Detail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_DETAIL_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_DETAIL", "Nav_Task_Detail") + .WithMany("Nav_Users") + .HasForeignKey("TASK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task_Detail"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK", "Nav_Task") + .WithMany("Nav_Files") + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_IDENTIFYING", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Identifying") + .WithMany() + .HasForeignKey("IDENTIFYING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK", "Nav_Task") + .WithMany("Nav_Identifyings") + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Identifying"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_INDIVIDUAL_MEASURES", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_CreateUser") + .WithMany() + .HasForeignKey("CREATER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CreateUser"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY", "Nav_JobtaskIdentify") + .WithMany("Nav_Details") + .HasForeignKey("JOBTASK_IDENTIFY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_JobtaskIdentify"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY_DETAIL_POST", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY_DETAIL", "Nav_Detail") + .WithMany("Nav_DetailPost") + .HasForeignKey("JOBTASK_IDENTIFY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY_DETAIL_RISK", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluateRisk") + .WithMany() + .HasForeignKey("EVALUATE_RISK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY_DETAIL", "Nav_Detail") + .WithMany("Nav_DetailRisk") + .HasForeignKey("JOBTASK_IDENTIFY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_EvaluateRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY", "Nav_JobtaskIdentify") + .WithMany("Nav_Files") + .HasForeignKey("JOBTASK_IDENTIFY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_JobtaskIdentify"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY", "Nav_JobtaskIdentify") + .WithMany("Nav_IdentifyUser") + .HasForeignKey("JOBTASK_IDENTIFY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_JobtaskIdentify"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_CreateUser") + .WithMany() + .HasForeignKey("CREATER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE", "Nav_OperationAnalyze") + .WithMany() + .HasForeignKey("OPERATION_ANALYZE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CreateUser"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_OperationAnalyze"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS", "Nav_LicenseAnalysis") + .WithMany("Nav_Details") + .HasForeignKey("LICENSE_ANALYSIS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_WORK_PERMIT_TYPE", "Nav_WorkPermitType") + .WithMany() + .HasForeignKey("WORK_PERMIT_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_LicenseAnalysis"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_WorkPermitType"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS_DETAIL_RISK", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluateRisk") + .WithMany() + .HasForeignKey("EVALUATE_RISK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS_DETAIL", "Nav_Details") + .WithMany("Nav_DetailRisk") + .HasForeignKey("LICENSE_ANALYSIS_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Details"); + + b.Navigation("Nav_EvaluateRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS_DETAIL", "Nav_Details") + .WithMany("Nav_Files") + .HasForeignKey("LICENSE_ANALYSIS_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Details"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_MANAGEMENT_MEASURES", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_MONITOR_MEASURES", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_NOTICE_RELEASE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_PLAN", "Nav_Plan") + .WithMany() + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ReleaseUser") + .WithMany() + .HasForeignKey("RELEASE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ReleasDepartment") + .WithMany() + .HasForeignKey("RELEAS_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE", "Nav_TaskAnalyze") + .WithMany() + .HasForeignKey("TASK_ANALYZE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_ReleasDepartment"); + + b.Navigation("Nav_ReleaseUser"); + + b.Navigation("Nav_TaskAnalyze"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_NOTICE_RELEASE_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_NOTICE_RELEASE", "Nav_NoticeRelease") + .WithMany("Nav_ReleaseRange") + .HasForeignKey("NOTICE_RELEASE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_NoticeRelease"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_NOTICE_RELEASE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_NOTICE_RELEASE", "Nav_NoticeRelease") + .WithMany("Nav_Files") + .HasForeignKey("NOTICE_RELEASE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_NoticeRelease"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OCCUPATIONAL_RISK", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_INSTRUCTION_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK", "Nav_OperationLink") + .WithMany("Nav_Files") + .HasForeignKey("OPERATION_LINK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_OperationLink"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_Unit") + .WithMany() + .HasForeignKey("UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_WORK_PERMIT_TYPE", "Nav_WorkPermitType") + .WithMany() + .HasForeignKey("WORK_PERMIT_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Unit"); + + b.Navigation("Nav_WorkPermitType"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK_AREA", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK", "Nav_OperationLink") + .WithMany("Nav_LinkArea") + .HasForeignKey("OPERATION_LINK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_OperationLink"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK_EVALUATE_RISK", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluateRisk") + .WithMany() + .HasForeignKey("EVALUATE_RISK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK", "Nav_OperationLink") + .WithMany("Nav_OperationLinkEvaluateRisk") + .HasForeignKey("OPERATION_LINK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_DETAIL", null) + .WithMany("Nav_OperationLinkEvaluateRisk") + .HasForeignKey("T_HM_OPERATION_TASK_DISTINGUISH_DETAILID"); + + b.Navigation("Nav_EvaluateRisk"); + + b.Navigation("Nav_OperationLink"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK_POST", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK", "Nav_OperationLink") + .WithMany("Nav_LinkPost") + .HasForeignKey("OPERATION_LINK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_OperationLink"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP_DEAL_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany("Nav_DealMeasures") + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP_SAFE_CONFIRM", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany("Nav_SafeConfirms") + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP_SAFE_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany("Nav_SafeMeasures") + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_ANALYZE_DEAL_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE_DETAIL", "Nav_TaskAnalyzeDetail") + .WithMany() + .HasForeignKey("Nav_TaskAnalyzeDetailID"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TaskAnalyzeDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_ANALYZE_SAFE_CONFIRM", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE_DETAIL", "Nav_TaskAnalyzeDetail") + .WithMany() + .HasForeignKey("Nav_TaskAnalyzeDetailID"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TaskAnalyzeDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_ANALYZE_SAFE_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE_DETAIL", "Nav_TaskAnalyzeDetail") + .WithMany() + .HasForeignKey("Nav_TaskAnalyzeDetailID"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TaskAnalyzeDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DEAL_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK", "Nav_OperationLink") + .WithMany("Nav_DealMeasures") + .HasForeignKey("OPERATION_LINK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_OperationLink"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_CreateUser") + .WithMany() + .HasForeignKey("CREATER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY", "Nav_JobtaskIdentify") + .WithMany() + .HasForeignKey("JOBTASK_IDENTIFY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CreateUser"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_JobtaskIdentify"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_E", "Nav_DistinguishAnalyzeE") + .WithMany() + .HasForeignKey("ANALYZE_E_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_H", "Nav_DistinguishAnalyzeH") + .WithMany() + .HasForeignKey("ANALYZE_H_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_L", "Nav_DistinguishAnalyzeL") + .WithMany() + .HasForeignKey("ANALYZE_L_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_P", "Nav_DistinguishAnalyzeP") + .WithMany() + .HasForeignKey("ANALYZE_P_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_R", "Nav_DistinguishAnalyzeR") + .WithMany() + .HasForeignKey("ANALYZE_R_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE", "Nav_DistinguishAnalyze") + .WithMany("Nav_AnalyzeDetails") + .HasForeignKey("OPERATION_TASK_DISTINGUISH_ANALYZE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_WORK_PERMIT_TYPE", "Nav_WorkPermitType") + .WithMany() + .HasForeignKey("WORK_PERMIT_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_DistinguishAnalyze"); + + b.Navigation("Nav_DistinguishAnalyzeE"); + + b.Navigation("Nav_DistinguishAnalyzeH"); + + b.Navigation("Nav_DistinguishAnalyzeL"); + + b.Navigation("Nav_DistinguishAnalyzeP"); + + b.Navigation("Nav_DistinguishAnalyzeR"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_WorkPermitType"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_E", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE", "Nav_DistinguishAnalyze") + .WithMany("Nav_AnalyzeFiles") + .HasForeignKey("OPERATION_TASK_DISTINGUISH_ANALYZE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DistinguishAnalyze"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_H", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_L", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_P", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_R", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_RISK", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluateRisk") + .WithMany() + .HasForeignKey("EVALUATE_RISK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_DETAIL", "Nav_AnalyzeDetails") + .WithMany("Nav_DetailRisk") + .HasForeignKey("OPERATION_TASK_DISTINGUISH_ANALYZE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_AnalyzeDetails"); + + b.Navigation("Nav_EvaluateRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE", "Nav_DistinguishAnalyze") + .WithMany("Nav_Users") + .HasForeignKey("OPERATION_TASK_DISTINGUISH_ANALYZE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DistinguishAnalyze"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_LINK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH", "Nav_OperationTaskDistinguish") + .WithMany("Nav_DistinguishDetails") + .HasForeignKey("OPERATION_TASK_DISTINGUISH_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Workduty") + .WithMany() + .HasForeignKey("WORKDUTY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_WORK_TYPE", "Nav_WorkType") + .WithMany() + .HasForeignKey("WORK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_OperationTaskDistinguish"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Workduty"); + + b.Navigation("Nav_WorkType"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH", "Nav_OperationTaskDistinguish") + .WithMany("Nav_Files") + .HasForeignKey("OPERATION_TASK_DISTINGUISH_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_OperationTaskDistinguish"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH", "Nav_OperationTaskDistinguish") + .WithMany("Nav_Users") + .HasForeignKey("OPERATION_TASK_DISTINGUISH_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_OperationTaskDistinguish"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_SAFE_CONFIRM", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK", "Nav_OperationLink") + .WithMany("Nav_SafeConfirms") + .HasForeignKey("OPERATION_LINK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_OperationLink"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_SAFE_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK", "Nav_OperationLink") + .WithMany("Nav_SafeMeasures") + .HasForeignKey("OPERATION_LINK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_OperationLink"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_ANALYSIS_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_TASK_DETAIL", "Nav_Details") + .WithMany("Nav_Files") + .HasForeignKey("ORDINARY_TASK_ANALYSIS_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Details"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_ANALYSIS_PERSON", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_TASK_ANALYSIS", "Nav_OrdinaryTaskAnalysis") + .WithMany("Nav_OrdinaryAnalysisPerson") + .HasForeignKey("ORDINARY_TASK_ANALYSIS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_OrdinaryTaskAnalysis"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_TASK_ANALYSIS", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_CreateUser") + .WithMany() + .HasForeignKey("CREATER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE", "Nav_OperationAnalyze") + .WithMany() + .HasForeignKey("OPERATION_ANALYZE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CreateUser"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_OperationAnalyze"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_TASK_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_TASK_ANALYSIS", "Nav_OrdinaryTaskAnalysis") + .WithMany("Nav_Details") + .HasForeignKey("ORDINARY_TASK_ANALYSIS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_OrdinaryTaskAnalysis"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_TASK_DETAIL_RISK", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluateRisk") + .WithMany() + .HasForeignKey("EVALUATE_RISK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_TASK_DETAIL", "Nav_Details") + .WithMany("Nav_DetailRisk") + .HasForeignKey("ORDINARY_TASK_ANALYSIS_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Details"); + + b.Navigation("Nav_EvaluateRisk"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OTHER_APPROVE_LOG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_REQUEST", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISKSOURCE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_InitiatingDepartment") + .WithMany() + .HasForeignKey("INITIATING_DEPARTMENT") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LiableUser") + .WithMany() + .HasForeignKey("LIABLE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_NoteTaker") + .WithMany() + .HasForeignKey("NOTE_TAKER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_PLAN", "Nav_Plan") + .WithMany() + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_REQUEST", "Nav_Request") + .WithMany() + .HasForeignKey("REQUEST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK", "Nav_Task") + .WithMany() + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_InitiatingDepartment"); + + b.Navigation("Nav_LiableUser"); + + b.Navigation("Nav_NoteTaker"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_Request"); + + b.Navigation("Nav_Task"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentLiable") + .WithMany() + .HasForeignKey("DEPARTMENT_LIABLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", "Nav_EvaluateRisk") + .WithMany() + .HasForeignKey("EVALUATE_RISK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Identifying") + .WithMany() + .HasForeignKey("IDENTIFYING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LiableUser") + .WithMany() + .HasForeignKey("LIABLE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", "Nav_PostLiable") + .WithMany() + .HasForeignKey("POST_LIABLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD", "Nav_Record") + .WithMany("Nav_Details") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_DepartmentLiable"); + + b.Navigation("Nav_EvaluateRisk"); + + b.Navigation("Nav_Identifying"); + + b.Navigation("Nav_LiableUser"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PostLiable"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_DETAIL_EQUIPMENT", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EQUIPMENT", "Nav_Equipment") + .WithMany() + .HasForeignKey("EQUIPMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_DETAIL", "Nav_RiskRecordDetail") + .WithMany("Nav_EvaluateRiskRecordEquipment") + .HasForeignKey("RISK_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Equipment"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskRecordDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_DETAIL_FACILITIES", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_FACILITIES", "Nav_Facilities") + .WithMany() + .HasForeignKey("FACILITIES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_DETAIL", "Nav_RiskRecordDetail") + .WithMany("Nav_EvaluateRiskRecordFacilities") + .HasForeignKey("RISK_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Facilities"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskRecordDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_DETAIL_WORKDUTY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_DETAIL", "Nav_RiskRecordDetail") + .WithMany("Nav_EvaluateRiskRecordWorkduty") + .HasForeignKey("RISK_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Workduty") + .WithMany() + .HasForeignKey("WORKDUTY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskRecordDetail"); + + b.Navigation("Nav_Workduty"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD", "Nav_Record") + .WithMany("Nav_Files") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_IDENTIFYING", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Identifying") + .WithMany() + .HasForeignKey("IDENTIFYING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD", "Nav_Record") + .WithMany("Nav_Identifyings") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Identifying"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD", "Nav_Record") + .WithMany("Nav_Users") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_InitiatingDepartment") + .WithMany() + .HasForeignKey("INITIATING_DEPARTMENT") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LiableUser") + .WithMany() + .HasForeignKey("LIABLE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_PLAN", "Nav_Plan") + .WithMany() + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_REQUEST", "Nav_Request") + .WithMany() + .HasForeignKey("REQUEST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_InitiatingDepartment"); + + b.Navigation("Nav_LiableUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_Request"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK_AREA", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK", "Nav_Task") + .WithMany("Nav_Areas") + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("RECORD_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK", "Nav_Task") + .WithMany("Nav_Detail") + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK", "Nav_Task") + .WithMany("Nav_Files") + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK_IDENTIFYING", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Identifying") + .WithMany() + .HasForeignKey("IDENTIFYING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK", "Nav_Task") + .WithMany("Nav_Identifyings") + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Identifying"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK_DETAIL", "Nav_Task_Detail") + .WithMany("Nav_Users") + .HasForeignKey("TASK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task_Detail"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE", "Nav_DistinguishAnalyze") + .WithMany() + .HasForeignKey("OPERATION_TASK_DISTINGUISH_ANALYZE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DistinguishAnalyze"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK", "Nav_OperationLink") + .WithMany() + .HasForeignKey("OPERATION_LINK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE", "Nav_TaskAnalyze") + .WithMany("Nav_AnalyzeDetails") + .HasForeignKey("TASK_ANALYZE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_OperationLink"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TaskAnalyze"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FILE", "Nav_File") + .WithMany() + .HasForeignKey("Nav_FileID"); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE_DETAIL", "Nav_TaskAnalyzeDetail") + .WithMany("Nav_TaskAnalyzeDetailFiles") + .HasForeignKey("Nav_TaskAnalyzeDetailID"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_File"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TaskAnalyzeDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE", "Nav_TaskAnalyze") + .WithMany("Nav_Users") + .HasForeignKey("TASK_ANALYZE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TaskAnalyze"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_WORK_PERMIT_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_WORK_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_WB_SAFE_CHECK_TASK_DETAIL_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK_DETAIL", "Nav_Record") + .WithMany("Nav_Users") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK", "Nav_Task") + .WithMany() + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_Task"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_DISTINGUISH", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_DISTINGUISH_REPORT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_DISTINGUISH_REPORT_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_DEMAND_DISTINGUISH_REPORT", "Nav_DemandReport") + .WithMany("Nav_DemandReportDetail") + .HasForeignKey("REPORT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DemandReport"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_LAW", b => + { + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_DEMAND_DISTINGUISH", "Nav_DemandDistinguish") + .WithMany("Nav_DemandLaw") + .HasForeignKey("DISTINGUISH_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DemandDistinguish"); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_OTHER", b => + { + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_DEMAND_DISTINGUISH", "Nav_DemandDistinguish") + .WithMany("Nav_DemandOther") + .HasForeignKey("DISTINGUISH_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_OTHER_DISTINGUISH", "Nav_OtherDistinguish") + .WithMany() + .HasForeignKey("OTHER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DemandDistinguish"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_OtherDistinguish"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_TYPE", b => + { + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW_TYPE", "Nav_DemandType") + .WithMany() + .HasForeignKey("DEMANDTYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_DEMAND_DISTINGUISH", "Nav_DemandDistinguish") + .WithMany("Nav_DemandTypes") + .HasForeignKey("DISTINGUISH_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DemandDistinguish"); + + b.Navigation("Nav_DemandType"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_OTHER_DISTINGUISH", "Nav_OtherDistinguish") + .WithMany("Nav_DemandUser") + .HasForeignKey("OTHER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_OtherDistinguish"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_INTEGRATE_UPDATE_TIME", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW_TYPE", "Nav_LawType") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_LawType"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_INSTITUTION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.SC.T_SC_STANDARD_CREATE", "Nav_SCSystem") + .WithMany() + .HasForeignKey("SC_SYSTEM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW_INTEGRATE_UPDATE_DETAIL", "Nav_LawIntegrateUpdateDetail") + .WithMany("Nav_LRLawInstitution") + .HasForeignKey("UPDATE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_LawIntegrateUpdateDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SCSystem"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_INTEGRATE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_INTEGRATE_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW_INTEGRATE", "Nav_LawIntegrate") + .WithMany("Nav_IntegrateDetail") + .HasForeignKey("LAW_INTEGRATE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.SC.T_SC_STANDARD_CREATE", "Nav_SCSystem") + .WithMany() + .HasForeignKey("SYSTEM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_LawIntegrate"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SCSystem"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_INTEGRATE_UPDATE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_INTEGRATE_UPDATE_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW_INTEGRATE_UPDATE", "Nav_LawIntegrateUpdate") + .WithMany("Nav_IntegrateUpdateDetail") + .HasForeignKey("INTEGRATE_UPDATE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_LawIntegrateUpdate"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_SC_SYSTEM", b => + { + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany("Nav_LawSCSystem") + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.SC.T_SC_STANDARD_CREATE", "Nav_SCSystem") + .WithMany() + .HasForeignKey("SC_SYSTEM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SCSystem"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_UPDATE", b => + { + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_VERSION", b => + { + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany("Nav_LawVersion") + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_VERSION_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW_VERSION", "Nav_Version") + .WithMany("Nav_Files") + .HasForeignKey("VERSION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Version"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LEGAL_LIST", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LEGAL_LIST_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW_TYPE", "Nav_DemandType") + .WithMany() + .HasForeignKey("DEMANDTYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LEGAL_LIST", "Nav_LegalList") + .WithMany("Nav_LegalListDetail") + .HasForeignKey("LEGAL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_OTHER_DISTINGUISH", "Nav_OtherDistinguish") + .WithMany() + .HasForeignKey("OTHER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DemandType"); + + b.Navigation("Nav_LegalList"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_OtherDistinguish"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LEGAL_LIST_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LEGAL_LIST_DETAIL", "Nav_LegalListDetail") + .WithMany("Nav_Files") + .HasForeignKey("LEGAL_LIST_DETAIL") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_LegalListDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LEGAL_LIST_DETAIL_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LEGAL_LIST_DETAIL", "Nav_LegalListDetail") + .WithMany("Nav_LegalListDetailUser") + .HasForeignKey("LEGAL_LIST_DETAIL") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_LegalListDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LRCONFIG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_OTHER_DISTINGUISH", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_AGENCY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_AGENCY", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_AGENCY_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_AGENCY", "Nav_Agency") + .WithMany("Nav_Users") + .HasForeignKey("AGENCY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Agency"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_APPROVE_REWARD_PUNISHMENT_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_APPROVE_REWARD_PUNISHMENT_REPORT", "Nav_ApproveRewardPunishmentReport") + .WithMany("Nav_ApproveRewardPunishmentDetail") + .HasForeignKey("REPORT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApproveRewardPunishmentReport"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_APPROVE_REWARD_PUNISHMENT_REASON", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_APPROVE_REWARD_PUNISHMENT_REPORT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_APPROVE_REWARD_PUNISHMENT_REASON", "Nav_Reason") + .WithMany() + .HasForeignKey("REASON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Reason"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_ITEM_CATEGORY_ENUM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_COLLECTION_USER", "Nav_CollectionUser") + .WithMany("Nav_Opinions") + .HasForeignKey("COLLECTION_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CollectionUser"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_COLLECTION", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_AHChargeUser") + .WithMany() + .HasForeignKey("AH_CHARGE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ChargeUser") + .WithMany() + .HasForeignKey("CHARGE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_AHChargeUser"); + + b.Navigation("Nav_ChargeUser"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_COLLECTION_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_COLLECTION", "Nav_Collection") + .WithMany("Nav_Users") + .HasForeignKey("COLLECTION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Collection"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_COLLECTION_USER_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_COLLECTION_USER", "Nav_CollectionUser") + .WithMany("Nav_Files") + .HasForeignKey("COLLECTION_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CollectionUser"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_IMPLEMENT_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_REPORT", "Nav_Opinion") + .WithMany("Nav_ImpFileList") + .HasForeignKey("EMPLOYEE_OPINION_REPORT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Opinion"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_REPORT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_Assignee") + .WithMany() + .HasForeignKey("ASSIGNEE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DoDepartment") + .WithMany() + .HasForeignKey("DO_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_DoUser") + .WithMany() + .HasForeignKey("DO_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_LaunchDepartment") + .WithMany() + .HasForeignKey("LAUNCH_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_ITEM_CATEGORY_ENUM", "Nav_ItemEnum") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Assignee"); + + b.Navigation("Nav_DoDepartment"); + + b.Navigation("Nav_DoUser"); + + b.Navigation("Nav_ItemEnum"); + + b.Navigation("Nav_LaunchDepartment"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_SUGGESTION_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_REPORT", "Nav_Opinion") + .WithMany("Nav_FileList") + .HasForeignKey("EMPLOYEE_OPINION_REPORT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Opinion"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_REFUSE_ITEM_INVESTIGATION_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_REFUSE_ITEM_REPORT", "Nav_Opinion") + .WithMany("Nav_InvestigationFileList") + .HasForeignKey("EMPLOYEE_REFUSE_ITEM_REPORT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Opinion"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_REFUSE_ITEM_REPORT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_Assignee") + .WithMany() + .HasForeignKey("ASSIGNEE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ImplementDepartment") + .WithMany() + .HasForeignKey("IMPLEMENT_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ImplementUser") + .WithMany() + .HasForeignKey("IMPLEMENT_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_LaunchDepartment") + .WithMany() + .HasForeignKey("LAUNCH_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_ITEM_CATEGORY_ENUM", "Nav_ItemEnum") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Assignee"); + + b.Navigation("Nav_ImplementDepartment"); + + b.Navigation("Nav_ImplementUser"); + + b.Navigation("Nav_ItemEnum"); + + b.Navigation("Nav_LaunchDepartment"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_REFUSE_ITEM_REPORT_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_REFUSE_ITEM_REPORT", "Nav_Opinion") + .WithMany("Nav_FileList") + .HasForeignKey("EMPLOYEE_REFUSE_ITEM_REPORT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Opinion"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_GET", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_GET_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EVENT_GET", "Nav_Event") + .WithMany("Nav_Details") + .HasForeignKey("EVENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ReplyUser") + .WithMany() + .HasForeignKey("REPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Event"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ReplyUser"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_GET_DETAIL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EVENT_GET_DETAIL", "Nav_Detail") + .WithMany("Nav_Files") + .HasForeignKey("DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_GET_DETAIL_ITEM", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EVENT_GET_DETAIL", "Nav_Detail") + .WithMany("Nav_Items") + .HasForeignKey("DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_REPORT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_AHUser") + .WithMany() + .HasForeignKey("AH_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DoDepartment") + .WithMany() + .HasForeignKey("DO_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_DoUser") + .WithMany() + .HasForeignKey("DO_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_AHUser"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DoDepartment"); + + b.Navigation("Nav_DoUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_REPORT_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EVENT_REPORT", "Nav_Report") + .WithMany("Nav_Files") + .HasForeignKey("REPORT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Report"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_REPORT_SUM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_COMPLAIN_ADVISE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_Assignee") + .WithMany() + .HasForeignKey("ASSIGNEE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_CONTACT_DETAIL", "Nav_ExternalContactDetail") + .WithMany() + .HasForeignKey("EXTERNAL_COMPANY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_SurveyDepartment") + .WithMany() + .HasForeignKey("SURVEY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_SurveyUser") + .WithMany() + .HasForeignKey("SURVEY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_ITEM_CATEGORY_ENUM", "Nav_ItemEnum") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Assignee"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_ExternalContactDetail"); + + b.Navigation("Nav_ItemEnum"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SurveyDepartment"); + + b.Navigation("Nav_SurveyUser"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_COMPLAIN_ADVISE_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_COMPLAIN_ADVISE", "Nav_ExternalComplainAdvise") + .WithMany("Nav_FileList") + .HasForeignKey("EXTERNAL_COMPLAIN_ADVISE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ExternalComplainAdvise"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_COMPLAIN_ADVISE_SURVEY_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_COMPLAIN_ADVISE", "Nav_ExternalComplainAdvise") + .WithMany("Nav_SurveyFileList") + .HasForeignKey("EXTERNAL_COMPLAIN_ADVISE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ExternalComplainAdvise"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_CONTACT_COMMUNICATE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DoDepartment") + .WithMany() + .HasForeignKey("DO_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_DoUser") + .WithMany() + .HasForeignKey("DO_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_CONTACT_DETAIL", "Nav_ExternalContactDetail") + .WithMany() + .HasForeignKey("EXTERNAL_COMPANY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DoDepartment"); + + b.Navigation("Nav_DoUser"); + + b.Navigation("Nav_ExternalContactDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_CONTACT_COMMUNICATE_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_CONTACT_COMMUNICATE", "Nav_ExternalContactCommunicate") + .WithMany("Nav_FileList") + .HasForeignKey("EXTERNAL_CONTACT_COMMUNICATE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ExternalContactCommunicate"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_CONTACT_COMMUNICATE_IMPL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_CONTACT_COMMUNICATE", "Nav_ExternalContactCommunicate") + .WithMany("Nav_ImpFileList") + .HasForeignKey("EXTERNAL_CONTACT_COMMUNICATE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ExternalContactCommunicate"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_CONTACT_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_INNER_CONTACT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DoDepartment") + .WithMany() + .HasForeignKey("DO_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_DoUser") + .WithMany() + .HasForeignKey("DO_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_FormDepartment") + .WithMany() + .HasForeignKey("FORM_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_FromUser") + .WithMany() + .HasForeignKey("FROM_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ToDepartment") + .WithMany() + .HasForeignKey("TO_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ToUser") + .WithMany() + .HasForeignKey("TO_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DoDepartment"); + + b.Navigation("Nav_DoUser"); + + b.Navigation("Nav_FormDepartment"); + + b.Navigation("Nav_FromUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ToDepartment"); + + b.Navigation("Nav_ToUser"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_INNER_CONTACT_DO_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_INNER_CONTACT", "Nav_Contact") + .WithMany("Nav_DoFiles") + .HasForeignKey("CONTACT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Contact"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_INNER_CONTACT_ITEM_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_INNER_CONTACT", "Nav_Contact") + .WithMany("Nav_ItemFiles") + .HasForeignKey("CONTACT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Contact"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_OGCONFIG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_PERSONNEL_TYPE_ENUM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_AppointAgreeUser") + .WithMany() + .HasForeignKey("APPOINT_AGREEUSER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_PERSONNEL_TYPE_ENUM", "Nav_AppointType") + .WithMany() + .HasForeignKey("APPOINT_TYPE") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_AppointAgreeUser"); + + b.Navigation("Nav_AppointType"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_AppointAgreeUser") + .WithMany() + .HasForeignKey("APPOINT_AGREEUSER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_PERSONNEL_TYPE_ENUM", "Nav_AppointType") + .WithMany() + .HasForeignKey("APPOINT_TYPE") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT", "Nav_PolicyDocument") + .WithMany("Nav_Details") + .HasForeignKey("POLICY_DOCUMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_AppointAgreeUser"); + + b.Navigation("Nav_AppointType"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PolicyDocument"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT_DETAIL_APPOINT_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT_DETAIL", "Nav_PolicyDocumentDetail") + .WithMany("Nav_AppointUsers") + .HasForeignKey("POLICY_DOCUMENT_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT", null) + .WithMany("Nav_AppointUsers") + .HasForeignKey("T_OG_POLICY_DOCUMENTID"); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PolicyDocumentDetail"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT_DETAIL", "Nav_PolicyDocumentDetail") + .WithMany("Nav_Files") + .HasForeignKey("POLICY_DOCUMENT_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT", null) + .WithMany("Nav_Files") + .HasForeignKey("T_OG_POLICY_DOCUMENTID"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PolicyDocumentDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_AGREEMENT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED", "Nav_Related") + .WithMany("Nav_Agreements") + .HasForeignKey("RELATED_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Related"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_AGREEMENT_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_AGREEMENT", "Nav_Agreement") + .WithMany("Nav_Files") + .HasForeignKey("AGREEMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Agreement"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_ESTIMATE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED", "Nav_Related") + .WithMany() + .HasForeignKey("RELATED_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Related"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_ESTIMATE_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_ESTIMATE", "Nav_Estimate") + .WithMany("Nav_Details") + .HasForeignKey("ESTIMATE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_ESTIMATE_ITEM", "Nav_Item") + .WithMany() + .HasForeignKey("ITEM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Estimate"); + + b.Navigation("Nav_Item"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_ESTIMATE_ITEM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_FIRE_USER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED", "Nav_Related") + .WithMany("Nav_FireUser") + .HasForeignKey("RELATED_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Related"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION_LEVEL", "Nav_Level") + .WithMany() + .HasForeignKey("LEVEL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED", "Nav_Related") + .WithMany("Nav_Qualifications") + .HasForeignKey("RELATED_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Level"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Related"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION_DETAIL_ITEM", "Nav_Item") + .WithMany() + .HasForeignKey("ITEM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION", "Nav_Qualification") + .WithMany("Nav_Details") + .HasForeignKey("QUALIFICATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Item"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Qualification"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION_DETAIL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION_DETAIL", "Nav_Detail") + .WithMany("Nav_Files") + .HasForeignKey("DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION_DETAIL_ITEM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION_LEVEL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_SAFE_USER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED", "Nav_Related") + .WithMany("Nav_SafeUser") + .HasForeignKey("RELATED_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Related"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED", "Nav_Related") + .WithMany("Nav_Users") + .HasForeignKey("RELATED_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Related"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER_HEALTH", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER", "Nav_RelatedUser") + .WithMany("Nav_Healths") + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RelatedUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER_INSURANCE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER", "Nav_RelatedUser") + .WithMany("Nav_Insurances") + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RelatedUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER_SIGN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER", "Nav_RelatedUser") + .WithMany("Nav_Signs") + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RelatedUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_ITEM", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_PLAN_INPUT", "Nav_SafeAssessPlanInput") + .WithMany("Nav_SafeAssessItem") + .HasForeignKey("ASSESS_PLAN_INPUT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafeAssessPlanInput"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_PLAN_INPUT", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_SAFE_PDT_ASSESS_PLAN_CHECK", "Nav_Check") + .WithMany() + .HasForeignKey("CHECK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Check"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_RECORD_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_RECORD", "Nav_SafeAssessRecord") + .WithMany("Nav_Details") + .HasForeignKey("SAFE_ASSESS_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_SafeAssessRecord"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_RECORD_ITEM", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_ITEM", "Nav_SafeAssessItem") + .WithMany() + .HasForeignKey("ASSESS_ITEM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_RECORD_DETAIL", "Nav_SafeAssessRecordDetail") + .WithMany("Nav_SafeAssessRecordItem") + .HasForeignKey("RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafeAssessItem"); + + b.Navigation("Nav_SafeAssessRecordDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_PDT_ASSESS_PLAN_CHECK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_SAFE_PDT_ASSESS_PLAN_CHECK", "Nav_SafePdtAssessPlanCheck") + .WithMany("Nav_Files") + .HasForeignKey("CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafePdtAssessPlanCheck"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_PDT_SIGNED", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ChargeUser") + .WithMany() + .HasForeignKey("CHARGE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_CreateUser") + .WithMany() + .HasForeignKey("Nav_CreateUserID"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.SC.T_SC_STANDARD_CREATE", "Nav_StandardCreate") + .WithMany() + .HasForeignKey("STANDARD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ChargeUser"); + + b.Navigation("Nav_CreateUser"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_StandardCreate"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_PDT_SIGNED_POST", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ChargeUser") + .WithMany() + .HasForeignKey("CHARGE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_SAFE_PDT_SIGNED", "Nav_SafePdtSigned") + .WithMany("Nav_SafePdtSignedPost") + .HasForeignKey("SAFE_PDT_SIGNED_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ChargeUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_SafePdtSigned"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_ACTION_PLAN_ENUM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_ACTION_PLAN_REL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_ACTION_PLAN_ENUM", "Nav_Plan") + .WithMany() + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_SYSTEM_REVIEW", "Nav_Review") + .WithMany("Nav_ActionPlanList") + .HasForeignKey("REVIEW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_Review"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_PERSON_REL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_SYSTEM_REVIEW", "Nav_Review") + .WithMany("Nav_ReviewUserList") + .HasForeignKey("REVIEW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Review"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_REVIEW_ITEMS_REL", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_REVIEW_ITEM_ENUM", "Nav_Item") + .WithMany() + .HasForeignKey("ITEM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_SYSTEM_REVIEW", "Nav_Review") + .WithMany("Nav_ReviewItemsList") + .HasForeignKey("REVIEW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Item"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Review"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_REVIEW_ITEM_ENUM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_REVIEW_RESULT_REL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM", "Nav_Result") + .WithMany() + .HasForeignKey("RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_SYSTEM_REVIEW", "Nav_Review") + .WithMany("Nav_ReviewResultList") + .HasForeignKey("REVIEW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Result"); + + b.Navigation("Nav_Review"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_SYSTEM_REVIEW", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_HostUser") + .WithMany() + .HasForeignKey("HOST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_HostUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_EXAM_NOTICE_OCC_HAZARD", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Hazard") + .WithMany() + .HasForeignKey("HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_NOTICE_REGISTER", "Nav_Register") + .WithMany("Nav_ListOccHazard") + .HasForeignKey("REGISTER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Hazard"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Register"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_EXAM_RESULT_OCC_HAZARD", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Hazard") + .WithMany() + .HasForeignKey("HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_RESULT", "Nav_Result") + .WithMany() + .HasForeignKey("RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_RESULT", null) + .WithMany("Nav_OccHazardList") + .HasForeignKey("T_OH_HEALTH_EXAM_RESULTID"); + + b.Navigation("Nav_Hazard"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Result"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Type"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB", "Nav_Job") + .WithMany("Nav_Detail") + .HasForeignKey("JOB_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_RULE", "Nav_Rule") + .WithMany() + .HasForeignKey("RULE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Job"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Rule"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB", "Nav_MonitorJob") + .WithMany("Nav_Files") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_MonitorJob"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB_REPORT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB_REPORT_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB_REPORT", "Nav_Report") + .WithMany("Nav_Files") + .HasForeignKey("REPORT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Report"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_RESULT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_RULE", "Nav_Rule") + .WithMany() + .HasForeignKey("RULE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_RESULT_SUM", "Nav_Sum") + .WithMany("Nav_ListMonitorResult") + .HasForeignKey("SUM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Rule"); + + b.Navigation("Nav_Sum"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_RESULT_SUM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_RULE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentWarn") + .WithMany() + .HasForeignKey("DEPARTMENT_ID_WARN") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentWorkshop") + .WithMany() + .HasForeignKey("DEPARTMENT_ID_WORKSHOP") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_RecordPost") + .WithMany() + .HasForeignKey("RECORD_POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_WarnPost") + .WithMany() + .HasForeignKey("WARN_POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DepartmentWarn"); + + b.Navigation("Nav_DepartmentWorkshop"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RecordPost"); + + b.Navigation("Nav_Type"); + + b.Navigation("Nav_WarnPost"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EAXM_CYCLE_OCC_HAZARD_MID", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Hazard") + .WithMany() + .HasForeignKey("HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_CYCLE", "Nav_Record") + .WithMany("Nav_ListOccHazard") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Hazard"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EAXM_CYCLE_POST_MID", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_CYCLE", "Nav_Record") + .WithMany() + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_POST", "Nav_SCPost") + .WithMany() + .HasForeignKey("SC_POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_SCPost"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EAXM_PLAN_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_PLAN", "Nav_Plan") + .WithMany("Nav_ListDepartment") + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_BATCH", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_BATCH_DEPARTMENT", b => + { + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_BATCH", "Nav_Batch") + .WithMany("Nav_ListDepartment") + .HasForeignKey("BATCH_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Batch"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_CYCLE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_CYCLE_DEPARTMENTINFO", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_CYCLE", "Nav_ExamCycle") + .WithMany("Nav_ListDepartmentInfo") + .HasForeignKey("EXAM_CYCLE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_ExamCycle"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_CYCLE_DEPARTMENTINFO_POST", b => + { + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_CYCLE_DEPARTMENTINFO", "Nav_DepartmentInfo") + .WithMany("Nav_ListDepartmentInfoPost") + .HasForeignKey("DEPARTMENTINFO_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DepartmentInfo"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_NOTICE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_BATCH", "Nav_ExamBatch") + .WithMany() + .HasForeignKey("EXAM_BATCH_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_ExamBatch"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_NOTICE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_NOTICE", "Nav_Notice") + .WithMany("Nav_Files") + .HasForeignKey("NOTICE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Notice"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_NOTICE_REGISTER", b => + { + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_CYCLE", "Nav_Cycle") + .WithMany() + .HasForeignKey("CYCLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentWorkshop") + .WithMany() + .HasForeignKey("DEPARTMENT_ID_WORKSHOP") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_BATCH", "Nav_ExamBatch") + .WithMany() + .HasForeignKey("EXAM_BATCH_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_NOTICE", "Nav_Notice") + .WithMany("Nav_ListNoticeRegister") + .HasForeignKey("NOTICE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Cycle"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DepartmentWorkshop"); + + b.Navigation("Nav_ExamBatch"); + + b.Navigation("Nav_Notice"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_OCC_DISEASE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_OCC_DISEASE_SEVERITY_LEVEL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_PLAN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_PLAN_REGISTER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentWorkshop") + .WithMany() + .HasForeignKey("DEPARTMENT_ID_WORKSHOP") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_CYCLE", "Nav_ExamCycle") + .WithMany() + .HasForeignKey("EXAM_CYCLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_PLAN", "Nav_Plan") + .WithMany("Nav_ListPlanRegister") + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EAXM_PLAN_DEPARTMENT", "Nav_PlanDEP") + .WithMany() + .HasForeignKey("PLAN_ID_DEP") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DepartmentWorkshop"); + + b.Navigation("Nav_ExamCycle"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_PlanDEP"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_PLAN_REGISTER_HAZARD", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Hazard") + .WithMany() + .HasForeignKey("HAZARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_PLAN_REGISTER", "Nav_Register") + .WithMany("Nav_ListHazard") + .HasForeignKey("REGISTER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Hazard"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Register"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_RESULT", b => + { + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_NOTICE_REGISTER", "Nav_NoticeRegister") + .WithMany() + .HasForeignKey("NOTICE_REGISTER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_NoticeRegister"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_RESULT_IMPORT", b => + { + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_NOTICE", "Nav_ExamNotice") + .WithMany() + .HasForeignKey("NOTICE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ExamNotice"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_RESULT_OCC_DISEASE", b => + { + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_OCC_DISEASE", "Nav_OccDisease") + .WithMany() + .HasForeignKey("OCC_DISEASE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_OCC_DISEASE_SEVERITY_LEVEL", "Nav_OccDiseaseSeverity") + .WithMany() + .HasForeignKey("OCC_DISEASE_SEVERITY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_RESULT", "Nav_Result") + .WithMany("Nav_OccDiseaseList") + .HasForeignKey("RESULT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_OccDisease"); + + b.Navigation("Nav_OccDiseaseSeverity"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Result"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_RESULT_OCC_DISEASE_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_RESULT_OCC_DISEASE", "Nav_Disease") + .WithMany("Nav_Files") + .HasForeignKey("DISEASE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Disease"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_RUNCONFIG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PC.T_PC_COLORSET", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PC.T_PC_INFO", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PC.T_PC_INFO_COLOR", b => + { + b.HasOne("APT.MS.Domain.Entities.PC.T_PC_INFO", "Nav_Info") + .WithMany("Nav_Colors") + .HasForeignKey("INFO_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Info"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PC.T_PC_INFO_COLOR_AREA", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.PC.T_PC_INFO_COLOR", "Nav_InfoColor") + .WithMany("Nav_Areas") + .HasForeignKey("COLOR_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_InfoColor"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PC.T_PC_INFO_COLOR_POINT", b => + { + b.HasOne("APT.MS.Domain.Entities.PC.T_PC_INFO_COLOR", "Nav_InfoColor") + .WithMany("Nav_ColorPoints") + .HasForeignKey("INFO_COLOR_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.PC.T_PC_INFO", "Nav_Info") + .WithMany() + .HasForeignKey("INFO_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Info"); + + b.Navigation("Nav_InfoColor"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PC.T_PC_INFO_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.PC.T_PC_INFO", "Nav_Info") + .WithMany("Nav_Files") + .HasForeignKey("INFO_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Info"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ROLE", "Nav_Role") + .WithMany() + .HasForeignKey("ROLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Role"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PF.T_PF_QUESTION_FEEDBACK_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_QUESTION_FEEDBACK", "Nav_QuestionFeedback") + .WithMany("Nav_Files") + .HasForeignKey("T_PF_QUESTION_FEEDBACK") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_QuestionFeedback"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_AREA_TREE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.BI.T_BI_AREA_TREE", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_DEPARTMENT_MONTH_RUN", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_FORM_CHECK_ITEM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_FORM_RUN_ANALYSIS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_JOB_PROFILE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_MOULD_RUN_SUMMARY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_NOTIFICATION_TASK", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_NOTIFICATION_TASK_NEW", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_SYSTEM_RUN_SUMMARY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DETECTION_INSPECTION_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_DeviceBase") + .WithMany() + .HasForeignKey("DEVICE_BASE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DeviceBase"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DETECTION_INSPECTION_RECORD_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.DM.T_DM_DETECTION_INSPECTION_RECORD", "Nav_Record") + .WithMany("Nav_Files") + .HasForeignKey("DEVICE_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_APPLY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_APPLY_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_APPLY", "Nav_Apply") + .WithMany("Nav_Details") + .HasForeignKey("DEVICE_APPLY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_DeviceBase") + .WithMany() + .HasForeignKey("DEVICE_BASE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_UserPost") + .WithMany() + .HasForeignKey("USER_POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Apply"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DeviceBase"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + + b.Navigation("Nav_UserPost"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_BASE_RECEIPT_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_DeviceBase") + .WithMany("Nav_ReceiptFiles") + .HasForeignKey("DEVICE_BASE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DeviceBase"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_ISSUE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_APPLY", "Nav_Apply") + .WithMany() + .HasForeignKey("APPLY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_UserPost") + .WithMany() + .HasForeignKey("USER_POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Apply"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + + b.Navigation("Nav_UserPost"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_ISSUE_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_DeviceBase") + .WithMany() + .HasForeignKey("DEVICE_BASE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_ISSUE", "Nav_Issue") + .WithMany("Nav_Details") + .HasForeignKey("DEVICE_ISSUE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_UseUserPost") + .WithMany() + .HasForeignKey("USE_USER_POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DeviceBase"); + + b.Navigation("Nav_Issue"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + + b.Navigation("Nav_UseUserPost"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_MAINTENANCE_CHECK_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_CHECK", "Nav_Check") + .WithMany("Nav_Files") + .HasForeignKey("DEVICE_MAINTENANCE_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Check"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.OG.T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_SAFE_PDT_ASSESS_PLAN_CHECK", "Nav_SafePdtAssessPlanCheck") + .WithMany("Nav_Details") + .HasForeignKey("CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_SafePdtAssessPlanCheck"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.OG.T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_DETAIL_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.OG.T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_DETAIL", "Nav_CheckDetail") + .WithMany("Nav_Contents") + .HasForeignKey("CHECK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE", "Nav_Corrective") + .WithMany("Nav_Details") + .HasForeignKey("CORRECTIVE_PREVENTIVE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_StandardName") + .WithMany() + .HasForeignKey("STANDARDIZED_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Corrective"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_StandardName"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_PROCESS", "Nav_CorrectiveProcess") + .WithMany() + .HasForeignKey("CORRECTIVE_PREVENTIVE_PROCESS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CorrectiveProcess"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_CONSIDER", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_MEASURE_CONSIDER", "Nav_Consider") + .WithMany() + .HasForeignKey("CONSIDER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION", "Nav_Evaluation") + .WithMany("Nav_MeasureConsider") + .HasForeignKey("CORRECTIVE_PREVENTIVE_EVALUATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Consider"); + + b.Navigation("Nav_Evaluation"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION", "Nav_Evaluation") + .WithMany("Nav_Details") + .HasForeignKey("CORRECTIVE_PREVENTIVE_EVALUATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Evaluation"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_CONSIDER", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_MEASURE_CONSIDER", "Nav_Consider") + .WithMany() + .HasForeignKey("CONSIDER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL", "Nav_EvaluationDetail") + .WithMany("Nav_MeasureConsider") + .HasForeignKey("CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Consider"); + + b.Navigation("Nav_EvaluationDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL", "Nav_EvaluationDetail") + .WithMany("Nav_Files") + .HasForeignKey("CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationDetail"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_PROCESS", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE", "Nav_Corrective") + .WithMany() + .HasForeignKey("CORRECTIVE_PREVENTIVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Corrective"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_PROCESS_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_PROCESS", "Nav_Process") + .WithMany("Nav_Details") + .HasForeignKey("CORRECTIVE_PREVENTIVE_PROCESS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_StandardName") + .WithMany() + .HasForeignKey("STANDARDIZED_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Process"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_StandardName"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_PROCESS_DETAIL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_PROCESS_DETAIL", "Nav_ProcessDetail") + .WithMany("Nav_Files") + .HasForeignKey("CORRECTIVE_PREVENTIVE_PROCESS_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProcessDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_EVALUATION_METHOD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_MEASURE_CONSIDER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_MONITOR_PROJECT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN", "Nav_EvaluationPlan") + .WithMany("Nav_Details") + .HasForeignKey("SAFETY_EVALUATION_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_StandardName") + .WithMany() + .HasForeignKey("STANDARDIZED_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_EvaluationPlan"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_StandardName"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN_METHOD", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN_DETAIL", "Nav_EvaluationDetail") + .WithMany("Nav_EvaluationMethod") + .HasForeignKey("EVALUATION_PLAN_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_EVALUATION_METHOD", "Nav_Method") + .WithMany() + .HasForeignKey("METHOD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationDetail"); + + b.Navigation("Nav_Method"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN_DETAIL", "Nav_EvaluationDetail") + .WithMany("Nav_EvaluationUser") + .HasForeignKey("EVALUATION_PLAN_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_EvaluationDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_RECORD", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN_DETAIL", "Nav_EvaluationPlanDetail") + .WithMany() + .HasForeignKey("EVALUATION_PLAN_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN", "Nav_EvaluationPlan") + .WithMany() + .HasForeignKey("EVALUATION_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationPlan"); + + b.Navigation("Nav_EvaluationPlanDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_RECORD_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_Primary") + .WithMany() + .HasForeignKey("PRIMARY_ELEMENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_RECORD", "Nav_EvaluationRecord") + .WithMany("Nav_Details") + .HasForeignKey("SAFETY_EVALUATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_Second") + .WithMany() + .HasForeignKey("SECOND_ELEMENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_Three") + .WithMany() + .HasForeignKey("THREE_ELEMENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_EvaluationRecord"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Primary"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_Second"); + + b.Navigation("Nav_Three"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_RECORD_METHOD", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_EVALUATION_METHOD", "Nav_Method") + .WithMany() + .HasForeignKey("METHOD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_RECORD_DETAIL", "Nav_RecordDetail") + .WithMany("Nav_EvaluationMethod") + .HasForeignKey("SAFETY_EVALUATION_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Method"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RecordDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_RECORD_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_RECORD", "Nav_EvaluationRecord") + .WithMany("Nav_RecordUser") + .HasForeignKey("SAFETY_EVALUATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_EvaluationRecord"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_PLAN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_PLAN_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_MONITOR_PROJECT", "Nav_Project") + .WithMany() + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_PLAN", "Nav_MonitorPlan") + .WithMany("Nav_Details") + .HasForeignKey("SAFETY_MONITOR_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_MonitorPlan"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_PLAN", "Nav_MonitorPlan") + .WithMany() + .HasForeignKey("SAFETY_MONITOR_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_MonitorPlan"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_RECORD_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_MONITOR_PROJECT", "Nav_Project") + .WithMany() + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_RECORD", "Nav_MonitorRecord") + .WithMany("Nav_Details") + .HasForeignKey("SAFETY_MONITOR_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_MonitorRecord"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_RECORD_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_RECORD_DETAIL", "Nav_MonitorDetails") + .WithMany("Nav_Files") + .HasForeignKey("SAFETY_MONITOR_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_MonitorDetails"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_RECORD_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_RECORD", "Nav_MonitorRecord") + .WithMany("Nav_MonitorUser") + .HasForeignKey("SAFETY_MONITOR_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_MonitorRecord"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_STANDARDIZED_SCORE_AUTO_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_STANDARDIZED_SCORE_IMPORT_ITEM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_Standardized") + .WithMany("Nav_Details") + .HasForeignKey("STANDARDIZED_SCORE_IMPORT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Standardized"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PM.T_PE_ASSESSMENT_ITEM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_Primary") + .WithMany() + .HasForeignKey("PRIMARY_ELEMENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_Second") + .WithMany() + .HasForeignKey("SECOND_ELEMENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", "Nav_Three") + .WithMany() + .HasForeignKey("THREE_ELEMENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Primary"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_Second"); + + b.Navigation("Nav_Three"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_AUDIT_REQUIREMENT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_ACCEPTANCE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_IDENTIFY_EVALUATION", "Nav_Change") + .WithMany() + .HasForeignKey("CHANGE_IDENTIFY_EVALUATION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Change"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_IDENTIFY_EVALUATION", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_IDENTIFY_EVALUATION_TASK", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_IDENTIFY_EVALUATION", "Nav_Change") + .WithMany("Nav_Tasks") + .HasForeignKey("CHANGE_IDENTIFY_EVALUATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_PERFORM_TASK_SET", "Nav_Task") + .WithMany() + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Change"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_IDENTIFY_EVALUATION_TYPE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_IDENTIFY_EVALUATION", "Nav_Change") + .WithMany("Nav_Types") + .HasForeignKey("CHANGE_IDENTIFY_EVALUATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Change"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_TASK_IMPLEMENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_IDENTIFY_EVALUATION", "Nav_Change") + .WithMany() + .HasForeignKey("CHANGE_IDENTIFY_EVALUATION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_PERFORM_TASK_SET", "Nav_Task") + .WithMany() + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Change"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_TASK_IMPLEMENT_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_TASK_IMPLEMENT", "Nav_Implement") + .WithMany("Nav_Files") + .HasForeignKey("CHANGE_TASK_IMPLEMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Implement"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_TASK_IMPLEMENT_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_TASK_IMPLEMENT", "Nav_Implement") + .WithMany("Nav_Users") + .HasForeignKey("CHANGE_TASK_IMPLEMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Implement"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD_AIR", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Airs") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD_DEAL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Deals") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD_DRUG", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Drugs") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD_SERI", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Seris") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DEPARTMENT_STEP_LINK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DESIGN_DOCUMENT_PICTURE_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DESIGN_DOCUMENT_REVIEW", "Nav_Design") + .WithMany("Nav_Pictures") + .HasForeignKey("DESIGN_DOCUMENT_REVIEW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Design"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DESIGN_DOCUMENT_REVIEW", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DESIGN_DOCUMENT_REVIEW_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DESIGN_DOCUMENT_REVIEW", "Nav_Design") + .WithMany("Nav_Files") + .HasForeignKey("DESIGN_DOCUMENT_REVIEW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Design"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DESIGN_DOCUMENT_REVIEW_REQUIREMENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DESIGN_DOCUMENT_REVIEW", "Nav_Design") + .WithMany("Nav_Requirements") + .HasForeignKey("DESIGN_DOCUMENT_REVIEW_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_AUDIT_REQUIREMENT", "Nav_Requirement") + .WithMany() + .HasForeignKey("REQUIREMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Design"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Requirement"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_OUTBOUND_RECORD", "Nav_Record") + .WithMany() + .HasForeignKey("OUTBOUND_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD", "Nav_Record") + .WithMany("Nav_Details") + .HasForeignKey("CARRY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET", "Nav_Drug") + .WithMany() + .HasForeignKey("DRUG_SET_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_PLACE", "Nav_Place") + .WithMany() + .HasForeignKey("PLACE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET_SPECIFY", "Nav_Specify") + .WithMany() + .HasForeignKey("SPECIFY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Drug"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Place"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_Specify"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD_DETAIL_ACCEPT", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD_DETAIL", "Nav_RecordDetail") + .WithMany("Nav_Accepts") + .HasForeignKey("CARRY_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RecordDetail"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD_DETAIL_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD_DETAIL", "Nav_RecordDetail") + .WithMany("Nav_Users") + .HasForeignKey("CARRY_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RecordDetail"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_SAFE_CONFIRM", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD", "Nav_Carry") + .WithMany("Nav_Confirms") + .HasForeignKey("CARRY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Carry"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_OUTBOUND_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_OUTBOUND_RECORD_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET", "Nav_Drug") + .WithMany() + .HasForeignKey("DRUG_SET_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_OUTBOUND_RECORD", "Nav_Record") + .WithMany("Nav_Details") + .HasForeignKey("OUTBOUND_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_PLACE", "Nav_Place") + .WithMany() + .HasForeignKey("PLACE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET_SPECIFY", "Nav_Specify") + .WithMany() + .HasForeignKey("SPECIFY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Drug"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Place"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_Specify"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_OUTBOUND_RECORD_DETAIL_ACCEPT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_OUTBOUND_RECORD_DETAIL", "Nav_RecordDetail") + .WithMany("Nav_Accepts") + .HasForeignKey("OUTBOUND_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RecordDetail"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_OUTBOUND_RECORD_DETAIL_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_OUTBOUND_RECORD_DETAIL", "Nav_RecordDetail") + .WithMany("Nav_Users") + .HasForeignKey("OUTBOUND_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RecordDetail"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_PLACE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET_SAFE_CONFIRM", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET", "Nav_Drug") + .WithMany("Nav_Confirms") + .HasForeignKey("DRUG_SET_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Drug"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET_SPECIFY", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET", "Nav_Drug") + .WithMany("Nav_Specifys") + .HasForeignKey("DRUG_SET_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Drug"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_TYPE_SAFE_CONFIRM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_TYPE", "Nav_Type") + .WithMany("Nav_Confirms") + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD", "Nav_Carry") + .WithMany() + .HasForeignKey("CARRY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET", "Nav_Drug") + .WithMany() + .HasForeignKey("DRUG_SET_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET_SPECIFY", "Nav_Specify") + .WithMany() + .HasForeignKey("SPECIFY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Carry"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Drug"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Specify"); + + b.Navigation("Nav_Type"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD_CONFIRM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD", "Nav_UseRecord") + .WithMany("Nav_Confirms") + .HasForeignKey("USE_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UseRecord"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET", "Nav_Drug") + .WithMany() + .HasForeignKey("DRUG_SET_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET_SPECIFY", "Nav_Specify") + .WithMany() + .HasForeignKey("SPECIFY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD", "Nav_Use") + .WithMany("Nav_Details") + .HasForeignKey("USE_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Drug"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Specify"); + + b.Navigation("Nav_Type"); + + b.Navigation("Nav_Use"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD_DETAIL_CONFIRM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD_DETAIL", "Nav_UseRecordDetail") + .WithMany("Nav_Confirms") + .HasForeignKey("USE_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UseRecordDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD_PRINT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET", "Nav_Drug") + .WithMany() + .HasForeignKey("DRUG_SET_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET_SPECIFY", "Nav_Specify") + .WithMany() + .HasForeignKey("SPECIFY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD", "Nav_Use") + .WithMany() + .HasForeignKey("USE_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Drug"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Specify"); + + b.Navigation("Nav_Type"); + + b.Navigation("Nav_Use"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD", "Nav_UseRecord") + .WithMany("Nav_Users") + .HasForeignKey("USE_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + + b.Navigation("Nav_UseRecord"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD_DEAL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Deals") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD_DRUG", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Drugs") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD_INVE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Inves") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD_MACH", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Machs") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD_TUNG", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Tungs") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_EXPERIMENTAL_OPERATION_RECORD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_EXPERIMENTAL_OPERATION_RECORD_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_EXPERIMENTAL_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Details") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_EXTERNAL_ACCEPTANCE_RECORD", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_EXTERNAL_ASSISTANCE_APPLICATION", "Nav_Application") + .WithMany() + .HasForeignKey("APPLICATION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Application"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_EXTERNAL_ACCEPTANCE_RECORD_ACCEPTANCE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_EXTERNAL_ACCEPTANCE_RECORD", "Nav_Record") + .WithMany("Nav_Acceptances") + .HasForeignKey("EXTERNAL_ACCEPTANCE_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_EXTERNAL_ACCEPTANCE_RECORD_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_EXTERNAL_ACCEPTANCE_RECORD", "Nav_Record") + .WithMany("Nav_Files") + .HasForeignKey("EXTERNAL_ACCEPTANCE_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_EXTERNAL_ASSISTANCE_APPLICATION", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_CONTACT_DETAIL", "Nav_ExternalContactDetail") + .WithMany() + .HasForeignKey("EXTERNAL_COMPANY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_LANDSLIDE_ROLLSTONE_MONITOR", "Nav_Monitor") + .WithMany() + .HasForeignKey("MONITOR_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_ExternalContactDetail"); + + b.Navigation("Nav_Monitor"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD_DET", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Dets") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD_ORE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Ores") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD_PRE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Pres") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD_SAM", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Sams") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LANDSLIDE_ROLLSTONE_MONITOR", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LANDSLIDE_ROLLSTONE_MONITOR_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_LANDSLIDE_ROLLSTONE_MONITOR", "Nav_RollStone") + .WithMany("Nav_Files") + .HasForeignKey("LANDSLIDE_ROLLSTONE_MONITOR_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RollStone"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_MAP_PROCESS_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_MAP_PROCESS_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_MAP_PROCESS_RECORD", "Nav_Map") + .WithMany("Nav_Files") + .HasForeignKey("MAP_PROCESS_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Map"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_PERFORM_TASK_SET", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK_CODE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FORM", "Nav_Form") + .WithMany() + .HasForeignKey("PF_FORM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK", "Nav_PostForm") + .WithMany("Nav_Codes") + .HasForeignKey("POST_POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Form"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PostForm"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK", "Nav_PostForm") + .WithMany("Nav_Departments") + .HasForeignKey("POST_POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PostForm"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK_XK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK_XK_PARAM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK_XK", "Nav_PostForm") + .WithMany("Nav_Params") + .HasForeignKey("POST_POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PostForm"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_PROCESS_FORM_XK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_PROCESS_FORM_XK_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_PROCESS_FORM_XK", "Nav_ProcessForm") + .WithMany("Nav_Details") + .HasForeignKey("POST_PROCESS_FORM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProcessForm"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_PRODUCTION_OPERATION_RECORD", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", "Nav_OperationStep") + .WithMany() + .HasForeignKey("OPERATION_STEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_OperationStep"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_PRODUCTION_OPERATION_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_PRODUCTION_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Files") + .HasForeignKey("PRODUCTION_OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_PRODUCTION_OPERATION_RECORD_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_PRODUCTION_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Users") + .HasForeignKey("PRODUCTION_OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SANDPUMP_OPERATION_RECORD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SANDPUMP_OPERATION_RECORD_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_SANDPUMP_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Details") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SURVEY_RECORD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SURVEY_RECORD_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_SURVEY_RECORD", "Nav_Record") + .WithMany("Nav_Details") + .HasForeignKey("SURVEY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SURVEY_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_SURVEY_RECORD", "Nav_Record") + .WithMany("Nav_Files") + .HasForeignKey("SURVEY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SURVEY_RECORD_SET", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SURVEY_RECORD_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_SURVEY_RECORD", "Nav_Record") + .WithMany("Nav_Users") + .HasForeignKey("SURVEY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_THOUSANDPUMP_OPERATION_RECORD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_THOUSANDPUMP_OPERATION_RECORD_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_THOUSANDPUMP_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Details") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD_DRUG", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Drugs") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD_MEAS", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Meas") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD_SERI", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Seris") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD_TARG", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD", "Nav_Record") + .WithMany("Nav_Targs") + .HasForeignKey("OPERATION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ANNUAL_MONOTOR_SUMMARY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ANNUAL_MONOTOR_SUMMARY_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_ANNUAL_MONOTOR_SUMMARY", "Nav_MonitorSummary") + .WithMany("Nav_Details") + .HasForeignKey("MONITOR_SUMMARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_MonitorSummary"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ANNUAL_MONOTOR_SUMMARY_DETAIL_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_ANNUAL_MONOTOR_SUMMARY_DETAIL", "Nav_SummaryDetail") + .WithMany("Nav_Contents") + .HasForeignKey("MONOTOR_SUMMARY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SummaryDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION", "Nav_Indeicator") + .WithMany() + .HasForeignKey("INDICATOR_FORMULATION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Indeicator"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT", "Nav_AssessmentPlan") + .WithMany("Nav_Details") + .HasForeignKey("ASSESSMENT_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_AssessmentPlan"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT_DETAIL_CONTENT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT_DETAIL", "Nav_AuditDetail") + .WithMany("Nav_Contents") + .HasForeignKey("PLAN_AUDIT_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_AuditDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT", "Nav_AssessmentPlan") + .WithMany("Nav_Files") + .HasForeignKey("ASSESSMENT_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_AssessmentPlan"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT_TEMP_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT_TEMP_DETAIL_CONTENT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT_TEMP_DETAIL", "Nav_AuditTempDetail") + .WithMany("Nav_Contents") + .HasForeignKey("PLAN_AUDIT_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_AuditTempDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_COLLECT_REQUIREMENTS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_FILE_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_FORMULATE_REQUIREMENTS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_GOALS_AND_TARGET", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION", "Nav_Indeicator") + .WithMany("Nav_Goals") + .HasForeignKey("INDICATOR_FORMULATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Indeicator"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION", "Nav_Indeicator") + .WithMany() + .HasForeignKey("INDICATOR_FORMULATION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Indeicator"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT", "Nav_IndeicatorDepartment") + .WithMany("Nav_DepartmentDetail") + .HasForeignKey("INDICATOR_FORMULATION_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_IndeicatorDepartment"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT_DETAIL_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT_DETAIL", "Nav_DepartmentDetail") + .WithMany("Nav_DetailContent") + .HasForeignKey("INDICATOR_FORMULATION_DEPARTMENT_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DepartmentDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT", "Nav_IndeicatorDepartment") + .WithMany("Nav_Files") + .HasForeignKey("INDICATOR_FORMULATION_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_IndeicatorDepartment"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT_TEAM", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT", "Nav_IndeicatorDepartment") + .WithMany("Nav_TeamDetail") + .HasForeignKey("INDICATOR_FORMULATION_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_IndeicatorDepartment"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT_TEAM_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT_TEAM", "Nav_TeamDetail") + .WithMany("Nav_DetailContent") + .HasForeignKey("INDICATOR_FORMULATION_DEPARTMENT_TEAM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TeamDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION", "Nav_Indeicator") + .WithMany("Nav_Files") + .HasForeignKey("INDICATOR_FORMULATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Indeicator"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_PLAN_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION", "Nav_Indeicator") + .WithMany("Nav_PlanFiles") + .HasForeignKey("INDICATOR_FORMULATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Indeicator"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_PLAN_RESOURCES", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION", "Nav_Indeicator") + .WithMany("Nav_PlanResources") + .HasForeignKey("INDICATOR_FORMULATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_PLAN_RESOURCES", "Nav_Resources") + .WithMany() + .HasForeignKey("RESOURCES_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Indeicator"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Resources"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_REQUIREMENTS", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_FORMULATE_REQUIREMENTS", "Nav_Formulate") + .WithMany() + .HasForeignKey("FORMULATE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION", "Nav_Indeicator") + .WithMany("Nav_Formulates") + .HasForeignKey("INDICATOR_FORMULATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Formulate"); + + b.Navigation("Nav_Indeicator"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INTENTIONAL_GUIDELINES", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_MONITOR_ASSESSMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_MONITOR_ASSESSMENT_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_MONITOR_ASSESSMENT", "Nav_MonitorAssessment") + .WithMany("Nav_Details") + .HasForeignKey("MONITOR_ASSESSMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_MonitorAssessment"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_MONITOR_ASSESSMENT_DETAIL_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_MONITOR_ASSESSMENT_DETAIL", "Nav_MonitorDetail") + .WithMany("Nav_Contents") + .HasForeignKey("MONITOR_ASSESSMENT_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_MonitorDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_MONITOR_ASSESSMENT_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_MONITOR_ASSESSMENT", "Nav_Monitor") + .WithMany("Nav_MonitorUser") + .HasForeignKey("MONITOR_ASSESSMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Monitor"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_PLAN_RESOURCES", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_SAFETY_POLICY_SURVEY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_INTENTIONAL_GUIDELINES", "Nav_Guidelines") + .WithMany() + .HasForeignKey("GUIDELINES_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Guidelines"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_SAFETY_POLICY_SURVEY_COLLECT", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_COLLECT_REQUIREMENTS", "Nav_Collect") + .WithMany() + .HasForeignKey("COLLECT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_SAFETY_POLICY_SURVEY", "Nav_SafetyPolicy") + .WithMany("Nav_Collects") + .HasForeignKey("SAFETY_POLICY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Collect"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafetyPolicy"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_SAFETY_POLICY_SURVEY_FEEDBACK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_INTENTIONAL_GUIDELINES", "Nav_Guidelines") + .WithMany() + .HasForeignKey("GUIDELINES_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_SAFETY_POLICY_SURVEY", "Nav_SafetyPolicy") + .WithMany("Nav_Feedbacks") + .HasForeignKey("SAFETY_POLICY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Guidelines"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafetyPolicy"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_SAFETY_POLICY_SURVEY_RANGE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.PT.T_PT_SAFETY_POLICY_SURVEY", "Nav_SafetyPolicy") + .WithMany("Nav_Ranges") + .HasForeignKey("SAFETY_POLICY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafetyPolicy"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_TIME_SET", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", "Nav_DeviceBase") + .WithMany() + .HasForeignKey("DEVICE_BASE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.DM.T_DM_DEVICE", "Nav_Device") + .WithMany() + .HasForeignKey("DEVICE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Device"); + + b.Navigation("Nav_DeviceBase"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_POST", "Nav_Post") + .WithMany("Nav_Depts") + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_DEPARTMENT_POST", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Depost") + .WithMany() + .HasForeignKey("DEPOST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.SC.T_SC_DEPARTMENT", "Nav_Dept") + .WithMany("Nav_Posts") + .HasForeignKey("DEPT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Depost"); + + b.Navigation("Nav_Dept"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_DOCUMENT_LIBRARY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_DOCUMENT_LIBRARY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.SC.T_SC_DOCUMENT_LIBRARY", "Nav_Library") + .WithMany("Nav_Details") + .HasForeignKey("DOCUMENT_LIBRARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Library"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_DOCUMENT_LIBRARY_DETAIL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.SC.T_SC_DOCUMENT_LIBRARY_DETAIL", "Nav_Library") + .WithMany("Nav_Files") + .HasForeignKey("DOCUMENT_LIBRARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Library"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_STANDARD_CREATE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_STANDARD_CREATE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.SC.T_SC_STANDARD_CREATE", "Nav_Standard") + .WithMany("Nav_Files") + .HasForeignKey("STANDARD_CREATE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Standard"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_CONFIG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_CONTENT_NAME", "Nav_ContentName") + .WithMany("Nav_ListContent") + .HasForeignKey("CONTENTNAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ContentName"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_CONTENT_DEAL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_CONTENT", "Nav_Content") + .WithMany("Nav_ListContentDeal") + .HasForeignKey("CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Content"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_CONTENT_NAME", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_ENUMS", "Nav_Enums") + .WithMany() + .HasForeignKey("CheckLevel_ENUMS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES", "Nav_Minutes") + .WithMany() + .HasForeignKey("Nav_MinutesID"); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserHost") + .WithMany() + .HasForeignKey("USER_ID_HOST") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User_Originator") + .WithMany() + .HasForeignKey("USER_ID_ORIGINATOR") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserRecorder") + .WithMany() + .HasForeignKey("USER_ID_RECORDER") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Enums"); + + b.Navigation("Nav_Minutes"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User_Originator"); + + b.Navigation("Nav_UserHost"); + + b.Navigation("Nav_UserRecorder"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_BEGIN", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_CONTENT_NAME", "Nav_ContentName") + .WithMany() + .HasForeignKey("CONTENTNAME_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING", "Nav_Meeting") + .WithMany("Nav_ListMeetingContent") + .HasForeignKey("MEETING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ContentName"); + + b.Navigation("Nav_Meeting"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_END", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING", "Nav_Meeting") + .WithMany("Nav_Files") + .HasForeignKey("MEETING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Meeting"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_FILE_OFFICIALSEAL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING", "Nav_Meeting") + .WithMany("Nav_FilesOfficialseal") + .HasForeignKey("MEETING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Meeting"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_FILE_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING", "Nav_Meeting") + .WithMany("Nav_FilesRecord") + .HasForeignKey("MEETING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Meeting"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING", "Nav_Meeting") + .WithMany() + .HasForeignKey("MEETING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Meeting"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_CONTENT", "Nav_Content") + .WithMany() + .HasForeignKey("CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES", "Nav_MeetingMinutes") + .WithMany("Nav_ListContent") + .HasForeignKey("MEETING_MINUTES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Content"); + + b.Navigation("Nav_MeetingMinutes"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES_CONTENT_DEAL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_CONTENT_DEAL", "Nav_ContentDeal") + .WithMany() + .HasForeignKey("CONTENT_DEAL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES_CONTENT", "Nav_Content") + .WithMany("Nav_ListContentDeal") + .HasForeignKey("CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Content"); + + b.Navigation("Nav_ContentDeal"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentDeal") + .WithMany() + .HasForeignKey("DEAL_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserDeal") + .WithMany() + .HasForeignKey("DEAL_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES", "Nav_MeetingMinutes") + .WithMany("Nav_ListMinutesDetail") + .HasForeignKey("MEETING_MINUTES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DepartmentDeal"); + + b.Navigation("Nav_MeetingMinutes"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UserDeal"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES_DETAIL", "Nav_MeetingMinutesDetail") + .WithMany("Nav_Files") + .HasForeignKey("MEETING_MINUTES_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_MeetingMinutesDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES", "Nav_MeetingMinutes") + .WithMany("Nav_Files") + .HasForeignKey("MEETING_MINUTES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_MeetingMinutes"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_PABSENCE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES", "Nav_MeetingMinutes") + .WithMany("Nav_ListPAbsence") + .HasForeignKey("MEETING_MINUTES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_MeetingMinutes"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_PALL", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING", "Nav_Meeting") + .WithMany("Nav_ListPAll") + .HasForeignKey("MEETING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Meeting"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_PASKFORLEAVE", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES", "Nav_MeetingMinutes") + .WithMany("Nav_ListPAskForLeave") + .HasForeignKey("MEETING_MINUTES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_MeetingMinutes"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_PJOIN", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES", "Nav_MeetingMinutes") + .WithMany("Nav_ListPJoin") + .HasForeignKey("MEETING_MINUTES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_MeetingMinutes"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_PREVIEW", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING", "Nav_Meeting") + .WithMany("Nav_ListPReView") + .HasForeignKey("MEETING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Meeting"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_THEME", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_THEMES", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING", "Nav_Meeting") + .WithMany("Nav_ListThemes") + .HasForeignKey("MEETING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_THEME", "Nav_MeetingTheme") + .WithMany() + .HasForeignKey("THEME_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Meeting"); + + b.Navigation("Nav_MeetingTheme"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MINUTES_PREVIEW", b => + { + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES", "Nav_MeetingMinutes") + .WithMany("Nav_ListPReview") + .HasForeignKey("MEETING_MINUTES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_MeetingMinutes"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_PLAN_SET", b => + { + b.HasOne("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", "Nav_ApproveRole") + .WithMany() + .HasForeignKey("APPROVE_ROLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_CONTENT_NAME", "Nav_ContentName") + .WithMany() + .HasForeignKey("CONTENTNAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ApproveRole"); + + b.Navigation("Nav_ContentName"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_PLAN_SET_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_MT_PLAN_SET", "Nav_PlanSet") + .WithMany("Nav_ListSetDepartment") + .HasForeignKey("PLAN_SET_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PlanSet"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_POST", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Depost") + .WithMany() + .HasForeignKey("DEPOST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Depost"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_POST_DEPOST", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Depost") + .WithMany() + .HasForeignKey("DEPOST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_POST", "Nav_Post") + .WithMany("Nav_Posts") + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Depost"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_POST_SAFE_PDT_TEMPLATE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_File") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SC.T_SC_POST", "Nav_Post") + .WithMany("Nav_Files") + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_File"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_CERTIFICATE_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENTID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FILE_DB", "Nav_FileDB") + .WithMany() + .HasForeignKey("FILE_DB_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_FileDB"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY", "Nav_Cour") + .WithMany("Nav_Detail") + .HasForeignKey("EDU_CARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TEST", "Nav_Test") + .WithMany() + .HasForeignKey("TEST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Cour"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Test"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY", "Nav_Cour") + .WithMany("Nav_Files") + .HasForeignKey("COURSEWEARLIBRARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Cour"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_DEP_TRAIN_PLAN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_LaunchDepartment") + .WithMany() + .HasForeignKey("LAUNCH_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LaunchUser") + .WithMany() + .HasForeignKey("LAUNCH_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_LaunchDepartment"); + + b.Navigation("Nav_LaunchUser"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_DEP_TRAIN_PLAN_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TEST_ENUM_POINT", "Nav_TestEnumPoint") + .WithMany() + .HasForeignKey("CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_DEP_TRAIN_PLAN_DETAIL", "Nav_DepTrainPlanDetail") + .WithMany("Nav_DepTrainPlanContent") + .HasForeignKey("DEP_TRAIN_PLAN_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DepTrainPlanDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TestEnumPoint"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_DEP_TRAIN_PLAN_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_CHECK_TYPE_ENUM", "Nav_TrainCheckTypeEnum") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_DEP_TRAIN_PLAN", "Nav_DepTrainPlan") + .WithMany("Nav_DepTrainPlanDetail") + .HasForeignKey("DEP_TRAIN_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_TYPE_ENUM", "Nav_TrainTypeEnum") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DepTrainPlan"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TrainCheckTypeEnum"); + + b.Navigation("Nav_TrainTypeEnum"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USERS", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_CONTENT", "Nav_Content") + .WithMany() + .HasForeignKey("CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Content"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USERS_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_NEW_USERS", "Nav_NewUser") + .WithMany("Nav_Files") + .HasForeignKey("NEW_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_NewUser"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USERS_TEACHER", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_NEW_USERS", "Nav_Users") + .WithMany("Nav_Teachers") + .HasForeignKey("NEW_USERS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USER_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_NEW_USERS", "Nav_NewUser") + .WithMany("Nav_NewUserDetail") + .HasForeignKey("EDU_CARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_DepartmentNext") + .WithMany() + .HasForeignKey("NEXT_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("USER_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("USER_POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DepartmentNext"); + + b.Navigation("Nav_NewUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USER_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_NEW_USER_DETAIL", "Nav_UserDetail") + .WithMany("Nav_Files") + .HasForeignKey("USER_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_UserDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USER_DETAIL_PAPER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_NEW_USER_DETAIL", "Nav_Record") + .WithMany("Nav_Papers") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TEST", "Nav_Test") + .WithMany() + .HasForeignKey("TEST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_NEW_USER_DETAIL_TEXT", "Nav_Text") + .WithMany("Nav_ListPaper") + .HasForeignKey("TEXT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_Test"); + + b.Navigation("Nav_Text"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USER_DETAIL_TEXT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_NEW_USER_DETAIL", "Nav_Record") + .WithMany() + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_RENEWAL_TRAIN", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_CERTIFICATE_TYPE", "Nav_CertificateType") + .WithMany() + .HasForeignKey("CERTIFICATE_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CertificateType"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_RENEWAL_TRAIN_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_RENEWAL_TRAIN", "Nav_Renewal") + .WithMany("Nav_Files") + .HasForeignKey("RENEWALD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Renewal"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_LaunchDepartment") + .WithMany() + .HasForeignKey("LAUNCH_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LaunchUser") + .WithMany() + .HasForeignKey("LAUNCH_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_LaunchDepartment"); + + b.Navigation("Nav_LaunchUser"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY_LIST_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY", "Nav_Safe") + .WithMany("Nav_JoinDepartment") + .HasForeignKey("SAFE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Safe"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY_LIST_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY", "Nav_Safe") + .WithMany("Nav_Files") + .HasForeignKey("SAFE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Safe"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY_LIST_PAPER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY", "Nav_Safe") + .WithMany("Nav_Papers") + .HasForeignKey("SAFE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TEST", "Nav_Test") + .WithMany() + .HasForeignKey("TEST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Safe"); + + b.Navigation("Nav_Test"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY_LIST_POINT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TEST_ENUM_POINT", "Nav_Point") + .WithMany() + .HasForeignKey("POINT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY", "Nav_Safe") + .WithMany("Nav_Points") + .HasForeignKey("SAFE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Point"); + + b.Navigation("Nav_Safe"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY_USER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY", "Nav_Survey") + .WithMany("Nav_ListUsers") + .HasForeignKey("SURVEY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Survey"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SECONFIG", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TEST", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TEST_ENUM_POINT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TEST_LIST_POINT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TEST_ENUM_POINT", "Nav_Point") + .WithMany() + .HasForeignKey("POINT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TEST", "Nav_Test") + .WithMany("Nav_Points") + .HasForeignKey("TEST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Point"); + + b.Navigation("Nav_Test"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TEST_LIST_POST", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TEST", "Nav_Test") + .WithMany("Nav_Posts") + .HasForeignKey("TEST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_Test"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_CONTENT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_EDU_CARD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_LaunchDepartment") + .WithMany() + .HasForeignKey("LAUNCH_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LaunchUser") + .WithMany() + .HasForeignKey("LAUNCH_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_LaunchDepartment"); + + b.Navigation("Nav_LaunchUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_CONTENT", "Nav_Content") + .WithMany() + .HasForeignKey("CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_EDU_CARD", "Nav_EDUCard") + .WithMany("Nav_TrainRecordList") + .HasForeignKey("EDU_CARD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Content"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_EDUCard"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD", "Nav_TrainRecord") + .WithMany("Nav_TrainRecordFile") + .HasForeignKey("TRAIN_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TrainRecord"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD_SIGNATURE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD", "Nav_TrainRecord") + .WithMany("Nav_TrainSignatureFile") + .HasForeignKey("TRAIN_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TrainRecord"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION_END", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAINING_SURVEY_SUBJECT", "Nav_Subject") + .WithMany() + .HasForeignKey("SUBJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION", "Nav_TrainingEffect") + .WithMany("Nav_ResultList") + .HasForeignKey("TRAINING_EFFECT_EVALUATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Subject"); + + b.Navigation("Nav_TrainingEffect"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION_OPINION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION", "Nav_TrainingEffect") + .WithMany("Nav_OpinionList") + .HasForeignKey("TRAINING_EFFECT_EVALUATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TrainingEffect"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION_SURVEY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION_SURVEY_RESULTS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAINING_SURVEY_SUBJECT", "Nav_Subject") + .WithMany() + .HasForeignKey("SUBJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION_SURVEY", "Nav_TrainingEffectSurvey") + .WithMany("Nav_ResultList") + .HasForeignKey("TRAINING_EFFECT_EVALUATION_SURVEY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Subject"); + + b.Navigation("Nav_TrainingEffectSurvey"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAINING_SURVEY_SUBJECT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_CHECK_TYPE_ENUM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_DEMAND_ENUM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_LaunchDepartment") + .WithMany() + .HasForeignKey("LAUNCH_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LaunchUser") + .WithMany() + .HasForeignKey("LAUNCH_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_RecordUser") + .WithMany() + .HasForeignKey("RECORD_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_TrainDepartment") + .WithMany() + .HasForeignKey("TRAIN_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_TYPE_ENUM", "Nav_TrainType") + .WithMany() + .HasForeignKey("TRAIN_TYPE") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserTeacher") + .WithMany() + .HasForeignKey("USER_ID_TEACHER") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_LaunchDepartment"); + + b.Navigation("Nav_LaunchUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RecordUser"); + + b.Navigation("Nav_TrainDepartment"); + + b.Navigation("Nav_TrainType"); + + b.Navigation("Nav_UserTeacher"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY_CONTENT_REL", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY", "Nav_Notify") + .WithMany("Nav_TrainContentList") + .HasForeignKey("NOTIFY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TEST_ENUM_POINT", "Nav_Point") + .WithMany() + .HasForeignKey("POINT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Notify"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Point"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY", "Nav_Cour") + .WithMany() + .HasForeignKey("COURSEWEARLIBRARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY", "Nav_Notify") + .WithMany("Nav_ListCour") + .HasForeignKey("NOTIFY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Cour"); + + b.Navigation("Nav_Notify"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY", "Nav_Notify") + .WithMany("Nav_Files") + .HasForeignKey("NOTIFY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Notify"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY_PERSONS", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY", "Nav_Notify") + .WithMany("Nav_TrainUserList") + .HasForeignKey("NOTIFY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Notify"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_PLAN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("LAUNCH_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_PLAN_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_PLAN", "Nav_Plan") + .WithMany("Nav_ListPlanDetail") + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_TYPE_ENUM", "Nav_TrainTypeEnum") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_TrainTypeEnum"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_PLAN_DETAIL_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_PLAN_DETAIL", "Nav_PlanDetail") + .WithMany("Nav_ListDetailDepartment") + .HasForeignKey("PLAN_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PlanDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_PLAN_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_PLAN", "Nav_Plan") + .WithMany("Nav_Files") + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY", "Nav_Notify") + .WithMany() + .HasForeignKey("NOTIFY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Notify"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD", "Nav_Record") + .WithMany("Nav_Files") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_PAPER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD", "Nav_Record") + .WithMany("Nav_Papers") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_USER", "Nav_RecordUser") + .WithMany() + .HasForeignKey("RECORD_UUSER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TEST", "Nav_Test") + .WithMany() + .HasForeignKey("TEST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_TEXT", "Nav_Text") + .WithMany("Nav_ListPaper") + .HasForeignKey("TEXT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_RecordUser"); + + b.Navigation("Nav_Test"); + + b.Navigation("Nav_Text"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_REPORT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_TEXT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD", "Nav_Record") + .WithMany() + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD", "Nav_Record") + .WithMany("Nav_Users") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_USER_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_USER", "Nav_RecordUser") + .WithMany("Nav_Files") + .HasForeignKey("RECORD_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RecordUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_LaunchDepartment") + .WithMany() + .HasForeignKey("LAUNCH_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LaunchUser") + .WithMany() + .HasForeignKey("LAUNCH_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_LaunchDepartment"); + + b.Navigation("Nav_LaunchUser"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY_LIST_DEMAND", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY", "Nav_Survey") + .WithMany("Nav_Demands") + .HasForeignKey("SURVEY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Survey"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY_LIST_DEMAND_ITEM", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_DEMAND_ENUM", "Nav_DEMAND") + .WithMany() + .HasForeignKey("DEMAND_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY_LIST_DEMAND", "Nav_List") + .WithMany("Nav_Items") + .HasForeignKey("LIST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DEMAND"); + + b.Navigation("Nav_List"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY_LIST_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY", "Nav_Survey") + .WithMany("Nav_JoinDepartment") + .HasForeignKey("SURVEY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Survey"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY_LIST_POINT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TEST_ENUM_POINT", "Nav_Point") + .WithMany() + .HasForeignKey("POINT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY", "Nav_Survey") + .WithMany("Nav_Points") + .HasForeignKey("SURVEY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Point"); + + b.Navigation("Nav_Survey"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_TYPE_ENUM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_USER_TEMP", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_LaunchDepartment") + .WithMany() + .HasForeignKey("LAUNCH_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LaunchUser") + .WithMany() + .HasForeignKey("LAUNCH_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_LaunchDepartment"); + + b.Navigation("Nav_LaunchUser"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TEST_ENUM_POINT", "Nav_TestEnumPoint") + .WithMany() + .HasForeignKey("CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN_DETAIL", "Nav_YearTrainPlanDetail") + .WithMany("Nav_YearTrainPlanContent") + .HasForeignKey("YEAR_TRAIN_PLAN_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_TestEnumPoint"); + + b.Navigation("Nav_YearTrainPlanDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN_DEPARTMENT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN", "Nav_YearTrainPlan") + .WithMany("Nav_YearTrainPlanDepartment") + .HasForeignKey("YEAR_TRAIN_PLAN_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_YearTrainPlan"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_CHECK_TYPE_ENUM", "Nav_TrainCheckTypeEnum") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ResponsibilityDep") + .WithMany() + .HasForeignKey("RESPONSIBILITY_DEP_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ResponsibilityUser") + .WithMany() + .HasForeignKey("RESPONSIBILITY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TRAIN_TYPE_ENUM", "Nav_TrainTypeEnum") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN", "Nav_YearTrainPlan") + .WithMany("Nav_YearTrainPlanDetail") + .HasForeignKey("YEAR_TRAIN_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ResponsibilityDep"); + + b.Navigation("Nav_ResponsibilityUser"); + + b.Navigation("Nav_TrainCheckTypeEnum"); + + b.Navigation("Nav_TrainTypeEnum"); + + b.Navigation("Nav_YearTrainPlan"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN", "Nav_YearTrainPlan") + .WithMany("Nav_Files") + .HasForeignKey("YEAR_TRAIN_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_YearTrainPlan"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_NAME", "Nav_RiskName") + .WithMany() + .HasForeignKey("RISK_NAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREC", "Nav_SCOREC") + .WithMany() + .HasForeignKey("SCOREC_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREE", "Nav_SCOREE") + .WithMany() + .HasForeignKey("SCOREE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREL", "Nav_SCOREL") + .WithMany() + .HasForeignKey("SCOREL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_RiskName"); + + b.Navigation("Nav_SCOREC"); + + b.Navigation("Nav_SCOREE"); + + b.Navigation("Nav_SCOREL"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY", "Nav_Library") + .WithMany("Nav_Details") + .HasForeignKey("BASIC_LIBRARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Library"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_DETAIL_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_DETAIL", "Nav_LibraryDetail") + .WithMany("Nav_DetailContents") + .HasForeignKey("BASIC_LIBRARY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_LibraryDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_DETAIL_CONTENT_BASIC", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_DETAIL_CONTENT", "Nav_DetailContent") + .WithMany("Nav_DetailBasics") + .HasForeignKey("BASIC_LIBRARY_DETAIL_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DetailContent"); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_DETAIL_CONTENT_HIDDEN", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_DETAIL_CONTENT", "Nav_DetailContent") + .WithMany("Nav_DetailHiddens") + .HasForeignKey("BASIC_LIBRARY_DETAIL_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DetailContent"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Question"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP", "Nav_Library") + .WithMany("Nav_Contents") + .HasForeignKey("BASIC_LIBRARY_TEMP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Library"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP_HIDDEN", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP", "Nav_Library") + .WithMany("Nav_Hiddens") + .HasForeignKey("BASIC_LIBRARY_TEMP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Library"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP", "Nav_Library") + .WithMany("Nav_Measures") + .HasForeignKey("BASIC_LIBRARY_TEMP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Library"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP_MEASURE_LEVEL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP_MEASURE", "Nav_Measure") + .WithMany("Nav_Levels") + .HasForeignKey("BASIC_LIBRARY_TEMP_MEASURE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Measure"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS_BASIC", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", "Nav_Contents") + .WithMany("Nav_ContentsBasics") + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_CYCLE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", "Nav_Types") + .WithMany("Nav_CheckCycle") + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Types"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_QUESTION", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", "Nav_Contents") + .WithMany("Nav_ListCheckQuestion") + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_ProductionUnit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET", "Nav_CheckSet") + .WithMany("Nav_CheckSetContents") + .HasForeignKey("CHECK_SET_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_CheckSet"); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS_AREA", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS", "Nav_CheckSetContent") + .WithMany("Nav_ContentsAreas") + .HasForeignKey("CHECK_SET_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_CheckSetContent"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS_AREA_RISK", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS_AREA", "Nav_CheckSetContentArea") + .WithMany("Nav_ContentsAreaRisks") + .HasForeignKey("CHECK_SET_CONTENTS_AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_NAME", "Nav_RiskName") + .WithMany() + .HasForeignKey("RISK_NAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CheckSetContentArea"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskName"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS_BASIC", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS", "Nav_CheckSetContent") + .WithMany("Nav_ContentsBasics") + .HasForeignKey("CHECK_CONTENTS_SET_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckSetContent"); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS_HIDDEN", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS", "Nav_CheckSetContent") + .WithMany("Nav_ContentsHiddens") + .HasForeignKey("CHECK_CONTENTS_SET_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckSetContent"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Question"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET", "Nav_CheckSet") + .WithMany("Nav_CheckUsers") + .HasForeignKey("CHECK_SET_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CheckSet"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_RiskArea") + .WithMany() + .HasForeignKey("RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Question"); + + b.Navigation("Nav_RiskArea"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM", "Nav_Double") + .WithMany("Nav_DoubleDetails") + .HasForeignKey("DOUBLE_PREVENT_MECHANISM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_NAME", "Nav_RiskName") + .WithMany() + .HasForeignKey("RISK_NAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREC", "Nav_SCOREC") + .WithMany() + .HasForeignKey("SCOREC_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREE", "Nav_SCOREE") + .WithMany() + .HasForeignKey("SCOREE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREL", "Nav_SCOREL") + .WithMany() + .HasForeignKey("SCOREL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Double"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_RiskName"); + + b.Navigation("Nav_SCOREC"); + + b.Navigation("Nav_SCOREE"); + + b.Navigation("Nav_SCOREL"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_DEPART", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL", "Nav_DoubleDetail") + .WithMany("Nav_DetailDeparts") + .HasForeignKey("DOUBLE_PREVENT_MECHANISM_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DoubleDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_DEPART_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_DEPART", "Nav_DetailDepart") + .WithMany("Nav_DepartDetails") + .HasForeignKey("MECHANISM_DETAIL_DEPART_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DetailDepart"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL", "Nav_DoubleDetail") + .WithMany("Nav_DoubleDetailMeasures") + .HasForeignKey("DOUBLE_PREVENT_MECHANISM_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DoubleDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES", "Nav_DoubleDetailMeasure") + .WithMany("Nav_DetailMeasureContents") + .HasForeignKey("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_DoubleDetailMeasure"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_BASIC", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT", "Nav_DetailMeasureContent") + .WithMany("Nav_DetailMeasureContentBasics") + .HasForeignKey("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DetailMeasureContent"); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_DEPART", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_POST", "Nav_DetailDepart") + .WithMany("Nav_DetailPosts") + .HasForeignKey("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DetailDepart"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_HIDDEN", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT", "Nav_DetailMeasureContent") + .WithMany("Nav_DetailMeasureContentHiddens") + .HasForeignKey("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DetailMeasureContent"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Question"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_POST", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT", "Nav_DetailMeasureContent") + .WithMany("Nav_DetailMeasureContentPosts") + .HasForeignKey("DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DetailMeasureContent"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_POST", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL", "Nav_DoubleDetail") + .WithMany("Nav_DetailPosts") + .HasForeignKey("DOUBLE_PREVENT_MECHANISM_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DoubleDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM", "Nav_Double") + .WithMany("Nav_DoubleFiles") + .HasForeignKey("DOUBLE_PREVENT_MECHANISM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Double"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_NAME", "Nav_RiskName") + .WithMany() + .HasForeignKey("RISK_NAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREC", "Nav_SCOREC") + .WithMany() + .HasForeignKey("SCOREC_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREE", "Nav_SCOREE") + .WithMany() + .HasForeignKey("SCOREE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREL", "Nav_SCOREL") + .WithMany() + .HasForeignKey("SCOREL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_RiskName"); + + b.Navigation("Nav_SCOREC"); + + b.Navigation("Nav_SCOREE"); + + b.Navigation("Nav_SCOREL"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DEPART", b => + { + b.HasOne("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", "Nav_ApproveRole") + .WithMany() + .HasForeignKey("APPROVE_ROLE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY", "Nav_Library") + .WithMany("Nav_Departs") + .HasForeignKey("ENTERPRISE_LIBRARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApproveRole"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Library"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY", "Nav_Library") + .WithMany("Nav_Details") + .HasForeignKey("ENTERPRISE_LIBRARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Library"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL", "Nav_LibraryDetail") + .WithMany("Nav_DetailContents") + .HasForeignKey("ENTERPRISE_LIBRARY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_LibraryDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_BASIC", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT", "Nav_DetailContent") + .WithMany("Nav_DetailBasics") + .HasForeignKey("ENTERPRISE_LIBRARY_DETAIL_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DetailContent"); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT", "Nav_DetailContent") + .WithMany("Nav_DetailDeparts") + .HasForeignKey("ENTERPRISE_LIBRARY_DETAIL_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DetailContent"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_HIDDEN", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT", "Nav_DetailContent") + .WithMany("Nav_DetailHiddens") + .HasForeignKey("ENTERPRISE_LIBRARY_DETAIL_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DetailContent"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Question"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_POST", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART", "Nav_DetailDepart") + .WithMany("Nav_DetailPosts") + .HasForeignKey("ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DetailDepart"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART", "Nav_DetailDepart") + .WithMany("Nav_DetailUsers") + .HasForeignKey("ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_DetailDepart"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_POST", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY", "Nav_Library") + .WithMany("Nav_Posts") + .HasForeignKey("ENTERPRISE_LIBRARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Library"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_POST_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_POST", "Nav_LibraryPost") + .WithMany("Nav_PostDetails") + .HasForeignKey("ENTERPRISE_LIBRARY_POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_LibraryPost"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP", b => + { + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.HM.T_HM_RISK_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_CONTENT", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP", "Nav_Library") + .WithMany("Nav_Contents") + .HasForeignKey("ENTERPRISE_LIBRARY_TEMP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Library"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_CONTENT_DEPART", b => + { + b.HasOne("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_CONTENT", "Nav_Content") + .WithMany("Nav_Departs") + .HasForeignKey("ENTERPRISE_LIBRARY_TEMP_CONTENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Content"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_CONTENT_POST", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_CONTENT_DEPART", "Nav_Depart") + .WithMany("Nav_Posts") + .HasForeignKey("ENTERPRISE_LIBRARY_TEMP_CONTENT_DEPART_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Depart"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_HIDDEN", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP", "Nav_Library") + .WithMany("Nav_Hiddens") + .HasForeignKey("ENTERPRISE_LIBRARY_TEMP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Library"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP", "Nav_Library") + .WithMany("Nav_Measures") + .HasForeignKey("ENTERPRISE_LIBRARY_TEMP_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Library"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_MEASURE_DEPART", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_MEASURE", "Nav_Measure") + .WithMany("Nav_Departs") + .HasForeignKey("ENTERPRISE_LIBRARY_TEMP_MEASURE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Measure"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_EVALUATION", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_HAND_REPORT", "Nav_Report") + .WithMany() + .HasForeignKey("HIDDEN_DANGER_HAND_REPORT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_RecitifyUser") + .WithMany() + .HasForeignKey("RECITIFY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_RiskArea") + .WithMany() + .HasForeignKey("RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_Question"); + + b.Navigation("Nav_RecitifyUser"); + + b.Navigation("Nav_Report"); + + b.Navigation("Nav_RiskArea"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM_BASIC", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM", "Nav_Confirm") + .WithMany("Nav_Basics") + .HasForeignKey("HIDDEN_DANGER_CONFIRM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Confirm"); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM", "Nav_Confirm") + .WithMany("Nav_Files") + .HasForeignKey("HIDDEN_DANGER_CONFIRM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Confirm"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM_PHOTO", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM", "Nav_Confirm") + .WithMany("Nav_Photos") + .HasForeignKey("HIDDEN_DANGER_CONFIRM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Confirm"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM_REASON", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM", "Nav_Confirm") + .WithMany("Nav_Reasons") + .HasForeignKey("HIDDEN_DANGER_CONFIRM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_REASON", "Nav_Reason") + .WithMany() + .HasForeignKey("REASON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Confirm"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Reason"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_HAND_REPORT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_RiskArea") + .WithMany() + .HasForeignKey("RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_RiskArea"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_HAND_REPORT_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_HAND_REPORT", "Nav_Report") + .WithMany("Nav_ReportFiles") + .HasForeignKey("HIDDEN_DANGER_HAND_REPORT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Report"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_DELAY_APPLY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD", "Nav_RectifyRecord") + .WithMany() + .HasForeignKey("HIDDEN_DANGER_RECTIFY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_RectifyRecord"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_AcceptUser") + .WithMany() + .HasForeignKey("ACCEPT_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE", "Nav_Rectify") + .WithMany("Nav_RectifyDetails") + .HasForeignKey("HIDDEN_DANGER_RECTIFY_NOTICE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ImplementUser") + .WithMany() + .HasForeignKey("IMPLEMENT_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_RecitifyUser") + .WithMany() + .HasForeignKey("RECITIFY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_RiskArea") + .WithMany() + .HasForeignKey("RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_AcceptUser"); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_ImplementUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Question"); + + b.Navigation("Nav_RecitifyUser"); + + b.Navigation("Nav_Rectify"); + + b.Navigation("Nav_RiskArea"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_BASIC", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL", "Nav_RectifyDetail") + .WithMany("Nav_RectifyDetailBasics") + .HasForeignKey("HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RectifyDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL", "Nav_RectifyDetail") + .WithMany("Nav_RectifyDetailFiles") + .HasForeignKey("HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RectifyDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_REASON", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL", "Nav_RectifyDetail") + .WithMany("Nav_RectifyDetailReasons") + .HasForeignKey("HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_REASON", "Nav_Reason") + .WithMany() + .HasForeignKey("REASON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Reason"); + + b.Navigation("Nav_RectifyDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE", "Nav_Rectify") + .WithMany("Nav_RectifyFiles") + .HasForeignKey("HIDDEN_DANGER_RECTIFY_NOTICE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Rectify"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_AcceptUser") + .WithMany() + .HasForeignKey("ACCEPT_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ImplementUser") + .WithMany() + .HasForeignKey("IMPLEMENT_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_RecitifyUser") + .WithMany() + .HasForeignKey("RECITIFY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_RiskArea") + .WithMany() + .HasForeignKey("RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_AcceptUser"); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_ImplementUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_Question"); + + b.Navigation("Nav_RecitifyUser"); + + b.Navigation("Nav_RiskArea"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD_BASIC", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD", "Nav_Rectify") + .WithMany("Nav_RectifyBasics") + .HasForeignKey("HIDDEN_DANGER_RECTIFY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Rectify"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD", "Nav_Rectify") + .WithMany("Nav_RectifyFiles") + .HasForeignKey("HIDDEN_DANGER_RECTIFY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Rectify"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD_PHOTOA", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD", "Nav_Rectify") + .WithMany("Nav_RectifyPhotoas") + .HasForeignKey("HIDDEN_DANGER_RECTIFY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Rectify"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD_PHOTOB", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD", "Nav_Rectify") + .WithMany("Nav_RectifyPhotobs") + .HasForeignKey("HIDDEN_DANGER_RECTIFY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Rectify"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD_REASON", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD", "Nav_Rectify") + .WithMany("Nav_RectifyReasons") + .HasForeignKey("HIDDEN_DANGER_RECTIFY_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_REASON", "Nav_Reason") + .WithMany() + .HasForeignKey("REASON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Reason"); + + b.Navigation("Nav_Rectify"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT", "Nav_Report") + .WithMany("Nav_ReportDetails") + .HasForeignKey("HIDDEN_DANGER_REPORT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_RecitifyUser") + .WithMany() + .HasForeignKey("RECITIFY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_RiskArea") + .WithMany() + .HasForeignKey("RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Question"); + + b.Navigation("Nav_RecitifyUser"); + + b.Navigation("Nav_Report"); + + b.Navigation("Nav_RiskArea"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT_DETAIL_BASIC", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT_DETAIL", "Nav_ReportDetail") + .WithMany("Nav_ReportDetailBasics") + .HasForeignKey("HIDDEN_DANGER_REPORT_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ReportDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT_DETAIL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT_DETAIL", "Nav_ReportDetail") + .WithMany("Nav_ReportDetailFiles") + .HasForeignKey("HIDDEN_DANGER_REPORT_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ReportDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT_DETAIL_REASON", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT_DETAIL", "Nav_ReportDetail") + .WithMany("Nav_ReportDetailReasons") + .HasForeignKey("HIDDEN_DANGER_REPORT_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_REASON", "Nav_Reason") + .WithMany() + .HasForeignKey("REASON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Reason"); + + b.Navigation("Nav_ReportDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT", "Nav_Report") + .WithMany("Nav_ReportFiles") + .HasForeignKey("HIDDEN_DANGER_REPORT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Report"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_REASON", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN", "Nav_Plan") + .WithMany("Nav_Details") + .HasForeignKey("IDENTIFY_EVALUATION_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN_DETAIL_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN_DETAIL", "Nav_PlanDetail") + .WithMany("Nav_DetailUsers") + .HasForeignKey("IDENTIFY_EVALUATION_PLAN_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PlanDetail"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_EVALUATION", "Nav_Evaluation") + .WithMany() + .HasForeignKey("EVALUATION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN", "Nav_Plan") + .WithMany("Nav_Evaluations") + .HasForeignKey("IDENTIFY_EVALUATION_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Evaluation"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN", "Nav_Plan") + .WithMany("Nav_Files") + .HasForeignKey("IDENTIFY_EVALUATION_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN_REQUIRE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN", "Nav_Plan") + .WithMany("Nav_Requires") + .HasForeignKey("IDENTIFY_EVALUATION_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_REQUEST", "Nav_Require") + .WithMany() + .HasForeignKey("REQUIRE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_Require"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_LIBRARY_IMPORT_MAIN", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_LIBRARY_IMPORT_MAIN_HIDDEN", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_LIBRARY_IMPORT_MAIN_MEASURES", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_LIBRARY_IMPORT_MAIN_POST", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_LIBRARY_IMPORT_POST", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_LIBRARY_IMPORT_TEMP", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_LIBRARY_IMPORT_TEMP_NEW", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_MEASURE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_PLAN_SET", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserSend") + .WithMany() + .HasForeignKey("USER_ID_SEND") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_UserSend"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_PLAN_SET_AREA", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_PLAN_SET", "Nav_PlanSet") + .WithMany("Nav_ListArea") + .HasForeignKey("PLANSET_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PlanSet"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_PLAN_SET_DEPARTMENT_OUT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_PLAN_SET", "Nav_PlanSet") + .WithMany("Nav_ListDepOut") + .HasForeignKey("PLANSET_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PlanSet"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_PLAN_SET_DEP_OBJECT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_PLAN_SET", "Nav_PlanSet") + .WithMany("Nav_ListSetDepObject") + .HasForeignKey("PLANSET_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PlanSet"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_REQUEST", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Parent") + .WithMany("Nav_Children") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_ProductionUnit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN", "Nav_plan") + .WithMany() + .HasForeignKey("IDENTIFY_EVALUATION_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_EVALUATION", "Nav_Require") + .WithMany() + .HasForeignKey("REQUIRE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_plan"); + + b.Navigation("Nav_Require"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION", "Nav_Evaluation") + .WithMany("Nav_Details") + .HasForeignKey("RISK_EVALUATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_NAME", "Nav_RiskName") + .WithMany() + .HasForeignKey("RISK_NAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREC", "Nav_SCOREC") + .WithMany() + .HasForeignKey("SCOREC_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREE", "Nav_SCOREE") + .WithMany() + .HasForeignKey("SCOREE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREL", "Nav_SCOREL") + .WithMany() + .HasForeignKey("SCOREL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Evaluation"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_RiskName"); + + b.Navigation("Nav_SCOREC"); + + b.Navigation("Nav_SCOREE"); + + b.Navigation("Nav_SCOREL"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL_DEPART", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL", "Nav_EvaluationDetail") + .WithMany("Nav_DetailDeparts") + .HasForeignKey("RISK_EVALUATION_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_EvaluationDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL_MEASURE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL", "Nav_EvaluationDetail") + .WithMany("Nav_DetailMeasures") + .HasForeignKey("RISK_EVALUATION_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL_POST", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL", "Nav_EvaluationDetail") + .WithMany("Nav_DetailPosts") + .HasForeignKey("RISK_EVALUATION_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_EvaluationDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL_POST_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL_POST", "Nav_DetailPost") + .WithMany("Nav_PostDetails") + .HasForeignKey("RISK_EVALUATION_DETAIL_POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DetailPost"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION", "Nav_Evaluation") + .WithMany("Nav_Files") + .HasForeignKey("RISK_EVALUATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Evaluation"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_REQUIRE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_EVALUATION", "Nav_Require") + .WithMany() + .HasForeignKey("REQUIRE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION", "Nav_Evaluation") + .WithMany("Nav_Requires") + .HasForeignKey("RISK_EVALUATION_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Evaluation"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Require"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN", "Nav_plan") + .WithMany() + .HasForeignKey("IDENTIFY_EVALUATION_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_EVALUATION", "Nav_Require") + .WithMany() + .HasForeignKey("REQUIRE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_plan"); + + b.Navigation("Nav_Require"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY", "Nav_Evaluation") + .WithMany("Nav_Details") + .HasForeignKey("RISK_EVALUATION_SUMMARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_NAME", "Nav_RiskName") + .WithMany() + .HasForeignKey("RISK_NAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREC", "Nav_SCOREC") + .WithMany() + .HasForeignKey("SCOREC_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREE", "Nav_SCOREE") + .WithMany() + .HasForeignKey("SCOREE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SCOREL", "Nav_SCOREL") + .WithMany() + .HasForeignKey("SCOREL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Evaluation"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_RiskName"); + + b.Navigation("Nav_SCOREC"); + + b.Navigation("Nav_SCOREE"); + + b.Navigation("Nav_SCOREL"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL_DEPART", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL", "Nav_EvaluationDetail") + .WithMany("Nav_DetailDeparts") + .HasForeignKey("RISK_EVALUATION_SUMMARY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_EvaluationDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL_MEASURE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL", "Nav_EvaluationDetail") + .WithMany("Nav_DetailMeasures") + .HasForeignKey("RISK_EVALUATION_SUMMARY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_EvaluationDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL_POST", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL", "Nav_EvaluationDetail") + .WithMany("Nav_DetailPosts") + .HasForeignKey("RISK_EVALUATION_SUMMARY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_EvaluationDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL_POST_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL_POST", "Nav_DetailPost") + .WithMany("Nav_PostDetails") + .HasForeignKey("RISK_EVALUATION_SUMMARY_DETAIL_POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DetailPost"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY", "Nav_Evaluation") + .WithMany("Nav_Files") + .HasForeignKey("RISK_EVALUATION_SUMMARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Evaluation"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_REQUIRE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_EVALUATION", "Nav_Require") + .WithMany() + .HasForeignKey("REQUIRE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY", "Nav_Evaluation") + .WithMany("Nav_Requires") + .HasForeignKey("RISK_EVALUATION_SUMMARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Evaluation"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Require"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN", "Nav_plan") + .WithMany() + .HasForeignKey("IDENTIFY_EVALUATION_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_REQUEST", "Nav_Require") + .WithMany() + .HasForeignKey("REQUIRE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_plan"); + + b.Navigation("Nav_Require"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY", "Nav_Identify") + .WithMany("Nav_Details") + .HasForeignKey("RISK_IDENTIFY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_NAME", "Nav_RiskName") + .WithMany() + .HasForeignKey("RISK_NAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Identify"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_RiskName"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL_MEASURE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL", "Nav_IdentifyDetail") + .WithMany("Nav_DetailMeasures") + .HasForeignKey("RISK_IDENTIFY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_IdentifyDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL_RESULT_DEPART", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_DETAIL", "Nav_IdentifyDetail") + .WithMany("Nav_DetailDeparts") + .HasForeignKey("RISK_IDENTIFY_RESULT_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_IdentifyDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL_RESULT_MEASURE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_DETAIL", "Nav_IdentifyDetail") + .WithMany("Nav_DetailMeasures") + .HasForeignKey("RISK_IDENTIFY_RESULT_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_IdentifyDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL_RESULT_POST", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_DETAIL", "Nav_IdentifyDetail") + .WithMany("Nav_DetailPosts") + .HasForeignKey("RISK_IDENTIFY_RESULT_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_IdentifyDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL_RESULT_POST_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL_RESULT_POST", "Nav_DetailPost") + .WithMany("Nav_ResultPostDets") + .HasForeignKey("RISK_IDENTIFY_DETAIL_RESULT_POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DetailPost"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY", "Nav_Identify") + .WithMany("Nav_Files") + .HasForeignKey("RISK_IDENTIFY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Identify"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_REQUIRE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_REQUEST", "Nav_Require") + .WithMany() + .HasForeignKey("REQUIRE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY", "Nav_Identify") + .WithMany("Nav_Requires") + .HasForeignKey("RISK_IDENTIFY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Identify"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Require"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN", "Nav_plan") + .WithMany() + .HasForeignKey("IDENTIFY_EVALUATION_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY", "Nav_Identify") + .WithMany() + .HasForeignKey("IDENTIFY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_REQUEST", "Nav_Require") + .WithMany() + .HasForeignKey("REQUIRE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Identify"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_plan"); + + b.Navigation("Nav_Require"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT", "Nav_IdentifyResult") + .WithMany("Nav_Details") + .HasForeignKey("RISK_IDENTIFY_RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_NAME", "Nav_RiskName") + .WithMany() + .HasForeignKey("RISK_NAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_IdentifyResult"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_RiskName"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT", "Nav_IdentifyResult") + .WithMany("Nav_Files") + .HasForeignKey("RISK_IDENTIFY_RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_IdentifyResult"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_REQUIRE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_REQUEST", "Nav_Require") + .WithMany() + .HasForeignKey("REQUIRE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT", "Nav_IdentifyResult") + .WithMany("Nav_Requires") + .HasForeignKey("RISK_IDENTIFY_RESULT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_IdentifyResult"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Require"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN", "Nav_plan") + .WithMany() + .HasForeignKey("IDENTIFY_EVALUATION_PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY", "Nav_Identify") + .WithMany() + .HasForeignKey("IDENTIFY_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT", "Nav_IdentifyResult") + .WithMany() + .HasForeignKey("IDENTIFY_RESULT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_REQUEST", "Nav_Require") + .WithMany() + .HasForeignKey("REQUIRE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_Identify"); + + b.Navigation("Nav_IdentifyResult"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_plan"); + + b.Navigation("Nav_Require"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_DEPART", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_DETAIL", "Nav_SummaryDetail") + .WithMany("Nav_DetailDeparts") + .HasForeignKey("IDENTIFY_RESULT_SUMMARY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SummaryDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY", "Nav_IdentifySummary") + .WithMany("Nav_Details") + .HasForeignKey("IDENTIFY_RESULT_SUMMARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_NAME", "Nav_RiskName") + .WithMany() + .HasForeignKey("RISK_NAME_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_IdentifySummary"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_RiskName"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY", "Nav_IdentifySummary") + .WithMany("Nav_Files") + .HasForeignKey("IDENTIFY_RESULT_SUMMARY") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_IdentifySummary"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_MEASURE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_DETAIL", "Nav_SummaryDetail") + .WithMany("Nav_DetailMeasures") + .HasForeignKey("IDENTIFY_RESULT_SUMMARY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SummaryDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_POST", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_DETAIL", "Nav_SummaryDetail") + .WithMany("Nav_DetailPosts") + .HasForeignKey("IDENTIFY_RESULT_SUMMARY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SummaryDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_POST_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_POST", "Nav_SummaryPost") + .WithMany("Nav_SumPostDets") + .HasForeignKey("IDENTIFY_RESULT_SUMMARY_POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_SummaryPost"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_REQUIRE", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY", "Nav_IdentifySummary") + .WithMany("Nav_Requires") + .HasForeignKey("IDENTIFY_RESULT_SUMMARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_REQUEST", "Nav_Require") + .WithMany() + .HasForeignKey("REQUIRE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_IdentifySummary"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Require"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_NAME", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SCOREC", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SCOREE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SCOREL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_RiskArea") + .WithMany() + .HasForeignKey("RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE", "Nav_CheckNotice") + .WithMany("Nav_CheckNoticeDetails") + .HasForeignKey("SECURITY_INSPECTION_NOTICE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckNotice"); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_RiskArea"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE_DETAIL_BASIC", b => + { + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE_DETAIL", "Nav_CheckNoticeDetail") + .WithMany("Nav_CheckNoticeDetailBasics") + .HasForeignKey("SECURITY_INSPECTION_NOTICE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckNoticeDetail"); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE_DETAIL_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE_DETAIL", "Nav_CheckNoticeDetail") + .WithMany("Nav_CheckNoticeDetailUsers") + .HasForeignKey("SECURITY_INSPECTION_NOTICE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CheckNoticeDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE", "Nav_CheckNotice") + .WithMany("Nav_CheckNoticeFiles") + .HasForeignKey("SECURITY_INSPECTION_NOTICE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckNotice"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_RecordUser") + .WithMany() + .HasForeignKey("RECORD_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + + b.Navigation("Nav_RecordUser"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_RiskArea") + .WithMany() + .HasForeignKey("RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD", "Nav_CheckRecord") + .WithMany("Nav_CheckRecordDetails") + .HasForeignKey("SECURITY_INSPECTION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckRecord"); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Question"); + + b.Navigation("Nav_RiskArea"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL_BASIC", b => + { + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL", "Nav_CheckRecordDetail") + .WithMany("Nav_CheckRecordDetailBasics") + .HasForeignKey("SECURITY_INSPECTION_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckRecordDetail"); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL", "Nav_CheckRecordDetail") + .WithMany("Nav_CheckRecordDetailFiles") + .HasForeignKey("SECURITY_INSPECTION_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckRecordDetail"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL_REASON", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_REASON", "Nav_Reason") + .WithMany() + .HasForeignKey("REASON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL", "Nav_CheckRecordDetail") + .WithMany("Nav_CheckRecordDetailReasons") + .HasForeignKey("SECURITY_INSPECTION_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckRecordDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Reason"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL", "Nav_CheckRecordDetail") + .WithMany("Nav_CheckRecordDetailUsers") + .HasForeignKey("SECURITY_INSPECTION_RECORD_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CheckRecordDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD", "Nav_CheckRecord") + .WithMany("Nav_CheckRecordFiles") + .HasForeignKey("SECURITY_INSPECTION_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckRecord"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_ApplyDepartment") + .WithMany() + .HasForeignKey("APPLY_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_ApplyUser") + .WithMany() + .HasForeignKey("APPLY_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_PRODUCTION_UNIT_SET", "Nav_ProductionUnit") + .WithMany() + .HasForeignKey("PRODUCTION_UNIT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ApplyDepartment"); + + b.Navigation("Nav_ApplyUser"); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProductionUnit"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", "Nav_Contents") + .WithMany() + .HasForeignKey("CHECK_CONTENTS_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_CHECK_QUESTION", "Nav_Question") + .WithMany() + .HasForeignKey("CHECK_QUESTION_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_RiskArea") + .WithMany() + .HasForeignKey("RISK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY", "Nav_CheckRecord") + .WithMany("Nav_CheckRecordDetails") + .HasForeignKey("SECURITY_INSPECTION_RECORD_SUMMARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckRecord"); + + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Question"); + + b.Navigation("Nav_RiskArea"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_BASIC", b => + { + b.HasOne("APT.MS.Domain.Entities.LR.T_LR_LAW", "Nav_Law") + .WithMany() + .HasForeignKey("LAW_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL", "Nav_CheckRecordDetail") + .WithMany("Nav_CheckRecordDetailBasics") + .HasForeignKey("SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckRecordDetail"); + + b.Navigation("Nav_Law"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL", "Nav_CheckRecordDetail") + .WithMany("Nav_CheckRecordDetailFiles") + .HasForeignKey("SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckRecordDetail"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_REASON", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_REASON", "Nav_Reason") + .WithMany() + .HasForeignKey("REASON_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL", "Nav_CheckRecordDetail") + .WithMany("Nav_CheckRecordDetailReasons") + .HasForeignKey("SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckRecordDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Reason"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL", "Nav_CheckRecordDetail") + .WithMany("Nav_CheckRecordDetailUsers") + .HasForeignKey("SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CheckRecordDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY", "Nav_CheckRecord") + .WithMany("Nav_CheckRecordFiles") + .HasForeignKey("SECURITY_INSPECTION_RECORD_SUMMARY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckRecord"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_TIME_SET", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_VIDEO_AREA", b => + { + b.HasOne("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", "Nav_Area") + .WithMany("Nav_Videos") + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FILE_DB", "Nav_Viedo") + .WithMany() + .HasForeignKey("VIDEO_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Viedo"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_COST_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_CLAIM_RECORD", b => + { + b.HasOne("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REPORT", "Nav_Accident") + .WithMany() + .HasForeignKey("ACCIDENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Accident"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_CLAIM_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_CLAIM_RECORD", "Nav_Record") + .WithMany("Nav_Files") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_RECORD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_RECORD", "Nav_Record") + .WithMany("Nav_Files") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_USER_RECORD", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_RECORD", "Nav_Record") + .WithMany("Nav_UserList") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PLAN", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PLAN_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PLAN", "Nav_Plan") + .WithMany("Nav_Files") + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PLAN_RANGE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PLAN", "Nav_Plan") + .WithMany("Nav_Ranges") + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PLAN_RANGE_TYPE", "Nav_Range") + .WithMany() + .HasForeignKey("RANGE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_Range"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PLAN_RANGE_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PLAN_SOURCE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PLAN", "Nav_Plan") + .WithMany("Nav_Sources") + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PLAN_SOURCE_TYPE", "Nav_Source") + .WithMany() + .HasForeignKey("SOURCE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_Source"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PLAN_SOURCE_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_Manger") + .WithMany() + .HasForeignKey("MANAGER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PLAN", "Nav_Plan") + .WithMany("Nav_ListProject") + .HasForeignKey("PLAN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Manger"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Plan"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_CHECK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PROJECT", "Nav_Project") + .WithMany() + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_CHECK_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PROJECT_CHECK", "Nav_ProjectCheck") + .WithMany("Nav_Files") + .HasForeignKey("PROJECT_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProjectCheck"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_CHECK_WFFILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PROJECT_CHECK", "Nav_ProjectCheck") + .WithMany("Nav_WFFiles") + .HasForeignKey("PROJECT_CHECK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProjectCheck"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PROJECT", "Nav_Project") + .WithMany("Nav_Files") + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_MONEY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PROJECT", "Nav_Project") + .WithMany() + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_MONEY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PROJECT_MONEY", "Nav_Money") + .WithMany("Nav_Details") + .HasForeignKey("MONEY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Money"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_MONEY_DETAIL_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PROJECT_MONEY_DETAIL", "Nav_Detail") + .WithMany("Nav_Files") + .HasForeignKey("DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_RANGE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PROJECT", "Nav_Project") + .WithMany("Nav_Ranges") + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PLAN_RANGE_TYPE", "Nav_Range") + .WithMany() + .HasForeignKey("RANGE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + + b.Navigation("Nav_Range"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_SOURCE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PROJECT", "Nav_Project") + .WithMany("Nav_Sources") + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PLAN_SOURCE_TYPE", "Nav_Source") + .WithMany() + .HasForeignKey("SOURCE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + + b.Navigation("Nav_Source"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_WFFILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_PROJECT", "Nav_Project") + .WithMany("Nav_WFFiles") + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_SAFE_PDT_COST_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_SAFE_PDT_COST_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_SAFE_PDT_COST_RECORD", "Nav_SafePdtCostRecord") + .WithMany("Nav_Files") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafePdtCostRecord"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_SAFE_PDT_COST_RECORD_TYPE", b => + { + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_COST_TYPE", "Nav_CostType") + .WithMany() + .HasForeignKey("COST_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TI.T_TI_SAFE_PDT_COST_RECORD", "Nav_SafePdtCostRecord") + .WithMany("Nav_SafePdtCostRecordType") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CostType"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SafePdtCostRecord"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_BACK", "Nav_Back") + .WithMany("Nav_ListDetail") + .HasForeignKey("BACK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Back"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK_DETAIL_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_BACK_DETAIL", "Nav_BackDetail") + .WithMany("Nav_ListDetailUser") + .HasForeignKey("BACK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_BACK", "Nav_Back") + .WithMany() + .HasForeignKey("BACK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Back"); + + b.Navigation("Nav_BackDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_BACK", "Nav_Back") + .WithMany("Nav_Files") + .HasForeignKey("BACK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Back"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_APPROVE", "Nav_Approve") + .WithMany() + .HasForeignKey("APPROVE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Approve"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK_RECORD_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_BACK_RECORD", "Nav_BackRecord") + .WithMany("Nav_ListUser") + .HasForeignKey("BACK_RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_BackRecord"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK_REQUIRE", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_BACK", "Nav_Back") + .WithMany("Nav_ListBackRequire") + .HasForeignKey("BACK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_REQUIRE", "Nav_Require") + .WithMany() + .HasForeignKey("REQUIRE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Back"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Require"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_CACULATE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_CACULATE_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_CACULATE", "Nav_Caculate") + .WithMany("Nav_Files") + .HasForeignKey("CACULATE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Caculate"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_FILE_SUM", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_FILE_SUM_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_FILE_SUM", "Nav_Sum") + .WithMany("Nav_Files") + .HasForeignKey("SUM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Sum"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_HIGH_CHECK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_HIGH_CHECK_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_HIGH_CHECK", "Nav_HighCheck") + .WithMany("Nav_Files") + .HasForeignKey("HIGH_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_HighCheck"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_OUT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_OUT_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_OUT", "Nav_Out") + .WithMany("Nav_Files") + .HasForeignKey("OUT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Out"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PLAN_SET", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_FINISH", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_FINISH_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_PROJECT_FINISH", "Nav_Hight") + .WithMany("Nav_Files") + .HasForeignKey("HIGHT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Hight"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_HIGHT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_HIGHT_FILE", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_PROJECT_HIGHT", "Nav_Hight") + .WithMany("Nav_Files") + .HasForeignKey("HIGHT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Hight"); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_INTRODUCE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_INTRODUCE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_PROJECT_INTRODUCE", "Nav_ProjectIntroduce") + .WithMany("Nav_Files") + .HasForeignKey("INTRODUCE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_ProjectIntroduce"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_RECORD_CHECK_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_PROJECT_RECORD", "Nav_Project") + .WithMany("Nav_FilesWatch") + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_PROJECT_RECORD", "Nav_Project") + .WithMany("Nav_Files") + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_RECORD_WATCH_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_PROJECT_RECORD", "Nav_Project") + .WithMany("Nav_FilesCheck") + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_SLOPEBANK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_SLOPEBANK_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_PROJECT_SLOPEBANK", "Nav_SlopeBank") + .WithMany("Nav_Files") + .HasForeignKey("SLOPEBANK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SlopeBank"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_SLOPEBANK_PROJ_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_PROJECT_SLOPEBANK", "Nav_SlopeBank") + .WithMany("Nav_Files_Proj") + .HasForeignKey("SLOPEBANK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SlopeBank"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_SLOPEBANK_SUB_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_PROJECT_SLOPEBANK", "Nav_SlopeBank") + .WithMany("Nav_Files_Sub") + .HasForeignKey("SLOPEBANK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SlopeBank"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_QUALITY_CHECK", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_QUALITY_CHECK_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_QUALITY_CHECK", "Nav_QualityCheck") + .WithMany("Nav_Files") + .HasForeignKey("QUALITY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_QualityCheck"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_REQUIRE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_SET_WATCH_DAYLY_ITEM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_TAILING", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_DAYLY", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_SUM", "Nav_Sum") + .WithMany() + .HasForeignKey("SUM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Sum"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_DAYLY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_DAYLY", "Nav_Dayly") + .WithMany("Nav_ListDetail") + .HasForeignKey("DAYLY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_SET_WATCH_DAYLY_ITEM", "Nav_Item") + .WithMany() + .HasForeignKey("ITEM_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_SUM", "Nav_Sum") + .WithMany() + .HasForeignKey("SUM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Dayly"); + + b.Navigation("Nav_Item"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Sum"); + + b.Navigation("Nav_Tailing"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_DAYLY_DETAIL_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_DAYLY_DETAIL", "Nav_DaylyDetail") + .WithMany("Nav_ListUser") + .HasForeignKey("DAYLY_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_DaylyDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_DAYLY_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_DAYLY", "Nav_Dayly") + .WithMany("Nav_ListUser") + .HasForeignKey("DAYLY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Dayly"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_SUM", "Nav_Sum") + .WithMany() + .HasForeignKey("SUM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Sum"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE", "Nav_Line") + .WithMany("Nav_ListDetail") + .HasForeignKey("LINE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_SUM", "Nav_Sum") + .WithMany() + .HasForeignKey("SUM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE_POINT", "Nav_WatchLinePoint") + .WithMany() + .HasForeignKey("WATCH_LINE_POINT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Line"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Sum"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_WatchLinePoint"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE_DETAIL", "Nav_LineDetail") + .WithMany("Nav_Files") + .HasForeignKey("LINE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_LineDetail"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE_DETAIL_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE_DETAIL", "Nav_LineDetail") + .WithMany("Nav_ListUser") + .HasForeignKey("LINE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_LineDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE_POINT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_MOVE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_SUM", "Nav_Sum") + .WithMany() + .HasForeignKey("SUM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Sum"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_MOVE_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_MOVE", "Nav_Move") + .WithMany("Nav_ListDetail") + .HasForeignKey("MOVE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_SUM", "Nav_Sum") + .WithMany() + .HasForeignKey("SUM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_MOVE_POINT", "Nav_WatchMovePoint") + .WithMany() + .HasForeignKey("WATCH_MOVE_POINT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Move"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Sum"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_WatchMovePoint"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_MOVE_DETAIL_USER", b => + { + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_MOVE_DETAIL", "Nav_MoveDetail") + .WithMany("Nav_ListUser") + .HasForeignKey("MOVE_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_MoveDetail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_MOVE_POINT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_PERCENT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_SUM", "Nav_Sum") + .WithMany() + .HasForeignKey("SUM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Sum"); + + b.Navigation("Nav_Tailing"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_PERCENT_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_PERCENT", "Nav_Percent") + .WithMany("Nav_ListDetail") + .HasForeignKey("PERCENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_SUM", "Nav_Sum") + .WithMany() + .HasForeignKey("SUM_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Percent"); + + b.Navigation("Nav_Sum"); + + b.Navigation("Nav_Tailing"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_PERCENT_DETAIL_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_WATCH_PERCENT_DETAIL", "Nav_PercentDetail") + .WithMany("Nav_ListUser") + .HasForeignKey("PERCENT_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_PercentDetail"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_PLAN_SET", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_Tailing"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_SUM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.TL.T_TL_TAILING", "Nav_Tailing") + .WithMany() + .HasForeignKey("TAILING_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Tailing"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_CHECK_AREA_ENUM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_CHECK_MAIN", b => + { + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_CHECK_AREA_ENUM", "Nav_CheckArea") + .WithMany() + .HasForeignKey("CHECK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckArea"); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_CHECK_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_CHECK_TYPE_ENUM", b => + { + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", "Nav_Post") + .WithMany() + .HasForeignKey("POST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_DisCloseUser") + .WithMany() + .HasForeignKey("DISCLOSE_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_MointerDepartment") + .WithMany() + .HasForeignKey("MOINTER_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_MointerUser") + .WithMany() + .HasForeignKey("MOINTER_USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_PROJECT_INPUT", "Nav_Project") + .WithMany() + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_JOB_TYPE_ENUM", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_DisCloseUser"); + + b.Navigation("Nav_MointerDepartment"); + + b.Navigation("Nav_MointerUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + + b.Navigation("Nav_Type"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_AUDIT", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB", "Nav_Parent") + .WithMany("Nav_Audit") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB", "Nav_Parent") + .WithMany("Nav_Detail") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_DISCLOSE_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB", "Nav_Parent") + .WithMany("Nav_DisCloseDetails") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_DISCLOSE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB", "Nav_Parent") + .WithMany("Nav_DisCloseFiles") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_DISCLOSE_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB", "Nav_Parent") + .WithMany("Nav_DisCloseUsers") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_MOINTER_RECORD_DETAIL", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_MointerDepartment") + .WithMany() + .HasForeignKey("MOINTER_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_MointerUser") + .WithMany() + .HasForeignKey("MOINTER_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB", "Nav_Parent") + .WithMany("Nav_MointerRecordDetails") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_MointerDepartment"); + + b.Navigation("Nav_MointerUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_MOINTER_RECORD_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_MOINTER_RECORD_DETAIL", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_RECORD_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB", "Nav_Parent") + .WithMany("Nav_RecordDetails") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_RECORD_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_RECORD_DETAIL", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_USER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB", "Nav_Parent") + .WithMany("Nav_Users") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_NOTIFY", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LaunchUser") + .WithMany() + .HasForeignKey("LAUNCH_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_PROJECT_INPUT", "Nav_Project") + .WithMany() + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD", "Nav_Record") + .WithMany() + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_LaunchUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_NOTIFY_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_CHECK_AREA_ENUM", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD_DETAIL", "Nav_Detail") + .WithMany() + .HasForeignKey("DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_NOTIFY", "Nav_Parent") + .WithMany("Nav_Details") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_NOTIFY_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_NOTIFY_DETAIL", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_NOTIFY_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_NOTIFY", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_NOTIFY", "Nav_Notify") + .WithMany() + .HasForeignKey("NOTIFY_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK", "Nav_Task") + .WithMany() + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Notify"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_CHECK_AREA_ENUM", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD", "Nav_Parent") + .WithMany("Nav_Details") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD_DETAIL_AFTER_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD_DETAIL", "Nav_Parent") + .WithMany("Nav_Files2") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD_DETAIL_BEFORE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD_DETAIL", "Nav_Parent") + .WithMany("Nav_Files1") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_JOB_SAFE_MEASURE_ENUM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_JOB_TYPE_ENUM", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Type"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_JOB_SAFE_MEASURE_ENUM_DETAIL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_JOB_SAFE_MEASURE_ENUM", "Nav_Parent") + .WithMany("Nav_Detail") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_JOB_TYPE_ENUM", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TYPE", "Nav_Type") + .WithMany() + .HasForeignKey("TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Type"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE", "Nav_Source") + .WithMany("Nav_Files") + .HasForeignKey("SOURCE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Source"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TEST", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE", "Nav_Source") + .WithMany("Nav_Tests") + .HasForeignKey("SOURCE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Source"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_TRAIN_SELECT", "Nav_Parent") + .WithMany() + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_PAPER", b => + { + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_USERS", "Nav_Order") + .WithMany("Nav_ListUserPaper") + .HasForeignKey("ORDER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD", "Nav_Parent") + .WithMany() + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE", "Nav_Source") + .WithMany() + .HasForeignKey("SOURCE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TEST", "Nav_Test") + .WithMany() + .HasForeignKey("TEST_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_PAPER_ORDER", null) + .WithMany("Nav_ListUserPaper") + .HasForeignKey("T_WB_OUTSOURCE_TRAIN_RECORD_PAPER_ORDERID"); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Order"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_Source"); + + b.Navigation("Nav_Test"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_PAPER_ORDER", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD", "Nav_Record") + .WithMany("Nav_ListPaperOrder") + .HasForeignKey("RECORD_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Record"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_PHOTO", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD", "Nav_Parent") + .WithMany("Nav_Photos") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_SOURCE_OFF", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE", "Nav_Outsource") + .WithMany() + .HasForeignKey("OUTSOURCE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD", "Nav_Parent") + .WithMany("Nav_ListSourceOff") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Outsource"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_SOURCE_ON", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE", "Nav_Outsource") + .WithMany() + .HasForeignKey("OUTSOURCE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD", "Nav_Parent") + .WithMany("Nav_ListSourceOn") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Outsource"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_USERS", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD", "Nav_Parent") + .WithMany("Nav_Users") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_USERS_FILES", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_USERS", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_VIDEO", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE", "Nav_Source") + .WithMany("Nav_Videos") + .HasForeignKey("SOURCE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.T_PF_FILE_DB", "Nav_Video") + .WithMany() + .HasForeignKey("VIDEO_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Source"); + + b.Navigation("Nav_Video"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_PROJECT_INPUT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_LaunchDepartment") + .WithMany() + .HasForeignKey("LAUNCH_DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_LaunchUser") + .WithMany() + .HasForeignKey("LAUNCH_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_SceneUser") + .WithMany() + .HasForeignKey("SCENE_USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_UserSafe") + .WithMany() + .HasForeignKey("USER_ID_SAFE") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_LaunchDepartment"); + + b.Navigation("Nav_LaunchUser"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_SceneUser"); + + b.Navigation("Nav_User"); + + b.Navigation("Nav_UserSafe"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_PROJECT_INPUT_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_PROJECT_INPUT", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_PROJECT_INPUT", "Nav_Project") + .WithMany() + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_1", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_REGISTER", "Nav_Parent") + .WithMany("Nav_Item1") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_1_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_REGISTER_1", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_REGISTER", "Nav_Parent") + .WithMany("Nav_Item2") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_WORKTYPE", "Nav_WorkType") + .WithMany() + .HasForeignKey("WORKTYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_WorkType"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2_FILE1", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2", "Nav_Parent") + .WithMany("Nav_Files1") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2_FILE2", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2", "Nav_Parent") + .WithMany("Nav_Files2") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2_FILE3", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2", "Nav_Parent") + .WithMany("Nav_Files3") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2_FILE4", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2", "Nav_Parent") + .WithMany("Nav_Files4") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2_JOB_TYPE_ENUM", b => + { + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_JOB_TYPE_ENUM", "Nav_JobType") + .WithMany() + .HasForeignKey("JOBTYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2", "Nav_Register") + .WithMany("Nav_JobTypes") + .HasForeignKey("REGISTERT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_JobType"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Register"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_3", b => + { + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_RELATED_LEVEL", "Nav_Level") + .WithMany() + .HasForeignKey("LEVEL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_REGISTER", "Nav_Parent") + .WithMany("Nav_Item3") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Level"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_3_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_REGISTER_3", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_4", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_REGISTER", "Nav_Parent") + .WithMany("Nav_Item4") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_4_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_REGISTER_4", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_RELATED_LEVEL", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK", b => + { + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_PROJECT_INPUT", "Nav_Project") + .WithMany() + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_PHOTO", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK", "Nav_Parent") + .WithMany("Nav_Photos") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK_DETAIL", "Nav_TaskDetail") + .WithMany() + .HasForeignKey("TASK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK", "Nav_Task") + .WithMany() + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task"); + + b.Navigation("Nav_TaskDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_CHECK_AREA_ENUM", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD", "Nav_Parent") + .WithMany("Nav_Details") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_PROJECT_INPUT", "Nav_Project") + .WithMany() + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK_DETAIL", "Nav_TaskDetail") + .WithMany() + .HasForeignKey("TASK_DETAIL_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_Project"); + + b.Navigation("Nav_TaskDetail"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD_DETAIL_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD_DETAIL", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD_FILE", b => + { + b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile") + .WithMany() + .HasForeignKey("IMG_FILE_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD", "Nav_Parent") + .WithMany("Nav_Files") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_ImgFile"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK", b => + { + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_CHECK_TYPE", "Nav_CheckType") + .WithMany() + .HasForeignKey("CHECK_TYPE_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_PROJECT_INPUT", "Nav_Project") + .WithMany() + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK", "Nav_Task") + .WithMany() + .HasForeignKey("TASK_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_CheckType"); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + + b.Navigation("Nav_Task"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK_AREA", b => + { + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_CHECK_AREA_ENUM", "Nav_CheckArea") + .WithMany() + .HasForeignKey("CHECK_AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK", "Nav_Task") + .WithMany("Nav_ListArea") + .HasForeignKey("CHECK_TASK_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_CheckArea"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Task"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK_DETAIL", b => + { + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_CHECK_AREA_ENUM", "Nav_Area") + .WithMany() + .HasForeignKey("AREA_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_CHECK_MAIN", "Nav_Main") + .WithMany() + .HasForeignKey("MAIN_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK", "Nav_Parent") + .WithMany("Nav_Details") + .HasForeignKey("PARENT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Area"); + + b.Navigation("Nav_Main"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Parent"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_TRAIN_SELECT", b => + { + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department") + .WithMany() + .HasForeignKey("DEPARTMENT_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.MS.Domain.Entities.WB.T_WB_PROJECT_INPUT", "Nav_Project") + .WithMany() + .HasForeignKey("PROJECT_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User") + .WithMany() + .HasForeignKey("USER_ID") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Nav_Department"); + + b.Navigation("Nav_Org"); + + b.Navigation("Nav_Project"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_WORKTYPE", b => + { + b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org") + .WithMany() + .HasForeignKey("ORG_ID") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Nav_Org"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_PICTURE", b => + { + b.Navigation("Nav_PictureFiles"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.BD.T_BD_PLACE", b => + { + b.Navigation("Nav_Children"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_AUTO_PRINT_RECORD", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_CALENDAR", b => + { + b.Navigation("Nav_CalendarClass"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_CLASS", b => + { + b.Navigation("Nav_ClassDetail"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_COST_CENTER", b => + { + b.Navigation("Nav_Children"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", b => + { + b.Navigation("Nav_Children"); + + b.Navigation("Nav_DepartmentCalendarConfig"); + + b.Navigation("Nav_DepartmentScheduling"); + + b.Navigation("Nav_DepartmentUser"); + + b.Navigation("Nav_ProdutionUnit"); + + b.Navigation("Nav_SafeUser"); + + b.Navigation("Nav_UserDeparts"); + + b.Navigation("Nav_UserList"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_CALENDAR_CONFIG", b => + { + b.Navigation("Nav_DepartmentCalendarConfigDetail"); + + b.Navigation("Nav_DepartmentCalendarConfigTeam"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_POST", b => + { + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT_SCHEDULING", b => + { + b.Navigation("Nav_DepartmentSchedulingDetail"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ENUM", b => + { + b.Navigation("Nav_EnumItems"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_EXT_CONN_CONFIG", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_HOLIDAY", b => + { + b.Navigation("Nav_HolidayDetails"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_IMPORT_CONFIG", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_IMPORT_CONFIG_DETAIL", b => + { + b.Navigation("Nav_Children"); + + b.Navigation("Nav_Fields"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_NOTIFICATION", b => + { + b.Navigation("Nav_Accepteds"); + + b.Navigation("Nav_Permits"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PANEL", b => + { + b.Navigation("Nav_PanelInfo"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PARAM_SET", b => + { + b.Navigation("Nav_Departments"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_PERSON", b => + { + b.Navigation("Nav_PersonCertificateFiles"); + + b.Navigation("Nav_PersonEducationFiles"); + + b.Navigation("Nav_PersonIDCardFiles"); + + b.Navigation("Nav_PersonSkills"); + + b.Navigation("Nav_PersonWorks"); + + b.Navigation("Nav_TeamPersons"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE", b => + { + b.Navigation("Nav_MenuPermissions"); + + b.Navigation("Nav_Panels"); + + b.Navigation("Nav_UserBelongRoles"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_GROUP", b => + { + b.Navigation("Nav_BelongRoles"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_ROLE_MENU_PERM", b => + { + b.Navigation("Nav_PermissionBtns"); + + b.Navigation("Nav_PermissionColumns"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_SNAPSHOT", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_TEAM", b => + { + b.Navigation("Nav_TeamPersons"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER", b => + { + b.Navigation("Nav_BelongRoleGroups"); + + b.Navigation("Nav_BelongRoles"); + + b.Navigation("Nav_BelongUserGroups"); + + b.Navigation("Nav_ProdutionUnit"); + + b.Navigation("Nav_UserPhotoFiles"); + + b.Navigation("Nav_UserSignFiles"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_CUSTOM_CONFIG", b => + { + b.Navigation("Nav_Edits"); + + b.Navigation("Nav_HiddenTables"); + + b.Navigation("Nav_Querys"); + + b.Navigation("Nav_Tabls"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_CUSTOM_CONFIG_H_TAB", b => + { + b.Navigation("Nav_HiddenColumns"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_EDIT", b => + { + b.Navigation("Nav_EditColumns"); + + b.Navigation("Nav_HiddenCols"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_QUERY", b => + { + b.Navigation("Nav_Fields"); + + b.Navigation("Nav_Groups"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_QUERY_GROUP", b => + { + b.Navigation("Nav_Children"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_C_C_TABLE", b => + { + b.Navigation("Nav_Columns"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_GROUP", b => + { + b.Navigation("Nav_BelongRoleGroups"); + + b.Navigation("Nav_BelongRoles"); + + b.Navigation("Nav_BelongUserGroups"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.FM.T_FM_USER_POST", b => + { + b.Navigation("Nav_UserTests"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.NW.T_NW_ENTERPRISE", b => + { + b.Navigation("Nav_Children"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_BILLING_RULE", b => + { + b.Navigation("Nav_Versions"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_MENU", b => + { + b.Navigation("Nav_Children"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_NOTICE", b => + { + b.Navigation("Nav_NoticeDetails"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.OP.T_OP_TENANT", b => + { + b.Navigation("Nav_Domains"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.Platform.T_PF_DEFECT_CODE", b => + { + b.Navigation("Nav_Children"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.Platform.T_PF_DEFECT_GRADE", b => + { + b.Navigation("Nav_DefectCodes"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T4.T_PF_APP_VERSION", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_APPMENU", b => + { + b.Navigation("Nav_Children"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_APPROVE", b => + { + b.Navigation("Nav_ApproveDetails"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_APPROVE_TEMP", b => + { + b.Navigation("Nav_ApproveTempDetails"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_CLIENT_MENU", b => + { + b.Navigation("Nav_Children"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_COLUMN", b => + { + b.Navigation("Nav_Filters"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_DATA_CHANNEL", b => + { + b.Navigation("Nav_ClientScopes"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN", b => + { + b.Navigation("Nav_FillMaps"); + + b.Navigation("Nav_Filters"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_EDIT_COLUMN_FILL_MAP", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FDDEBACK", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FILE", b => + { + b.Navigation("Nav_ImgFiles"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FILE_DB", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FLOW_INSTANCE", b => + { + b.Navigation("OperationHistorys"); + + b.Navigation("TransitionHistorys"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM", b => + { + b.Navigation("Nav_HomeCharts"); + + b.Navigation("Nav_HomeHmis"); + + b.Navigation("Nav_HomeRankings"); + + b.Navigation("Nav_HomeStatistics"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_CONFIG_VERSION", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_FORM_QUERY", b => + { + b.Navigation("Nav_Querys"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_MENU", b => + { + b.Navigation("Nav_Children"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_MQTT_CONFIG", b => + { + b.Navigation("Nav_MqttConfigTheme"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_NOTICE", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_CHART", b => + { + b.Navigation("Nav_Params"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_EDIT", b => + { + b.Navigation("Nav_Children"); + + b.Navigation("Nav_Columns"); + + b.Navigation("Nav_Panels"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_TABLE", b => + { + b.Navigation("Nav_Btns"); + + b.Navigation("Nav_Children"); + + b.Navigation("Nav_Columns"); + + b.Navigation("Nav_Panels"); + + b.Navigation("Nav_TableParams"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PAGE_TREE", b => + { + b.Navigation("Nav_Columns"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PARAM_SCHEME", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_PageEdits"); + + b.Navigation("Nav_PageTables"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_PIC_FILTER", b => + { + b.Navigation("Nav_PicFilterDetail"); + }); + + modelBuilder.Entity("APT.BaseData.Domain.Entities.T_PF_QUESTION_FEEDBACK", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.Infrastructure.Core.T_FM_ORGANIZATION", b => + { + b.Navigation("Nav_Children"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_REPORT", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListAccidentListKind"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_FORENSICS", b => + { + b.Navigation("Nav_FilesSurvey"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_REASON", b => + { + b.Navigation("Nav_ListReasonType"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_EVENT_SURVEY_RESULT", b => + { + b.Navigation("Nav_FilesP"); + + b.Navigation("Nav_FilesSurvey"); + + b.Navigation("Nav_ListAdmPunishment"); + + b.Navigation("Nav_ListCasualties"); + + b.Navigation("Nav_ListEquipmentLoss"); + + b.Navigation("Nav_ListForensics"); + + b.Navigation("Nav_ListReason"); + + b.Navigation("Nav_ListSurveyDamageObject"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_ACCIDENT_SURVEY_TEAM_MEMBER", b => + { + b.Navigation("Nav_DeputyLeaderUser"); + + b.Navigation("Nav_TeamMembers"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.AE.T_AE_INVESTIGATION_RECORD", b => + { + b.Navigation("Nav_FilesAcc"); + + b.Navigation("Nav_FilesChart"); + + b.Navigation("Nav_NotesFilesNotes"); + + b.Navigation("Nav_UsersAsk"); + + b.Navigation("Nav_UsersInvestigation"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT", b => + { + b.Navigation("Nav_ListContentAreas"); + + b.Navigation("Nav_ListContentCheckTypes"); + + b.Navigation("Nav_ListContentQuestions"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENTS", b => + { + b.Navigation("Nav_ListCheckQuestion"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_CONTENT_CHECK_TYPE", b => + { + b.Navigation("Nav_ListContentCheckTypeLevels"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_MAIN", b => + { + b.Navigation("Nav_ListLaw"); + + b.Navigation("Nav_ListMainDep"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT", b => + { + b.Navigation("Nav_ListCheckProjectProjectCategory"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_PROJECT_CATEGORY", b => + { + b.Navigation("Nav_ListCategoryType"); + + b.Navigation("Nav_ListOBJECT"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_CHECK_TYPE", b => + { + b.Navigation("Nav_Children"); + + b.Navigation("Nav_ListCheckTypeLevel"); + + b.Navigation("Nav_ListMineType"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_PLAN_SET", b => + { + b.Navigation("Nav_ListArea"); + + b.Navigation("Nav_ListDepOut"); + + b.Navigation("Nav_ListSetDepObject"); + + b.Navigation("Nav_ListSetObject"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListRiskSubmitContent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListRiskQuestionReason"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_BACK", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListRiskQuestionReason"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_CONTENT_DEAL", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_FilesAfter"); + + b.Navigation("Nav_ListCheckUserSign"); + + b.Navigation("Nav_ListUserSign"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_DELAY_APPLY", b => + { + b.Navigation("Nav_ListApplyDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_NOTICE", b => + { + b.Navigation("Nav_ListRiskSubmitContent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_RISK_SUBMIT_NOTICE_PERSON", b => + { + b.Navigation("Nav_ListRiskSubmitContent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListCheckProject"); + + b.Navigation("Nav_ListCheckProjectCategory"); + + b.Navigation("Nav_ListCheckRiskArea"); + + b.Navigation("Nav_ListCheckUserSign"); + + b.Navigation("Nav_ListSafeCheckDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListCheckDetailQuestion"); + + b.Navigation("Nav_ListCheckDetailReason"); + + b.Navigation("Nav_ListCheckDetailUser"); + + b.Navigation("Nav_ListLaw"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_DETAIL_REJECT", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.BS.T_BS_SAFE_CHECK_RECORD", b => + { + b.Navigation("Nav_ListRecordDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_ABILITY_EVALUATE", b => + { + b.Navigation("Nav_ListProject"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_ESTIMATE", b => + { + b.Navigation("Nav_ListEstimateRecord"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_PLAN", b => + { + b.Navigation("Nav_listPlanDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_PLAN_DETAIL", b => + { + b.Navigation("Nav_ListStandard"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_DRILL_RECORD", b => + { + b.Navigation("Nav_FilesRecord"); + + b.Navigation("Nav_FilesSummary"); + + b.Navigation("Nav_ListDepartment"); + + b.Navigation("Nav_ListSummaryRequirement"); + + b.Navigation("Nav_ListUserEstimate"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_EQUIPMENT_DEMAND_SURVEY_MASTER", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_LIBRARY", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_MATERIAL_OPERATE_RECORD", b => + { + b.Navigation("Nav_listDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_RSP_ESTIMATE", b => + { + b.Navigation("Nav_ListEstimate"); + + b.Navigation("Nav_ListEventKind"); + + b.Navigation("Nav_ListJoin"); + + b.Navigation("Nav_ListRspConditions"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.CM.T_CM_URGENT_EVENT", b => + { + b.Navigation("Nav_ListArearInfluence"); + + b.Navigation("Nav_ListEventContingencyPlan"); + + b.Navigation("Nav_ListEventRiskType"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Inspection"); + + b.Navigation("Nav_ListCheck"); + + b.Navigation("Nav_ListCheckCircle"); + + b.Navigation("Nav_Overhaul"); + + b.Navigation("Nav_ReceiptFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_CHECK", b => + { + b.Navigation("Nav_ListUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_INSPECTION", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_OVERHAUL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_PURCHASE", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_BASE_PURCHASE_DETAIL", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ReceiptFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListDetail"); + + b.Navigation("Nav_ListUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_CHECK_DETAIL", b => + { + b.Navigation("Nav_DetailFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_CHECK", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListDetail"); + + b.Navigation("Nav_ListUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_CHECK_DETAIL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_MAINTENANCE_PLAN", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_PlanDetails"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_OVERHAUL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_PURCHASE", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_PURCHASE_DETAIL", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ReceiptFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_DEVICE_REPAIR", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.DM.T_DM_TIME_RUN", b => + { + b.Navigation("Nav_Contents"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CHANGE_SHIFT_RECORD", b => + { + b.Navigation("Nav_AfterUsers"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_PreUsers"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB", b => + { + b.Navigation("Nav_CrucialLicensePerson"); + + b.Navigation("Nav_DealMeasures"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Risks"); + + b.Navigation("Nav_SafeConfirms"); + + b.Navigation("Nav_SafeMeasures"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE", b => + { + b.Navigation("Nav_CrucialLicensePerson"); + + b.Navigation("Nav_DealMeasures"); + + b.Navigation("Nav_Risks"); + + b.Navigation("Nav_SafeConfirms"); + + b.Navigation("Nav_SafeMeasures"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_CURRENT_CLASS_RECORD", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_LabourSupplies"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_FireFiles"); + + b.Navigation("Nav_MonitorFiles"); + + b.Navigation("Nav_Risks"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_DETAIL", b => + { + b.Navigation("Nav_DetailFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_USER", b => + { + b.Navigation("Nav_UserFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_FireFiles"); + + b.Navigation("Nav_FireUser"); + + b.Navigation("Nav_MonitorFiles"); + + b.Navigation("Nav_Risks"); + + b.Navigation("Nav_SafeUser"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_DETAIL", b => + { + b.Navigation("Nav_DetailFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_FIRE_JOB_WB_USER", b => + { + b.Navigation("Nav_Signs"); + + b.Navigation("Nav_UserFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_HOLIDAYS", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_DETAIL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_FLOW", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_MEASURE", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_ACTIVITY_RECORD", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Flow"); + + b.Navigation("Nav_JobActivityPerson"); + + b.Navigation("Nav_Measure"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_DETAIL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_FLOW", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_MEASURE", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_JOB_EVENT_RECORD", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Flow"); + + b.Navigation("Nav_JobEventPerson"); + + b.Navigation("Nav_Measure"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD", b => + { + b.Navigation("Nav_AfterUsers"); + + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_PreUsers"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_LEADER_WELL_RECORD_DETAIL", b => + { + b.Navigation("Nav_AfterUsers"); + + b.Navigation("Nav_DetailAreas"); + + b.Navigation("Nav_DetailFiles"); + + b.Navigation("Nav_PreUsers"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_OPER_SCH", b => + { + b.Navigation("Nav_PreOperSchFile"); + + b.Navigation("Nav_PreOperSchUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PRE_SHIFT_MEETING_RECORD_DETAIL", b => + { + b.Navigation("Nav_DetailPosts"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME", b => + { + b.Navigation("Nav_CertificateFiles"); + + b.Navigation("Nav_Details"); + + b.Navigation("Nav_EducationalFiles"); + + b.Navigation("Nav_MedicalFiles"); + + b.Navigation("Nav_OtherFiles"); + + b.Navigation("Nav_PostFiles"); + + b.Navigation("Nav_TrainFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_PROFESSIONAL_RESUME_DETAIL", b => + { + b.Navigation("Nav_DetailFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_SCHEDULING_TEMPLATE", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TEAM_ACTIVITY", b => + { + b.Navigation("Nav_TeamActivityFile"); + + b.Navigation("Nav_TeamActivityUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Person"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_SAFE", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Person"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.FO.T_FO_TECH_DISCLOSURE_FROM_TECH", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Person"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_TASK_ANALYSIS", b => + { + b.Navigation("Nav_CrucialAnalysisPerson"); + + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_CRUCIAL_TASK_DETAIL", b => + { + b.Navigation("Nav_DetailRisk"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_HAZARD", b => + { + b.Navigation("Nav_EvaluateHazardDepartment"); + + b.Navigation("Nav_EvaluateHazardEducationMeasures"); + + b.Navigation("Nav_EvaluateHazardEmergencyMeasures"); + + b.Navigation("Nav_EvaluateHazardEngineeringMeasures"); + + b.Navigation("Nav_EvaluateHazardIndividualMeasures"); + + b.Navigation("Nav_EvaluateHazardManagementMeasures"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Hazards"); + + b.Navigation("Nav_Risks"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_HAZARD", b => + { + b.Navigation("Nav_EvaluateHazardEducationMeasures"); + + b.Navigation("Nav_EvaluateHazardEmergencyMeasures"); + + b.Navigation("Nav_EvaluateHazardEngineeringMeasures"); + + b.Navigation("Nav_EvaluateHazardIndividualMeasures"); + + b.Navigation("Nav_EvaluateHazardManagementMeasures"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RESULT_RISK", b => + { + b.Navigation("Nav_EvaluateRiskEducationMeasures"); + + b.Navigation("Nav_EvaluateRiskEmergencyMeasures"); + + b.Navigation("Nav_EvaluateRiskEngineeringMeasures"); + + b.Navigation("Nav_EvaluateRiskEquipment"); + + b.Navigation("Nav_EvaluateRiskFacilities"); + + b.Navigation("Nav_EvaluateRiskIndividualMeasures"); + + b.Navigation("Nav_EvaluateRiskManagementMeasures"); + + b.Navigation("Nav_EvaluateRiskWorkduty"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATE_RISK", b => + { + b.Navigation("Nav_EvaluateRiskDepartment"); + + b.Navigation("Nav_EvaluateRiskEducationMeasures"); + + b.Navigation("Nav_EvaluateRiskEmergencyMeasures"); + + b.Navigation("Nav_EvaluateRiskEngineeringMeasures"); + + b.Navigation("Nav_EvaluateRiskEquipment"); + + b.Navigation("Nav_EvaluateRiskFacilities"); + + b.Navigation("Nav_EvaluateRiskIndividualMeasures"); + + b.Navigation("Nav_EvaluateRiskManagementMeasures"); + + b.Navigation("Nav_EvaluateRiskWorkduty"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_DETAIL", b => + { + b.Navigation("Nav_Areas"); + + b.Navigation("Nav_Identifyings"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_EVALUATION_PLAN", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_FILE_PUBLISH", b => + { + b.Navigation("Nav_Area"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_RECORD", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK", b => + { + b.Navigation("Nav_Areas"); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Identifyings"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_HAZARD_TASK_DETAIL", b => + { + b.Navigation("Nav_Identifyings"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_IdentifyUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_JOBTASK_IDENTIFY_DETAIL", b => + { + b.Navigation("Nav_DetailPost"); + + b.Navigation("Nav_DetailRisk"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS", b => + { + b.Navigation("Nav_AnalysisPerson"); + + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_LICENSE_ANALYSIS_DETAIL", b => + { + b.Navigation("Nav_DetailRisk"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_NOTICE_RELEASE", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ReleaseRange"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_LINK", b => + { + b.Navigation("Nav_DealMeasures"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_LinkArea"); + + b.Navigation("Nav_LinkPost"); + + b.Navigation("Nav_OperationLinkEvaluateRisk"); + + b.Navigation("Nav_SafeConfirms"); + + b.Navigation("Nav_SafeMeasures"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_STEP", b => + { + b.Navigation("Nav_DealMeasures"); + + b.Navigation("Nav_SafeConfirms"); + + b.Navigation("Nav_SafeMeasures"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH", b => + { + b.Navigation("Nav_DistinguishDetails"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE", b => + { + b.Navigation("Nav_AnalyzeDetails"); + + b.Navigation("Nav_AnalyzeFiles"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_ANALYZE_DETAIL", b => + { + b.Navigation("Nav_DetailRisk"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_OPERATION_TASK_DISTINGUISH_DETAIL", b => + { + b.Navigation("Nav_OperationLinkEvaluateRisk"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_TASK_ANALYSIS", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_OrdinaryAnalysisPerson"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_ORDINARY_TASK_DETAIL", b => + { + b.Navigation("Nav_DetailRisk"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_AREA", b => + { + b.Navigation("Nav_Children"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Identifyings"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_RECORD_DETAIL", b => + { + b.Navigation("Nav_EvaluateRiskRecordEquipment"); + + b.Navigation("Nav_EvaluateRiskRecordFacilities"); + + b.Navigation("Nav_EvaluateRiskRecordWorkduty"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK", b => + { + b.Navigation("Nav_Areas"); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Identifyings"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_RISK_TASK_DETAIL", b => + { + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE", b => + { + b.Navigation("Nav_AnalyzeDetails"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.HM.T_HM_TASK_ANALYZE_DETAIL", b => + { + b.Navigation("Nav_TaskAnalyzeDetailFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_DISTINGUISH", b => + { + b.Navigation("Nav_DemandLaw"); + + b.Navigation("Nav_DemandOther"); + + b.Navigation("Nav_DemandTypes"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_DEMAND_DISTINGUISH_REPORT", b => + { + b.Navigation("Nav_DemandReportDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW", b => + { + b.Navigation("Nav_LawSCSystem"); + + b.Navigation("Nav_LawVersion"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_INTEGRATE", b => + { + b.Navigation("Nav_IntegrateDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_INTEGRATE_UPDATE", b => + { + b.Navigation("Nav_IntegrateUpdateDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_INTEGRATE_UPDATE_DETAIL", b => + { + b.Navigation("Nav_LRLawInstitution"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LAW_VERSION", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LEGAL_LIST", b => + { + b.Navigation("Nav_LegalListDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_LEGAL_LIST_DETAIL", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_LegalListDetailUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.LR.T_LR_OTHER_DISTINGUISH", b => + { + b.Navigation("Nav_DemandUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_AGENCY", b => + { + b.Navigation("Nav_Children"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_APPROVE_REWARD_PUNISHMENT_REPORT", b => + { + b.Navigation("Nav_ApproveRewardPunishmentDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_COLLECTION", b => + { + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_COLLECTION_USER", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Opinions"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_OPINION_REPORT", b => + { + b.Navigation("Nav_FileList"); + + b.Navigation("Nav_ImpFileList"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EMPLOYEE_REFUSE_ITEM_REPORT", b => + { + b.Navigation("Nav_FileList"); + + b.Navigation("Nav_InvestigationFileList"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_GET", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_GET_DETAIL", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Items"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EVENT_REPORT", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_COMPLAIN_ADVISE", b => + { + b.Navigation("Nav_FileList"); + + b.Navigation("Nav_SurveyFileList"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_EXTERNAL_CONTACT_COMMUNICATE", b => + { + b.Navigation("Nav_FileList"); + + b.Navigation("Nav_ImpFileList"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_INNER_CONTACT", b => + { + b.Navigation("Nav_DoFiles"); + + b.Navigation("Nav_ItemFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT", b => + { + b.Navigation("Nav_AppointUsers"); + + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_POLICY_DOCUMENT_DETAIL", b => + { + b.Navigation("Nav_AppointUsers"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED", b => + { + b.Navigation("Nav_Agreements"); + + b.Navigation("Nav_FireUser"); + + b.Navigation("Nav_Qualifications"); + + b.Navigation("Nav_SafeUser"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_AGREEMENT", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_ESTIMATE", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_QUALIFICATION_DETAIL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED_USER", b => + { + b.Navigation("Nav_Healths"); + + b.Navigation("Nav_Insurances"); + + b.Navigation("Nav_Signs"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_PLAN_INPUT", b => + { + b.Navigation("Nav_SafeAssessItem"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_RECORD", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_ASSESS_RECORD_DETAIL", b => + { + b.Navigation("Nav_SafeAssessRecordItem"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_PDT_ASSESS_PLAN_CHECK", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_SAFE_PDT_SIGNED", b => + { + b.Navigation("Nav_SafePdtSignedPost"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_SYSTEM_REVIEW", b => + { + b.Navigation("Nav_ActionPlanList"); + + b.Navigation("Nav_ReviewItemsList"); + + b.Navigation("Nav_ReviewResultList"); + + b.Navigation("Nav_ReviewUserList"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB", b => + { + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_JOB_REPORT", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HAZARD_MONITOR_RESULT_SUM", b => + { + b.Navigation("Nav_ListMonitorResult"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_BATCH", b => + { + b.Navigation("Nav_ListDepartment"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_CYCLE", b => + { + b.Navigation("Nav_ListDepartmentInfo"); + + b.Navigation("Nav_ListOccHazard"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_CYCLE_DEPARTMENTINFO", b => + { + b.Navigation("Nav_ListDepartmentInfoPost"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_NOTICE", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListNoticeRegister"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_NOTICE_REGISTER", b => + { + b.Navigation("Nav_ListOccHazard"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_PLAN", b => + { + b.Navigation("Nav_ListDepartment"); + + b.Navigation("Nav_ListPlanRegister"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_PLAN_REGISTER", b => + { + b.Navigation("Nav_ListHazard"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_RESULT", b => + { + b.Navigation("Nav_OccDiseaseList"); + + b.Navigation("Nav_OccHazardList"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_HEALTH_EXAM_RESULT_OCC_DISEASE", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PC.T_PC_INFO", b => + { + b.Navigation("Nav_Colors"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PC.T_PC_INFO_COLOR", b => + { + b.Navigation("Nav_Areas"); + + b.Navigation("Nav_ColorPoints"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.PF.T_PF_APPROVAL_ROLE", b => + { + b.Navigation("Nav_ApproveDeparts"); + + b.Navigation("Nav_ApproveRoles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.BI.T_BI_AREA_TREE", b => + { + b.Navigation("Nav_Check"); + + b.Navigation("Nav_Children"); + + b.Navigation("Nav_Device"); + + b.Navigation("Nav_Post"); + + b.Navigation("Nav_Risk"); + + b.Navigation("Nav_Submit"); + + b.Navigation("Nav_User"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DETECTION_INSPECTION_RECORD", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_APPLY", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.DM.T_DM_DEVICE_ISSUE", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.OG.T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_DETAIL", b => + { + b.Navigation("Nav_Contents"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_MeasureConsider"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_MeasureConsider"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_PROCESS", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_CORRECTIVE_PREVENTIVE_PROCESS_DETAIL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_PLAN_DETAIL", b => + { + b.Navigation("Nav_EvaluationMethod"); + + b.Navigation("Nav_EvaluationUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_RECORD", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_RecordUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_EVALUATION_RECORD_DETAIL", b => + { + b.Navigation("Nav_EvaluationMethod"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_PLAN", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_RECORD", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_MonitorUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PE.T_PE_SAFETY_MONITOR_RECORD_DETAIL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PM.T_PE_STANDARDIZED_SCORE_IMPORT", b => + { + b.Navigation("Nav_Children"); + + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_IDENTIFY_EVALUATION", b => + { + b.Navigation("Nav_Tasks"); + + b.Navigation("Nav_Types"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CHANGE_TASK_IMPLEMENT", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_CONTROLROOM_OPERATION_RECORD", b => + { + b.Navigation("Nav_Airs"); + + b.Navigation("Nav_Deals"); + + b.Navigation("Nav_Drugs"); + + b.Navigation("Nav_Seris"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DESIGN_DOCUMENT_REVIEW", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Pictures"); + + b.Navigation("Nav_Requirements"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD", b => + { + b.Navigation("Nav_Confirms"); + + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_CARRY_RECORD_DETAIL", b => + { + b.Navigation("Nav_Accepts"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_OUTBOUND_RECORD", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_OUTBOUND_RECORD_DETAIL", b => + { + b.Navigation("Nav_Accepts"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_SET", b => + { + b.Navigation("Nav_Confirms"); + + b.Navigation("Nav_Specifys"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_TYPE", b => + { + b.Navigation("Nav_Confirms"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD", b => + { + b.Navigation("Nav_Confirms"); + + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DRUG_USE_RECORD_DETAIL", b => + { + b.Navigation("Nav_Confirms"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_DUTY_OPERATION_RECORD", b => + { + b.Navigation("Nav_Deals"); + + b.Navigation("Nav_Drugs"); + + b.Navigation("Nav_Inves"); + + b.Navigation("Nav_Machs"); + + b.Navigation("Nav_Tungs"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_EXPERIMENTAL_OPERATION_RECORD", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_EXTERNAL_ACCEPTANCE_RECORD", b => + { + b.Navigation("Nav_Acceptances"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LABORATORY_OPERATION_RECORD", b => + { + b.Navigation("Nav_Dets"); + + b.Navigation("Nav_Ores"); + + b.Navigation("Nav_Pres"); + + b.Navigation("Nav_Sams"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_LANDSLIDE_ROLLSTONE_MONITOR", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_MAP_PROCESS_RECORD", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK", b => + { + b.Navigation("Nav_Codes"); + + b.Navigation("Nav_Departments"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_POST_FORM_LINK_XK", b => + { + b.Navigation("Nav_Params"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_PROCESS_FORM_XK", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_PRODUCTION_OPERATION_RECORD", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SANDPUMP_OPERATION_RECORD", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_SURVEY_RECORD", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_THOUSANDPUMP_OPERATION_RECORD", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PR.T_PR_TUNGPRE_OPERATION_RECORD", b => + { + b.Navigation("Nav_Drugs"); + + b.Navigation("Nav_Meas"); + + b.Navigation("Nav_Seris"); + + b.Navigation("Nav_Targs"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ANNUAL_MONOTOR_SUMMARY", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ANNUAL_MONOTOR_SUMMARY_DETAIL", b => + { + b.Navigation("Nav_Contents"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT_DETAIL", b => + { + b.Navigation("Nav_Contents"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_ASSESSMENT_PLAN_AUDIT_TEMP_DETAIL", b => + { + b.Navigation("Nav_Contents"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Formulates"); + + b.Navigation("Nav_Goals"); + + b.Navigation("Nav_PlanFiles"); + + b.Navigation("Nav_PlanResources"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT", b => + { + b.Navigation("Nav_DepartmentDetail"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_TeamDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT_DETAIL", b => + { + b.Navigation("Nav_DetailContent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_INDICATOR_FORMULATION_DEPARTMENT_TEAM", b => + { + b.Navigation("Nav_DetailContent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_MONITOR_ASSESSMENT", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_MonitorUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_MONITOR_ASSESSMENT_DETAIL", b => + { + b.Navigation("Nav_Contents"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.PT.T_PT_SAFETY_POLICY_SURVEY", b => + { + b.Navigation("Nav_Collects"); + + b.Navigation("Nav_Feedbacks"); + + b.Navigation("Nav_Ranges"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_DEPARTMENT", b => + { + b.Navigation("Nav_Posts"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_DOCUMENT_LIBRARY", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_DOCUMENT_LIBRARY_DETAIL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.SC.T_SC_STANDARD_CREATE", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_CONTENT", b => + { + b.Navigation("Nav_ListContentDeal"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_CONTENT_NAME", b => + { + b.Navigation("Nav_ListContent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_FilesOfficialseal"); + + b.Navigation("Nav_FilesRecord"); + + b.Navigation("Nav_ListMeetingContent"); + + b.Navigation("Nav_ListPAll"); + + b.Navigation("Nav_ListPReView"); + + b.Navigation("Nav_ListThemes"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListContent"); + + b.Navigation("Nav_ListMinutesDetail"); + + b.Navigation("Nav_ListPAbsence"); + + b.Navigation("Nav_ListPAskForLeave"); + + b.Navigation("Nav_ListPJoin"); + + b.Navigation("Nav_ListPReview"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES_CONTENT", b => + { + b.Navigation("Nav_ListContentDeal"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_MEETING_MINUTES_DETAIL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_MT_PLAN_SET", b => + { + b.Navigation("Nav_ListSetDepartment"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SC.T_SC_POST", b => + { + b.Navigation("Nav_Depts"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Posts"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY", b => + { + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_DEP_TRAIN_PLAN", b => + { + b.Navigation("Nav_DepTrainPlanDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_DEP_TRAIN_PLAN_DETAIL", b => + { + b.Navigation("Nav_DepTrainPlanContent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USERS", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_NewUserDetail"); + + b.Navigation("Nav_Teachers"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USER_DETAIL", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Papers"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_NEW_USER_DETAIL_TEXT", b => + { + b.Navigation("Nav_ListPaper"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_RENEWAL_TRAIN", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_SAFE_SURVEY", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_JoinDepartment"); + + b.Navigation("Nav_ListUsers"); + + b.Navigation("Nav_Papers"); + + b.Navigation("Nav_Points"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TEST", b => + { + b.Navigation("Nav_Points"); + + b.Navigation("Nav_Posts"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_EDU_CARD", b => + { + b.Navigation("Nav_TrainRecordList"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD", b => + { + b.Navigation("Nav_TrainRecordFile"); + + b.Navigation("Nav_TrainSignatureFile"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION", b => + { + b.Navigation("Nav_OpinionList"); + + b.Navigation("Nav_ResultList"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAINING_EFFECT_EVALUATION_SURVEY", b => + { + b.Navigation("Nav_ResultList"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_NOTIFY", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListCour"); + + b.Navigation("Nav_TrainContentList"); + + b.Navigation("Nav_TrainUserList"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_PLAN", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListPlanDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_PLAN_DETAIL", b => + { + b.Navigation("Nav_ListDetailDepartment"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Papers"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_TEXT", b => + { + b.Navigation("Nav_ListPaper"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_RECORD_USER", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY", b => + { + b.Navigation("Nav_Demands"); + + b.Navigation("Nav_JoinDepartment"); + + b.Navigation("Nav_Points"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_TRAIN_SURVEY_LIST_DEMAND", b => + { + b.Navigation("Nav_Items"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_YearTrainPlanDepartment"); + + b.Navigation("Nav_YearTrainPlanDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_YEAR_TRAIN_PLAN_DETAIL", b => + { + b.Navigation("Nav_YearTrainPlanContent"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_DETAIL", b => + { + b.Navigation("Nav_DetailContents"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_DETAIL_CONTENT", b => + { + b.Navigation("Nav_DetailBasics"); + + b.Navigation("Nav_DetailHiddens"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP", b => + { + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Hiddens"); + + b.Navigation("Nav_Measures"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_BASIC_LIBRARY_TEMP_MEASURE", b => + { + b.Navigation("Nav_Levels"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_CONTENTS", b => + { + b.Navigation("Nav_ContentsBasics"); + + b.Navigation("Nav_ListCheckQuestion"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET", b => + { + b.Navigation("Nav_CheckSetContents"); + + b.Navigation("Nav_CheckUsers"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS", b => + { + b.Navigation("Nav_ContentsAreas"); + + b.Navigation("Nav_ContentsBasics"); + + b.Navigation("Nav_ContentsHiddens"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_SET_CONTENTS_AREA", b => + { + b.Navigation("Nav_ContentsAreaRisks"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_CHECK_TYPE", b => + { + b.Navigation("Nav_CheckCycle"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM", b => + { + b.Navigation("Nav_DoubleDetails"); + + b.Navigation("Nav_DoubleFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL", b => + { + b.Navigation("Nav_DetailDeparts"); + + b.Navigation("Nav_DetailPosts"); + + b.Navigation("Nav_DoubleDetailMeasures"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_DEPART", b => + { + b.Navigation("Nav_DepartDetails"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES", b => + { + b.Navigation("Nav_DetailMeasureContents"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT", b => + { + b.Navigation("Nav_DetailMeasureContentBasics"); + + b.Navigation("Nav_DetailMeasureContentHiddens"); + + b.Navigation("Nav_DetailMeasureContentPosts"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_POST", b => + { + b.Navigation("Nav_DetailPosts"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY", b => + { + b.Navigation("Nav_Departs"); + + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Posts"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL", b => + { + b.Navigation("Nav_DetailContents"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT", b => + { + b.Navigation("Nav_DetailBasics"); + + b.Navigation("Nav_DetailDeparts"); + + b.Navigation("Nav_DetailHiddens"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART", b => + { + b.Navigation("Nav_DetailPosts"); + + b.Navigation("Nav_DetailUsers"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_POST", b => + { + b.Navigation("Nav_PostDetails"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP", b => + { + b.Navigation("Nav_Contents"); + + b.Navigation("Nav_Hiddens"); + + b.Navigation("Nav_Measures"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_CONTENT", b => + { + b.Navigation("Nav_Departs"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_CONTENT_DEPART", b => + { + b.Navigation("Nav_Posts"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_ENTERPRISE_LIBRARY_TEMP_MEASURE", b => + { + b.Navigation("Nav_Departs"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_CONFIRM", b => + { + b.Navigation("Nav_Basics"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Photos"); + + b.Navigation("Nav_Reasons"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_HAND_REPORT", b => + { + b.Navigation("Nav_ReportFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE", b => + { + b.Navigation("Nav_RectifyDetails"); + + b.Navigation("Nav_RectifyFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL", b => + { + b.Navigation("Nav_RectifyDetailBasics"); + + b.Navigation("Nav_RectifyDetailFiles"); + + b.Navigation("Nav_RectifyDetailReasons"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_RECTIFY_RECORD", b => + { + b.Navigation("Nav_RectifyBasics"); + + b.Navigation("Nav_RectifyFiles"); + + b.Navigation("Nav_RectifyPhotoas"); + + b.Navigation("Nav_RectifyPhotobs"); + + b.Navigation("Nav_RectifyReasons"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT", b => + { + b.Navigation("Nav_ReportDetails"); + + b.Navigation("Nav_ReportFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_HIDDEN_DANGER_REPORT_DETAIL", b => + { + b.Navigation("Nav_ReportDetailBasics"); + + b.Navigation("Nav_ReportDetailFiles"); + + b.Navigation("Nav_ReportDetailReasons"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Evaluations"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Requires"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_IDENTIFY_EVALUATION_PLAN_DETAIL", b => + { + b.Navigation("Nav_DetailUsers"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_PLAN_SET", b => + { + b.Navigation("Nav_ListArea"); + + b.Navigation("Nav_ListDepOut"); + + b.Navigation("Nav_ListSetDepObject"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_AREA", b => + { + b.Navigation("Nav_Children"); + + b.Navigation("Nav_Videos"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Requires"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL", b => + { + b.Navigation("Nav_DetailDeparts"); + + b.Navigation("Nav_DetailMeasures"); + + b.Navigation("Nav_DetailPosts"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_DETAIL_POST", b => + { + b.Navigation("Nav_PostDetails"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Requires"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL", b => + { + b.Navigation("Nav_DetailDeparts"); + + b.Navigation("Nav_DetailMeasures"); + + b.Navigation("Nav_DetailPosts"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_EVALUATION_SUMMARY_DETAIL_POST", b => + { + b.Navigation("Nav_PostDetails"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Requires"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL", b => + { + b.Navigation("Nav_DetailMeasures"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_DETAIL_RESULT_POST", b => + { + b.Navigation("Nav_ResultPostDets"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Requires"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_DETAIL", b => + { + b.Navigation("Nav_DetailDeparts"); + + b.Navigation("Nav_DetailMeasures"); + + b.Navigation("Nav_DetailPosts"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Requires"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_DETAIL", b => + { + b.Navigation("Nav_DetailDeparts"); + + b.Navigation("Nav_DetailMeasures"); + + b.Navigation("Nav_DetailPosts"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_RISK_IDENTIFY_RESULT_SUMMARY_POST", b => + { + b.Navigation("Nav_SumPostDets"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE", b => + { + b.Navigation("Nav_CheckNoticeDetails"); + + b.Navigation("Nav_CheckNoticeFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_NOTICE_DETAIL", b => + { + b.Navigation("Nav_CheckNoticeDetailBasics"); + + b.Navigation("Nav_CheckNoticeDetailUsers"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD", b => + { + b.Navigation("Nav_CheckRecordDetails"); + + b.Navigation("Nav_CheckRecordFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_DETAIL", b => + { + b.Navigation("Nav_CheckRecordDetailBasics"); + + b.Navigation("Nav_CheckRecordDetailFiles"); + + b.Navigation("Nav_CheckRecordDetailReasons"); + + b.Navigation("Nav_CheckRecordDetailUsers"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY", b => + { + b.Navigation("Nav_CheckRecordDetails"); + + b.Navigation("Nav_CheckRecordFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.SK.T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL", b => + { + b.Navigation("Nav_CheckRecordDetailBasics"); + + b.Navigation("Nav_CheckRecordDetailFiles"); + + b.Navigation("Nav_CheckRecordDetailReasons"); + + b.Navigation("Nav_CheckRecordDetailUsers"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_CLAIM_RECORD", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_INSURANCE_RECORD", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_UserList"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PLAN", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListProject"); + + b.Navigation("Nav_Ranges"); + + b.Navigation("Nav_Sources"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Ranges"); + + b.Navigation("Nav_Sources"); + + b.Navigation("Nav_WFFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_CHECK", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_WFFiles"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_MONEY", b => + { + b.Navigation("Nav_Details"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_PROJECT_MONEY_DETAIL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TI.T_TI_SAFE_PDT_COST_RECORD", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_SafePdtCostRecordType"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListBackRequire"); + + b.Navigation("Nav_ListDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK_DETAIL", b => + { + b.Navigation("Nav_ListDetailUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_BACK_RECORD", b => + { + b.Navigation("Nav_ListUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_CACULATE", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_FILE_SUM", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_HIGH_CHECK", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_OUT", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_FINISH", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_HIGHT", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_INTRODUCE", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_RECORD", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_FilesCheck"); + + b.Navigation("Nav_FilesWatch"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_PROJECT_SLOPEBANK", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Files_Proj"); + + b.Navigation("Nav_Files_Sub"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_QUALITY_CHECK", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_DAYLY", b => + { + b.Navigation("Nav_ListDetail"); + + b.Navigation("Nav_ListUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_DAYLY_DETAIL", b => + { + b.Navigation("Nav_ListUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE", b => + { + b.Navigation("Nav_ListDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_LINE_DETAIL", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_MOVE", b => + { + b.Navigation("Nav_ListDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_MOVE_DETAIL", b => + { + b.Navigation("Nav_ListUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_PERCENT", b => + { + b.Navigation("Nav_ListDetail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.TL.T_TL_WATCH_PERCENT_DETAIL", b => + { + b.Navigation("Nav_ListUser"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB", b => + { + b.Navigation("Nav_Audit"); + + b.Navigation("Nav_Detail"); + + b.Navigation("Nav_DisCloseDetails"); + + b.Navigation("Nav_DisCloseFiles"); + + b.Navigation("Nav_DisCloseUsers"); + + b.Navigation("Nav_Files"); + + b.Navigation("Nav_MointerRecordDetails"); + + b.Navigation("Nav_RecordDetails"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_MOINTER_RECORD_DETAIL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_DANGEROUS_JOB_RECORD_DETAIL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_NOTIFY", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_NOTIFY_DETAIL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_HIDDEN_DANGER_RECORD_DETAIL", b => + { + b.Navigation("Nav_Files1"); + + b.Navigation("Nav_Files2"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_JOB_SAFE_MEASURE_ENUM", b => + { + b.Navigation("Nav_Detail"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Tests"); + + b.Navigation("Nav_Videos"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListPaperOrder"); + + b.Navigation("Nav_ListSourceOff"); + + b.Navigation("Nav_ListSourceOn"); + + b.Navigation("Nav_Photos"); + + b.Navigation("Nav_Users"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_PAPER_ORDER", b => + { + b.Navigation("Nav_ListUserPaper"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_OUTSOURCE_TRAIN_RECORD_USERS", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_ListUserPaper"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_PROJECT_INPUT", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER", b => + { + b.Navigation("Nav_Item1"); + + b.Navigation("Nav_Item2"); + + b.Navigation("Nav_Item3"); + + b.Navigation("Nav_Item4"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_1", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_2", b => + { + b.Navigation("Nav_Files1"); + + b.Navigation("Nav_Files2"); + + b.Navigation("Nav_Files3"); + + b.Navigation("Nav_Files4"); + + b.Navigation("Nav_JobTypes"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_3", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_REGISTER_4", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK", b => + { + b.Navigation("Nav_Files"); + + b.Navigation("Nav_Photos"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_RECORD_DETAIL", b => + { + b.Navigation("Nav_Files"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK", b => + { + b.Navigation("Nav_Details"); + + b.Navigation("Nav_ListArea"); + }); + + modelBuilder.Entity("APT.MS.Domain.Entities.WB.T_WB_SAFE_CHECK_TASK_DETAIL", b => + { + b.Navigation("Nav_Users"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/APT.Data.Migrations/Migrations/20260319072700_wyw2026031901.cs b/APT.Data.Migrations/Migrations/20260319072700_wyw2026031901.cs new file mode 100644 index 0000000..b3c990f --- /dev/null +++ b/APT.Data.Migrations/Migrations/20260319072700_wyw2026031901.cs @@ -0,0 +1,35 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +namespace APT.Data.Migrations.Migrations +{ + public partial class wyw2026031901 : Migration + { + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AlterColumn( + name: "NAME", + table: "T_SE_THREE_LEVEL_SAFE_CONTENT", + type: "nvarchar(500)", + maxLength: 500, + nullable: true, + oldClrType: typeof(string), + oldType: "nvarchar(300)", + oldMaxLength: 300, + oldNullable: true); + } + + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.AlterColumn( + name: "NAME", + table: "T_SE_THREE_LEVEL_SAFE_CONTENT", + type: "nvarchar(300)", + maxLength: 300, + nullable: true, + oldClrType: typeof(string), + oldType: "nvarchar(500)", + oldMaxLength: 500, + oldNullable: true); + } + } +} diff --git a/APT.Data.Migrations/Migrations/MigrationContextModelSnapshot.cs b/APT.Data.Migrations/Migrations/MigrationContextModelSnapshot.cs index 8a6c281..1a19dea 100644 --- a/APT.Data.Migrations/Migrations/MigrationContextModelSnapshot.cs +++ b/APT.Data.Migrations/Migrations/MigrationContextModelSnapshot.cs @@ -44538,8 +44538,8 @@ namespace APT.Data.Migrations.Migrations .HasColumnType("int"); b.Property("DealMeasuresStr") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); b.Property("ENTITY_ORG_TPYE") .HasColumnType("int"); @@ -44602,12 +44602,12 @@ namespace APT.Data.Migrations.Migrations .HasColumnType("int"); b.Property("SafeConfirmsStr") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); b.Property("SafeMeasuresStr") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)"); + .HasMaxLength(2000) + .HasColumnType("nvarchar(2000)"); b.Property("TASK_LEVEL") .HasColumnType("int"); @@ -73805,8 +73805,8 @@ namespace APT.Data.Migrations.Migrations .HasColumnType("datetime2"); b.Property("NAME") - .HasMaxLength(300) - .HasColumnType("nvarchar(300)"); + .HasMaxLength(500) + .HasColumnType("nvarchar(500)"); b.Property("ORG_ID") .IsRequired() diff --git a/APT.MS.Data/Mapping/T4/T4Map.cs b/APT.MS.Data/Mapping/T4/T4Map.cs index ef86d31..ed5bde6 100644 --- a/APT.MS.Data/Mapping/T4/T4Map.cs +++ b/APT.MS.Data/Mapping/T4/T4Map.cs @@ -10968,7 +10968,7 @@ builder.HasOne(t => t.Nav_Post).WithMany().HasForeignKey(t => t.POST_ID).OnDelet public override void Configure(EntityTypeBuilder builder) { base.Configure(builder); - builder.Property(t => t.NAME).HasMaxLength(300); + builder.Property(t => t.NAME).HasMaxLength(500); builder.HasIndex("NAME").IsUnique(); } } diff --git a/APT.MS.Domain/Entities/SC/SE/T_SE_THREE_LEVEL_SAFE_CONTENT.cs b/APT.MS.Domain/Entities/SC/SE/T_SE_THREE_LEVEL_SAFE_CONTENT.cs index 8d0f6a1..133e935 100644 --- a/APT.MS.Domain/Entities/SC/SE/T_SE_THREE_LEVEL_SAFE_CONTENT.cs +++ b/APT.MS.Domain/Entities/SC/SE/T_SE_THREE_LEVEL_SAFE_CONTENT.cs @@ -14,7 +14,7 @@ namespace APT.MS.Domain.Entities.SE /// 培训内容 /// [Description("培训内容")] - [DataFieldLength(300)] + [DataFieldLength(500)] [FormFieldTable] [FormFieldQuery] [FormFieldEdit] diff --git a/APT.MicroApi/APT.SC.WebApi/Controllers/Api/T4/T4Control.cs b/APT.MicroApi/APT.SC.WebApi/Controllers/Api/T4/T4Control.cs index 810e08b..6f257ca 100644 --- a/APT.MicroApi/APT.SC.WebApi/Controllers/Api/T4/T4Control.cs +++ b/APT.MicroApi/APT.SC.WebApi/Controllers/Api/T4/T4Control.cs @@ -1,27 +1,21 @@ - - - - - - - - - - -//------------------------------------------------------------------------------ -// T4模板文件:基础接口类 -// 此代码由T4模板自动生成 -// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。 -//------------------------------------------------------------------------------ - -using APT.Infrastructure.Core; -using Microsoft.AspNetCore.Mvc; -using System.Collections.Generic; -using APT.Utility; -using APT.Infrastructure.Api; -using APT.BaseData.Domain.ApiModel.PF; - namespace APT.SC.WebApi.Controllers.Api - { + + + + +//------------------------------------------------------------------------------ +// T4模板文件:基础接口类 +// 此代码由T4模板自动生成 +// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。 +//------------------------------------------------------------------------------ + +using APT.Infrastructure.Core; +using Microsoft.AspNetCore.Mvc; +using System.Collections.Generic; +using APT.Utility; +using APT.Infrastructure.Api; +using APT.BaseData.Domain.ApiModel.PF; + namespace APT.SC.WebApi.Controllers.Api + { using APT.MS.Domain.Entities.AE; using APT.MS.Domain.Entities.BI; using APT.MS.Domain.Entities.SC.BI; @@ -44,74511 +38,73115 @@ using APT.MS.Domain.Entities.TI; using APT.MS.Domain.Entities.TL; using APT.MS.Domain.Entities.WB; using APT.MS.Domain.Entities.HM; - - #region AccidentEventDamageObject-致害物 - /// - /// 致害物 - /// - [Route("api/AE/AccidentEventDamageObject")] - public partial class AccidentEventDamageObjectController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_DAMAGE_OBJECT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventReasonType-事故事件原因类别 - /// - /// 事故事件原因类别 - /// - [Route("api/AE/AccidentEventReasonType")] - public partial class AccidentEventReasonTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_REASON_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventReport-事故事件上报 - /// - /// 事故事件上报 - /// - [Route("api/AE/AccidentEventReport")] - public partial class AccidentEventReportController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_REPORT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventReportFile-事故现场 - /// - /// 事故现场 - /// - [Route("api/AE/AccidentEventReportFile")] - public partial class AccidentEventReportFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_REPORT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventReportListKind-导航属性: 事故种类 - /// - /// 导航属性: 事故种类 - /// - [Route("api/AE/AccidentEventReportListKind")] - public partial class AccidentEventReportListKindController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_REPORT_LIST_KIND entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventSurveyAdmPunishment-导航属性: 行政处罚信息 - /// - /// 导航属性: 行政处罚信息 - /// - [Route("api/AE/AccidentEventSurveyAdmPunishment")] - public partial class AccidentEventSurveyAdmPunishmentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_ADM_PUNISHMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventSurveyCasualties-导航属性: 人员伤亡信息 - /// - /// 导航属性: 人员伤亡信息 - /// - [Route("api/AE/AccidentEventSurveyCasualties")] - public partial class AccidentEventSurveyCasualtiesController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_CASUALTIES entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventSurveyDamageObject-致害物 - /// - /// 致害物 - /// - [Route("api/AE/AccidentEventSurveyDamageObject")] - public partial class AccidentEventSurveyDamageObjectController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_DAMAGE_OBJECT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventSurveyEquipmentLoss-导航属性: 设备设施损失信息 - /// - /// 导航属性: 设备设施损失信息 - /// - [Route("api/AE/AccidentEventSurveyEquipmentLoss")] - public partial class AccidentEventSurveyEquipmentLossController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_EQUIPMENT_LOSS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventSurveyFile-调查报告附件 - /// - /// 调查报告附件 - /// - [Route("api/AE/AccidentEventSurveyFile")] - public partial class AccidentEventSurveyFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventSurveyForensics-导航属性: 调查取证资料 - /// - /// 导航属性: 调查取证资料 - /// - [Route("api/AE/AccidentEventSurveyForensics")] - public partial class AccidentEventSurveyForensicsController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_FORENSICS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventSurveyForensicsFile-导航属性: 调查取证资料附件 - /// - /// 导航属性: 调查取证资料附件 - /// - [Route("api/AE/AccidentEventSurveyForensicsFile")] - public partial class AccidentEventSurveyForensicsFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_FORENSICS_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventSurveyPfile-公示文件附件 - /// - /// 公示文件附件 - /// - [Route("api/AE/AccidentEventSurveyPfile")] - public partial class AccidentEventSurveyPfileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_PFILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventSurveyReason-导航属性: 事故事件原因 - /// - /// 导航属性: 事故事件原因 - /// - [Route("api/AE/AccidentEventSurveyReason")] - public partial class AccidentEventSurveyReasonController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_REASON entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventSurveyReasonType-事故事件原因类别 - /// - /// 事故事件原因类别 - /// - [Route("api/AE/AccidentEventSurveyReasonType")] - public partial class AccidentEventSurveyReasonTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_REASON_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentEventSurveyResult-事故事件调查结果填报表 - /// - /// 事故事件调查结果填报表 - /// - [Route("api/AE/AccidentEventSurveyResult")] - public partial class AccidentEventSurveyResultController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_RESULT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentKind-事故种类 - /// - /// 事故种类 - /// - [Route("api/AE/AccidentKind")] - public partial class AccidentKindController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_KIND entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentLevelDays-事故等级结案限制 - /// - /// 事故等级结案限制 - /// - [Route("api/AE/AccidentLevelDays")] - public partial class AccidentLevelDaysController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_LEVEL_DAYS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentSurveyTeamDeputyLeader-事故调查小组副组长 - /// - /// 事故调查小组副组长 - /// - [Route("api/AE/AccidentSurveyTeamDeputyLeader")] - public partial class AccidentSurveyTeamDeputyLeaderController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_SURVEY_TEAM_DEPUTY_LEADER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentSurveyTeamMember-事故调查小组成员 - /// - /// 事故调查小组成员 - /// - [Route("api/AE/AccidentSurveyTeamMember")] - public partial class AccidentSurveyTeamMemberController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_SURVEY_TEAM_MEMBER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentSurveyTeamMembers-导航属性: 事故调查小组组员 - /// - /// 导航属性: 事故调查小组组员 - /// - [Route("api/AE/AccidentSurveyTeamMembers")] - public partial class AccidentSurveyTeamMembersController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_SURVEY_TEAM_MEMBERS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AccidentType-事故类型 - /// - /// 事故类型 - /// - [Route("api/AE/AccidentType")] - public partial class AccidentTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_ACCIDENT_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DosetDepartmentUser-触发设置 - /// - /// 触发设置 - /// - [Route("api/AE/DosetDepartmentUser")] - public partial class DosetDepartmentUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_DOSET_DEPARTMENT_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InvestigationRecord-勘察记录 - /// - /// 勘察记录 - /// - [Route("api/AE/InvestigationRecord")] - public partial class InvestigationRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_INVESTIGATION_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InvestigationRecordAccFiles-勘察记录表事故照片 - /// - /// 勘察记录表事故照片 - /// - [Route("api/AE/InvestigationRecordAccFiles")] - public partial class InvestigationRecordAccFilesController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_INVESTIGATION_RECORD_ACC_FILES entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InvestigationRecordAskUsers-询问人员中间表 - /// - /// 询问人员中间表 - /// - [Route("api/AE/InvestigationRecordAskUsers")] - public partial class InvestigationRecordAskUsersController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_INVESTIGATION_RECORD_ASK_USERS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InvestigationRecordChartFiles-勘察记录表绘制事故图 - /// - /// 勘察记录表绘制事故图 - /// - [Route("api/AE/InvestigationRecordChartFiles")] - public partial class InvestigationRecordChartFilesController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_INVESTIGATION_RECORD_CHART_FILES entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InvestigationRecordInvestigationUsers-勘察人员中间表 - /// - /// 勘察人员中间表 - /// - [Route("api/AE/InvestigationRecordInvestigationUsers")] - public partial class InvestigationRecordInvestigationUsersController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_INVESTIGATION_RECORD_INVESTIGATION_USERS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InvestigationRecordNotesFiles-勘察记录表现场笔录 - /// - /// 勘察记录表现场笔录 - /// - [Route("api/AE/InvestigationRecordNotesFiles")] - public partial class InvestigationRecordNotesFilesController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_AE_INVESTIGATION_RECORD_NOTES_FILES entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetaskFinish-安全任务完成分析 - /// - /// 安全任务完成分析 - /// - [Route("api/BI/SafetaskFinish")] - public partial class SafetaskFinishController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_SAFETASK_FINISH entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ActiveUserRecord-活跃用户记录表 - /// - /// 活跃用户记录表 - /// - [Route("api/BI/ActiveUserRecord")] - public partial class ActiveUserRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_ACTIVE_USER_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LoginRecord-登录记录表 - /// - /// 登录记录表 - /// - [Route("api/BI/LoginRecord")] - public partial class LoginRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_LOGIN_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AreaTree-区域树 - /// - /// 区域树 - /// - [Route("api/BI/AreaTree")] - public partial class AreaTreeController : AuthorizeTreeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_AREA_TREE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - /// - /// 获得树形实体数据 - /// - /// - /// - [HttpPost, Route("TreeData")] - public JsonActionResult>> TreeData([FromBody] KeywordFilter filter) - { - return WitTreeOrderEntities(null, filter); - } - - - } - #endregion - - #region Bschecktype-安全检查情况占比 - /// - /// 安全检查情况占比 - /// - [Route("api/BI/Bschecktype")] - public partial class BschecktypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_BSCHECKTYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region BschecktypeYear-安全检查情况综合统计分析 - /// - /// 安全检查情况综合统计分析 - /// - [Route("api/BI/BschecktypeYear")] - public partial class BschecktypeYearController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_BSCHECKTYPE_YEAR entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region BsriskInfo-安全检查情况综合统计分析 - /// - /// 安全检查情况综合统计分析 - /// - [Route("api/BI/BsriskInfo")] - public partial class BsriskInfoController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_BSRISK_INFO entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Bssafecheck-班组安全检查完成率分析 - /// - /// 班组安全检查完成率分析 - /// - [Route("api/BI/Bssafecheck")] - public partial class BssafecheckController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_BSSAFECHECK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region BssafechecktypeYear-部门级年度安全检查情况综合统计分析 - /// - /// 部门级年度安全检查情况综合统计分析 - /// - [Route("api/BI/BssafechecktypeYear")] - public partial class BssafechecktypeYearController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_BSSAFECHECKTYPE_YEAR entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region BssafecheckYear-年度安全检查情况综合统计分析 - /// - /// 年度安全检查情况综合统计分析 - /// - [Route("api/BI/BssafecheckYear")] - public partial class BssafecheckYearController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_BSSAFECHECK_YEAR entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CloseTasks-教育模块统计 - /// - /// 教育模块统计 - /// - [Route("api/BI/CloseTasks")] - public partial class CloseTasksController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_CLOSE_TASKS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DepartmentMonthRun-矿山部选矿部月份折线图 - /// - /// 矿山部选矿部月份折线图 - /// - [Route("api/BI/DepartmentMonthRun")] - public partial class DepartmentMonthRunController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_DEPARTMENT_MONTH_RUN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region FormCheckItem-检查项目配置表 - /// - /// 检查项目配置表 - /// - [Route("api/BI/FormCheckItem")] - public partial class FormCheckItemController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_FORM_CHECK_ITEM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region FormRunAnalysis-表单运行情况分析 - /// - /// 表单运行情况分析 - /// - [Route("api/BI/FormRunAnalysis")] - public partial class FormRunAnalysisController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_FORM_RUN_ANALYSIS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HomeBsriskreason-首页隐患原因 - /// - /// 首页隐患原因 - /// - [Route("api/BI/HomeBsriskreason")] - public partial class HomeBsriskreasonController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_HOME_BSRISKREASON entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HriskchangePec-各部门隐患整改率 - /// - /// 各部门隐患整改率 - /// - [Route("api/BI/HriskchangePec")] - public partial class HriskchangePecController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_HRISKCHANGE_PEC entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HriskCount-各部门隐患数量 - /// - /// 各部门隐患数量 - /// - [Route("api/BI/HriskCount")] - public partial class HriskCountController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_HRISK_COUNT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HriskTop-高频隐患 - /// - /// 高频隐患 - /// - [Route("api/BI/HriskTop")] - public partial class HriskTopController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_HRISK_TOP entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region JobProfile- - /// - /// - /// - [Route("api/BI/JobProfile")] - public partial class JobProfileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_JOB_PROFILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MouldRunSummary-安全生产模块运行情况汇总 - /// - /// 安全生产模块运行情况汇总 - /// - [Route("api/BI/MouldRunSummary")] - public partial class MouldRunSummaryController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_MOULD_RUN_SUMMARY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region NotificationTask-待办汇总表 - /// - /// 待办汇总表 - /// - [Route("api/BI/NotificationTask")] - public partial class NotificationTaskController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_NOTIFICATION_TASK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region NotificationTaskNew-消息中间表 - /// - /// 消息中间表 - /// - [Route("api/BI/NotificationTaskNew")] - public partial class NotificationTaskNewController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_NOTIFICATION_TASK_NEW entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RiskLevel1-风险统计1 - /// - /// 风险统计1 - /// - [Route("api/BI/RiskLevel1")] - public partial class RiskLevel1Controller : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_RISK_LEVEL1 entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RiskLevel2-风险统计2 - /// - /// 风险统计2 - /// - [Route("api/BI/RiskLevel2")] - public partial class RiskLevel2Controller : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_RISK_LEVEL2 entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Runlog-统计日志 (按Code更新) - /// - /// 统计日志 (按Code更新) - /// - [Route("api/BI/Runlog")] - public partial class RunlogController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_RUNLOG entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Summary-数量统计 - /// - /// 数量统计 - /// - [Route("api/BI/Summary")] - public partial class SummaryController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_SUMMARY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SystemRunSummary-安全生产系统运行情况汇总 - /// - /// 安全生产系统运行情况汇总 - /// - [Route("api/BI/SystemRunSummary")] - public partial class SystemRunSummaryController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_SYSTEM_RUN_SUMMARY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainPlanCount-教育模块统计 - /// - /// 教育模块统计 - /// - [Route("api/BI/TrainPlanCount")] - public partial class TrainPlanCountController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_BI_TRAIN_PLAN_COUNT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AbilityEvaluate-应急能力评估表 - /// - /// 应急能力评估表 - /// - [Route("api/CM/AbilityEvaluate")] - public partial class AbilityEvaluateController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_ABILITY_EVALUATE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AbilityEvaluateProject-应急能力评估项目中间表 - /// - /// 应急能力评估项目中间表 - /// - [Route("api/CM/AbilityEvaluateProject")] - public partial class AbilityEvaluateProjectController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_ABILITY_EVALUATE_PROJECT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AbilityEvaluateUser-评估人员表 - /// - /// 评估人员表 - /// - [Route("api/CM/AbilityEvaluateUser")] - public partial class AbilityEvaluateUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_ABILITY_EVALUATE_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AbilityProject-评估项目表 - /// - /// 评估项目表 - /// - [Route("api/CM/AbilityProject")] - public partial class AbilityProjectController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_ABILITY_PROJECT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Config-应急模块基础配置 - /// - /// 应急模块基础配置 - /// - [Route("api/CM/Config")] - public partial class ConfigController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_CONFIG entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ContingencyType-预案类型 - /// - /// 预案类型 - /// - [Route("api/CM/ContingencyType")] - public partial class ContingencyTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_CONTINGENCY_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CoverageInfluence-影响范围表 - /// - /// 影响范围表 - /// - [Route("api/CM/CoverageInfluence")] - public partial class CoverageInfluenceController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_COVERAGE_INFLUENCE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrillEstimate-应急演练活动评估 - /// - /// 应急演练活动评估 - /// - [Route("api/CM/DrillEstimate")] - public partial class DrillEstimateController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_DRILL_ESTIMATE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrillEstimateItemType-演练活动记录评估项目类型 - /// - /// 演练活动记录评估项目类型 - /// - [Route("api/CM/DrillEstimateItemType")] - public partial class DrillEstimateItemTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_DRILL_ESTIMATE_ITEM_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrillEstimateRecord-应急演练活动评估项目 - /// - /// 应急演练活动评估项目 - /// - [Route("api/CM/DrillEstimateRecord")] - public partial class DrillEstimateRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_DRILL_ESTIMATE_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrillName-应急演练名称 - /// - /// 应急演练名称 - /// - [Route("api/CM/DrillName")] - public partial class DrillNameController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_DRILL_NAME entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrillPlan-年度应急演练计划表 - /// - /// 年度应急演练计划表 - /// - [Route("api/CM/DrillPlan")] - public partial class DrillPlanController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_DRILL_PLAN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrillPlanDetail-应急演练计划明细表 - /// - /// 应急演练计划明细表 - /// - [Route("api/CM/DrillPlanDetail")] - public partial class DrillPlanDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_DRILL_PLAN_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrillPlanStandardCreate-关联应急预案 - /// - /// 关联应急预案 - /// - [Route("api/CM/DrillPlanStandardCreate")] - public partial class DrillPlanStandardCreateController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_DRILL_PLAN_STANDARD_CREATE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrillRecord-应急演练活动记录 - /// - /// 应急演练活动记录 - /// - [Route("api/CM/DrillRecord")] - public partial class DrillRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_DRILL_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrillRecordDepartment-导航属性:内部参与演练单位 - /// - /// 导航属性:内部参与演练单位 - /// - [Route("api/CM/DrillRecordDepartment")] - public partial class DrillRecordDepartmentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_DRILL_RECORD_DEPARTMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrillRecordFile-导航属性:演练记录文件 - /// - /// 导航属性:演练记录文件 - /// - [Route("api/CM/DrillRecordFile")] - public partial class DrillRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_DRILL_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrillRecordSummaryFile-导航属性:演练记录报告文件 - /// - /// 导航属性:演练记录报告文件 - /// - [Route("api/CM/DrillRecordSummaryFile")] - public partial class DrillRecordSummaryFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_DRILL_RECORD_SUMMARY_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrillRecordUserEstimate-导航属性:演练记录评估人员 - /// - /// 导航属性:演练记录评估人员 - /// - [Route("api/CM/DrillRecordUserEstimate")] - public partial class DrillRecordUserEstimateController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_DRILL_RECORD_USER_ESTIMATE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrillSummaryRequirement-演练总结要求 - /// - /// 演练总结要求 - /// - [Route("api/CM/DrillSummaryRequirement")] - public partial class DrillSummaryRequirementController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_DRILL_SUMMARY_REQUIREMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrillSummaryRequirementType-演练总结要求项目 - /// - /// 演练总结要求项目 - /// - [Route("api/CM/DrillSummaryRequirementType")] - public partial class DrillSummaryRequirementTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_DRILL_SUMMARY_REQUIREMENT_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EquipmentDemandSurvey-应急装备需求调查表 - /// - /// 应急装备需求调查表 - /// - [Route("api/CM/EquipmentDemandSurvey")] - public partial class EquipmentDemandSurveyController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_EQUIPMENT_DEMAND_SURVEY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EquipmentDemandSurveyDetail-应急装备需求调查明细 - /// - /// 应急装备需求调查明细 - /// - [Route("api/CM/EquipmentDemandSurveyDetail")] - public partial class EquipmentDemandSurveyDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_EQUIPMENT_DEMAND_SURVEY_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EquipmentDemandSurveyFile-导航属性:应急装备需求调查表文件 - /// - /// 导航属性:应急装备需求调查表文件 - /// - [Route("api/CM/EquipmentDemandSurveyFile")] - public partial class EquipmentDemandSurveyFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_EQUIPMENT_DEMAND_SURVEY_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EquipmentDemandSurveyMaster-应急装备需求调查汇总表 - /// - /// 应急装备需求调查汇总表 - /// - [Route("api/CM/EquipmentDemandSurveyMaster")] - public partial class EquipmentDemandSurveyMasterController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_EQUIPMENT_DEMAND_SURVEY_MASTER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EquipmentDemandSurveyMasterFile-导航属性:应急装备需求调查表文件 - /// - /// 导航属性:应急装备需求调查表文件 - /// - [Route("api/CM/EquipmentDemandSurveyMasterFile")] - public partial class EquipmentDemandSurveyMasterFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_EQUIPMENT_DEMAND_SURVEY_MASTER_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EventType-事件类型表 - /// - /// 事件类型表 - /// - [Route("api/CM/EventType")] - public partial class EventTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_EVENT_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MaterialLibrary-应急物资库 - /// - /// 应急物资库 - /// - [Route("api/CM/MaterialLibrary")] - public partial class MaterialLibraryController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_MATERIAL_LIBRARY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MaterialLibraryFile-应急物资库附件表 - /// - /// 应急物资库附件表 - /// - [Route("api/CM/MaterialLibraryFile")] - public partial class MaterialLibraryFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_MATERIAL_LIBRARY_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MaterialOperateDetail-物资操作明细 - /// - /// 物资操作明细 - /// - [Route("api/CM/MaterialOperateDetail")] - public partial class MaterialOperateDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_MATERIAL_OPERATE_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MaterialOperateRecord-物资操作单 - /// - /// 物资操作单 - /// - [Route("api/CM/MaterialOperateRecord")] - public partial class MaterialOperateRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_MATERIAL_OPERATE_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MaterialType-资源类型表 - /// - /// 资源类型表 - /// - [Route("api/CM/MaterialType")] - public partial class MaterialTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_MATERIAL_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RspEstimate-应急响应评估表 - /// - /// 应急响应评估表 - /// - [Route("api/CM/RspEstimate")] - public partial class RspEstimateController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_RSP_ESTIMATE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RspEstimateCondition-应急响应评估情况 - /// - /// 应急响应评估情况 - /// - [Route("api/CM/RspEstimateCondition")] - public partial class RspEstimateConditionController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_RSP_ESTIMATE_CONDITION entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RspEstimateConditions-导航属性: 应急响应情况 - /// - /// 导航属性: 应急响应情况 - /// - [Route("api/CM/RspEstimateConditions")] - public partial class RspEstimateConditionsController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_RSP_ESTIMATE_CONDITIONS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RspEstimateEstimateUser-导航属性:应急响应评估表评估人员 - /// - /// 导航属性:应急响应评估表评估人员 - /// - [Route("api/CM/RspEstimateEstimateUser")] - public partial class RspEstimateEstimateUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_RSP_ESTIMATE_ESTIMATE_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RspEstimateEventKind-导航属性: 事故/事件种类 - /// - /// 导航属性: 事故/事件种类 - /// - [Route("api/CM/RspEstimateEventKind")] - public partial class RspEstimateEventKindController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_RSP_ESTIMATE_EVENT_KIND entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RspEstimateJoinUser-导航属性:应急响应评估表人员 - /// - /// 导航属性:应急响应评估表人员 - /// - [Route("api/CM/RspEstimateJoinUser")] - public partial class RspEstimateJoinUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_RSP_ESTIMATE_JOIN_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region UrgentArearInfluence-导航属性:预计影响范围 - /// - /// 导航属性:预计影响范围 - /// - [Route("api/CM/UrgentArearInfluence")] - public partial class UrgentArearInfluenceController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_URGENT_AREAR_INFLUENCE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region UrgentEvent-潜在紧急事件 - /// - /// 潜在紧急事件 - /// - [Route("api/CM/UrgentEvent")] - public partial class UrgentEventController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_URGENT_EVENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region UrgentEventContingencyPlan-预案类型 - /// - /// 预案类型 - /// - [Route("api/CM/UrgentEventContingencyPlan")] - public partial class UrgentEventContingencyPlanController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_URGENT_EVENT_CONTINGENCY_PLAN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region UrgentEventRiskType-导航属性:风险类别 - /// - /// 导航属性:风险类别 - /// - [Route("api/CM/UrgentEventRiskType")] - public partial class UrgentEventRiskTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_CM_URGENT_EVENT_RISK_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Colorset-四色图颜色配置 - /// - /// 四色图颜色配置 - /// - [Route("api/PC/Colorset")] - public partial class ColorsetController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PC_COLORSET entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Info-四色图配置信息 - /// - /// 四色图配置信息 - /// - [Route("api/PC/Info")] - public partial class InfoController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PC_INFO entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InfoColor-安全检查文件 - /// - /// 安全检查文件 - /// - [Route("api/PC/InfoColor")] - public partial class InfoColorController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PC_INFO_COLOR entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InfoColorArea-绑定区域 - /// - /// 绑定区域 - /// - [Route("api/PC/InfoColorArea")] - public partial class InfoColorAreaController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PC_INFO_COLOR_AREA entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InfoColorPoint-安全检查文件 - /// - /// 安全检查文件 - /// - [Route("api/PC/InfoColorPoint")] - public partial class InfoColorPointController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PC_INFO_COLOR_POINT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InfoFile-四色背景图 - /// - /// 四色背景图 - /// - [Route("api/PC/InfoFile")] - public partial class InfoFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PC_INFO_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Category-设备检查库系统分类 - /// - /// 设备检查库系统分类 - /// - [Route("api/DM/Category")] - public partial class CategoryController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_CATEGORY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DetectionInspectionRecord-设备检测检验记录 - /// - /// 设备检测检验记录 - /// - [Route("api/DM/DetectionInspectionRecord")] - public partial class DetectionInspectionRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DETECTION_INSPECTION_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DetectionInspectionRecordFile-检测检验附件 - /// - /// 检测检验附件 - /// - [Route("api/DM/DetectionInspectionRecordFile")] - public partial class DetectionInspectionRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DETECTION_INSPECTION_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Device-设备设施名称维护 - /// - /// 设备设施名称维护 - /// - [Route("api/DM/Device")] - public partial class DeviceController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceApply-设备设施申领 - /// - /// 设备设施申领 - /// - [Route("api/DM/DeviceApply")] - public partial class DeviceApplyController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_APPLY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceApplyDetail-设备设施申领细表 - /// - /// 设备设施申领细表 - /// - [Route("api/DM/DeviceApplyDetail")] - public partial class DeviceApplyDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_APPLY_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceBase-设备设施库 - /// - /// 设备设施库 - /// - [Route("api/DM/DeviceBase")] - public partial class DeviceBaseController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceBaseCheck-设备设施检查明细 - /// - /// 设备设施检查明细 - /// - [Route("api/DM/DeviceBaseCheck")] - public partial class DeviceBaseCheckController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_CHECK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceBaseCheckUser-设备设施检查点检人 - /// - /// 设备设施检查点检人 - /// - [Route("api/DM/DeviceBaseCheckUser")] - public partial class DeviceBaseCheckUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_CHECK_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceBaseFile-设备设施库附件表 - /// - /// 设备设施库附件表 - /// - [Route("api/DM/DeviceBaseFile")] - public partial class DeviceBaseFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceBaseInspection-设备设施检测检验记录 - /// - /// 设备设施检测检验记录 - /// - [Route("api/DM/DeviceBaseInspection")] - public partial class DeviceBaseInspectionController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_INSPECTION entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceBaseInspectionFile-检测检验附件表 - /// - /// 检测检验附件表 - /// - [Route("api/DM/DeviceBaseInspectionFile")] - public partial class DeviceBaseInspectionFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_INSPECTION_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceBaseOverhaul-设备设施检修记录 - /// - /// 设备设施检修记录 - /// - [Route("api/DM/DeviceBaseOverhaul")] - public partial class DeviceBaseOverhaulController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_OVERHAUL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceBaseOverhaulFile-附件表 - /// - /// 附件表 - /// - [Route("api/DM/DeviceBaseOverhaulFile")] - public partial class DeviceBaseOverhaulFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_OVERHAUL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceBasePurchase-设备设施库采购记录 - /// - /// 设备设施库采购记录 - /// - [Route("api/DM/DeviceBasePurchase")] - public partial class DeviceBasePurchaseController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_PURCHASE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceBasePurchaseDetail-设备设施采购明细表 - /// - /// 设备设施采购明细表 - /// - [Route("api/DM/DeviceBasePurchaseDetail")] - public partial class DeviceBasePurchaseDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_PURCHASE_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceBasePurchaseDetailFile-设备设施采购附件表 - /// - /// 设备设施采购附件表 - /// - [Route("api/DM/DeviceBasePurchaseDetailFile")] - public partial class DeviceBasePurchaseDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_PURCHASE_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceBasePurchaseDetailReceiptFile-设备设施采购验收单附件表 - /// - /// 设备设施采购验收单附件表 - /// - [Route("api/DM/DeviceBasePurchaseDetailReceiptFile")] - public partial class DeviceBasePurchaseDetailReceiptFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_PURCHASE_DETAIL_RECEIPT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceBaseReceiptFile-安全验收附件 - /// - /// 安全验收附件 - /// - [Route("api/DM/DeviceBaseReceiptFile")] - public partial class DeviceBaseReceiptFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_RECEIPT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceCheck-设备检查 - /// - /// 设备检查 - /// - [Route("api/DM/DeviceCheck")] - public partial class DeviceCheckController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_CHECK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceCheckDetail-设备检查明细 - /// - /// 设备检查明细 - /// - [Route("api/DM/DeviceCheckDetail")] - public partial class DeviceCheckDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_CHECK_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceCheckDetailFile- - /// - /// - /// - [Route("api/DM/DeviceCheckDetailFile")] - public partial class DeviceCheckDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_CHECK_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceCheckFile-设备检查附件表 - /// - /// 设备检查附件表 - /// - [Route("api/DM/DeviceCheckFile")] - public partial class DeviceCheckFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_CHECK_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceCheckType-设备检查类型 - /// - /// 设备检查类型 - /// - [Route("api/DM/DeviceCheckType")] - public partial class DeviceCheckTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_CHECK_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceCheckUser-设备检查人员 - /// - /// 设备检查人员 - /// - [Route("api/DM/DeviceCheckUser")] - public partial class DeviceCheckUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_CHECK_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceIssue-设备设施发放表 - /// - /// 设备设施发放表 - /// - [Route("api/DM/DeviceIssue")] - public partial class DeviceIssueController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_ISSUE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceIssueDetail-设备设施发放细表 - /// - /// 设备设施发放细表 - /// - [Route("api/DM/DeviceIssueDetail")] - public partial class DeviceIssueDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_ISSUE_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceMaintenanceCheck-设备设施维保 - /// - /// 设备设施维保 - /// - [Route("api/DM/DeviceMaintenanceCheck")] - public partial class DeviceMaintenanceCheckController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_CHECK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceMaintenanceCheckDetail-设备设施维保明细 - /// - /// 设备设施维保明细 - /// - [Route("api/DM/DeviceMaintenanceCheckDetail")] - public partial class DeviceMaintenanceCheckDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_CHECK_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceMaintenanceCheckDetailFile-设备设施维保附件 - /// - /// 设备设施维保附件 - /// - [Route("api/DM/DeviceMaintenanceCheckDetailFile")] - public partial class DeviceMaintenanceCheckDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_CHECK_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceMaintenanceCheckFile-设备设施维保附件 - /// - /// 设备设施维保附件 - /// - [Route("api/DM/DeviceMaintenanceCheckFile")] - public partial class DeviceMaintenanceCheckFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_CHECK_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceMaintenanceCheckUser-维保人员 - /// - /// 维保人员 - /// - [Route("api/DM/DeviceMaintenanceCheckUser")] - public partial class DeviceMaintenanceCheckUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_CHECK_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceMaintenancePlan-设备设施维保计划 - /// - /// 设备设施维保计划 - /// - [Route("api/DM/DeviceMaintenancePlan")] - public partial class DeviceMaintenancePlanController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_PLAN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceMaintenancePlanDetail-设备设施维保计划明细 - /// - /// 设备设施维保计划明细 - /// - [Route("api/DM/DeviceMaintenancePlanDetail")] - public partial class DeviceMaintenancePlanDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_PLAN_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceMaintenancePplanFile-设备维保计划维保工作方案 - /// - /// 设备维保计划维保工作方案 - /// - [Route("api/DM/DeviceMaintenancePplanFile")] - public partial class DeviceMaintenancePplanFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_PPLAN_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceMaintenancePlanUser-计划检查人员 - /// - /// 计划检查人员 - /// - [Route("api/DM/DeviceMaintenancePlanUser")] - public partial class DeviceMaintenancePlanUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_PLAN_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceMaintenancePlanFile-设备维保计划附件表 - /// - /// 设备维保计划附件表 - /// - [Route("api/DM/DeviceMaintenancePlanFile")] - public partial class DeviceMaintenancePlanFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_PLAN_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceOverhaul-检修记录 - /// - /// 检修记录 - /// - [Route("api/DM/DeviceOverhaul")] - public partial class DeviceOverhaulController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_OVERHAUL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceOverhaulFile-设备设施故障报修记录附件表 - /// - /// 设备设施故障报修记录附件表 - /// - [Route("api/DM/DeviceOverhaulFile")] - public partial class DeviceOverhaulFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_OVERHAUL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DevicePurchase-设备设施库采购记录 - /// - /// 设备设施库采购记录 - /// - [Route("api/DM/DevicePurchase")] - public partial class DevicePurchaseController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_PURCHASE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DevicePurchaseDetail-设备设施采购记录明细 - /// - /// 设备设施采购记录明细 - /// - [Route("api/DM/DevicePurchaseDetail")] - public partial class DevicePurchaseDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_PURCHASE_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DevicePurchaseDetailFile-设备设施采购附件表 - /// - /// 设备设施采购附件表 - /// - [Route("api/DM/DevicePurchaseDetailFile")] - public partial class DevicePurchaseDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_PURCHASE_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DevicePurchaseDetailReceiptFile-设备设施采购验收单附件表 - /// - /// 设备设施采购验收单附件表 - /// - [Route("api/DM/DevicePurchaseDetailReceiptFile")] - public partial class DevicePurchaseDetailReceiptFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_PURCHASE_DETAIL_RECEIPT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceRepair-设备设施故障报修 - /// - /// 设备设施故障报修 - /// - [Route("api/DM/DeviceRepair")] - public partial class DeviceRepairController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_REPAIR entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceRepairFile-设备设施故障报修附件表 - /// - /// 设备设施故障报修附件表 - /// - [Route("api/DM/DeviceRepairFile")] - public partial class DeviceRepairFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_REPAIR_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DeviceScrap-设备设施报废 - /// - /// 设备设施报废 - /// - [Route("api/DM/DeviceScrap")] - public partial class DeviceScrapController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_DEVICE_SCRAP entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TimeRun-触发时间配置表 - /// - /// 触发时间配置表 - /// - [Route("api/DM/TimeRun")] - public partial class TimeRunController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_TIME_RUN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TimeRunContent- - /// - /// - /// - [Route("api/DM/TimeRunContent")] - public partial class TimeRunContentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_TIME_RUN_CONTENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Type-设备检查库类型 - /// - /// 设备检查库类型 - /// - [Route("api/DM/Type")] - public partial class TypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_DM_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Lrconfig-法律法规配置 - /// - /// 法律法规配置 - /// - [Route("api/LR/Lrconfig")] - public partial class LrconfigController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LRCONFIG entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region IntegrateUpdateTime-法律法规更新与融入时间 - /// - /// 法律法规更新与融入时间 - /// - [Route("api/LR/IntegrateUpdateTime")] - public partial class IntegrateUpdateTimeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_INTEGRATE_UPDATE_TIME entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DemandDistinguish-安全生产法律法规需求识别表 - /// - /// 安全生产法律法规需求识别表 - /// - [Route("api/LR/DemandDistinguish")] - public partial class DemandDistinguishController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_DEMAND_DISTINGUISH entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DemandType-法律识别需求类别 - /// - /// 法律识别需求类别 - /// - [Route("api/LR/DemandType")] - public partial class DemandTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_DEMAND_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DemandLaw-识别法律法规 - /// - /// 识别法律法规 - /// - [Route("api/LR/DemandLaw")] - public partial class DemandLawController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_DEMAND_LAW entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DemandOther-识别其他 - /// - /// 识别其他 - /// - [Route("api/LR/DemandOther")] - public partial class DemandOtherController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_DEMAND_OTHER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DemandDistinguishReport-法律法规需求分析表 - /// - /// 法律法规需求分析表 - /// - [Route("api/LR/DemandDistinguishReport")] - public partial class DemandDistinguishReportController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_DEMAND_DISTINGUISH_REPORT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DemandDistinguishReportDetail-导航:识别报表明细 - /// - /// 导航:识别报表明细 - /// - [Route("api/LR/DemandDistinguishReportDetail")] - public partial class DemandDistinguishReportDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_DEMAND_DISTINGUISH_REPORT_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LegalList-法律法规获取清单表 - /// - /// 法律法规获取清单表 - /// - [Route("api/LR/LegalList")] - public partial class LegalListController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LEGAL_LIST entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LegalListDetail-导航属性:获取清单明细表 - /// - /// 导航属性:获取清单明细表 - /// - [Route("api/LR/LegalListDetail")] - public partial class LegalListDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LEGAL_LIST_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LegalListDetailUser-导航:需求人员 - /// - /// 导航:需求人员 - /// - [Route("api/LR/LegalListDetailUser")] - public partial class LegalListDetailUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LEGAL_LIST_DETAIL_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LegalListDetailFile-获取清单附件 - /// - /// 获取清单附件 - /// - [Route("api/LR/LegalListDetailFile")] - public partial class LegalListDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LEGAL_LIST_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LawIntegrate-法律法规融入表 - /// - /// 法律法规融入表 - /// - [Route("api/LR/LawIntegrate")] - public partial class LawIntegrateController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LAW_INTEGRATE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LawIntegrateDetail-导航:法律法规融入明细表 - /// - /// 导航:法律法规融入明细表 - /// - [Route("api/LR/LawIntegrateDetail")] - public partial class LawIntegrateDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LAW_INTEGRATE_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LawIntegrateUpdate-法律法规更新与融入表 - /// - /// 法律法规更新与融入表 - /// - [Route("api/LR/LawIntegrateUpdate")] - public partial class LawIntegrateUpdateController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LAW_INTEGRATE_UPDATE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LawIntegrateUpdateDetail-导航:法律法规更新与融入明细表 - /// - /// 导航:法律法规更新与融入明细表 - /// - [Route("api/LR/LawIntegrateUpdateDetail")] - public partial class LawIntegrateUpdateDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LAW_INTEGRATE_UPDATE_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Law-法律法规 - /// - /// 法律法规 - /// - [Route("api/LR/Law")] - public partial class LawController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LAW entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LawVersion-导航:版本号 - /// - /// 导航:版本号 - /// - [Route("api/LR/LawVersion")] - public partial class LawVersionController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LAW_VERSION entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LawVersionFile-法律法规附件 - /// - /// 法律法规附件 - /// - [Route("api/LR/LawVersionFile")] - public partial class LawVersionFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LAW_VERSION_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LawScSystem-导航:关联标准化制度库 - /// - /// 导航:关联标准化制度库 - /// - [Route("api/LR/LawScSystem")] - public partial class LawScSystemController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LAW_SC_SYSTEM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LawType-法律法规知识类别 - /// - /// 法律法规知识类别 - /// - [Route("api/LR/LawType")] - public partial class LawTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LAW_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DemandUser-导航:需求人员 - /// - /// 导航:需求人员 - /// - [Route("api/LR/DemandUser")] - public partial class DemandUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_DEMAND_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LawInstitution-导航:法律法规更新与融入明细制度文件 - /// - /// 导航:法律法规更新与融入明细制度文件 - /// - [Route("api/LR/LawInstitution")] - public partial class LawInstitutionController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LAW_INSTITUTION entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LawUpdate-导航:法律法规更新与融入表 - /// - /// 导航:法律法规更新与融入表 - /// - [Route("api/LR/LawUpdate")] - public partial class LawUpdateController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_LAW_UPDATE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OtherDistinguish-法律法规识别其他表 - /// - /// 法律法规识别其他表 - /// - [Route("api/LR/OtherDistinguish")] - public partial class OtherDistinguishController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_LR_OTHER_DISTINGUISH entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtConfig-会议配置 - /// - /// 会议配置 - /// - [Route("api/SC/MtConfig")] - public partial class MtConfigController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_CONFIG entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtContent-会议内容 - /// - /// 会议内容 - /// - [Route("api/SC/MtContent")] - public partial class MtContentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_CONTENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtContentDeal-会议内容选项 - /// - /// 会议内容选项 - /// - [Route("api/SC/MtContentDeal")] - public partial class MtContentDealController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_CONTENT_DEAL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtContentName-会议内容 - /// - /// 会议内容 - /// - [Route("api/SC/MtContentName")] - public partial class MtContentNameController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_CONTENT_NAME entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeeting-会议通知 - /// - /// 会议通知 - /// - [Route("api/SC/MtMeeting")] - public partial class MtMeetingController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingBegin-别的模块触发生成会议表单 隔离会议模块 - /// - /// 别的模块触发生成会议表单 隔离会议模块 - /// - [Route("api/SC/MtMeetingBegin")] - public partial class MtMeetingBeginController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_BEGIN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingContent-会议内容题库 - /// - /// 会议内容题库 - /// - [Route("api/SC/MtMeetingContent")] - public partial class MtMeetingContentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_CONTENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingEnd-会议结束添加此信息 隔离会议模块 - /// - /// 会议结束添加此信息 隔离会议模块 - /// - [Route("api/SC/MtMeetingEnd")] - public partial class MtMeetingEndController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_END entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingFile-会议附件 - /// - /// 会议附件 - /// - [Route("api/SC/MtMeetingFile")] - public partial class MtMeetingFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingFileOfficialseal-加盖公章的会议通知 - /// - /// 加盖公章的会议通知 - /// - [Route("api/SC/MtMeetingFileOfficialseal")] - public partial class MtMeetingFileOfficialsealController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_FILE_OFFICIALSEAL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingFileRecord-会议记录附件 - /// - /// 会议记录附件 - /// - [Route("api/SC/MtMeetingFileRecord")] - public partial class MtMeetingFileRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_FILE_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingMinutes-会议纪要 - /// - /// 会议纪要 - /// - [Route("api/SC/MtMeetingMinutes")] - public partial class MtMeetingMinutesController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_MINUTES entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingMinutesContent-会议纪要意见 - /// - /// 会议纪要意见 - /// - [Route("api/SC/MtMeetingMinutesContent")] - public partial class MtMeetingMinutesContentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_MINUTES_CONTENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingMinutesContentDeal-会议纪要意见结果 - /// - /// 会议纪要意见结果 - /// - [Route("api/SC/MtMeetingMinutesContentDeal")] - public partial class MtMeetingMinutesContentDealController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_MINUTES_CONTENT_DEAL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingMinutesDetail-会议纪要明细 - /// - /// 会议纪要明细 - /// - [Route("api/SC/MtMeetingMinutesDetail")] - public partial class MtMeetingMinutesDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_MINUTES_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingMinutesDetailFile-会议纪要落实明细附件 - /// - /// 会议纪要落实明细附件 - /// - [Route("api/SC/MtMeetingMinutesDetailFile")] - public partial class MtMeetingMinutesDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_MINUTES_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingMinutesFile-会议纪要附件 - /// - /// 会议纪要附件 - /// - [Route("api/SC/MtMeetingMinutesFile")] - public partial class MtMeetingMinutesFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_MINUTES_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingPabsence-缺席人员 - /// - /// 缺席人员 - /// - [Route("api/SC/MtMeetingPabsence")] - public partial class MtMeetingPabsenceController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_PABSENCE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingPall-应到人员 - /// - /// 应到人员 - /// - [Route("api/SC/MtMeetingPall")] - public partial class MtMeetingPallController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_PALL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingPaskforleave-请假人员 - /// - /// 请假人员 - /// - [Route("api/SC/MtMeetingPaskforleave")] - public partial class MtMeetingPaskforleaveController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_PASKFORLEAVE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingPjoin-参会人员 - /// - /// 参会人员 - /// - [Route("api/SC/MtMeetingPjoin")] - public partial class MtMeetingPjoinController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_PJOIN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingPreview-评审人员 - /// - /// 评审人员 - /// - [Route("api/SC/MtMeetingPreview")] - public partial class MtMeetingPreviewController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_PREVIEW entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingTheme-会议主题 - /// - /// 会议主题 - /// - [Route("api/SC/MtMeetingTheme")] - public partial class MtMeetingThemeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_THEME entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMeetingThemes-会议通知主题 - /// - /// 会议通知主题 - /// - [Route("api/SC/MtMeetingThemes")] - public partial class MtMeetingThemesController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MEETING_THEMES entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtMinutesPreview-评审人员 - /// - /// 评审人员 - /// - [Route("api/SC/MtMinutesPreview")] - public partial class MtMinutesPreviewController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_MINUTES_PREVIEW entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtPlanSet-会议计划 - /// - /// 会议计划 - /// - [Route("api/SC/MtPlanSet")] - public partial class MtPlanSetController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_PLAN_SET entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MtPlanSetDepartment-会议计划限制部门 - /// - /// 会议计划限制部门 - /// - [Route("api/SC/MtPlanSetDepartment")] - public partial class MtPlanSetDepartmentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_MT_PLAN_SET_DEPARTMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafePdtSigned-安全生产责任制签订表 - /// - /// 安全生产责任制签订表 - /// - [Route("api/OG/SafePdtSigned")] - public partial class SafePdtSignedController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_SAFE_PDT_SIGNED entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafePdtSignedPost-责任制岗位关联表 - /// - /// 责任制岗位关联表 - /// - [Route("api/OG/SafePdtSignedPost")] - public partial class SafePdtSignedPostController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_SAFE_PDT_SIGNED_POST entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafePdtAssessPlanCheck-安全生产责任制考核方案审核表 - /// - /// 安全生产责任制考核方案审核表 - /// - [Route("api/OG/SafePdtAssessPlanCheck")] - public partial class SafePdtAssessPlanCheckController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_SAFE_PDT_ASSESS_PLAN_CHECK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafePdtAssessPlanCheckDetail-导航属性:考核方案审核细表 - /// - /// 导航属性:考核方案审核细表 - /// - [Route("api/OG/SafePdtAssessPlanCheckDetail")] - public partial class SafePdtAssessPlanCheckDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafePdtAssessPlanCheckDetailContent-考核方案录入 - /// - /// 考核方案录入 - /// - [Route("api/OG/SafePdtAssessPlanCheckDetailContent")] - public partial class SafePdtAssessPlanCheckDetailContentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_DETAIL_CONTENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafePdtAssessPlanCheckFile-附件 - /// - /// 附件 - /// - [Route("api/OG/SafePdtAssessPlanCheckFile")] - public partial class SafePdtAssessPlanCheckFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeAssessPlanInput-安全生产责任制考核方案库 - /// - /// 安全生产责任制考核方案库 - /// - [Route("api/OG/SafeAssessPlanInput")] - public partial class SafeAssessPlanInputController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_SAFE_ASSESS_PLAN_INPUT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeAssessItem-考核项目 - /// - /// 考核项目 - /// - [Route("api/OG/SafeAssessItem")] - public partial class SafeAssessItemController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_SAFE_ASSESS_ITEM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeAssessRecord-考核记录 - /// - /// 考核记录 - /// - [Route("api/OG/SafeAssessRecord")] - public partial class SafeAssessRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_SAFE_ASSESS_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeAssessRecordDetail-考核记录详情 - /// - /// 考核记录详情 - /// - [Route("api/OG/SafeAssessRecordDetail")] - public partial class SafeAssessRecordDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_SAFE_ASSESS_RECORD_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeAssessRecordItem-考核记录项目 - /// - /// 考核记录项目 - /// - [Route("api/OG/SafeAssessRecordItem")] - public partial class SafeAssessRecordItemController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_SAFE_ASSESS_RECORD_ITEM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Agency-机构表 - /// - /// 机构表 - /// - [Route("api/OG/Agency")] - public partial class AgencyController : AuthorizeTreeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_AGENCY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - /// - /// 获得树形实体数据 - /// - /// - /// - [HttpPost, Route("TreeData")] - public JsonActionResult>> TreeData([FromBody] KeywordFilter filter) - { - return WitTreeOrderEntities(null, filter); - } - - - } - #endregion - - #region AgencyUser-机构人员 - /// - /// 机构人员 - /// - [Route("api/OG/AgencyUser")] - public partial class AgencyUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_AGENCY_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Ogconfig-组织保障模块基础配置 - /// - /// 组织保障模块基础配置 - /// - [Route("api/OG/Ogconfig")] - public partial class OgconfigController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_OGCONFIG entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PolicyDocument-人员任命书 - /// - /// 人员任命书 - /// - [Route("api/OG/PolicyDocument")] - public partial class PolicyDocumentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_POLICY_DOCUMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PolicyDocumentDetail-人员任命书子表 - /// - /// 人员任命书子表 - /// - [Route("api/OG/PolicyDocumentDetail")] - public partial class PolicyDocumentDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_POLICY_DOCUMENT_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PolicyDocumentType-方针文件库类型 - /// - /// 方针文件库类型 - /// - [Route("api/OG/PolicyDocumentType")] - public partial class PolicyDocumentTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_POLICY_DOCUMENT_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PolicyDocumentDetailFile-文件库子表附件表 - /// - /// 文件库子表附件表 - /// - [Route("api/OG/PolicyDocumentDetailFile")] - public partial class PolicyDocumentDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_POLICY_DOCUMENT_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PolicyDocumentDetailAppointUser-文件库人员任命书子表 - /// - /// 文件库人员任命书子表 - /// - [Route("api/OG/PolicyDocumentDetailAppointUser")] - public partial class PolicyDocumentDetailAppointUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_POLICY_DOCUMENT_DETAIL_APPOINT_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EmployeeOpinionCollection-员工意见征集表 - /// - /// 员工意见征集表 - /// - [Route("api/OG/EmployeeOpinionCollection")] - public partial class EmployeeOpinionCollectionController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_OPINION_COLLECTION entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EmployeeOpinionCollectionUser-员工意见征集表意见反馈表 - /// - /// 员工意见征集表意见反馈表 - /// - [Route("api/OG/EmployeeOpinionCollectionUser")] - public partial class EmployeeOpinionCollectionUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_OPINION_COLLECTION_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EmployeeOpinionCollectionUserFile-员工意见征集表附件 - /// - /// 员工意见征集表附件 - /// - [Route("api/OG/EmployeeOpinionCollectionUserFile")] - public partial class EmployeeOpinionCollectionUserFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_OPINION_COLLECTION_USER_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EmployeeOpinion-员工意见反馈 - /// - /// 员工意见反馈 - /// - [Route("api/OG/EmployeeOpinion")] - public partial class EmployeeOpinionController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_OPINION entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EmployeeOpinionReport-员工意见上报表 - /// - /// 员工意见上报表 - /// - [Route("api/OG/EmployeeOpinionReport")] - public partial class EmployeeOpinionReportController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_OPINION_REPORT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EmployeeOpinionSuggestionFile-员工意见上报表表附件 - /// - /// 员工意见上报表表附件 - /// - [Route("api/OG/EmployeeOpinionSuggestionFile")] - public partial class EmployeeOpinionSuggestionFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_OPINION_SUGGESTION_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EmployeeOpinionImplementFile-员工意见表落实文件附件 - /// - /// 员工意见表落实文件附件 - /// - [Route("api/OG/EmployeeOpinionImplementFile")] - public partial class EmployeeOpinionImplementFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_OPINION_IMPLEMENT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EmployeeRefuseItemReport-员工拒绝事项上报表 - /// - /// 员工拒绝事项上报表 - /// - [Route("api/OG/EmployeeRefuseItemReport")] - public partial class EmployeeRefuseItemReportController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_REFUSE_ITEM_REPORT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EmployeeRefuseItemReportFile-员工拒绝事项上报表 - /// - /// 员工拒绝事项上报表 - /// - [Route("api/OG/EmployeeRefuseItemReportFile")] - public partial class EmployeeRefuseItemReportFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_REFUSE_ITEM_REPORT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EmployeeRefuseItemInvestigationFile-员工拒绝事项上报表调查文件附件 - /// - /// 员工拒绝事项上报表调查文件附件 - /// - [Route("api/OG/EmployeeRefuseItemInvestigationFile")] - public partial class EmployeeRefuseItemInvestigationFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_REFUSE_ITEM_INVESTIGATION_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InnerContact-内部联系记录表 - /// - /// 内部联系记录表 - /// - [Route("api/OG/InnerContact")] - public partial class InnerContactController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_INNER_CONTACT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InnerContactItemFile-沟通事项文件 - /// - /// 沟通事项文件 - /// - [Route("api/OG/InnerContactItemFile")] - public partial class InnerContactItemFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_INNER_CONTACT_ITEM_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InnerContactDoFile-落实情况文件 - /// - /// 落实情况文件 - /// - [Route("api/OG/InnerContactDoFile")] - public partial class InnerContactDoFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_INNER_CONTACT_DO_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Related-相关方基本信息表 - /// - /// 相关方基本信息表 - /// - [Route("api/OG/Related")] - public partial class RelatedController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedAgreement-合同/协议表 - /// - /// 合同/协议表 - /// - [Route("api/OG/RelatedAgreement")] - public partial class RelatedAgreementController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_AGREEMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedAgreementFile-合同附件 - /// - /// 合同附件 - /// - [Route("api/OG/RelatedAgreementFile")] - public partial class RelatedAgreementFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_AGREEMENT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedQualification-资质情况表 - /// - /// 资质情况表 - /// - [Route("api/OG/RelatedQualification")] - public partial class RelatedQualificationController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_QUALIFICATION entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedQualificationDetail-资质录入页面表 - /// - /// 资质录入页面表 - /// - [Route("api/OG/RelatedQualificationDetail")] - public partial class RelatedQualificationDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_QUALIFICATION_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedQualificationDetailFile-附件 - /// - /// 附件 - /// - [Route("api/OG/RelatedQualificationDetailFile")] - public partial class RelatedQualificationDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_QUALIFICATION_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedUser-人员信息表 - /// - /// 人员信息表 - /// - [Route("api/OG/RelatedUser")] - public partial class RelatedUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedUserHealth-健康档案 - /// - /// 健康档案 - /// - [Route("api/OG/RelatedUserHealth")] - public partial class RelatedUserHealthController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_USER_HEALTH entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedUserSign-签名 - /// - /// 签名 - /// - [Route("api/OG/RelatedUserSign")] - public partial class RelatedUserSignController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_USER_SIGN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedUserInsurance-保险证明 - /// - /// 保险证明 - /// - [Route("api/OG/RelatedUserInsurance")] - public partial class RelatedUserInsuranceController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_USER_INSURANCE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedEstimate-相关方安全表现评估表 - /// - /// 相关方安全表现评估表 - /// - [Route("api/OG/RelatedEstimate")] - public partial class RelatedEstimateController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_ESTIMATE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedEstimateDetail-相关方安全表现评估表估项目中间表 - /// - /// 相关方安全表现评估表估项目中间表 - /// - [Route("api/OG/RelatedEstimateDetail")] - public partial class RelatedEstimateDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_ESTIMATE_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExternalContactDetail-外部联系对象清单 - /// - /// 外部联系对象清单 - /// - [Route("api/OG/ExternalContactDetail")] - public partial class ExternalContactDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EXTERNAL_CONTACT_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExternalContactCommunicate-外部联系沟通记录 - /// - /// 外部联系沟通记录 - /// - [Route("api/OG/ExternalContactCommunicate")] - public partial class ExternalContactCommunicateController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EXTERNAL_CONTACT_COMMUNICATE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExternalContactCommunicateFile-外部联系沟通记录 - /// - /// 外部联系沟通记录 - /// - [Route("api/OG/ExternalContactCommunicateFile")] - public partial class ExternalContactCommunicateFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EXTERNAL_CONTACT_COMMUNICATE_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExternalContactCommunicateImplFile-外部联系沟通落实 - /// - /// 外部联系沟通落实 - /// - [Route("api/OG/ExternalContactCommunicateImplFile")] - public partial class ExternalContactCommunicateImplFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EXTERNAL_CONTACT_COMMUNICATE_IMPL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExternalComplainAdvise-外部单位投诉建议 - /// - /// 外部单位投诉建议 - /// - [Route("api/OG/ExternalComplainAdvise")] - public partial class ExternalComplainAdviseController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EXTERNAL_COMPLAIN_ADVISE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExternalComplainAdviseFile-外部单位投诉建议附件 - /// - /// 外部单位投诉建议附件 - /// - [Route("api/OG/ExternalComplainAdviseFile")] - public partial class ExternalComplainAdviseFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EXTERNAL_COMPLAIN_ADVISE_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExternalComplainAdviseSurveyFile-外部单位投诉建议调查附件 - /// - /// 外部单位投诉建议调查附件 - /// - [Route("api/OG/ExternalComplainAdviseSurveyFile")] - public partial class ExternalComplainAdviseSurveyFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EXTERNAL_COMPLAIN_ADVISE_SURVEY_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ApproveRewardPunishmentReport-认可与奖励上报表 - /// - /// 认可与奖励上报表 - /// - [Route("api/OG/ApproveRewardPunishmentReport")] - public partial class ApproveRewardPunishmentReportController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_APPROVE_REWARD_PUNISHMENT_REPORT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ApproveRewardPunishmentDetail-奖励与惩罚详情 - /// - /// 奖励与惩罚详情 - /// - [Route("api/OG/ApproveRewardPunishmentDetail")] - public partial class ApproveRewardPunishmentDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_APPROVE_REWARD_PUNISHMENT_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EventGet-工余事件征集 - /// - /// 工余事件征集 - /// - [Route("api/OG/EventGet")] - public partial class EventGetController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EVENT_GET entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EventGetDetail-工余事件征集数据 - /// - /// 工余事件征集数据 - /// - [Route("api/OG/EventGetDetail")] - public partial class EventGetDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EVENT_GET_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EventGetDetailItem-事件项 - /// - /// 事件项 - /// - [Route("api/OG/EventGetDetailItem")] - public partial class EventGetDetailItemController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EVENT_GET_DETAIL_ITEM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EventGetDetailFile-征集附件 - /// - /// 征集附件 - /// - [Route("api/OG/EventGetDetailFile")] - public partial class EventGetDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EVENT_GET_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EventReport-工余事件上报及处理表 - /// - /// 工余事件上报及处理表 - /// - [Route("api/OG/EventReport")] - public partial class EventReportController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EVENT_REPORT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EventReportFile-征集附件 - /// - /// 征集附件 - /// - [Route("api/OG/EventReportFile")] - public partial class EventReportFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EVENT_REPORT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EventReportSum-工余事件上报及处理汇总 - /// - /// 工余事件上报及处理汇总 - /// - [Route("api/OG/EventReportSum")] - public partial class EventReportSumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EVENT_REPORT_SUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region StandardizationSystemReview-标准化系统评审意见表 - /// - /// 标准化系统评审意见表 - /// - [Route("api/OG/StandardizationSystemReview")] - public partial class StandardizationSystemReviewController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_SYSTEM_REVIEW entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region StandardizationReviewItemsRel-标准化系统评审项目 - /// - /// 标准化系统评审项目 - /// - [Route("api/OG/StandardizationReviewItemsRel")] - public partial class StandardizationReviewItemsRelController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_REVIEW_ITEMS_REL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region StandardizationPersonRel-标准化系统评审人员 - /// - /// 标准化系统评审人员 - /// - [Route("api/OG/StandardizationPersonRel")] - public partial class StandardizationPersonRelController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_PERSON_REL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region StandardizationReviewResultRel-标准化系统评审结论 - /// - /// 标准化系统评审结论 - /// - [Route("api/OG/StandardizationReviewResultRel")] - public partial class StandardizationReviewResultRelController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_REVIEW_RESULT_REL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region StandardizationActionPlanRel-标准化系统评审行动计划 - /// - /// 标准化系统评审行动计划 - /// - [Route("api/OG/StandardizationActionPlanRel")] - public partial class StandardizationActionPlanRelController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_ACTION_PLAN_REL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region StandardizationReviewItemEnum-评审项目 - /// - /// 评审项目 - /// - [Route("api/OG/StandardizationReviewItemEnum")] - public partial class StandardizationReviewItemEnumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_REVIEW_ITEM_ENUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region StandardizationActionPlanEnum-行动计划 - /// - /// 行动计划 - /// - [Route("api/OG/StandardizationActionPlanEnum")] - public partial class StandardizationActionPlanEnumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_ACTION_PLAN_ENUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EmployeeItemCategoryEnum-事项类别 - /// - /// 事项类别 - /// - [Route("api/OG/EmployeeItemCategoryEnum")] - public partial class EmployeeItemCategoryEnumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_ITEM_CATEGORY_ENUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedQualificationDetailItem-项目 - /// - /// 项目 - /// - [Route("api/OG/RelatedQualificationDetailItem")] - public partial class RelatedQualificationDetailItemController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_QUALIFICATION_DETAIL_ITEM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ApproveRewardPunishmentReason-奖励惩罚原因表 - /// - /// 奖励惩罚原因表 - /// - [Route("api/OG/ApproveRewardPunishmentReason")] - public partial class ApproveRewardPunishmentReasonController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_APPROVE_REWARD_PUNISHMENT_REASON entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PersonnelTypeEnum-任命人员类型 - /// - /// 任命人员类型 - /// - [Route("api/OG/PersonnelTypeEnum")] - public partial class PersonnelTypeEnumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_PERSONNEL_TYPE_ENUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedEstimateItem-评估项目表 - /// - /// 评估项目表 - /// - [Route("api/OG/RelatedEstimateItem")] - public partial class RelatedEstimateItemController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_ESTIMATE_ITEM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedQualificationLevel-资质等级表 - /// - /// 资质等级表 - /// - [Route("api/OG/RelatedQualificationLevel")] - public partial class RelatedQualificationLevelController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_QUALIFICATION_LEVEL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedUserType-人员类型 - /// - /// 人员类型 - /// - [Route("api/OG/RelatedUserType")] - public partial class RelatedUserTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_USER_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region StandardizationReviewResultEnum-评审结论 - /// - /// 评审结论 - /// - [Route("api/OG/StandardizationReviewResultEnum")] - public partial class StandardizationReviewResultEnumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedFireUser-负责人签名 - /// - /// 负责人签名 - /// - [Route("api/OG/RelatedFireUser")] - public partial class RelatedFireUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_FIRE_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedSafeUser-安全员签名 - /// - /// 安全员签名 - /// - [Route("api/OG/RelatedSafeUser")] - public partial class RelatedSafeUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OG_RELATED_SAFE_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExamNoticeOccHazard-体检通知人员职业危害中间表 - /// - /// 体检通知人员职业危害中间表 - /// - [Route("api/OH/ExamNoticeOccHazard")] - public partial class ExamNoticeOccHazardController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_EXAM_NOTICE_OCC_HAZARD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExamResultOccHazard-体检结果职业危害中间表 - /// - /// 体检结果职业危害中间表 - /// - [Route("api/OH/ExamResultOccHazard")] - public partial class ExamResultOccHazardController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_EXAM_RESULT_OCC_HAZARD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HazardMonitorJob-职业危害监测 - /// - /// 职业危害监测 - /// - [Route("api/OH/HazardMonitorJob")] - public partial class HazardMonitorJobController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_JOB entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HazardMonitorJobDetail-职业危害监测明细 - /// - /// 职业危害监测明细 - /// - [Route("api/OH/HazardMonitorJobDetail")] - public partial class HazardMonitorJobDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_JOB_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HazardMonitorJobFile-监测作业附件 - /// - /// 监测作业附件 - /// - [Route("api/OH/HazardMonitorJobFile")] - public partial class HazardMonitorJobFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_JOB_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HazardMonitorJobReport-职业危害监测报告 - /// - /// 职业危害监测报告 - /// - [Route("api/OH/HazardMonitorJobReport")] - public partial class HazardMonitorJobReportController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_JOB_REPORT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HazardMonitorJobReportFile-职业危害监测报告附件 - /// - /// 职业危害监测报告附件 - /// - [Route("api/OH/HazardMonitorJobReportFile")] - public partial class HazardMonitorJobReportFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_JOB_REPORT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HazardMonitorResult-监测结果统计与分析 - /// - /// 监测结果统计与分析 - /// - [Route("api/OH/HazardMonitorResult")] - public partial class HazardMonitorResultController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_RESULT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HazardMonitorResultSum-监测结果统计与分析汇总 - /// - /// 监测结果统计与分析汇总 - /// - [Route("api/OH/HazardMonitorResultSum")] - public partial class HazardMonitorResultSumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_RESULT_SUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HazardMonitorRule-职业危害因素监测规则 - /// - /// 职业危害因素监测规则 - /// - [Route("api/OH/HazardMonitorRule")] - public partial class HazardMonitorRuleController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_RULE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HazardMonitorType-危害监测类型 - /// - /// 危害监测类型 - /// - [Route("api/OH/HazardMonitorType")] - public partial class HazardMonitorTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthEaxmCycleOccHazardMid-体检周期职业危害中间表 - /// - /// 体检周期职业危害中间表 - /// - [Route("api/OH/HealthEaxmCycleOccHazardMid")] - public partial class HealthEaxmCycleOccHazardMidController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EAXM_CYCLE_OCC_HAZARD_MID entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthEaxmCyclePostMid-体检周期岗位中间表 - /// - /// 体检周期岗位中间表 - /// - [Route("api/OH/HealthEaxmCyclePostMid")] - public partial class HealthEaxmCyclePostMidController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EAXM_CYCLE_POST_MID entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthEaxmPlanDepartment-体检计划上报部门中间表 - /// - /// 体检计划上报部门中间表 - /// - [Route("api/OH/HealthEaxmPlanDepartment")] - public partial class HealthEaxmPlanDepartmentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EAXM_PLAN_DEPARTMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamBatch-体检批次 - /// - /// 体检批次 - /// - [Route("api/OH/HealthExamBatch")] - public partial class HealthExamBatchController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_BATCH entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamBatchDepartment-体检批次部门 - /// - /// 体检批次部门 - /// - [Route("api/OH/HealthExamBatchDepartment")] - public partial class HealthExamBatchDepartmentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_BATCH_DEPARTMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamCycle-体检周期表 - /// - /// 体检周期表 - /// - [Route("api/OH/HealthExamCycle")] - public partial class HealthExamCycleController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_CYCLE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamCycleDepartmentinfo-体检周期部门信息 - /// - /// 体检周期部门信息 - /// - [Route("api/OH/HealthExamCycleDepartmentinfo")] - public partial class HealthExamCycleDepartmentinfoController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_CYCLE_DEPARTMENTINFO entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamCycleDepartmentinfoPost-体检周期岗位 - /// - /// 体检周期岗位 - /// - [Route("api/OH/HealthExamCycleDepartmentinfoPost")] - public partial class HealthExamCycleDepartmentinfoPostController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_CYCLE_DEPARTMENTINFO_POST entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamNotice-体检通知 - /// - /// 体检通知 - /// - [Route("api/OH/HealthExamNotice")] - public partial class HealthExamNoticeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_NOTICE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamNoticeFile-体检通知附件 - /// - /// 体检通知附件 - /// - [Route("api/OH/HealthExamNoticeFile")] - public partial class HealthExamNoticeFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_NOTICE_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamNoticeRegister-体检人员安排 - /// - /// 体检人员安排 - /// - [Route("api/OH/HealthExamNoticeRegister")] - public partial class HealthExamNoticeRegisterController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_NOTICE_REGISTER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamOccDisease-职业病名称 - /// - /// 职业病名称 - /// - [Route("api/OH/HealthExamOccDisease")] - public partial class HealthExamOccDiseaseController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_OCC_DISEASE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamOccDiseaseSeverityLevel-职业病严重等级 - /// - /// 职业病严重等级 - /// - [Route("api/OH/HealthExamOccDiseaseSeverityLevel")] - public partial class HealthExamOccDiseaseSeverityLevelController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_OCC_DISEASE_SEVERITY_LEVEL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamPlan-体检计划表 - /// - /// 体检计划表 - /// - [Route("api/OH/HealthExamPlan")] - public partial class HealthExamPlanController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_PLAN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamPlanRegister-体检员工登记表 - /// - /// 体检员工登记表 - /// - [Route("api/OH/HealthExamPlanRegister")] - public partial class HealthExamPlanRegisterController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_PLAN_REGISTER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamPlanRegisterHazard-体检周期职业危害中间表 - /// - /// 体检周期职业危害中间表 - /// - [Route("api/OH/HealthExamPlanRegisterHazard")] - public partial class HealthExamPlanRegisterHazardController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_PLAN_REGISTER_HAZARD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamResult-体检结果 - /// - /// 体检结果 - /// - [Route("api/OH/HealthExamResult")] - public partial class HealthExamResultController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_RESULT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamResultImport-体检结果导入 - /// - /// 体检结果导入 - /// - [Route("api/OH/HealthExamResultImport")] - public partial class HealthExamResultImportController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_RESULT_IMPORT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamResultOccDisease-职业病信息 - /// - /// 职业病信息 - /// - [Route("api/OH/HealthExamResultOccDisease")] - public partial class HealthExamResultOccDiseaseController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_RESULT_OCC_DISEASE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HealthExamResultOccDiseaseFile-职业病信息附件 - /// - /// 职业病信息附件 - /// - [Route("api/OH/HealthExamResultOccDiseaseFile")] - public partial class HealthExamResultOccDiseaseFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_RESULT_OCC_DISEASE_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Runconfig-职业卫生基础配置 - /// - /// 职业卫生基础配置 - /// - [Route("api/OH/Runconfig")] - public partial class RunconfigController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_OH_RUNCONFIG entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AssessmentItem-考评项目表 - /// - /// 考评项目表 - /// - [Route("api/PE/AssessmentItem")] - public partial class AssessmentItemController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_ASSESSMENT_ITEM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CorrectivePreventive-纠正与预防措施通知单 - /// - /// 纠正与预防措施通知单 - /// - [Route("api/PE/CorrectivePreventive")] - public partial class CorrectivePreventiveController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CorrectivePreventiveDetail-纠正与预防措施通知单明细表 - /// - /// 纠正与预防措施通知单明细表 - /// - [Route("api/PE/CorrectivePreventiveDetail")] - public partial class CorrectivePreventiveDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CorrectivePreventiveEvaluation-纠正与预防措施评估表 - /// - /// 纠正与预防措施评估表 - /// - [Route("api/PE/CorrectivePreventiveEvaluation")] - public partial class CorrectivePreventiveEvaluationController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_EVALUATION entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CorrectivePreventiveEvaluationConsider-措施考虑因素 - /// - /// 措施考虑因素 - /// - [Route("api/PE/CorrectivePreventiveEvaluationConsider")] - public partial class CorrectivePreventiveEvaluationConsiderController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_CONSIDER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CorrectivePreventiveEvaluationDetail-纠正与预防措施评估明细表 - /// - /// 纠正与预防措施评估明细表 - /// - [Route("api/PE/CorrectivePreventiveEvaluationDetail")] - public partial class CorrectivePreventiveEvaluationDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CorrectivePreventiveEvaluationDetailConsider-措施考虑因素 - /// - /// 措施考虑因素 - /// - [Route("api/PE/CorrectivePreventiveEvaluationDetailConsider")] - public partial class CorrectivePreventiveEvaluationDetailConsiderController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_CONSIDER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CorrectivePreventiveEvaluationDetailFile-附件上传 - /// - /// 附件上传 - /// - [Route("api/PE/CorrectivePreventiveEvaluationDetailFile")] - public partial class CorrectivePreventiveEvaluationDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CorrectivePreventiveProcess-纠正与预防措施处理单 - /// - /// 纠正与预防措施处理单 - /// - [Route("api/PE/CorrectivePreventiveProcess")] - public partial class CorrectivePreventiveProcessController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_PROCESS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CorrectivePreventiveProcessDetail-纠正与预防措施处理单明细表 - /// - /// 纠正与预防措施处理单明细表 - /// - [Route("api/PE/CorrectivePreventiveProcessDetail")] - public partial class CorrectivePreventiveProcessDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_PROCESS_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CorrectivePreventiveProcessDetailFile-附件上传 - /// - /// 附件上传 - /// - [Route("api/PE/CorrectivePreventiveProcessDetailFile")] - public partial class CorrectivePreventiveProcessDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_PROCESS_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region EvaluationMethod-评价方法 - /// - /// 评价方法 - /// - [Route("api/PE/EvaluationMethod")] - public partial class EvaluationMethodController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_EVALUATION_METHOD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MeasureConsider-措施考虑因素 - /// - /// 措施考虑因素 - /// - [Route("api/PE/MeasureConsider")] - public partial class MeasureConsiderController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_MEASURE_CONSIDER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MonitorProject-监测项目 - /// - /// 监测项目 - /// - [Route("api/PE/MonitorProject")] - public partial class MonitorProjectController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_MONITOR_PROJECT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyEvaluationPlan-安全标准化内部评价计划录入表 - /// - /// 安全标准化内部评价计划录入表 - /// - [Route("api/PE/SafetyEvaluationPlan")] - public partial class SafetyEvaluationPlanController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_PLAN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyEvaluationPlanDetail-安全标准化内部评价计划录入细表 - /// - /// 安全标准化内部评价计划录入细表 - /// - [Route("api/PE/SafetyEvaluationPlanDetail")] - public partial class SafetyEvaluationPlanDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_PLAN_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyEvaluationPlanMethod-评价方法表 - /// - /// 评价方法表 - /// - [Route("api/PE/SafetyEvaluationPlanMethod")] - public partial class SafetyEvaluationPlanMethodController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_PLAN_METHOD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyEvaluationPlanUser-评价人员表 - /// - /// 评价人员表 - /// - [Route("api/PE/SafetyEvaluationPlanUser")] - public partial class SafetyEvaluationPlanUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_PLAN_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyEvaluationRecord-安全标准化内部评价记录表 - /// - /// 安全标准化内部评价记录表 - /// - [Route("api/PE/SafetyEvaluationRecord")] - public partial class SafetyEvaluationRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyEvaluationRecordDetail-安全标准化内部评价记录细表 - /// - /// 安全标准化内部评价记录细表 - /// - [Route("api/PE/SafetyEvaluationRecordDetail")] - public partial class SafetyEvaluationRecordDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_RECORD_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyEvaluationRecordMethod-评价方法表 - /// - /// 评价方法表 - /// - [Route("api/PE/SafetyEvaluationRecordMethod")] - public partial class SafetyEvaluationRecordMethodController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_RECORD_METHOD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyEvaluationRecordUser-评价人员表 - /// - /// 评价人员表 - /// - [Route("api/PE/SafetyEvaluationRecordUser")] - public partial class SafetyEvaluationRecordUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_RECORD_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyMonitorPlan-年度安全绩效监测计划 - /// - /// 年度安全绩效监测计划 - /// - [Route("api/PE/SafetyMonitorPlan")] - public partial class SafetyMonitorPlanController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_SAFETY_MONITOR_PLAN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyMonitorPlanDetail-年度安全绩效监测计划细表 - /// - /// 年度安全绩效监测计划细表 - /// - [Route("api/PE/SafetyMonitorPlanDetail")] - public partial class SafetyMonitorPlanDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_SAFETY_MONITOR_PLAN_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyMonitorRecord-安全绩效监测记录 - /// - /// 安全绩效监测记录 - /// - [Route("api/PE/SafetyMonitorRecord")] - public partial class SafetyMonitorRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_SAFETY_MONITOR_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyMonitorRecordDetail-安全绩效监测记录细表 - /// - /// 安全绩效监测记录细表 - /// - [Route("api/PE/SafetyMonitorRecordDetail")] - public partial class SafetyMonitorRecordDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_SAFETY_MONITOR_RECORD_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyMonitorRecordDetailFile-附件上传 - /// - /// 附件上传 - /// - [Route("api/PE/SafetyMonitorRecordDetailFile")] - public partial class SafetyMonitorRecordDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_SAFETY_MONITOR_RECORD_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyMonitorRecordUser-监测人员表 - /// - /// 监测人员表 - /// - [Route("api/PE/SafetyMonitorRecordUser")] - public partial class SafetyMonitorRecordUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_SAFETY_MONITOR_RECORD_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region StandardizedScoreAutoDetail-标准化评分自动评分表 - /// - /// 标准化评分自动评分表 - /// - [Route("api/PE/StandardizedScoreAutoDetail")] - public partial class StandardizedScoreAutoDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_STANDARDIZED_SCORE_AUTO_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region StandardizedScoreImport-标准化评分导入 - /// - /// 标准化评分导入 - /// - [Route("api/PE/StandardizedScoreImport")] - public partial class StandardizedScoreImportController : AuthorizeTreeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_STANDARDIZED_SCORE_IMPORT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - /// - /// 获得树形实体数据 - /// - /// - /// - [HttpPost, Route("TreeData")] - public JsonActionResult>> TreeData([FromBody] KeywordFilter filter) - { - return WitTreeOrderEntities(null, filter); - } - - - } - #endregion - - #region StandardizedScoreImportDetail-标准化评分导入明细表 - /// - /// 标准化评分导入明细表 - /// - [Route("api/PE/StandardizedScoreImportDetail")] - public partial class StandardizedScoreImportDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_STANDARDIZED_SCORE_IMPORT_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region StandardizedScoreImportItem-标准化评分导入细表 - /// - /// 标准化评分导入细表 - /// - [Route("api/PE/StandardizedScoreImportItem")] - public partial class StandardizedScoreImportItemController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PE_STANDARDIZED_SCORE_IMPORT_ITEM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AuditRequirement-审核要求表 - /// - /// 审核要求表 - /// - [Route("api/PR/AuditRequirement")] - public partial class AuditRequirementController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_AUDIT_REQUIREMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ChangeAcceptance-变化管理验收表 - /// - /// 变化管理验收表 - /// - [Route("api/PR/ChangeAcceptance")] - public partial class ChangeAcceptanceController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_CHANGE_ACCEPTANCE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ChangeIdentifyEvaluation-变化识别评估表 - /// - /// 变化识别评估表 - /// - [Route("api/PR/ChangeIdentifyEvaluation")] - public partial class ChangeIdentifyEvaluationController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_CHANGE_IDENTIFY_EVALUATION entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ChangeIdentifyEvaluationTask-变化后执行任务表 - /// - /// 变化后执行任务表 - /// - [Route("api/PR/ChangeIdentifyEvaluationTask")] - public partial class ChangeIdentifyEvaluationTaskController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_CHANGE_IDENTIFY_EVALUATION_TASK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ChangeIdentifyEvaluationType-变化类型表 - /// - /// 变化类型表 - /// - [Route("api/PR/ChangeIdentifyEvaluationType")] - public partial class ChangeIdentifyEvaluationTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_CHANGE_IDENTIFY_EVALUATION_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ChangeTaskImplement-变化管理任务落实表 - /// - /// 变化管理任务落实表 - /// - [Route("api/PR/ChangeTaskImplement")] - public partial class ChangeTaskImplementController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_CHANGE_TASK_IMPLEMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ChangeTaskImplementFile-附件表 - /// - /// 附件表 - /// - [Route("api/PR/ChangeTaskImplementFile")] - public partial class ChangeTaskImplementFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_CHANGE_TASK_IMPLEMENT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ChangeTaskImplementUser-执行人员表 - /// - /// 执行人员表 - /// - [Route("api/PR/ChangeTaskImplementUser")] - public partial class ChangeTaskImplementUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_CHANGE_TASK_IMPLEMENT_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ChangeType-变化类型表 - /// - /// 变化类型表 - /// - [Route("api/PR/ChangeType")] - public partial class ChangeTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_CHANGE_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ControlroomOperationRecord-控制室运行记录 - /// - /// 控制室运行记录 - /// - [Route("api/PR/ControlroomOperationRecord")] - public partial class ControlroomOperationRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_CONTROLROOM_OPERATION_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ControlroomOperationRecordAir-进气总气压 - /// - /// 进气总气压 - /// - [Route("api/PR/ControlroomOperationRecordAir")] - public partial class ControlroomOperationRecordAirController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_CONTROLROOM_OPERATION_RECORD_AIR entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ControlroomOperationRecordDeal-处理量估算 - /// - /// 处理量估算 - /// - [Route("api/PR/ControlroomOperationRecordDeal")] - public partial class ControlroomOperationRecordDealController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_CONTROLROOM_OPERATION_RECORD_DEAL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ControlroomOperationRecordDrug-药剂消耗 - /// - /// 药剂消耗 - /// - [Route("api/PR/ControlroomOperationRecordDrug")] - public partial class ControlroomOperationRecordDrugController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_CONTROLROOM_OPERATION_RECORD_DRUG entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ControlroomOperationRecordSeri-系列 - /// - /// 系列 - /// - [Route("api/PR/ControlroomOperationRecordSeri")] - public partial class ControlroomOperationRecordSeriController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_CONTROLROOM_OPERATION_RECORD_SERI entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DepartmentStepLink-班组作业活动关联表 - /// - /// 班组作业活动关联表 - /// - [Route("api/PR/DepartmentStepLink")] - public partial class DepartmentStepLinkController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DEPARTMENT_STEP_LINK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DesignDocumentPictureFile-附件上传 - /// - /// 附件上传 - /// - [Route("api/PR/DesignDocumentPictureFile")] - public partial class DesignDocumentPictureFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DESIGN_DOCUMENT_PICTURE_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DesignDocumentReview-内部设计文件审核表 - /// - /// 内部设计文件审核表 - /// - [Route("api/PR/DesignDocumentReview")] - public partial class DesignDocumentReviewController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DESIGN_DOCUMENT_REVIEW entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DesignDocumentReviewFile-附件上传 - /// - /// 附件上传 - /// - [Route("api/PR/DesignDocumentReviewFile")] - public partial class DesignDocumentReviewFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DESIGN_DOCUMENT_REVIEW_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DesignDocumentReviewRequirement-审核要求关联表 - /// - /// 审核要求关联表 - /// - [Route("api/PR/DesignDocumentReviewRequirement")] - public partial class DesignDocumentReviewRequirementController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DESIGN_DOCUMENT_REVIEW_REQUIREMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugCarryRecord-药品搬运记录表 - /// - /// 药品搬运记录表 - /// - [Route("api/PR/DrugCarryRecord")] - public partial class DrugCarryRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_CARRY_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugCarryRecordDetail-药品明细 - /// - /// 药品明细 - /// - [Route("api/PR/DrugCarryRecordDetail")] - public partial class DrugCarryRecordDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_CARRY_RECORD_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugCarryRecordDetailAccept-接收人员 - /// - /// 接收人员 - /// - [Route("api/PR/DrugCarryRecordDetailAccept")] - public partial class DrugCarryRecordDetailAcceptController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_CARRY_RECORD_DETAIL_ACCEPT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugCarryRecordDetailUser-搬运人员 - /// - /// 搬运人员 - /// - [Route("api/PR/DrugCarryRecordDetailUser")] - public partial class DrugCarryRecordDetailUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_CARRY_RECORD_DETAIL_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugCarrySafeConfirm- - /// - /// - /// - [Route("api/PR/DrugCarrySafeConfirm")] - public partial class DrugCarrySafeConfirmController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_CARRY_SAFE_CONFIRM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugOutboundRecord-药品出库记录表 - /// - /// 药品出库记录表 - /// - [Route("api/PR/DrugOutboundRecord")] - public partial class DrugOutboundRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_OUTBOUND_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugOutboundRecordDetail-药品明细 - /// - /// 药品明细 - /// - [Route("api/PR/DrugOutboundRecordDetail")] - public partial class DrugOutboundRecordDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_OUTBOUND_RECORD_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugOutboundRecordDetailAccept-接收人员 - /// - /// 接收人员 - /// - [Route("api/PR/DrugOutboundRecordDetailAccept")] - public partial class DrugOutboundRecordDetailAcceptController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_OUTBOUND_RECORD_DETAIL_ACCEPT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugOutboundRecordDetailUser-搬运人员 - /// - /// 搬运人员 - /// - [Route("api/PR/DrugOutboundRecordDetailUser")] - public partial class DrugOutboundRecordDetailUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_OUTBOUND_RECORD_DETAIL_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugPlace-药品送达地点 - /// - /// 药品送达地点 - /// - [Route("api/PR/DrugPlace")] - public partial class DrugPlaceController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_PLACE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugSet-药品配置 - /// - /// 药品配置 - /// - [Route("api/PR/DrugSet")] - public partial class DrugSetController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_SET entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugSetSafeConfirm-药品使用安全确认 - /// - /// 药品使用安全确认 - /// - [Route("api/PR/DrugSetSafeConfirm")] - public partial class DrugSetSafeConfirmController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_SET_SAFE_CONFIRM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugSetSpecify-药品规格 - /// - /// 药品规格 - /// - [Route("api/PR/DrugSetSpecify")] - public partial class DrugSetSpecifyController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_SET_SPECIFY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugType-药品类型表 - /// - /// 药品类型表 - /// - [Route("api/PR/DrugType")] - public partial class DrugTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugTypeSafeConfirm-搬运安全确认 - /// - /// 搬运安全确认 - /// - [Route("api/PR/DrugTypeSafeConfirm")] - public partial class DrugTypeSafeConfirmController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_TYPE_SAFE_CONFIRM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugUseRecord-药品使用记录表 - /// - /// 药品使用记录表 - /// - [Route("api/PR/DrugUseRecord")] - public partial class DrugUseRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_USE_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugUseRecordConfirm-药品使用安全确认表 - /// - /// 药品使用安全确认表 - /// - [Route("api/PR/DrugUseRecordConfirm")] - public partial class DrugUseRecordConfirmController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_USE_RECORD_CONFIRM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugUseRecordDetail-药品明细表 - /// - /// 药品明细表 - /// - [Route("api/PR/DrugUseRecordDetail")] - public partial class DrugUseRecordDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_USE_RECORD_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugUseRecordDetailConfirm-药品使用安全确认表 - /// - /// 药品使用安全确认表 - /// - [Route("api/PR/DrugUseRecordDetailConfirm")] - public partial class DrugUseRecordDetailConfirmController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_USE_RECORD_DETAIL_CONFIRM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugUseRecordPrint-药品使用记录打印 - /// - /// 药品使用记录打印 - /// - [Route("api/PR/DrugUseRecordPrint")] - public partial class DrugUseRecordPrintController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_USE_RECORD_PRINT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DrugUseRecordUser-人员 - /// - /// 人员 - /// - [Route("api/PR/DrugUseRecordUser")] - public partial class DrugUseRecordUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DRUG_USE_RECORD_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DutyOperationRecord-选矿一部值班运行记录 - /// - /// 选矿一部值班运行记录 - /// - [Route("api/PR/DutyOperationRecord")] - public partial class DutyOperationRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DUTY_OPERATION_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DutyOperationRecordDeal-处理量估算 - /// - /// 处理量估算 - /// - [Route("api/PR/DutyOperationRecordDeal")] - public partial class DutyOperationRecordDealController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DUTY_OPERATION_RECORD_DEAL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DutyOperationRecordDrug-本班药剂消耗 - /// - /// 本班药剂消耗 - /// - [Route("api/PR/DutyOperationRecordDrug")] - public partial class DutyOperationRecordDrugController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DUTY_OPERATION_RECORD_DRUG entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DutyOperationRecordInve-白灰交接库存量 - /// - /// 白灰交接库存量 - /// - [Route("api/PR/DutyOperationRecordInve")] - public partial class DutyOperationRecordInveController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DUTY_OPERATION_RECORD_INVE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DutyOperationRecordMach-浓密机情况 - /// - /// 浓密机情况 - /// - [Route("api/PR/DutyOperationRecordMach")] - public partial class DutyOperationRecordMachController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DUTY_OPERATION_RECORD_MACH entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DutyOperationRecordTung-钨系列 - /// - /// 钨系列 - /// - [Route("api/PR/DutyOperationRecordTung")] - public partial class DutyOperationRecordTungController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_DUTY_OPERATION_RECORD_TUNG entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExperimentalOperationRecord-实验运行记录 - /// - /// 实验运行记录 - /// - [Route("api/PR/ExperimentalOperationRecord")] - public partial class ExperimentalOperationRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_EXPERIMENTAL_OPERATION_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExperimentalOperationRecordDetail-实验产品 - /// - /// 实验产品 - /// - [Route("api/PR/ExperimentalOperationRecordDetail")] - public partial class ExperimentalOperationRecordDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_EXPERIMENTAL_OPERATION_RECORD_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExternalAcceptanceRecord-滑坡滚石处理外部验收记录表 - /// - /// 滑坡滚石处理外部验收记录表 - /// - [Route("api/PR/ExternalAcceptanceRecord")] - public partial class ExternalAcceptanceRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_EXTERNAL_ACCEPTANCE_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExternalAcceptanceRecordAcceptance-验收记录附件表 - /// - /// 验收记录附件表 - /// - [Route("api/PR/ExternalAcceptanceRecordAcceptance")] - public partial class ExternalAcceptanceRecordAcceptanceController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_EXTERNAL_ACCEPTANCE_RECORD_ACCEPTANCE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExternalAcceptanceRecordFile-验收记录整改前后附件表 - /// - /// 验收记录整改前后附件表 - /// - [Route("api/PR/ExternalAcceptanceRecordFile")] - public partial class ExternalAcceptanceRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_EXTERNAL_ACCEPTANCE_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ExternalAssistanceApplication-滑坡滚石处理外部协助申请表 - /// - /// 滑坡滚石处理外部协助申请表 - /// - [Route("api/PR/ExternalAssistanceApplication")] - public partial class ExternalAssistanceApplicationController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_EXTERNAL_ASSISTANCE_APPLICATION entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LaboratoryOperationRecord-化验运行记录 - /// - /// 化验运行记录 - /// - [Route("api/PR/LaboratoryOperationRecord")] - public partial class LaboratoryOperationRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_LABORATORY_OPERATION_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LaboratoryOperationRecordDet-精选 - /// - /// 精选 - /// - [Route("api/PR/LaboratoryOperationRecordDet")] - public partial class LaboratoryOperationRecordDetController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_LABORATORY_OPERATION_RECORD_DET entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LaboratoryOperationRecordOre-瞬时原矿 - /// - /// 瞬时原矿 - /// - [Route("api/PR/LaboratoryOperationRecordOre")] - public partial class LaboratoryOperationRecordOreController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_LABORATORY_OPERATION_RECORD_ORE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LaboratoryOperationRecordPre-预选 - /// - /// 预选 - /// - [Route("api/PR/LaboratoryOperationRecordPre")] - public partial class LaboratoryOperationRecordPreController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_LABORATORY_OPERATION_RECORD_PRE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LaboratoryOperationRecordSam-成品样 - /// - /// 成品样 - /// - [Route("api/PR/LaboratoryOperationRecordSam")] - public partial class LaboratoryOperationRecordSamController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_LABORATORY_OPERATION_RECORD_SAM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LandslideRollstoneMonitor-滑坡滚石监控处理记录表 - /// - /// 滑坡滚石监控处理记录表 - /// - [Route("api/PR/LandslideRollstoneMonitor")] - public partial class LandslideRollstoneMonitorController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_LANDSLIDE_ROLLSTONE_MONITOR entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region LandslideRollstoneMonitorFile-滑坡滚石监控处理附件表 - /// - /// 滑坡滚石监控处理附件表 - /// - [Route("api/PR/LandslideRollstoneMonitorFile")] - public partial class LandslideRollstoneMonitorFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_LANDSLIDE_ROLLSTONE_MONITOR_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MapProcessRecord-测绘处理记录 - /// - /// 测绘处理记录 - /// - [Route("api/PR/MapProcessRecord")] - public partial class MapProcessRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_MAP_PROCESS_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MapProcessRecordFile-测绘记录附件 - /// - /// 测绘记录附件 - /// - [Route("api/PR/MapProcessRecordFile")] - public partial class MapProcessRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_MAP_PROCESS_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PerformTaskSet-执行任务配置表 - /// - /// 执行任务配置表 - /// - [Route("api/PR/PerformTaskSet")] - public partial class PerformTaskSetController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_PERFORM_TASK_SET entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PostFormLink-岗位表单关联表 - /// - /// 岗位表单关联表 - /// - [Route("api/PR/PostFormLink")] - public partial class PostFormLinkController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_POST_FORM_LINK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PostFormLinkCode-关联表单 - /// - /// 关联表单 - /// - [Route("api/PR/PostFormLinkCode")] - public partial class PostFormLinkCodeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_POST_FORM_LINK_CODE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PostFormLinkDepartment-关联班组 - /// - /// 关联班组 - /// - [Route("api/PR/PostFormLinkDepartment")] - public partial class PostFormLinkDepartmentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_POST_FORM_LINK_DEPARTMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PostFormLinkXk-岗位表单关联配置表 - /// - /// 岗位表单关联配置表 - /// - [Route("api/PR/PostFormLinkXk")] - public partial class PostFormLinkXkController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_POST_FORM_LINK_XK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PostFormLinkXkParam-事项参数配置表 - /// - /// 事项参数配置表 - /// - [Route("api/PR/PostFormLinkXkParam")] - public partial class PostFormLinkXkParamController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_POST_FORM_LINK_XK_PARAM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProcessFormXk-选矿生产工艺表单配置表 - /// - /// 选矿生产工艺表单配置表 - /// - [Route("api/PR/ProcessFormXk")] - public partial class ProcessFormXkController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_PROCESS_FORM_XK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProcessFormXkDetail-选矿生产工艺表单配置细表 - /// - /// 选矿生产工艺表单配置细表 - /// - [Route("api/PR/ProcessFormXkDetail")] - public partial class ProcessFormXkDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_PROCESS_FORM_XK_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProductionOperationRecord-生产运行记录表 - /// - /// 生产运行记录表 - /// - [Route("api/PR/ProductionOperationRecord")] - public partial class ProductionOperationRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_PRODUCTION_OPERATION_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProductionOperationRecordFile-生产运行记录附件 - /// - /// 生产运行记录附件 - /// - [Route("api/PR/ProductionOperationRecordFile")] - public partial class ProductionOperationRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_PRODUCTION_OPERATION_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProductionOperationRecordUser-作业人员表 - /// - /// 作业人员表 - /// - [Route("api/PR/ProductionOperationRecordUser")] - public partial class ProductionOperationRecordUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_PRODUCTION_OPERATION_RECORD_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SandpumpOperationRecord-尾砂泵运行记录 - /// - /// 尾砂泵运行记录 - /// - [Route("api/PR/SandpumpOperationRecord")] - public partial class SandpumpOperationRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_SANDPUMP_OPERATION_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SandpumpOperationRecordDetail-时间及工作情况描述 - /// - /// 时间及工作情况描述 - /// - [Route("api/PR/SandpumpOperationRecordDetail")] - public partial class SandpumpOperationRecordDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_SANDPUMP_OPERATION_RECORD_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SurveyRecord-测量记录表 - /// - /// 测量记录表 - /// - [Route("api/PR/SurveyRecord")] - public partial class SurveyRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_SURVEY_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SurveyRecordDetail-测量记录细表 - /// - /// 测量记录细表 - /// - [Route("api/PR/SurveyRecordDetail")] - public partial class SurveyRecordDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_SURVEY_RECORD_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SurveyRecordFile-测量记录附件表 - /// - /// 测量记录附件表 - /// - [Route("api/PR/SurveyRecordFile")] - public partial class SurveyRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_SURVEY_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SurveyRecordSet-测量基础配置 - /// - /// 测量基础配置 - /// - [Route("api/PR/SurveyRecordSet")] - public partial class SurveyRecordSetController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_SURVEY_RECORD_SET entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SurveyRecordUser-测量记录人员表 - /// - /// 测量记录人员表 - /// - [Route("api/PR/SurveyRecordUser")] - public partial class SurveyRecordUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_SURVEY_RECORD_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ThousandpumpOperationRecord-万吨砂泵 - /// - /// 万吨砂泵 - /// - [Route("api/PR/ThousandpumpOperationRecord")] - public partial class ThousandpumpOperationRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_THOUSANDPUMP_OPERATION_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ThousandpumpOperationRecordDetail-时间及工作情况描述 - /// - /// 时间及工作情况描述 - /// - [Route("api/PR/ThousandpumpOperationRecordDetail")] - public partial class ThousandpumpOperationRecordDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_THOUSANDPUMP_OPERATION_RECORD_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TungpreOperationRecord-钨预选运行记录 - /// - /// 钨预选运行记录 - /// - [Route("api/PR/TungpreOperationRecord")] - public partial class TungpreOperationRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_TUNGPRE_OPERATION_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TungpreOperationRecordDrug-系列 - /// - /// 系列 - /// - [Route("api/PR/TungpreOperationRecordDrug")] - public partial class TungpreOperationRecordDrugController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_TUNGPRE_OPERATION_RECORD_DRUG entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TungpreOperationRecordMeas-矿浆测量 - /// - /// 矿浆测量 - /// - [Route("api/PR/TungpreOperationRecordMeas")] - public partial class TungpreOperationRecordMeasController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_TUNGPRE_OPERATION_RECORD_MEAS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TungpreOperationRecordSeri-系列 - /// - /// 系列 - /// - [Route("api/PR/TungpreOperationRecordSeri")] - public partial class TungpreOperationRecordSeriController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_TUNGPRE_OPERATION_RECORD_SERI entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TungpreOperationRecordTarg-钨预选指标情况 - /// - /// 钨预选指标情况 - /// - [Route("api/PR/TungpreOperationRecordTarg")] - public partial class TungpreOperationRecordTargController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PR_TUNGPRE_OPERATION_RECORD_TARG entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AnnualMonotorSummary-年度监测汇总 - /// - /// 年度监测汇总 - /// - [Route("api/PT/AnnualMonotorSummary")] - public partial class AnnualMonotorSummaryController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_ANNUAL_MONOTOR_SUMMARY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AnnualMonotorSummaryDetail-年度监测汇总明细表 - /// - /// 年度监测汇总明细表 - /// - [Route("api/PT/AnnualMonotorSummaryDetail")] - public partial class AnnualMonotorSummaryDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_ANNUAL_MONOTOR_SUMMARY_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AnnualMonotorSummaryDetailContent-安全生产指标考核项目表 - /// - /// 安全生产指标考核项目表 - /// - [Route("api/PT/AnnualMonotorSummaryDetailContent")] - public partial class AnnualMonotorSummaryDetailContentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_ANNUAL_MONOTOR_SUMMARY_DETAIL_CONTENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AssessmentPlanAudit-导航属性:考核方案审核表 - /// - /// 导航属性:考核方案审核表 - /// - [Route("api/PT/AssessmentPlanAudit")] - public partial class AssessmentPlanAuditController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_ASSESSMENT_PLAN_AUDIT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AssessmentPlanAuditDetail-导航属性:考核方案审核细表 - /// - /// 导航属性:考核方案审核细表 - /// - [Route("api/PT/AssessmentPlanAuditDetail")] - public partial class AssessmentPlanAuditDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_ASSESSMENT_PLAN_AUDIT_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AssessmentPlanAuditDetailContent-考核方案录入 - /// - /// 考核方案录入 - /// - [Route("api/PT/AssessmentPlanAuditDetailContent")] - public partial class AssessmentPlanAuditDetailContentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_ASSESSMENT_PLAN_AUDIT_DETAIL_CONTENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AssessmentPlanAuditFile-附件表 - /// - /// 附件表 - /// - [Route("api/PT/AssessmentPlanAuditFile")] - public partial class AssessmentPlanAuditFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_ASSESSMENT_PLAN_AUDIT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AssessmentPlanAuditTempDetail-导航属性:考核方案审核导入表 - /// - /// 导航属性:考核方案审核导入表 - /// - [Route("api/PT/AssessmentPlanAuditTempDetail")] - public partial class AssessmentPlanAuditTempDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_ASSESSMENT_PLAN_AUDIT_TEMP_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region AssessmentPlanAuditTempDetailContent-考核方案录入 - /// - /// 考核方案录入 - /// - [Route("api/PT/AssessmentPlanAuditTempDetailContent")] - public partial class AssessmentPlanAuditTempDetailContentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_ASSESSMENT_PLAN_AUDIT_TEMP_DETAIL_CONTENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CollectRequirements-征集要求表 - /// - /// 征集要求表 - /// - [Route("api/PT/CollectRequirements")] - public partial class CollectRequirementsController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_COLLECT_REQUIREMENTS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region FileType-文件类型表 - /// - /// 文件类型表 - /// - [Route("api/PT/FileType")] - public partial class FileTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_FILE_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region FormulateRequirements-制定要求表 - /// - /// 制定要求表 - /// - [Route("api/PT/FormulateRequirements")] - public partial class FormulateRequirementsController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_FORMULATE_REQUIREMENTS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region GoalsAndTarget-安全生产目标与指标 - /// - /// 安全生产目标与指标 - /// - [Route("api/PT/GoalsAndTarget")] - public partial class GoalsAndTargetController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_GOALS_AND_TARGET entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region IndicatorFormulation-安全生产目标与指标制定表 - /// - /// 安全生产目标与指标制定表 - /// - [Route("api/PT/IndicatorFormulation")] - public partial class IndicatorFormulationController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region IndicatorFormulationDepartment-部门、车间、班组安全生产目标与指标制定表 - /// - /// 部门、车间、班组安全生产目标与指标制定表 - /// - [Route("api/PT/IndicatorFormulationDepartment")] - public partial class IndicatorFormulationDepartmentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_DEPARTMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region IndicatorFormulationDepartmentDetail-部门、车间安全生产目标与指标制定细表 - /// - /// 部门、车间安全生产目标与指标制定细表 - /// - [Route("api/PT/IndicatorFormulationDepartmentDetail")] - public partial class IndicatorFormulationDepartmentDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_DEPARTMENT_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region IndicatorFormulationDepartmentDetailContent-导航属性:安全生产目标与指标制定内容表 - /// - /// 导航属性:安全生产目标与指标制定内容表 - /// - [Route("api/PT/IndicatorFormulationDepartmentDetailContent")] - public partial class IndicatorFormulationDepartmentDetailContentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_DEPARTMENT_DETAIL_CONTENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region IndicatorFormulationDepartmentFile-附件表 - /// - /// 附件表 - /// - [Route("api/PT/IndicatorFormulationDepartmentFile")] - public partial class IndicatorFormulationDepartmentFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_DEPARTMENT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region IndicatorFormulationDepartmentTeam-班组安全生产目标与指标制定细表 - /// - /// 班组安全生产目标与指标制定细表 - /// - [Route("api/PT/IndicatorFormulationDepartmentTeam")] - public partial class IndicatorFormulationDepartmentTeamController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_DEPARTMENT_TEAM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region IndicatorFormulationDepartmentTeamContent-导航属性:班组安全生产目标与指标制定内容表 - /// - /// 导航属性:班组安全生产目标与指标制定内容表 - /// - [Route("api/PT/IndicatorFormulationDepartmentTeamContent")] - public partial class IndicatorFormulationDepartmentTeamContentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_DEPARTMENT_TEAM_CONTENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region IndicatorFormulationFile-安全生产目标与指标制定附件表 - /// - /// 安全生产目标与指标制定附件表 - /// - [Route("api/PT/IndicatorFormulationFile")] - public partial class IndicatorFormulationFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region IndicatorFormulationPlanFile-实施计划附件 - /// - /// 实施计划附件 - /// - [Route("api/PT/IndicatorFormulationPlanFile")] - public partial class IndicatorFormulationPlanFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_PLAN_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region IndicatorFormulationPlanResources-目标与指标制定计划资源表 - /// - /// 目标与指标制定计划资源表 - /// - [Route("api/PT/IndicatorFormulationPlanResources")] - public partial class IndicatorFormulationPlanResourcesController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_PLAN_RESOURCES entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region IndicatorFormulationRequirements-目标与指标制定要求表 - /// - /// 目标与指标制定要求表 - /// - [Route("api/PT/IndicatorFormulationRequirements")] - public partial class IndicatorFormulationRequirementsController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_REQUIREMENTS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region IntentionalGuidelines-意向方针表 - /// - /// 意向方针表 - /// - [Route("api/PT/IntentionalGuidelines")] - public partial class IntentionalGuidelinesController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_INTENTIONAL_GUIDELINES entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MonitorAssessment-检测与考核记录 - /// - /// 检测与考核记录 - /// - [Route("api/PT/MonitorAssessment")] - public partial class MonitorAssessmentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_MONITOR_ASSESSMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MonitorAssessmentDetail-监测与考核细表 - /// - /// 监测与考核细表 - /// - [Route("api/PT/MonitorAssessmentDetail")] - public partial class MonitorAssessmentDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_MONITOR_ASSESSMENT_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MonitorAssessmentDetailContent-安全生产指标考核项目表 - /// - /// 安全生产指标考核项目表 - /// - [Route("api/PT/MonitorAssessmentDetailContent")] - public partial class MonitorAssessmentDetailContentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_MONITOR_ASSESSMENT_DETAIL_CONTENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region MonitorAssessmentUser-监测人员表 - /// - /// 监测人员表 - /// - [Route("api/PT/MonitorAssessmentUser")] - public partial class MonitorAssessmentUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_MONITOR_ASSESSMENT_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PlanResources-制定实施计划考虑资源表 - /// - /// 制定实施计划考虑资源表 - /// - [Route("api/PT/PlanResources")] - public partial class PlanResourcesController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_PLAN_RESOURCES entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyPolicySurvey-安全方针调查表 - /// - /// 安全方针调查表 - /// - [Route("api/PT/SafetyPolicySurvey")] - public partial class SafetyPolicySurveyController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_SAFETY_POLICY_SURVEY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyPolicySurveyCollect-安全方针调查征集要求 - /// - /// 安全方针调查征集要求 - /// - [Route("api/PT/SafetyPolicySurveyCollect")] - public partial class SafetyPolicySurveyCollectController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_SAFETY_POLICY_SURVEY_COLLECT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyPolicySurveyFeedback-安全方针调查反馈表 - /// - /// 安全方针调查反馈表 - /// - [Route("api/PT/SafetyPolicySurveyFeedback")] - public partial class SafetyPolicySurveyFeedbackController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_SAFETY_POLICY_SURVEY_FEEDBACK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafetyPolicySurveyRange-安全方针调查范围表 - /// - /// 安全方针调查范围表 - /// - [Route("api/PT/SafetyPolicySurveyRange")] - public partial class SafetyPolicySurveyRangeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_SAFETY_POLICY_SURVEY_RANGE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TimeSet-触发时间配置表 - /// - /// 触发时间配置表 - /// - [Route("api/PT/TimeSet")] - public partial class TimeSetController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_PT_TIME_SET entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Post-责任制岗位 - /// - /// 责任制岗位 - /// - [Route("api/SC/Post")] - public partial class PostController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_POST entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PostDepost-部门岗位 - /// - /// 部门岗位 - /// - [Route("api/SC/PostDepost")] - public partial class PostDepostController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_POST_DEPOST entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PostSafePdtTemplateFile-责任制岗位安全生产责任制签订表模板 - /// - /// 责任制岗位安全生产责任制签订表模板 - /// - [Route("api/SC/PostSafePdtTemplateFile")] - public partial class PostSafePdtTemplateFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_POST_SAFE_PDT_TEMPLATE_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Department-责任制组织架构 - /// - /// 责任制组织架构 - /// - [Route("api/SC/Department")] - public partial class DepartmentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_DEPARTMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DepartmentPost-责任制部门岗位 - /// - /// 责任制部门岗位 - /// - [Route("api/SC/DepartmentPost")] - public partial class DepartmentPostController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_DEPARTMENT_POST entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DocumentLibrary-文件库 - /// - /// 文件库 - /// - [Route("api/SC/DocumentLibrary")] - public partial class DocumentLibraryController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_DOCUMENT_LIBRARY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DocumentLibraryDetail-文件库 - /// - /// 文件库 - /// - [Route("api/SC/DocumentLibraryDetail")] - public partial class DocumentLibraryDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_DOCUMENT_LIBRARY_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DocumentLibraryDetailFile-文件附件 - /// - /// 文件附件 - /// - [Route("api/SC/DocumentLibraryDetailFile")] - public partial class DocumentLibraryDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_DOCUMENT_LIBRARY_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region StandardCreate-标准化创建 - /// - /// 标准化创建 - /// - [Route("api/SC/StandardCreate")] - public partial class StandardCreateController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_STANDARD_CREATE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region StandardCreateFile-文件附件 - /// - /// 文件附件 - /// - [Route("api/SC/StandardCreateFile")] - public partial class StandardCreateFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SC_STANDARD_CREATE_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region NewUsers-新注册用户表 - /// - /// 新注册用户表 - /// - [Route("api/SE/NewUsers")] - public partial class NewUsersController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_NEW_USERS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region NewUsersFile-新注册用户表附件 - /// - /// 新注册用户表附件 - /// - [Route("api/SE/NewUsersFile")] - public partial class NewUsersFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_NEW_USERS_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region NewUserDetail-新注册用户详细 - /// - /// 新注册用户详细 - /// - [Route("api/SE/NewUserDetail")] - public partial class NewUserDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_NEW_USER_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region NewUserDetailFile-三级安全教育卡培训附件 - /// - /// 三级安全教育卡培训附件 - /// - [Route("api/SE/NewUserDetailFile")] - public partial class NewUserDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_NEW_USER_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region NewUserDetailPaper-人员试题 - /// - /// 人员试题 - /// - [Route("api/SE/NewUserDetailPaper")] - public partial class NewUserDetailPaperController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_NEW_USER_DETAIL_PAPER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeSurvey-安全意识调查 - /// - /// 安全意识调查 - /// - [Route("api/SE/SafeSurvey")] - public partial class SafeSurveyController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_SAFE_SURVEY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeSurveyListDepartment-导航:参与部门 - /// - /// 导航:参与部门 - /// - [Route("api/SE/SafeSurveyListDepartment")] - public partial class SafeSurveyListDepartmentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_SAFE_SURVEY_LIST_DEPARTMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeSurveyListFile-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/SE/SafeSurveyListFile")] - public partial class SafeSurveyListFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_SAFE_SURVEY_LIST_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeSurveyListPaper-导航:试卷 - /// - /// 导航:试卷 - /// - [Route("api/SE/SafeSurveyListPaper")] - public partial class SafeSurveyListPaperController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_SAFE_SURVEY_LIST_PAPER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeSurveyListPoint-导航:调查内容 - /// - /// 导航:调查内容 - /// - [Route("api/SE/SafeSurveyListPoint")] - public partial class SafeSurveyListPointController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_SAFE_SURVEY_LIST_POINT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainSurvey-培训需求调查 - /// - /// 培训需求调查 - /// - [Route("api/SE/TrainSurvey")] - public partial class TrainSurveyController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_SURVEY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainSurveyListDemand-培训需求用户 - /// - /// 培训需求用户 - /// - [Route("api/SE/TrainSurveyListDemand")] - public partial class TrainSurveyListDemandController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_SURVEY_LIST_DEMAND entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainSurveyListDemandItem-导航:培训需求 - /// - /// 导航:培训需求 - /// - [Route("api/SE/TrainSurveyListDemandItem")] - public partial class TrainSurveyListDemandItemController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_SURVEY_LIST_DEMAND_ITEM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainSurveyListDepartment-导航:参与部门 - /// - /// 导航:参与部门 - /// - [Route("api/SE/TrainSurveyListDepartment")] - public partial class TrainSurveyListDepartmentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_SURVEY_LIST_DEPARTMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainSurveyListPoint-导航:调查目的 - /// - /// 导航:调查目的 - /// - [Route("api/SE/TrainSurveyListPoint")] - public partial class TrainSurveyListPointController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_SURVEY_LIST_POINT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region YearTrainPlan-年度培训计划 - /// - /// 年度培训计划 - /// - [Route("api/SE/YearTrainPlan")] - public partial class YearTrainPlanController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_YEAR_TRAIN_PLAN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region YearTrainPlanDetail-年度培训计划详情 - /// - /// 年度培训计划详情 - /// - [Route("api/SE/YearTrainPlanDetail")] - public partial class YearTrainPlanDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_YEAR_TRAIN_PLAN_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region YearTrainPlanContent-年度培训内容关联表 - /// - /// 年度培训内容关联表 - /// - [Route("api/SE/YearTrainPlanContent")] - public partial class YearTrainPlanContentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_YEAR_TRAIN_PLAN_CONTENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region YearTrainPlanFile-年度培训计划附件 - /// - /// 年度培训计划附件 - /// - [Route("api/SE/YearTrainPlanFile")] - public partial class YearTrainPlanFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_YEAR_TRAIN_PLAN_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region YearTrainPlanDepartment-年度培训发送部门 - /// - /// 年度培训发送部门 - /// - [Route("api/SE/YearTrainPlanDepartment")] - public partial class YearTrainPlanDepartmentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_YEAR_TRAIN_PLAN_DEPARTMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DepTrainPlan-部门培训计划 - /// - /// 部门培训计划 - /// - [Route("api/SE/DepTrainPlan")] - public partial class DepTrainPlanController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_DEP_TRAIN_PLAN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DepTrainPlanDetail-部门培训计划详情 - /// - /// 部门培训计划详情 - /// - [Route("api/SE/DepTrainPlanDetail")] - public partial class DepTrainPlanDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_DEP_TRAIN_PLAN_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DepTrainPlanContent-部门培训内容关联表 - /// - /// 部门培训内容关联表 - /// - [Route("api/SE/DepTrainPlanContent")] - public partial class DepTrainPlanContentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_DEP_TRAIN_PLAN_CONTENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainNotify-培训通知 - /// - /// 培训通知 - /// - [Route("api/SE/TrainNotify")] - public partial class TrainNotifyController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_NOTIFY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainNotifyFile-培训通知附件 - /// - /// 培训通知附件 - /// - [Route("api/SE/TrainNotifyFile")] - public partial class TrainNotifyFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_NOTIFY_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainNotifyContentRel-培训内容 - /// - /// 培训内容 - /// - [Route("api/SE/TrainNotifyContentRel")] - public partial class TrainNotifyContentRelController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_NOTIFY_CONTENT_REL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainNotifyPersons-培训通知人员 - /// - /// 培训通知人员 - /// - [Route("api/SE/TrainNotifyPersons")] - public partial class TrainNotifyPersonsController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_NOTIFY_PERSONS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainRecord-培训记录 - /// - /// 培训记录 - /// - [Route("api/SE/TrainRecord")] - public partial class TrainRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainRecordFile-培训记录附件 - /// - /// 培训记录附件 - /// - [Route("api/SE/TrainRecordFile")] - public partial class TrainRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainRecordPaper-人员试题 - /// - /// 人员试题 - /// - [Route("api/SE/TrainRecordPaper")] - public partial class TrainRecordPaperController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_RECORD_PAPER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainRecordUser-培训记录参与人员 - /// - /// 培训记录参与人员 - /// - [Route("api/SE/TrainRecordUser")] - public partial class TrainRecordUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_RECORD_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainRecordUserFile-培训记录参与人员附件 - /// - /// 培训记录参与人员附件 - /// - [Route("api/SE/TrainRecordUserFile")] - public partial class TrainRecordUserFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_RECORD_USER_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainingEffectEvaluation-培训效果评估表 - /// - /// 培训效果评估表 - /// - [Route("api/SE/TrainingEffectEvaluation")] - public partial class TrainingEffectEvaluationController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAINING_EFFECT_EVALUATION entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainingEffectEvaluationOpinion-培训效果评估表培训改进意见表 - /// - /// 培训效果评估表培训改进意见表 - /// - [Route("api/SE/TrainingEffectEvaluationOpinion")] - public partial class TrainingEffectEvaluationOpinionController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAINING_EFFECT_EVALUATION_OPINION entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainingEffectEvaluationEnd-培训效果评估表结果表 - /// - /// 培训效果评估表结果表 - /// - [Route("api/SE/TrainingEffectEvaluationEnd")] - public partial class TrainingEffectEvaluationEndController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAINING_EFFECT_EVALUATION_END entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainingEffectEvaluationSurvey-培训效果评估调查表 - /// - /// 培训效果评估调查表 - /// - [Route("api/SE/TrainingEffectEvaluationSurvey")] - public partial class TrainingEffectEvaluationSurveyController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAINING_EFFECT_EVALUATION_SURVEY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainingEffectEvaluationSurveyResults-培训效果评估调查表结果表 - /// - /// 培训效果评估调查表结果表 - /// - [Route("api/SE/TrainingEffectEvaluationSurveyResults")] - public partial class TrainingEffectEvaluationSurveyResultsController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAINING_EFFECT_EVALUATION_SURVEY_RESULTS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ThreeLevelSafeEduCard-三级安全教育卡 - /// - /// 三级安全教育卡 - /// - [Route("api/SE/ThreeLevelSafeEduCard")] - public partial class ThreeLevelSafeEduCardController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_THREE_LEVEL_SAFE_EDU_CARD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ThreeLevelSafeTrainRecord-三级安全教育卡培训记录 - /// - /// 三级安全教育卡培训记录 - /// - [Route("api/SE/ThreeLevelSafeTrainRecord")] - public partial class ThreeLevelSafeTrainRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ThreeLevelSafeTrainRecordFile-三级安全教育卡培训记录附件 - /// - /// 三级安全教育卡培训记录附件 - /// - [Route("api/SE/ThreeLevelSafeTrainRecordFile")] - public partial class ThreeLevelSafeTrainRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ThreeLevelSafeTrainRecordSignatureFile-三级安全教育卡培训记录电子签名附件 - /// - /// 三级安全教育卡培训记录电子签名附件 - /// - [Route("api/SE/ThreeLevelSafeTrainRecordSignatureFile")] - public partial class ThreeLevelSafeTrainRecordSignatureFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD_SIGNATURE_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CertificateType-证书类别 - /// - /// 证书类别 - /// - [Route("api/SE/CertificateType")] - public partial class CertificateTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_CERTIFICATE_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Seconfig-安全教育模块基础配置 - /// - /// 安全教育模块基础配置 - /// - [Route("api/SE/Seconfig")] - public partial class SeconfigController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_SECONFIG entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Coursewearlibrary-课件 - /// - /// 课件 - /// - [Route("api/SE/Coursewearlibrary")] - public partial class CoursewearlibraryController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_COURSEWEARLIBRARY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CoursewearlibraryDetail-课件试题 - /// - /// 课件试题 - /// - [Route("api/SE/CoursewearlibraryDetail")] - public partial class CoursewearlibraryDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_COURSEWEARLIBRARY_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CoursewearlibraryFile-课件附件 - /// - /// 课件附件 - /// - [Route("api/SE/CoursewearlibraryFile")] - public partial class CoursewearlibraryFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_COURSEWEARLIBRARY_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region NewUsersTeacher-培训老师 - /// - /// 培训老师 - /// - [Route("api/SE/NewUsersTeacher")] - public partial class NewUsersTeacherController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_NEW_USERS_TEACHER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region NewUserDetailText-人员试题 - /// - /// 人员试题 - /// - [Route("api/SE/NewUserDetailText")] - public partial class NewUserDetailTextController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_NEW_USER_DETAIL_TEXT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RenewalTrain-换证培训触发 - /// - /// 换证培训触发 - /// - [Route("api/SE/RenewalTrain")] - public partial class RenewalTrainController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_RENEWAL_TRAIN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RenewalTrainFile-附件 - /// - /// 附件 - /// - [Route("api/SE/RenewalTrainFile")] - public partial class RenewalTrainFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_RENEWAL_TRAIN_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeSurveyUser-安全意识调查人员 - /// - /// 安全意识调查人员 - /// - [Route("api/SE/SafeSurveyUser")] - public partial class SafeSurveyUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_SAFE_SURVEY_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Test-题库 - /// - /// 题库 - /// - [Route("api/SE/Test")] - public partial class TestController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TEST entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TestEnumPoint-试题知识点 - /// - /// 试题知识点 - /// - [Route("api/SE/TestEnumPoint")] - public partial class TestEnumPointController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TEST_ENUM_POINT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TestListPoint-导航:试题知识点 - /// - /// 导航:试题知识点 - /// - [Route("api/SE/TestListPoint")] - public partial class TestListPointController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TEST_LIST_POINT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TestListPost-适用岗位 - /// - /// 适用岗位 - /// - [Route("api/SE/TestListPost")] - public partial class TestListPostController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TEST_LIST_POST entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ThreeLevelSafeContent-三级安全教育卡培训内容 - /// - /// 三级安全教育卡培训内容 - /// - [Route("api/SE/ThreeLevelSafeContent")] - public partial class ThreeLevelSafeContentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_THREE_LEVEL_SAFE_CONTENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainingSurveySubject-培训效果评估调查题目 - /// - /// 培训效果评估调查题目 - /// - [Route("api/SE/TrainingSurveySubject")] - public partial class TrainingSurveySubjectController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAINING_SURVEY_SUBJECT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainCheckTypeEnum-考核方式 - /// - /// 考核方式 - /// - [Route("api/SE/TrainCheckTypeEnum")] - public partial class TrainCheckTypeEnumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_CHECK_TYPE_ENUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainDemandEnum-培训需求 - /// - /// 培训需求 - /// - [Route("api/SE/TrainDemandEnum")] - public partial class TrainDemandEnumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_DEMAND_ENUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainNotifyCoursewearlibrary-培训课件 - /// - /// 培训课件 - /// - [Route("api/SE/TrainNotifyCoursewearlibrary")] - public partial class TrainNotifyCoursewearlibraryController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainPlan-年度培训计划 - /// - /// 年度培训计划 - /// - [Route("api/SE/TrainPlan")] - public partial class TrainPlanController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_PLAN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainPlanDetail-年度培训计划详情 - /// - /// 年度培训计划详情 - /// - [Route("api/SE/TrainPlanDetail")] - public partial class TrainPlanDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_PLAN_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainPlanDetailDepartment-被培训组织 - /// - /// 被培训组织 - /// - [Route("api/SE/TrainPlanDetailDepartment")] - public partial class TrainPlanDetailDepartmentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_PLAN_DETAIL_DEPARTMENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainPlanFile-年度培训计划附件 - /// - /// 年度培训计划附件 - /// - [Route("api/SE/TrainPlanFile")] - public partial class TrainPlanFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_PLAN_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainRecordReport-培训教育统计报表 - /// - /// 培训教育统计报表 - /// - [Route("api/SE/TrainRecordReport")] - public partial class TrainRecordReportController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_RECORD_REPORT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainRecordText-人员试卷 - /// - /// 人员试卷 - /// - [Route("api/SE/TrainRecordText")] - public partial class TrainRecordTextController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_RECORD_TEXT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainTypeEnum-培训类型 - /// - /// 培训类型 - /// - [Route("api/SE/TrainTypeEnum")] - public partial class TrainTypeEnumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_TRAIN_TYPE_ENUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region UserTemp-临时人员表 - /// - /// 临时人员表 - /// - [Route("api/SE/UserTemp")] - public partial class UserTempController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_SE_USER_TEMP entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CostType-费用类型 - /// - /// 费用类型 - /// - [Route("api/TI/CostType")] - public partial class CostTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_COST_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InsuranceClaimRecord-工伤保险理赔信息记录 - /// - /// 工伤保险理赔信息记录 - /// - [Route("api/TI/InsuranceClaimRecord")] - public partial class InsuranceClaimRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_INSURANCE_CLAIM_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InsuranceClaimRecordFile-工伤保险理赔信息记录附件 - /// - /// 工伤保险理赔信息记录附件 - /// - [Route("api/TI/InsuranceClaimRecordFile")] - public partial class InsuranceClaimRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_INSURANCE_CLAIM_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InsuranceRecord-参保记录 - /// - /// 参保记录 - /// - [Route("api/TI/InsuranceRecord")] - public partial class InsuranceRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_INSURANCE_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InsuranceRecordFile-参保记录表附件 - /// - /// 参保记录表附件 - /// - [Route("api/TI/InsuranceRecordFile")] - public partial class InsuranceRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_INSURANCE_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region InsuranceUserRecord-参保人员表 - /// - /// 参保人员表 - /// - [Route("api/TI/InsuranceUserRecord")] - public partial class InsuranceUserRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_INSURANCE_USER_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Plan-安全科技计划 - /// - /// 安全科技计划 - /// - [Route("api/TI/Plan")] - public partial class PlanController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PLAN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PlanFile-安全科技计划附件 - /// - /// 安全科技计划附件 - /// - [Route("api/TI/PlanFile")] - public partial class PlanFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PLAN_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PlanRange-安全科技计划范围 - /// - /// 安全科技计划范围 - /// - [Route("api/TI/PlanRange")] - public partial class PlanRangeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PLAN_RANGE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PlanRangeType-所属范围 - /// - /// 所属范围 - /// - [Route("api/TI/PlanRangeType")] - public partial class PlanRangeTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PLAN_RANGE_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PlanSource-安全科技计划来源 - /// - /// 安全科技计划来源 - /// - [Route("api/TI/PlanSource")] - public partial class PlanSourceController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PLAN_SOURCE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PlanSourceType-项目来源 - /// - /// 项目来源 - /// - [Route("api/TI/PlanSourceType")] - public partial class PlanSourceTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PLAN_SOURCE_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Project-立项申请/任务书上报 - /// - /// 立项申请/任务书上报 - /// - [Route("api/TI/Project")] - public partial class ProjectController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PROJECT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectCheck-项目结题验收 - /// - /// 项目结题验收 - /// - [Route("api/TI/ProjectCheck")] - public partial class ProjectCheckController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PROJECT_CHECK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectCheckFile-项目附件 - /// - /// 项目附件 - /// - [Route("api/TI/ProjectCheckFile")] - public partial class ProjectCheckFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PROJECT_CHECK_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectCheckWffile-项目附件 - /// - /// 项目附件 - /// - [Route("api/TI/ProjectCheckWffile")] - public partial class ProjectCheckWffileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PROJECT_CHECK_WFFILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectFile-项目附件 - /// - /// 项目附件 - /// - [Route("api/TI/ProjectFile")] - public partial class ProjectFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PROJECT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectMoney-项目经费管理 - /// - /// 项目经费管理 - /// - [Route("api/TI/ProjectMoney")] - public partial class ProjectMoneyController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PROJECT_MONEY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectMoneyDetail-项目经费子项 - /// - /// 项目经费子项 - /// - [Route("api/TI/ProjectMoneyDetail")] - public partial class ProjectMoneyDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PROJECT_MONEY_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectMoneyDetailFile-项目附件 - /// - /// 项目附件 - /// - [Route("api/TI/ProjectMoneyDetailFile")] - public partial class ProjectMoneyDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PROJECT_MONEY_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectRange-项目范围 - /// - /// 项目范围 - /// - [Route("api/TI/ProjectRange")] - public partial class ProjectRangeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PROJECT_RANGE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectSource-项目来源 - /// - /// 项目来源 - /// - [Route("api/TI/ProjectSource")] - public partial class ProjectSourceController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PROJECT_SOURCE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectWffile-项目审批附件 - /// - /// 项目审批附件 - /// - [Route("api/TI/ProjectWffile")] - public partial class ProjectWffileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_PROJECT_WFFILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafePdtCostRecord-安全生产费用使用记录表 - /// - /// 安全生产费用使用记录表 - /// - [Route("api/TI/SafePdtCostRecord")] - public partial class SafePdtCostRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_SAFE_PDT_COST_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafePdtCostRecordFile-安全生产费用使用记录附件 - /// - /// 安全生产费用使用记录附件 - /// - [Route("api/TI/SafePdtCostRecordFile")] - public partial class SafePdtCostRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_SAFE_PDT_COST_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafePdtCostRecordType-安全生产费用使用记录表 - /// - /// 安全生产费用使用记录表 - /// - [Route("api/TI/SafePdtCostRecordType")] - public partial class SafePdtCostRecordTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TI_SAFE_PDT_COST_RECORD_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Back-回采计划 - /// - /// 回采计划 - /// - [Route("api/TL/Back")] - public partial class BackController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_BACK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region BackDetail-回采计划明细 - /// - /// 回采计划明细 - /// - [Route("api/TL/BackDetail")] - public partial class BackDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_BACK_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region BackDetailUser-值班人员 - /// - /// 值班人员 - /// - [Route("api/TL/BackDetailUser")] - public partial class BackDetailUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_BACK_DETAIL_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region BackFile-回采计划 附件 - /// - /// 回采计划 附件 - /// - [Route("api/TL/BackFile")] - public partial class BackFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_BACK_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region BackRecord-回采记录 - /// - /// 回采记录 - /// - [Route("api/TL/BackRecord")] - public partial class BackRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_BACK_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region BackRecordUser-值班人员 - /// - /// 值班人员 - /// - [Route("api/TL/BackRecordUser")] - public partial class BackRecordUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_BACK_RECORD_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region BackRequire-制定要求 - /// - /// 制定要求 - /// - [Route("api/TL/BackRequire")] - public partial class BackRequireController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_BACK_REQUIRE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Caculate-调洪演算报告 - /// - /// 调洪演算报告 - /// - [Route("api/TL/Caculate")] - public partial class CaculateController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_CACULATE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CaculateFile-调洪演算报告 - /// - /// 调洪演算报告 - /// - [Route("api/TL/CaculateFile")] - public partial class CaculateFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_CACULATE_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region FileSum-文件集合 - /// - /// 文件集合 - /// - [Route("api/TL/FileSum")] - public partial class FileSumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_FILE_SUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region FileSumFile-监测作业附件 - /// - /// 监测作业附件 - /// - [Route("api/TL/FileSumFile")] - public partial class FileSumFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_FILE_SUM_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HighCheck-隐蔽工程验收管理 - /// - /// 隐蔽工程验收管理 - /// - [Route("api/TL/HighCheck")] - public partial class HighCheckController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_HIGH_CHECK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HighCheckFile-隐蔽工程验收记录 - /// - /// 隐蔽工程验收记录 - /// - [Route("api/TL/HighCheckFile")] - public partial class HighCheckFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_HIGH_CHECK_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Out-尾矿库注销 - /// - /// 尾矿库注销 - /// - [Route("api/TL/Out")] - public partial class OutController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_OUT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OutFile-尾矿库注销文件 - /// - /// 尾矿库注销文件 - /// - [Route("api/TL/OutFile")] - public partial class OutFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_OUT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region PlanSet-制定任务 - /// - /// 制定任务 - /// - [Route("api/TL/PlanSet")] - public partial class PlanSetController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PLAN_SET entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectFinish-安全设施竣工验收 - /// - /// 安全设施竣工验收 - /// - [Route("api/TL/ProjectFinish")] - public partial class ProjectFinishController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PROJECT_FINISH entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectFinishFile-隐蔽工程验收管理 附件 - /// - /// 隐蔽工程验收管理 附件 - /// - [Route("api/TL/ProjectFinishFile")] - public partial class ProjectFinishFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PROJECT_FINISH_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectHight-隐蔽工程验收管理 - /// - /// 隐蔽工程验收管理 - /// - [Route("api/TL/ProjectHight")] - public partial class ProjectHightController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PROJECT_HIGHT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectHightFile-隐蔽工程验收管理 附件 - /// - /// 隐蔽工程验收管理 附件 - /// - [Route("api/TL/ProjectHightFile")] - public partial class ProjectHightFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PROJECT_HIGHT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectIntroduce-上游工程情况说明 - /// - /// 上游工程情况说明 - /// - [Route("api/TL/ProjectIntroduce")] - public partial class ProjectIntroduceController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PROJECT_INTRODUCE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectIntroduceFile-上游工程情况说明 - /// - /// 上游工程情况说明 - /// - [Route("api/TL/ProjectIntroduceFile")] - public partial class ProjectIntroduceFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PROJECT_INTRODUCE_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectRecord-单项工程记录管理 - /// - /// 单项工程记录管理 - /// - [Route("api/TL/ProjectRecord")] - public partial class ProjectRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PROJECT_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectRecordCheckFile-监测作业附件 - /// - /// 监测作业附件 - /// - [Route("api/TL/ProjectRecordCheckFile")] - public partial class ProjectRecordCheckFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PROJECT_RECORD_CHECK_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectRecordFile-施工记录 - /// - /// 施工记录 - /// - [Route("api/TL/ProjectRecordFile")] - public partial class ProjectRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PROJECT_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectRecordWatchFile-监测作业附件 - /// - /// 监测作业附件 - /// - [Route("api/TL/ProjectRecordWatchFile")] - public partial class ProjectRecordWatchFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PROJECT_RECORD_WATCH_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectSlopebank-子坝坡岸处理 - /// - /// 子坝坡岸处理 - /// - [Route("api/TL/ProjectSlopebank")] - public partial class ProjectSlopebankController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PROJECT_SLOPEBANK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectSlopebankFile-子坝坡岸处理 附件 - /// - /// 子坝坡岸处理 附件 - /// - [Route("api/TL/ProjectSlopebankFile")] - public partial class ProjectSlopebankFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PROJECT_SLOPEBANK_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectSlopebankProjFile-隐蔽工程 附件 - /// - /// 隐蔽工程 附件 - /// - [Route("api/TL/ProjectSlopebankProjFile")] - public partial class ProjectSlopebankProjFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PROJECT_SLOPEBANK_PROJ_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectSlopebankSubFile-坡岸处理 附件 - /// - /// 坡岸处理 附件 - /// - [Route("api/TL/ProjectSlopebankSubFile")] - public partial class ProjectSlopebankSubFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_PROJECT_SLOPEBANK_SUB_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region QualityCheck-子坝质量验收 - /// - /// 子坝质量验收 - /// - [Route("api/TL/QualityCheck")] - public partial class QualityCheckController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_QUALITY_CHECK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region QualityCheckFile-子坝质量验收记录 - /// - /// 子坝质量验收记录 - /// - [Route("api/TL/QualityCheckFile")] - public partial class QualityCheckFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_QUALITY_CHECK_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Require-制定要求 - /// - /// 制定要求 - /// - [Route("api/TL/Require")] - public partial class RequireController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_REQUIRE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SetWatchDaylyItem-日常观测点位 - /// - /// 日常观测点位 - /// - [Route("api/TL/SetWatchDaylyItem")] - public partial class SetWatchDaylyItemController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_SET_WATCH_DAYLY_ITEM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Tailing-尾矿库名称 - /// - /// 尾矿库名称 - /// - [Route("api/TL/Tailing")] - public partial class TailingController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_TAILING entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchDayly-日常观测 - /// - /// 日常观测 - /// - [Route("api/TL/WatchDayly")] - public partial class WatchDaylyController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_DAYLY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchDaylyDetail-日常观测明细 - /// - /// 日常观测明细 - /// - [Route("api/TL/WatchDaylyDetail")] - public partial class WatchDaylyDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_DAYLY_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchDaylyDetailUser-日常观测明细 - /// - /// 日常观测明细 - /// - [Route("api/TL/WatchDaylyDetailUser")] - public partial class WatchDaylyDetailUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_DAYLY_DETAIL_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchDaylyUser-日常观测明细 - /// - /// 日常观测明细 - /// - [Route("api/TL/WatchDaylyUser")] - public partial class WatchDaylyUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_DAYLY_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchLine-浸润线观测 - /// - /// 浸润线观测 - /// - [Route("api/TL/WatchLine")] - public partial class WatchLineController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_LINE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchLineDetail-浸润线观测明细 - /// - /// 浸润线观测明细 - /// - [Route("api/TL/WatchLineDetail")] - public partial class WatchLineDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_LINE_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchLineDetailFile-浸润线观测附件 - /// - /// 浸润线观测附件 - /// - [Route("api/TL/WatchLineDetailFile")] - public partial class WatchLineDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_LINE_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchLineDetailUser-浸润线观测 - /// - /// 浸润线观测 - /// - [Route("api/TL/WatchLineDetailUser")] - public partial class WatchLineDetailUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_LINE_DETAIL_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchLinePoint-浸润线观测配置 - /// - /// 浸润线观测配置 - /// - [Route("api/TL/WatchLinePoint")] - public partial class WatchLinePointController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_LINE_POINT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchMove-位移观测 - /// - /// 位移观测 - /// - [Route("api/TL/WatchMove")] - public partial class WatchMoveController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_MOVE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchMoveDetail-位移观测明细 - /// - /// 位移观测明细 - /// - [Route("api/TL/WatchMoveDetail")] - public partial class WatchMoveDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_MOVE_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchMoveDetailUser-位移观测明细 - /// - /// 位移观测明细 - /// - [Route("api/TL/WatchMoveDetailUser")] - public partial class WatchMoveDetailUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_MOVE_DETAIL_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchMovePoint-位移观测配置 - /// - /// 位移观测配置 - /// - [Route("api/TL/WatchMovePoint")] - public partial class WatchMovePointController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_MOVE_POINT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchPercent-坡比观测 - /// - /// 坡比观测 - /// - [Route("api/TL/WatchPercent")] - public partial class WatchPercentController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_PERCENT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchPercentDetail-坡比观测明细 - /// - /// 坡比观测明细 - /// - [Route("api/TL/WatchPercentDetail")] - public partial class WatchPercentDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_PERCENT_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchPercentDetailUser-坡比观测明细 - /// - /// 坡比观测明细 - /// - [Route("api/TL/WatchPercentDetailUser")] - public partial class WatchPercentDetailUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_PERCENT_DETAIL_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchPlanSet-人工观测 触发规则设置表 - /// - /// 人工观测 触发规则设置表 - /// - [Route("api/TL/WatchPlanSet")] - public partial class WatchPlanSetController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_PLAN_SET entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region WatchSum-人工观测汇总表 - /// - /// 人工观测汇总表 - /// - [Route("api/TL/WatchSum")] - public partial class WatchSumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_TL_WATCH_SUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectInput-外包工程录入表 - /// - /// 外包工程录入表 - /// - [Route("api/WB/ProjectInput")] - public partial class ProjectInputController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_PROJECT_INPUT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region ProjectInputFile-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/ProjectInputFile")] - public partial class ProjectInputFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_PROJECT_INPUT_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Register-外包单位信息登记表 - /// - /// 外包单位信息登记表 - /// - [Route("api/WB/Register")] - public partial class RegisterController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_REGISTER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Register1-安全生产管理协议 - /// - /// 安全生产管理协议 - /// - [Route("api/WB/Register1")] - public partial class Register1Controller : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_REGISTER_1 entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Register1File-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/Register1File")] - public partial class Register1FileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_REGISTER_1_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Register2-导航:人员信息 - /// - /// 导航:人员信息 - /// - [Route("api/WB/Register2")] - public partial class Register2Controller : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_REGISTER_2 entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Register2File1-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/Register2File1")] - public partial class Register2File1Controller : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_REGISTER_2_FILE1 entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Register2File2-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/Register2File2")] - public partial class Register2File2Controller : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_REGISTER_2_FILE2 entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Register2File3-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/Register2File3")] - public partial class Register2File3Controller : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_REGISTER_2_FILE3 entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Register2File4-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/Register2File4")] - public partial class Register2File4Controller : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_REGISTER_2_FILE4 entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Register3-资质情况 - /// - /// 资质情况 - /// - [Route("api/WB/Register3")] - public partial class Register3Controller : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_REGISTER_3 entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Register3File-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/Register3File")] - public partial class Register3FileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_REGISTER_3_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Register4-设备设施 - /// - /// 设备设施 - /// - [Route("api/WB/Register4")] - public partial class Register4Controller : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_REGISTER_4 entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Register4File-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/Register4File")] - public partial class Register4FileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_REGISTER_4_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Worktype-工种 - /// - /// 工种 - /// - [Route("api/WB/Worktype")] - public partial class WorktypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_WORKTYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region TrainSelect-外包单位入厂安全培训指派 - /// - /// 外包单位入厂安全培训指派 - /// - [Route("api/WB/TrainSelect")] - public partial class TrainSelectController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_TRAIN_SELECT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OutsourceTrainRecord-外包单位培训记录 - /// - /// 外包单位培训记录 - /// - [Route("api/WB/OutsourceTrainRecord")] - public partial class OutsourceTrainRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OutsourceTrainRecordFile-培训照片附件 - /// - /// 培训照片附件 - /// - [Route("api/WB/OutsourceTrainRecordFile")] - public partial class OutsourceTrainRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OutsourceTrainRecordPhoto-培训照片附件 - /// - /// 培训照片附件 - /// - [Route("api/WB/OutsourceTrainRecordPhoto")] - public partial class OutsourceTrainRecordPhotoController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_PHOTO entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OutsourceTrainRecordSourceOff-培训试题 - /// - /// 培训试题 - /// - [Route("api/WB/OutsourceTrainRecordSourceOff")] - public partial class OutsourceTrainRecordSourceOffController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_SOURCE_OFF entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OutsourceTrainRecordSourceOn-培训试题 - /// - /// 培训试题 - /// - [Route("api/WB/OutsourceTrainRecordSourceOn")] - public partial class OutsourceTrainRecordSourceOnController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_SOURCE_ON entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OutsourceTrainRecordUsers-培训记录人员 - /// - /// 培训记录人员 - /// - [Route("api/WB/OutsourceTrainRecordUsers")] - public partial class OutsourceTrainRecordUsersController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_USERS entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OutsourceTrainRecordUsersFiles-外包培训记录人员附件 - /// - /// 外包培训记录人员附件 - /// - [Route("api/WB/OutsourceTrainRecordUsersFiles")] - public partial class OutsourceTrainRecordUsersFilesController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_USERS_FILES entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OutsourceTrainRecordPaper-人员试题 - /// - /// 人员试题 - /// - [Route("api/WB/OutsourceTrainRecordPaper")] - public partial class OutsourceTrainRecordPaperController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_PAPER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OutsourceTrainRecordPaperOrder-人员培训记录试题单 - /// - /// 人员培训记录试题单 - /// - [Route("api/WB/OutsourceTrainRecordPaperOrder")] - public partial class OutsourceTrainRecordPaperOrderController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_PAPER_ORDER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DangerousJob-外包工程危险作业审批表 - /// - /// 外包工程危险作业审批表 - /// - [Route("api/WB/DangerousJob")] - public partial class DangerousJobController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DangerousJobFile-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/DangerousJobFile")] - public partial class DangerousJobFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DangerousJobUser-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/DangerousJobUser")] - public partial class DangerousJobUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DangerousJobDetail-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/DangerousJobDetail")] - public partial class DangerousJobDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DangerousJobAudit-导航:审核 - /// - /// 导航:审核 - /// - [Route("api/WB/DangerousJobAudit")] - public partial class DangerousJobAuditController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_AUDIT entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DangerousJobDiscloseFile-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/DangerousJobDiscloseFile")] - public partial class DangerousJobDiscloseFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_DISCLOSE_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DangerousJobDiscloseUser-导航:被交底人 - /// - /// 导航:被交底人 - /// - [Route("api/WB/DangerousJobDiscloseUser")] - public partial class DangerousJobDiscloseUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_DISCLOSE_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DangerousJobDiscloseDetail-导航:交底明细 - /// - /// 导航:交底明细 - /// - [Route("api/WB/DangerousJobDiscloseDetail")] - public partial class DangerousJobDiscloseDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_DISCLOSE_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DangerousJobMointerRecordDetail-导航:交底明细 - /// - /// 导航:交底明细 - /// - [Route("api/WB/DangerousJobMointerRecordDetail")] - public partial class DangerousJobMointerRecordDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_MOINTER_RECORD_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DangerousJobMointerRecordDetailFile-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/DangerousJobMointerRecordDetailFile")] - public partial class DangerousJobMointerRecordDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_MOINTER_RECORD_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DangerousJobRecordDetail-导航:记录明细 - /// - /// 导航:记录明细 - /// - [Route("api/WB/DangerousJobRecordDetail")] - public partial class DangerousJobRecordDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_RECORD_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region DangerousJobRecordDetailFile-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/DangerousJobRecordDetailFile")] - public partial class DangerousJobRecordDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_RECORD_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeCheck-外包单位安全检查记录 - /// - /// 外包单位安全检查记录 - /// - [Route("api/WB/SafeCheck")] - public partial class SafeCheckController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeCheckFile-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/SafeCheckFile")] - public partial class SafeCheckFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeCheckPhoto-检查照片 - /// - /// 检查照片 - /// - [Route("api/WB/SafeCheckPhoto")] - public partial class SafeCheckPhotoController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_PHOTO entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeCheckTask-外包工程安全检查任务表 - /// - /// 外包工程安全检查任务表 - /// - [Route("api/WB/SafeCheckTask")] - public partial class SafeCheckTaskController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_TASK entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeCheckTaskDetail-导航:任务明细 - /// - /// 导航:任务明细 - /// - [Route("api/WB/SafeCheckTaskDetail")] - public partial class SafeCheckTaskDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_TASK_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeCheckTaskDetailUser-检查人员 - /// - /// 检查人员 - /// - [Route("api/WB/SafeCheckTaskDetailUser")] - public partial class SafeCheckTaskDetailUserController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_TASK_DETAIL_USER entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeCheckRecord-外包工程安全检查记录表 - /// - /// 外包工程安全检查记录表 - /// - [Route("api/WB/SafeCheckRecord")] - public partial class SafeCheckRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeCheckRecordDetail-导航:记录明细 - /// - /// 导航:记录明细 - /// - [Route("api/WB/SafeCheckRecordDetail")] - public partial class SafeCheckRecordDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_RECORD_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeCheckRecordDetailFile-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/SafeCheckRecordDetailFile")] - public partial class SafeCheckRecordDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_RECORD_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeCheckRecordFile-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/SafeCheckRecordFile")] - public partial class SafeCheckRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HiddenDangerNotify-外包工程隐患整改通知单 - /// - /// 外包工程隐患整改通知单 - /// - [Route("api/WB/HiddenDangerNotify")] - public partial class HiddenDangerNotifyController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_NOTIFY entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HiddenDangerNotifyDetail-导航:隐患整改明细 - /// - /// 导航:隐患整改明细 - /// - [Route("api/WB/HiddenDangerNotifyDetail")] - public partial class HiddenDangerNotifyDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_NOTIFY_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HiddenDangerNotifyDetailFile-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/HiddenDangerNotifyDetailFile")] - public partial class HiddenDangerNotifyDetailFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_NOTIFY_DETAIL_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HiddenDangerNotifyFile-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/HiddenDangerNotifyFile")] - public partial class HiddenDangerNotifyFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_NOTIFY_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HiddenDangerRecord-外包工程隐患整改记录 - /// - /// 外包工程隐患整改记录 - /// - [Route("api/WB/HiddenDangerRecord")] - public partial class HiddenDangerRecordController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_RECORD entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HiddenDangerRecordDetail-导航:隐患整改记录明细 - /// - /// 导航:隐患整改记录明细 - /// - [Route("api/WB/HiddenDangerRecordDetail")] - public partial class HiddenDangerRecordDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_RECORD_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HiddenDangerRecordDetailAfterFile-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/HiddenDangerRecordDetailAfterFile")] - public partial class HiddenDangerRecordDetailAfterFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_RECORD_DETAIL_AFTER_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HiddenDangerRecordDetailBeforeFile-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/HiddenDangerRecordDetailBeforeFile")] - public partial class HiddenDangerRecordDetailBeforeFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_RECORD_DETAIL_BEFORE_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region HiddenDangerRecordFile-导航:附件 - /// - /// 导航:附件 - /// - [Route("api/WB/HiddenDangerRecordFile")] - public partial class HiddenDangerRecordFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_RECORD_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CheckAreaEnum-检查区域配置表 - /// - /// 检查区域配置表 - /// - [Route("api/WB/CheckAreaEnum")] - public partial class CheckAreaEnumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_CHECK_AREA_ENUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CheckMain-检查库 - /// - /// 检查库 - /// - [Route("api/WB/CheckMain")] - public partial class CheckMainController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_CHECK_MAIN entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CheckType-检查类型配置表 - /// - /// 检查类型配置表 - /// - [Route("api/WB/CheckType")] - public partial class CheckTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_CHECK_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region CheckTypeEnum-检查类型配置表 - /// - /// 检查类型配置表 - /// - [Route("api/WB/CheckTypeEnum")] - public partial class CheckTypeEnumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_CHECK_TYPE_ENUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region JobSafeMeasureEnum-外包单位作业安全表 - /// - /// 外包单位作业安全表 - /// - [Route("api/WB/JobSafeMeasureEnum")] - public partial class JobSafeMeasureEnumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_JOB_SAFE_MEASURE_ENUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region JobSafeMeasureEnumDetail-外包单位作业安全措施明细 - /// - /// 外包单位作业安全措施明细 - /// - [Route("api/WB/JobSafeMeasureEnumDetail")] - public partial class JobSafeMeasureEnumDetailController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_JOB_SAFE_MEASURE_ENUM_DETAIL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region JobTypeEnum-外包单位作业类别表 - /// - /// 外包单位作业类别表 - /// - [Route("api/WB/JobTypeEnum")] - public partial class JobTypeEnumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_JOB_TYPE_ENUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Outsource-外包题库 - /// - /// 外包题库 - /// - [Route("api/WB/Outsource")] - public partial class OutsourceController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_OUTSOURCE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OutsourceFile-外包题库附件 - /// - /// 外包题库附件 - /// - [Route("api/WB/OutsourceFile")] - public partial class OutsourceFileController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_FILE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OutsourceTest-外包题库 - /// - /// 外包题库 - /// - [Route("api/WB/OutsourceTest")] - public partial class OutsourceTestController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TEST entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OutsourceType-题库类型 - /// - /// 题库类型 - /// - [Route("api/WB/OutsourceType")] - public partial class OutsourceTypeController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TYPE entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region OutsourceVideo-外包题库视频 - /// - /// 外包题库视频 - /// - [Route("api/WB/OutsourceVideo")] - public partial class OutsourceVideoController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_VIDEO entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region Register2JobTypeEnum-人员作业类别 - /// - /// 人员作业类别 - /// - [Route("api/WB/Register2JobTypeEnum")] - public partial class Register2JobTypeEnumController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_REGISTER_2_JOB_TYPE_ENUM entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region RelatedLevel-资质等级表 - /// - /// 资质等级表 - /// - [Route("api/WB/RelatedLevel")] - public partial class RelatedLevelController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_RELATED_LEVEL entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - #region SafeCheckTaskArea-安全检查任务区域 - /// - /// 安全检查任务区域 - /// - [Route("api/WB/SafeCheckTaskArea")] - public partial class SafeCheckTaskAreaController : AuthorizeApiController - { - /// - /// 查询所有数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Entities")] - public JsonActionResult> Entities([FromBody]KeywordFilter filter) - { - return WitEntities(null, filter); - } - /// - /// 排序查询所有数据 - /// - /// 过滤实体 - /// - - [HttpPost, Route("OrderEntities")] - public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) - { - return WitOrderEntities(null, filter); - } - /// - /// 分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("Paged")] - public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) - { - return WitPaged(null, pageFilter); - } - /// - /// 排序分页查询数据 - /// - /// 分页过滤实体 - /// - [HttpPost, Route("OrderPaged")] - public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) - { - return WitOrderPaged(null, pageFilter); - } - /// - /// 根据主键删除数据 - /// - /// 主键ID - /// - [HttpGet, Route("Delete")] - public JsonActionResult Delete(string id) - { - return WitRealDelete(id); - } - - /// - /// 更新或新增数据 - /// - /// 对象实体 - /// - [HttpPost, Route("Update")] - public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_TASK_AREA entity) - { - return WitUpdate(entity); - } - - /// - /// 批量更新 - /// - /// 对象实体 - /// - [HttpPost, Route("BatchUpdate")] - public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) - { - return WitBantchUpdate(entity?.Data); - } - - /// - /// 批量删除数据 - /// - /// id字符串(id用逗号分隔) - /// - [HttpGet, Route("BatchDelete")] - public JsonActionResult BatchDelete(string ids) - { - return WitRealBatchDelete(ids); - } - - /// - /// 获得单条实体数据 - /// - /// 过滤实体 - /// - [HttpPost, Route("Get")] - public JsonActionResult Get([FromBody] KeywordFilter filter) - { - return WitEntity(null, filter); - } - - - } - #endregion - - } - + #region AccidentEventDamageObject-致害物 + /// + /// 致害物 + /// + [Route("api/AE/AccidentEventDamageObject")] + public partial class AccidentEventDamageObjectController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_DAMAGE_OBJECT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventReasonType-事故事件原因类别 + /// + /// 事故事件原因类别 + /// + [Route("api/AE/AccidentEventReasonType")] + public partial class AccidentEventReasonTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_REASON_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventReport-事故事件上报 + /// + /// 事故事件上报 + /// + [Route("api/AE/AccidentEventReport")] + public partial class AccidentEventReportController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_REPORT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventReportFile-事故现场 + /// + /// 事故现场 + /// + [Route("api/AE/AccidentEventReportFile")] + public partial class AccidentEventReportFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_REPORT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventReportListKind-导航属性: 事故种类 + /// + /// 导航属性: 事故种类 + /// + [Route("api/AE/AccidentEventReportListKind")] + public partial class AccidentEventReportListKindController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_REPORT_LIST_KIND entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventSurveyAdmPunishment-导航属性: 行政处罚信息 + /// + /// 导航属性: 行政处罚信息 + /// + [Route("api/AE/AccidentEventSurveyAdmPunishment")] + public partial class AccidentEventSurveyAdmPunishmentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_ADM_PUNISHMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventSurveyCasualties-导航属性: 人员伤亡信息 + /// + /// 导航属性: 人员伤亡信息 + /// + [Route("api/AE/AccidentEventSurveyCasualties")] + public partial class AccidentEventSurveyCasualtiesController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_CASUALTIES entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventSurveyDamageObject-致害物 + /// + /// 致害物 + /// + [Route("api/AE/AccidentEventSurveyDamageObject")] + public partial class AccidentEventSurveyDamageObjectController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_DAMAGE_OBJECT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventSurveyEquipmentLoss-导航属性: 设备设施损失信息 + /// + /// 导航属性: 设备设施损失信息 + /// + [Route("api/AE/AccidentEventSurveyEquipmentLoss")] + public partial class AccidentEventSurveyEquipmentLossController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_EQUIPMENT_LOSS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventSurveyFile-调查报告附件 + /// + /// 调查报告附件 + /// + [Route("api/AE/AccidentEventSurveyFile")] + public partial class AccidentEventSurveyFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventSurveyForensics-导航属性: 调查取证资料 + /// + /// 导航属性: 调查取证资料 + /// + [Route("api/AE/AccidentEventSurveyForensics")] + public partial class AccidentEventSurveyForensicsController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_FORENSICS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventSurveyForensicsFile-导航属性: 调查取证资料附件 + /// + /// 导航属性: 调查取证资料附件 + /// + [Route("api/AE/AccidentEventSurveyForensicsFile")] + public partial class AccidentEventSurveyForensicsFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_FORENSICS_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventSurveyPfile-公示文件附件 + /// + /// 公示文件附件 + /// + [Route("api/AE/AccidentEventSurveyPfile")] + public partial class AccidentEventSurveyPfileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_PFILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventSurveyReason-导航属性: 事故事件原因 + /// + /// 导航属性: 事故事件原因 + /// + [Route("api/AE/AccidentEventSurveyReason")] + public partial class AccidentEventSurveyReasonController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_REASON entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventSurveyReasonType-事故事件原因类别 + /// + /// 事故事件原因类别 + /// + [Route("api/AE/AccidentEventSurveyReasonType")] + public partial class AccidentEventSurveyReasonTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_REASON_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentEventSurveyResult-事故事件调查结果填报表 + /// + /// 事故事件调查结果填报表 + /// + [Route("api/AE/AccidentEventSurveyResult")] + public partial class AccidentEventSurveyResultController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_EVENT_SURVEY_RESULT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentKind-事故种类 + /// + /// 事故种类 + /// + [Route("api/AE/AccidentKind")] + public partial class AccidentKindController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_KIND entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentLevelDays-事故等级结案限制 + /// + /// 事故等级结案限制 + /// + [Route("api/AE/AccidentLevelDays")] + public partial class AccidentLevelDaysController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_LEVEL_DAYS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentSurveyTeamDeputyLeader-事故调查小组副组长 + /// + /// 事故调查小组副组长 + /// + [Route("api/AE/AccidentSurveyTeamDeputyLeader")] + public partial class AccidentSurveyTeamDeputyLeaderController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_SURVEY_TEAM_DEPUTY_LEADER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentSurveyTeamMember-事故调查小组成员 + /// + /// 事故调查小组成员 + /// + [Route("api/AE/AccidentSurveyTeamMember")] + public partial class AccidentSurveyTeamMemberController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_SURVEY_TEAM_MEMBER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentSurveyTeamMembers-导航属性: 事故调查小组组员 + /// + /// 导航属性: 事故调查小组组员 + /// + [Route("api/AE/AccidentSurveyTeamMembers")] + public partial class AccidentSurveyTeamMembersController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_SURVEY_TEAM_MEMBERS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AccidentType-事故类型 + /// + /// 事故类型 + /// + [Route("api/AE/AccidentType")] + public partial class AccidentTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_ACCIDENT_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DosetDepartmentUser-触发设置 + /// + /// 触发设置 + /// + [Route("api/AE/DosetDepartmentUser")] + public partial class DosetDepartmentUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_DOSET_DEPARTMENT_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InvestigationRecord-勘察记录 + /// + /// 勘察记录 + /// + [Route("api/AE/InvestigationRecord")] + public partial class InvestigationRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_INVESTIGATION_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InvestigationRecordAccFiles-勘察记录表事故照片 + /// + /// 勘察记录表事故照片 + /// + [Route("api/AE/InvestigationRecordAccFiles")] + public partial class InvestigationRecordAccFilesController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_INVESTIGATION_RECORD_ACC_FILES entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InvestigationRecordAskUsers-询问人员中间表 + /// + /// 询问人员中间表 + /// + [Route("api/AE/InvestigationRecordAskUsers")] + public partial class InvestigationRecordAskUsersController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_INVESTIGATION_RECORD_ASK_USERS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InvestigationRecordChartFiles-勘察记录表绘制事故图 + /// + /// 勘察记录表绘制事故图 + /// + [Route("api/AE/InvestigationRecordChartFiles")] + public partial class InvestigationRecordChartFilesController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_INVESTIGATION_RECORD_CHART_FILES entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InvestigationRecordInvestigationUsers-勘察人员中间表 + /// + /// 勘察人员中间表 + /// + [Route("api/AE/InvestigationRecordInvestigationUsers")] + public partial class InvestigationRecordInvestigationUsersController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_INVESTIGATION_RECORD_INVESTIGATION_USERS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InvestigationRecordNotesFiles-勘察记录表现场笔录 + /// + /// 勘察记录表现场笔录 + /// + [Route("api/AE/InvestigationRecordNotesFiles")] + public partial class InvestigationRecordNotesFilesController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_AE_INVESTIGATION_RECORD_NOTES_FILES entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetaskFinish-安全任务完成分析 + /// + /// 安全任务完成分析 + /// + [Route("api/BI/SafetaskFinish")] + public partial class SafetaskFinishController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_SAFETASK_FINISH entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ActiveUserRecord-活跃用户记录表 + /// + /// 活跃用户记录表 + /// + [Route("api/BI/ActiveUserRecord")] + public partial class ActiveUserRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_ACTIVE_USER_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LoginRecord-登录记录表 + /// + /// 登录记录表 + /// + [Route("api/BI/LoginRecord")] + public partial class LoginRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_LOGIN_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AreaTree-区域树 + /// + /// 区域树 + /// + [Route("api/BI/AreaTree")] + public partial class AreaTreeController : AuthorizeTreeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_AREA_TREE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + /// + /// 获得树形实体数据 + /// + /// + /// + [HttpPost, Route("TreeData")] + public JsonActionResult>> TreeData([FromBody] KeywordFilter filter) + { + return WitTreeOrderEntities(null, filter); + } + + } + #endregion + #region Bschecktype-安全检查情况占比 + /// + /// 安全检查情况占比 + /// + [Route("api/BI/Bschecktype")] + public partial class BschecktypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_BSCHECKTYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region BschecktypeYear-安全检查情况综合统计分析 + /// + /// 安全检查情况综合统计分析 + /// + [Route("api/BI/BschecktypeYear")] + public partial class BschecktypeYearController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_BSCHECKTYPE_YEAR entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region BsriskInfo-安全检查情况综合统计分析 + /// + /// 安全检查情况综合统计分析 + /// + [Route("api/BI/BsriskInfo")] + public partial class BsriskInfoController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_BSRISK_INFO entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Bssafecheck-班组安全检查完成率分析 + /// + /// 班组安全检查完成率分析 + /// + [Route("api/BI/Bssafecheck")] + public partial class BssafecheckController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_BSSAFECHECK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region BssafechecktypeYear-部门级年度安全检查情况综合统计分析 + /// + /// 部门级年度安全检查情况综合统计分析 + /// + [Route("api/BI/BssafechecktypeYear")] + public partial class BssafechecktypeYearController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_BSSAFECHECKTYPE_YEAR entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region BssafecheckYear-年度安全检查情况综合统计分析 + /// + /// 年度安全检查情况综合统计分析 + /// + [Route("api/BI/BssafecheckYear")] + public partial class BssafecheckYearController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_BSSAFECHECK_YEAR entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CloseTasks-教育模块统计 + /// + /// 教育模块统计 + /// + [Route("api/BI/CloseTasks")] + public partial class CloseTasksController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_CLOSE_TASKS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DepartmentMonthRun-矿山部选矿部月份折线图 + /// + /// 矿山部选矿部月份折线图 + /// + [Route("api/BI/DepartmentMonthRun")] + public partial class DepartmentMonthRunController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_DEPARTMENT_MONTH_RUN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region FormCheckItem-检查项目配置表 + /// + /// 检查项目配置表 + /// + [Route("api/BI/FormCheckItem")] + public partial class FormCheckItemController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_FORM_CHECK_ITEM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region FormRunAnalysis-表单运行情况分析 + /// + /// 表单运行情况分析 + /// + [Route("api/BI/FormRunAnalysis")] + public partial class FormRunAnalysisController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_FORM_RUN_ANALYSIS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HomeBsriskreason-首页隐患原因 + /// + /// 首页隐患原因 + /// + [Route("api/BI/HomeBsriskreason")] + public partial class HomeBsriskreasonController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_HOME_BSRISKREASON entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HriskchangePec-各部门隐患整改率 + /// + /// 各部门隐患整改率 + /// + [Route("api/BI/HriskchangePec")] + public partial class HriskchangePecController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_HRISKCHANGE_PEC entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HriskCount-各部门隐患数量 + /// + /// 各部门隐患数量 + /// + [Route("api/BI/HriskCount")] + public partial class HriskCountController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_HRISK_COUNT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HriskTop-高频隐患 + /// + /// 高频隐患 + /// + [Route("api/BI/HriskTop")] + public partial class HriskTopController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_HRISK_TOP entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region JobProfile- + /// + /// + /// + [Route("api/BI/JobProfile")] + public partial class JobProfileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_JOB_PROFILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MouldRunSummary-安全生产模块运行情况汇总 + /// + /// 安全生产模块运行情况汇总 + /// + [Route("api/BI/MouldRunSummary")] + public partial class MouldRunSummaryController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_MOULD_RUN_SUMMARY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region NotificationTask-待办汇总表 + /// + /// 待办汇总表 + /// + [Route("api/BI/NotificationTask")] + public partial class NotificationTaskController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_NOTIFICATION_TASK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region NotificationTaskNew-消息中间表 + /// + /// 消息中间表 + /// + [Route("api/BI/NotificationTaskNew")] + public partial class NotificationTaskNewController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_NOTIFICATION_TASK_NEW entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RiskLevel1-风险统计1 + /// + /// 风险统计1 + /// + [Route("api/BI/RiskLevel1")] + public partial class RiskLevel1Controller : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_RISK_LEVEL1 entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RiskLevel2-风险统计2 + /// + /// 风险统计2 + /// + [Route("api/BI/RiskLevel2")] + public partial class RiskLevel2Controller : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_RISK_LEVEL2 entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Runlog-统计日志 (按Code更新) + /// + /// 统计日志 (按Code更新) + /// + [Route("api/BI/Runlog")] + public partial class RunlogController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_RUNLOG entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Summary-数量统计 + /// + /// 数量统计 + /// + [Route("api/BI/Summary")] + public partial class SummaryController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_SUMMARY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SystemRunSummary-安全生产系统运行情况汇总 + /// + /// 安全生产系统运行情况汇总 + /// + [Route("api/BI/SystemRunSummary")] + public partial class SystemRunSummaryController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_SYSTEM_RUN_SUMMARY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainPlanCount-教育模块统计 + /// + /// 教育模块统计 + /// + [Route("api/BI/TrainPlanCount")] + public partial class TrainPlanCountController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_BI_TRAIN_PLAN_COUNT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AbilityEvaluate-应急能力评估表 + /// + /// 应急能力评估表 + /// + [Route("api/CM/AbilityEvaluate")] + public partial class AbilityEvaluateController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_ABILITY_EVALUATE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AbilityEvaluateProject-应急能力评估项目中间表 + /// + /// 应急能力评估项目中间表 + /// + [Route("api/CM/AbilityEvaluateProject")] + public partial class AbilityEvaluateProjectController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_ABILITY_EVALUATE_PROJECT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AbilityEvaluateUser-评估人员表 + /// + /// 评估人员表 + /// + [Route("api/CM/AbilityEvaluateUser")] + public partial class AbilityEvaluateUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_ABILITY_EVALUATE_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AbilityProject-评估项目表 + /// + /// 评估项目表 + /// + [Route("api/CM/AbilityProject")] + public partial class AbilityProjectController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_ABILITY_PROJECT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Config-应急模块基础配置 + /// + /// 应急模块基础配置 + /// + [Route("api/CM/Config")] + public partial class ConfigController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_CONFIG entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ContingencyType-预案类型 + /// + /// 预案类型 + /// + [Route("api/CM/ContingencyType")] + public partial class ContingencyTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_CONTINGENCY_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CoverageInfluence-影响范围表 + /// + /// 影响范围表 + /// + [Route("api/CM/CoverageInfluence")] + public partial class CoverageInfluenceController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_COVERAGE_INFLUENCE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrillEstimate-应急演练活动评估 + /// + /// 应急演练活动评估 + /// + [Route("api/CM/DrillEstimate")] + public partial class DrillEstimateController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_DRILL_ESTIMATE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrillEstimateItemType-演练活动记录评估项目类型 + /// + /// 演练活动记录评估项目类型 + /// + [Route("api/CM/DrillEstimateItemType")] + public partial class DrillEstimateItemTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_DRILL_ESTIMATE_ITEM_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrillEstimateRecord-应急演练活动评估项目 + /// + /// 应急演练活动评估项目 + /// + [Route("api/CM/DrillEstimateRecord")] + public partial class DrillEstimateRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_DRILL_ESTIMATE_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrillName-应急演练名称 + /// + /// 应急演练名称 + /// + [Route("api/CM/DrillName")] + public partial class DrillNameController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_DRILL_NAME entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrillPlan-年度应急演练计划表 + /// + /// 年度应急演练计划表 + /// + [Route("api/CM/DrillPlan")] + public partial class DrillPlanController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_DRILL_PLAN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrillPlanDetail-应急演练计划明细表 + /// + /// 应急演练计划明细表 + /// + [Route("api/CM/DrillPlanDetail")] + public partial class DrillPlanDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_DRILL_PLAN_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrillPlanStandardCreate-关联应急预案 + /// + /// 关联应急预案 + /// + [Route("api/CM/DrillPlanStandardCreate")] + public partial class DrillPlanStandardCreateController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_DRILL_PLAN_STANDARD_CREATE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrillRecord-应急演练活动记录 + /// + /// 应急演练活动记录 + /// + [Route("api/CM/DrillRecord")] + public partial class DrillRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_DRILL_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrillRecordDepartment-导航属性:内部参与演练单位 + /// + /// 导航属性:内部参与演练单位 + /// + [Route("api/CM/DrillRecordDepartment")] + public partial class DrillRecordDepartmentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_DRILL_RECORD_DEPARTMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrillRecordFile-导航属性:演练记录文件 + /// + /// 导航属性:演练记录文件 + /// + [Route("api/CM/DrillRecordFile")] + public partial class DrillRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_DRILL_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrillRecordSummaryFile-导航属性:演练记录报告文件 + /// + /// 导航属性:演练记录报告文件 + /// + [Route("api/CM/DrillRecordSummaryFile")] + public partial class DrillRecordSummaryFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_DRILL_RECORD_SUMMARY_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrillRecordUserEstimate-导航属性:演练记录评估人员 + /// + /// 导航属性:演练记录评估人员 + /// + [Route("api/CM/DrillRecordUserEstimate")] + public partial class DrillRecordUserEstimateController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_DRILL_RECORD_USER_ESTIMATE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrillSummaryRequirement-演练总结要求 + /// + /// 演练总结要求 + /// + [Route("api/CM/DrillSummaryRequirement")] + public partial class DrillSummaryRequirementController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_DRILL_SUMMARY_REQUIREMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrillSummaryRequirementType-演练总结要求项目 + /// + /// 演练总结要求项目 + /// + [Route("api/CM/DrillSummaryRequirementType")] + public partial class DrillSummaryRequirementTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_DRILL_SUMMARY_REQUIREMENT_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EquipmentDemandSurvey-应急装备需求调查表 + /// + /// 应急装备需求调查表 + /// + [Route("api/CM/EquipmentDemandSurvey")] + public partial class EquipmentDemandSurveyController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_EQUIPMENT_DEMAND_SURVEY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EquipmentDemandSurveyDetail-应急装备需求调查明细 + /// + /// 应急装备需求调查明细 + /// + [Route("api/CM/EquipmentDemandSurveyDetail")] + public partial class EquipmentDemandSurveyDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_EQUIPMENT_DEMAND_SURVEY_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EquipmentDemandSurveyFile-导航属性:应急装备需求调查表文件 + /// + /// 导航属性:应急装备需求调查表文件 + /// + [Route("api/CM/EquipmentDemandSurveyFile")] + public partial class EquipmentDemandSurveyFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_EQUIPMENT_DEMAND_SURVEY_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EquipmentDemandSurveyMaster-应急装备需求调查汇总表 + /// + /// 应急装备需求调查汇总表 + /// + [Route("api/CM/EquipmentDemandSurveyMaster")] + public partial class EquipmentDemandSurveyMasterController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_EQUIPMENT_DEMAND_SURVEY_MASTER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EquipmentDemandSurveyMasterFile-导航属性:应急装备需求调查表文件 + /// + /// 导航属性:应急装备需求调查表文件 + /// + [Route("api/CM/EquipmentDemandSurveyMasterFile")] + public partial class EquipmentDemandSurveyMasterFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_EQUIPMENT_DEMAND_SURVEY_MASTER_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EventType-事件类型表 + /// + /// 事件类型表 + /// + [Route("api/CM/EventType")] + public partial class EventTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_EVENT_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MaterialLibrary-应急物资库 + /// + /// 应急物资库 + /// + [Route("api/CM/MaterialLibrary")] + public partial class MaterialLibraryController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_MATERIAL_LIBRARY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MaterialLibraryFile-应急物资库附件表 + /// + /// 应急物资库附件表 + /// + [Route("api/CM/MaterialLibraryFile")] + public partial class MaterialLibraryFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_MATERIAL_LIBRARY_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MaterialOperateDetail-物资操作明细 + /// + /// 物资操作明细 + /// + [Route("api/CM/MaterialOperateDetail")] + public partial class MaterialOperateDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_MATERIAL_OPERATE_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MaterialOperateRecord-物资操作单 + /// + /// 物资操作单 + /// + [Route("api/CM/MaterialOperateRecord")] + public partial class MaterialOperateRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_MATERIAL_OPERATE_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MaterialType-资源类型表 + /// + /// 资源类型表 + /// + [Route("api/CM/MaterialType")] + public partial class MaterialTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_MATERIAL_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RspEstimate-应急响应评估表 + /// + /// 应急响应评估表 + /// + [Route("api/CM/RspEstimate")] + public partial class RspEstimateController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_RSP_ESTIMATE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RspEstimateCondition-应急响应评估情况 + /// + /// 应急响应评估情况 + /// + [Route("api/CM/RspEstimateCondition")] + public partial class RspEstimateConditionController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_RSP_ESTIMATE_CONDITION entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RspEstimateConditions-导航属性: 应急响应情况 + /// + /// 导航属性: 应急响应情况 + /// + [Route("api/CM/RspEstimateConditions")] + public partial class RspEstimateConditionsController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_RSP_ESTIMATE_CONDITIONS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RspEstimateEstimateUser-导航属性:应急响应评估表评估人员 + /// + /// 导航属性:应急响应评估表评估人员 + /// + [Route("api/CM/RspEstimateEstimateUser")] + public partial class RspEstimateEstimateUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_RSP_ESTIMATE_ESTIMATE_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RspEstimateEventKind-导航属性: 事故/事件种类 + /// + /// 导航属性: 事故/事件种类 + /// + [Route("api/CM/RspEstimateEventKind")] + public partial class RspEstimateEventKindController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_RSP_ESTIMATE_EVENT_KIND entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RspEstimateJoinUser-导航属性:应急响应评估表人员 + /// + /// 导航属性:应急响应评估表人员 + /// + [Route("api/CM/RspEstimateJoinUser")] + public partial class RspEstimateJoinUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_RSP_ESTIMATE_JOIN_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region UrgentArearInfluence-导航属性:预计影响范围 + /// + /// 导航属性:预计影响范围 + /// + [Route("api/CM/UrgentArearInfluence")] + public partial class UrgentArearInfluenceController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_URGENT_AREAR_INFLUENCE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region UrgentEvent-潜在紧急事件 + /// + /// 潜在紧急事件 + /// + [Route("api/CM/UrgentEvent")] + public partial class UrgentEventController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_URGENT_EVENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region UrgentEventContingencyPlan-预案类型 + /// + /// 预案类型 + /// + [Route("api/CM/UrgentEventContingencyPlan")] + public partial class UrgentEventContingencyPlanController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_URGENT_EVENT_CONTINGENCY_PLAN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region UrgentEventRiskType-导航属性:风险类别 + /// + /// 导航属性:风险类别 + /// + [Route("api/CM/UrgentEventRiskType")] + public partial class UrgentEventRiskTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_CM_URGENT_EVENT_RISK_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Colorset-四色图颜色配置 + /// + /// 四色图颜色配置 + /// + [Route("api/PC/Colorset")] + public partial class ColorsetController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PC_COLORSET entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Info-四色图配置信息 + /// + /// 四色图配置信息 + /// + [Route("api/PC/Info")] + public partial class InfoController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PC_INFO entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InfoColor-安全检查文件 + /// + /// 安全检查文件 + /// + [Route("api/PC/InfoColor")] + public partial class InfoColorController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PC_INFO_COLOR entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InfoColorArea-绑定区域 + /// + /// 绑定区域 + /// + [Route("api/PC/InfoColorArea")] + public partial class InfoColorAreaController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PC_INFO_COLOR_AREA entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InfoColorPoint-安全检查文件 + /// + /// 安全检查文件 + /// + [Route("api/PC/InfoColorPoint")] + public partial class InfoColorPointController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PC_INFO_COLOR_POINT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InfoFile-四色背景图 + /// + /// 四色背景图 + /// + [Route("api/PC/InfoFile")] + public partial class InfoFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PC_INFO_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Category-设备检查库系统分类 + /// + /// 设备检查库系统分类 + /// + [Route("api/DM/Category")] + public partial class CategoryController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_CATEGORY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DetectionInspectionRecord-设备检测检验记录 + /// + /// 设备检测检验记录 + /// + [Route("api/DM/DetectionInspectionRecord")] + public partial class DetectionInspectionRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DETECTION_INSPECTION_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DetectionInspectionRecordFile-检测检验附件 + /// + /// 检测检验附件 + /// + [Route("api/DM/DetectionInspectionRecordFile")] + public partial class DetectionInspectionRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DETECTION_INSPECTION_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Device-设备设施名称维护 + /// + /// 设备设施名称维护 + /// + [Route("api/DM/Device")] + public partial class DeviceController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceApply-设备设施申领 + /// + /// 设备设施申领 + /// + [Route("api/DM/DeviceApply")] + public partial class DeviceApplyController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_APPLY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceApplyDetail-设备设施申领细表 + /// + /// 设备设施申领细表 + /// + [Route("api/DM/DeviceApplyDetail")] + public partial class DeviceApplyDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_APPLY_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceBase-设备设施库 + /// + /// 设备设施库 + /// + [Route("api/DM/DeviceBase")] + public partial class DeviceBaseController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceBaseCheck-设备设施检查明细 + /// + /// 设备设施检查明细 + /// + [Route("api/DM/DeviceBaseCheck")] + public partial class DeviceBaseCheckController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_CHECK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceBaseCheckUser-设备设施检查点检人 + /// + /// 设备设施检查点检人 + /// + [Route("api/DM/DeviceBaseCheckUser")] + public partial class DeviceBaseCheckUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_CHECK_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceBaseFile-设备设施库附件表 + /// + /// 设备设施库附件表 + /// + [Route("api/DM/DeviceBaseFile")] + public partial class DeviceBaseFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceBaseInspection-设备设施检测检验记录 + /// + /// 设备设施检测检验记录 + /// + [Route("api/DM/DeviceBaseInspection")] + public partial class DeviceBaseInspectionController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_INSPECTION entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceBaseInspectionFile-检测检验附件表 + /// + /// 检测检验附件表 + /// + [Route("api/DM/DeviceBaseInspectionFile")] + public partial class DeviceBaseInspectionFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_INSPECTION_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceBaseOverhaul-设备设施检修记录 + /// + /// 设备设施检修记录 + /// + [Route("api/DM/DeviceBaseOverhaul")] + public partial class DeviceBaseOverhaulController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_OVERHAUL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceBaseOverhaulFile-附件表 + /// + /// 附件表 + /// + [Route("api/DM/DeviceBaseOverhaulFile")] + public partial class DeviceBaseOverhaulFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_OVERHAUL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceBasePurchase-设备设施库采购记录 + /// + /// 设备设施库采购记录 + /// + [Route("api/DM/DeviceBasePurchase")] + public partial class DeviceBasePurchaseController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_PURCHASE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceBasePurchaseDetail-设备设施采购明细表 + /// + /// 设备设施采购明细表 + /// + [Route("api/DM/DeviceBasePurchaseDetail")] + public partial class DeviceBasePurchaseDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_PURCHASE_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceBasePurchaseDetailFile-设备设施采购附件表 + /// + /// 设备设施采购附件表 + /// + [Route("api/DM/DeviceBasePurchaseDetailFile")] + public partial class DeviceBasePurchaseDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_PURCHASE_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceBasePurchaseDetailReceiptFile-设备设施采购验收单附件表 + /// + /// 设备设施采购验收单附件表 + /// + [Route("api/DM/DeviceBasePurchaseDetailReceiptFile")] + public partial class DeviceBasePurchaseDetailReceiptFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_PURCHASE_DETAIL_RECEIPT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceBaseReceiptFile-安全验收附件 + /// + /// 安全验收附件 + /// + [Route("api/DM/DeviceBaseReceiptFile")] + public partial class DeviceBaseReceiptFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_BASE_RECEIPT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceCheck-设备检查 + /// + /// 设备检查 + /// + [Route("api/DM/DeviceCheck")] + public partial class DeviceCheckController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_CHECK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceCheckDetail-设备检查明细 + /// + /// 设备检查明细 + /// + [Route("api/DM/DeviceCheckDetail")] + public partial class DeviceCheckDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_CHECK_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceCheckDetailFile- + /// + /// + /// + [Route("api/DM/DeviceCheckDetailFile")] + public partial class DeviceCheckDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_CHECK_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceCheckFile-设备检查附件表 + /// + /// 设备检查附件表 + /// + [Route("api/DM/DeviceCheckFile")] + public partial class DeviceCheckFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_CHECK_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceCheckType-设备检查类型 + /// + /// 设备检查类型 + /// + [Route("api/DM/DeviceCheckType")] + public partial class DeviceCheckTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_CHECK_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceCheckUser-设备检查人员 + /// + /// 设备检查人员 + /// + [Route("api/DM/DeviceCheckUser")] + public partial class DeviceCheckUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_CHECK_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceIssue-设备设施发放表 + /// + /// 设备设施发放表 + /// + [Route("api/DM/DeviceIssue")] + public partial class DeviceIssueController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_ISSUE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceIssueDetail-设备设施发放细表 + /// + /// 设备设施发放细表 + /// + [Route("api/DM/DeviceIssueDetail")] + public partial class DeviceIssueDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_ISSUE_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceMaintenanceCheck-设备设施维保 + /// + /// 设备设施维保 + /// + [Route("api/DM/DeviceMaintenanceCheck")] + public partial class DeviceMaintenanceCheckController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_CHECK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceMaintenanceCheckDetail-设备设施维保明细 + /// + /// 设备设施维保明细 + /// + [Route("api/DM/DeviceMaintenanceCheckDetail")] + public partial class DeviceMaintenanceCheckDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_CHECK_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceMaintenanceCheckDetailFile-设备设施维保附件 + /// + /// 设备设施维保附件 + /// + [Route("api/DM/DeviceMaintenanceCheckDetailFile")] + public partial class DeviceMaintenanceCheckDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_CHECK_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceMaintenanceCheckFile-设备设施维保附件 + /// + /// 设备设施维保附件 + /// + [Route("api/DM/DeviceMaintenanceCheckFile")] + public partial class DeviceMaintenanceCheckFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_CHECK_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceMaintenanceCheckUser-维保人员 + /// + /// 维保人员 + /// + [Route("api/DM/DeviceMaintenanceCheckUser")] + public partial class DeviceMaintenanceCheckUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_CHECK_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceMaintenancePlan-设备设施维保计划 + /// + /// 设备设施维保计划 + /// + [Route("api/DM/DeviceMaintenancePlan")] + public partial class DeviceMaintenancePlanController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_PLAN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceMaintenancePlanDetail-设备设施维保计划明细 + /// + /// 设备设施维保计划明细 + /// + [Route("api/DM/DeviceMaintenancePlanDetail")] + public partial class DeviceMaintenancePlanDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_PLAN_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceMaintenancePplanFile-设备维保计划维保工作方案 + /// + /// 设备维保计划维保工作方案 + /// + [Route("api/DM/DeviceMaintenancePplanFile")] + public partial class DeviceMaintenancePplanFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_PPLAN_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceMaintenancePlanUser-计划检查人员 + /// + /// 计划检查人员 + /// + [Route("api/DM/DeviceMaintenancePlanUser")] + public partial class DeviceMaintenancePlanUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_PLAN_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceMaintenancePlanFile-设备维保计划附件表 + /// + /// 设备维保计划附件表 + /// + [Route("api/DM/DeviceMaintenancePlanFile")] + public partial class DeviceMaintenancePlanFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_MAINTENANCE_PLAN_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceOverhaul-检修记录 + /// + /// 检修记录 + /// + [Route("api/DM/DeviceOverhaul")] + public partial class DeviceOverhaulController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_OVERHAUL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceOverhaulFile-设备设施故障报修记录附件表 + /// + /// 设备设施故障报修记录附件表 + /// + [Route("api/DM/DeviceOverhaulFile")] + public partial class DeviceOverhaulFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_OVERHAUL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DevicePurchase-设备设施库采购记录 + /// + /// 设备设施库采购记录 + /// + [Route("api/DM/DevicePurchase")] + public partial class DevicePurchaseController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_PURCHASE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DevicePurchaseDetail-设备设施采购记录明细 + /// + /// 设备设施采购记录明细 + /// + [Route("api/DM/DevicePurchaseDetail")] + public partial class DevicePurchaseDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_PURCHASE_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DevicePurchaseDetailFile-设备设施采购附件表 + /// + /// 设备设施采购附件表 + /// + [Route("api/DM/DevicePurchaseDetailFile")] + public partial class DevicePurchaseDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_PURCHASE_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DevicePurchaseDetailReceiptFile-设备设施采购验收单附件表 + /// + /// 设备设施采购验收单附件表 + /// + [Route("api/DM/DevicePurchaseDetailReceiptFile")] + public partial class DevicePurchaseDetailReceiptFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_PURCHASE_DETAIL_RECEIPT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceRepair-设备设施故障报修 + /// + /// 设备设施故障报修 + /// + [Route("api/DM/DeviceRepair")] + public partial class DeviceRepairController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_REPAIR entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceRepairFile-设备设施故障报修附件表 + /// + /// 设备设施故障报修附件表 + /// + [Route("api/DM/DeviceRepairFile")] + public partial class DeviceRepairFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_REPAIR_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DeviceScrap-设备设施报废 + /// + /// 设备设施报废 + /// + [Route("api/DM/DeviceScrap")] + public partial class DeviceScrapController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_DEVICE_SCRAP entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TimeRun-触发时间配置表 + /// + /// 触发时间配置表 + /// + [Route("api/DM/TimeRun")] + public partial class TimeRunController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_TIME_RUN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TimeRunContent- + /// + /// + /// + [Route("api/DM/TimeRunContent")] + public partial class TimeRunContentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_TIME_RUN_CONTENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Type-设备检查库类型 + /// + /// 设备检查库类型 + /// + [Route("api/DM/Type")] + public partial class TypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_DM_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Lrconfig-法律法规配置 + /// + /// 法律法规配置 + /// + [Route("api/LR/Lrconfig")] + public partial class LrconfigController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LRCONFIG entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region IntegrateUpdateTime-法律法规更新与融入时间 + /// + /// 法律法规更新与融入时间 + /// + [Route("api/LR/IntegrateUpdateTime")] + public partial class IntegrateUpdateTimeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_INTEGRATE_UPDATE_TIME entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DemandDistinguish-安全生产法律法规需求识别表 + /// + /// 安全生产法律法规需求识别表 + /// + [Route("api/LR/DemandDistinguish")] + public partial class DemandDistinguishController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_DEMAND_DISTINGUISH entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DemandType-法律识别需求类别 + /// + /// 法律识别需求类别 + /// + [Route("api/LR/DemandType")] + public partial class DemandTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_DEMAND_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DemandLaw-识别法律法规 + /// + /// 识别法律法规 + /// + [Route("api/LR/DemandLaw")] + public partial class DemandLawController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_DEMAND_LAW entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DemandOther-识别其他 + /// + /// 识别其他 + /// + [Route("api/LR/DemandOther")] + public partial class DemandOtherController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_DEMAND_OTHER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DemandDistinguishReport-法律法规需求分析表 + /// + /// 法律法规需求分析表 + /// + [Route("api/LR/DemandDistinguishReport")] + public partial class DemandDistinguishReportController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_DEMAND_DISTINGUISH_REPORT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DemandDistinguishReportDetail-导航:识别报表明细 + /// + /// 导航:识别报表明细 + /// + [Route("api/LR/DemandDistinguishReportDetail")] + public partial class DemandDistinguishReportDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_DEMAND_DISTINGUISH_REPORT_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LegalList-法律法规获取清单表 + /// + /// 法律法规获取清单表 + /// + [Route("api/LR/LegalList")] + public partial class LegalListController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LEGAL_LIST entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LegalListDetail-导航属性:获取清单明细表 + /// + /// 导航属性:获取清单明细表 + /// + [Route("api/LR/LegalListDetail")] + public partial class LegalListDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LEGAL_LIST_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LegalListDetailUser-导航:需求人员 + /// + /// 导航:需求人员 + /// + [Route("api/LR/LegalListDetailUser")] + public partial class LegalListDetailUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LEGAL_LIST_DETAIL_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LegalListDetailFile-获取清单附件 + /// + /// 获取清单附件 + /// + [Route("api/LR/LegalListDetailFile")] + public partial class LegalListDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LEGAL_LIST_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LawIntegrate-法律法规融入表 + /// + /// 法律法规融入表 + /// + [Route("api/LR/LawIntegrate")] + public partial class LawIntegrateController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LAW_INTEGRATE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LawIntegrateDetail-导航:法律法规融入明细表 + /// + /// 导航:法律法规融入明细表 + /// + [Route("api/LR/LawIntegrateDetail")] + public partial class LawIntegrateDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LAW_INTEGRATE_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LawIntegrateUpdate-法律法规更新与融入表 + /// + /// 法律法规更新与融入表 + /// + [Route("api/LR/LawIntegrateUpdate")] + public partial class LawIntegrateUpdateController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LAW_INTEGRATE_UPDATE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LawIntegrateUpdateDetail-导航:法律法规更新与融入明细表 + /// + /// 导航:法律法规更新与融入明细表 + /// + [Route("api/LR/LawIntegrateUpdateDetail")] + public partial class LawIntegrateUpdateDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LAW_INTEGRATE_UPDATE_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Law-法律法规 + /// + /// 法律法规 + /// + [Route("api/LR/Law")] + public partial class LawController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LAW entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LawVersion-导航:版本号 + /// + /// 导航:版本号 + /// + [Route("api/LR/LawVersion")] + public partial class LawVersionController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LAW_VERSION entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LawVersionFile-法律法规附件 + /// + /// 法律法规附件 + /// + [Route("api/LR/LawVersionFile")] + public partial class LawVersionFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LAW_VERSION_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LawScSystem-导航:关联标准化制度库 + /// + /// 导航:关联标准化制度库 + /// + [Route("api/LR/LawScSystem")] + public partial class LawScSystemController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LAW_SC_SYSTEM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LawType-法律法规知识类别 + /// + /// 法律法规知识类别 + /// + [Route("api/LR/LawType")] + public partial class LawTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LAW_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DemandUser-导航:需求人员 + /// + /// 导航:需求人员 + /// + [Route("api/LR/DemandUser")] + public partial class DemandUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_DEMAND_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LawInstitution-导航:法律法规更新与融入明细制度文件 + /// + /// 导航:法律法规更新与融入明细制度文件 + /// + [Route("api/LR/LawInstitution")] + public partial class LawInstitutionController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LAW_INSTITUTION entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LawUpdate-导航:法律法规更新与融入表 + /// + /// 导航:法律法规更新与融入表 + /// + [Route("api/LR/LawUpdate")] + public partial class LawUpdateController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_LAW_UPDATE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OtherDistinguish-法律法规识别其他表 + /// + /// 法律法规识别其他表 + /// + [Route("api/LR/OtherDistinguish")] + public partial class OtherDistinguishController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_LR_OTHER_DISTINGUISH entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtConfig-会议配置 + /// + /// 会议配置 + /// + [Route("api/SC/MtConfig")] + public partial class MtConfigController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_CONFIG entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtContent-会议内容 + /// + /// 会议内容 + /// + [Route("api/SC/MtContent")] + public partial class MtContentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_CONTENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtContentDeal-会议内容选项 + /// + /// 会议内容选项 + /// + [Route("api/SC/MtContentDeal")] + public partial class MtContentDealController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_CONTENT_DEAL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtContentName-会议内容 + /// + /// 会议内容 + /// + [Route("api/SC/MtContentName")] + public partial class MtContentNameController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_CONTENT_NAME entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeeting-会议通知 + /// + /// 会议通知 + /// + [Route("api/SC/MtMeeting")] + public partial class MtMeetingController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingBegin-别的模块触发生成会议表单 隔离会议模块 + /// + /// 别的模块触发生成会议表单 隔离会议模块 + /// + [Route("api/SC/MtMeetingBegin")] + public partial class MtMeetingBeginController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_BEGIN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingContent-会议内容题库 + /// + /// 会议内容题库 + /// + [Route("api/SC/MtMeetingContent")] + public partial class MtMeetingContentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_CONTENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingEnd-会议结束添加此信息 隔离会议模块 + /// + /// 会议结束添加此信息 隔离会议模块 + /// + [Route("api/SC/MtMeetingEnd")] + public partial class MtMeetingEndController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_END entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingFile-会议附件 + /// + /// 会议附件 + /// + [Route("api/SC/MtMeetingFile")] + public partial class MtMeetingFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingFileOfficialseal-加盖公章的会议通知 + /// + /// 加盖公章的会议通知 + /// + [Route("api/SC/MtMeetingFileOfficialseal")] + public partial class MtMeetingFileOfficialsealController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_FILE_OFFICIALSEAL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingFileRecord-会议记录附件 + /// + /// 会议记录附件 + /// + [Route("api/SC/MtMeetingFileRecord")] + public partial class MtMeetingFileRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_FILE_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingMinutes-会议纪要 + /// + /// 会议纪要 + /// + [Route("api/SC/MtMeetingMinutes")] + public partial class MtMeetingMinutesController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_MINUTES entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingMinutesContent-会议纪要意见 + /// + /// 会议纪要意见 + /// + [Route("api/SC/MtMeetingMinutesContent")] + public partial class MtMeetingMinutesContentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_MINUTES_CONTENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingMinutesContentDeal-会议纪要意见结果 + /// + /// 会议纪要意见结果 + /// + [Route("api/SC/MtMeetingMinutesContentDeal")] + public partial class MtMeetingMinutesContentDealController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_MINUTES_CONTENT_DEAL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingMinutesDetail-会议纪要明细 + /// + /// 会议纪要明细 + /// + [Route("api/SC/MtMeetingMinutesDetail")] + public partial class MtMeetingMinutesDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_MINUTES_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingMinutesDetailFile-会议纪要落实明细附件 + /// + /// 会议纪要落实明细附件 + /// + [Route("api/SC/MtMeetingMinutesDetailFile")] + public partial class MtMeetingMinutesDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_MINUTES_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingMinutesFile-会议纪要附件 + /// + /// 会议纪要附件 + /// + [Route("api/SC/MtMeetingMinutesFile")] + public partial class MtMeetingMinutesFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_MINUTES_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingPabsence-缺席人员 + /// + /// 缺席人员 + /// + [Route("api/SC/MtMeetingPabsence")] + public partial class MtMeetingPabsenceController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_PABSENCE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingPall-应到人员 + /// + /// 应到人员 + /// + [Route("api/SC/MtMeetingPall")] + public partial class MtMeetingPallController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_PALL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingPaskforleave-请假人员 + /// + /// 请假人员 + /// + [Route("api/SC/MtMeetingPaskforleave")] + public partial class MtMeetingPaskforleaveController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_PASKFORLEAVE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingPjoin-参会人员 + /// + /// 参会人员 + /// + [Route("api/SC/MtMeetingPjoin")] + public partial class MtMeetingPjoinController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_PJOIN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingPreview-评审人员 + /// + /// 评审人员 + /// + [Route("api/SC/MtMeetingPreview")] + public partial class MtMeetingPreviewController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_PREVIEW entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingTheme-会议主题 + /// + /// 会议主题 + /// + [Route("api/SC/MtMeetingTheme")] + public partial class MtMeetingThemeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_THEME entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMeetingThemes-会议通知主题 + /// + /// 会议通知主题 + /// + [Route("api/SC/MtMeetingThemes")] + public partial class MtMeetingThemesController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MEETING_THEMES entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtMinutesPreview-评审人员 + /// + /// 评审人员 + /// + [Route("api/SC/MtMinutesPreview")] + public partial class MtMinutesPreviewController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_MINUTES_PREVIEW entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtPlanSet-会议计划 + /// + /// 会议计划 + /// + [Route("api/SC/MtPlanSet")] + public partial class MtPlanSetController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_PLAN_SET entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MtPlanSetDepartment-会议计划限制部门 + /// + /// 会议计划限制部门 + /// + [Route("api/SC/MtPlanSetDepartment")] + public partial class MtPlanSetDepartmentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_MT_PLAN_SET_DEPARTMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafePdtSigned-安全生产责任制签订表 + /// + /// 安全生产责任制签订表 + /// + [Route("api/OG/SafePdtSigned")] + public partial class SafePdtSignedController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_SAFE_PDT_SIGNED entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafePdtSignedPost-责任制岗位关联表 + /// + /// 责任制岗位关联表 + /// + [Route("api/OG/SafePdtSignedPost")] + public partial class SafePdtSignedPostController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_SAFE_PDT_SIGNED_POST entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafePdtAssessPlanCheck-安全生产责任制考核方案审核表 + /// + /// 安全生产责任制考核方案审核表 + /// + [Route("api/OG/SafePdtAssessPlanCheck")] + public partial class SafePdtAssessPlanCheckController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_SAFE_PDT_ASSESS_PLAN_CHECK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafePdtAssessPlanCheckDetail-导航属性:考核方案审核细表 + /// + /// 导航属性:考核方案审核细表 + /// + [Route("api/OG/SafePdtAssessPlanCheckDetail")] + public partial class SafePdtAssessPlanCheckDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafePdtAssessPlanCheckDetailContent-考核方案录入 + /// + /// 考核方案录入 + /// + [Route("api/OG/SafePdtAssessPlanCheckDetailContent")] + public partial class SafePdtAssessPlanCheckDetailContentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_DETAIL_CONTENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafePdtAssessPlanCheckFile-附件 + /// + /// 附件 + /// + [Route("api/OG/SafePdtAssessPlanCheckFile")] + public partial class SafePdtAssessPlanCheckFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_SAFE_PDT_ASSESS_PLAN_CHECK_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeAssessPlanInput-安全生产责任制考核方案库 + /// + /// 安全生产责任制考核方案库 + /// + [Route("api/OG/SafeAssessPlanInput")] + public partial class SafeAssessPlanInputController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_SAFE_ASSESS_PLAN_INPUT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeAssessItem-考核项目 + /// + /// 考核项目 + /// + [Route("api/OG/SafeAssessItem")] + public partial class SafeAssessItemController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_SAFE_ASSESS_ITEM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeAssessRecord-考核记录 + /// + /// 考核记录 + /// + [Route("api/OG/SafeAssessRecord")] + public partial class SafeAssessRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_SAFE_ASSESS_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeAssessRecordDetail-考核记录详情 + /// + /// 考核记录详情 + /// + [Route("api/OG/SafeAssessRecordDetail")] + public partial class SafeAssessRecordDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_SAFE_ASSESS_RECORD_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeAssessRecordItem-考核记录项目 + /// + /// 考核记录项目 + /// + [Route("api/OG/SafeAssessRecordItem")] + public partial class SafeAssessRecordItemController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_SAFE_ASSESS_RECORD_ITEM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Agency-机构表 + /// + /// 机构表 + /// + [Route("api/OG/Agency")] + public partial class AgencyController : AuthorizeTreeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_AGENCY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + /// + /// 获得树形实体数据 + /// + /// + /// + [HttpPost, Route("TreeData")] + public JsonActionResult>> TreeData([FromBody] KeywordFilter filter) + { + return WitTreeOrderEntities(null, filter); + } + + } + #endregion + #region AgencyUser-机构人员 + /// + /// 机构人员 + /// + [Route("api/OG/AgencyUser")] + public partial class AgencyUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_AGENCY_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Ogconfig-组织保障模块基础配置 + /// + /// 组织保障模块基础配置 + /// + [Route("api/OG/Ogconfig")] + public partial class OgconfigController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_OGCONFIG entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PolicyDocument-人员任命书 + /// + /// 人员任命书 + /// + [Route("api/OG/PolicyDocument")] + public partial class PolicyDocumentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_POLICY_DOCUMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PolicyDocumentDetail-人员任命书子表 + /// + /// 人员任命书子表 + /// + [Route("api/OG/PolicyDocumentDetail")] + public partial class PolicyDocumentDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_POLICY_DOCUMENT_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PolicyDocumentType-方针文件库类型 + /// + /// 方针文件库类型 + /// + [Route("api/OG/PolicyDocumentType")] + public partial class PolicyDocumentTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_POLICY_DOCUMENT_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PolicyDocumentDetailFile-文件库子表附件表 + /// + /// 文件库子表附件表 + /// + [Route("api/OG/PolicyDocumentDetailFile")] + public partial class PolicyDocumentDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_POLICY_DOCUMENT_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PolicyDocumentDetailAppointUser-文件库人员任命书子表 + /// + /// 文件库人员任命书子表 + /// + [Route("api/OG/PolicyDocumentDetailAppointUser")] + public partial class PolicyDocumentDetailAppointUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_POLICY_DOCUMENT_DETAIL_APPOINT_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EmployeeOpinionCollection-员工意见征集表 + /// + /// 员工意见征集表 + /// + [Route("api/OG/EmployeeOpinionCollection")] + public partial class EmployeeOpinionCollectionController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_OPINION_COLLECTION entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EmployeeOpinionCollectionUser-员工意见征集表意见反馈表 + /// + /// 员工意见征集表意见反馈表 + /// + [Route("api/OG/EmployeeOpinionCollectionUser")] + public partial class EmployeeOpinionCollectionUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_OPINION_COLLECTION_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EmployeeOpinionCollectionUserFile-员工意见征集表附件 + /// + /// 员工意见征集表附件 + /// + [Route("api/OG/EmployeeOpinionCollectionUserFile")] + public partial class EmployeeOpinionCollectionUserFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_OPINION_COLLECTION_USER_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EmployeeOpinion-员工意见反馈 + /// + /// 员工意见反馈 + /// + [Route("api/OG/EmployeeOpinion")] + public partial class EmployeeOpinionController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_OPINION entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EmployeeOpinionReport-员工意见上报表 + /// + /// 员工意见上报表 + /// + [Route("api/OG/EmployeeOpinionReport")] + public partial class EmployeeOpinionReportController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_OPINION_REPORT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EmployeeOpinionSuggestionFile-员工意见上报表表附件 + /// + /// 员工意见上报表表附件 + /// + [Route("api/OG/EmployeeOpinionSuggestionFile")] + public partial class EmployeeOpinionSuggestionFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_OPINION_SUGGESTION_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EmployeeOpinionImplementFile-员工意见表落实文件附件 + /// + /// 员工意见表落实文件附件 + /// + [Route("api/OG/EmployeeOpinionImplementFile")] + public partial class EmployeeOpinionImplementFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_OPINION_IMPLEMENT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EmployeeRefuseItemReport-员工拒绝事项上报表 + /// + /// 员工拒绝事项上报表 + /// + [Route("api/OG/EmployeeRefuseItemReport")] + public partial class EmployeeRefuseItemReportController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_REFUSE_ITEM_REPORT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EmployeeRefuseItemReportFile-员工拒绝事项上报表 + /// + /// 员工拒绝事项上报表 + /// + [Route("api/OG/EmployeeRefuseItemReportFile")] + public partial class EmployeeRefuseItemReportFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_REFUSE_ITEM_REPORT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EmployeeRefuseItemInvestigationFile-员工拒绝事项上报表调查文件附件 + /// + /// 员工拒绝事项上报表调查文件附件 + /// + [Route("api/OG/EmployeeRefuseItemInvestigationFile")] + public partial class EmployeeRefuseItemInvestigationFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_REFUSE_ITEM_INVESTIGATION_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InnerContact-内部联系记录表 + /// + /// 内部联系记录表 + /// + [Route("api/OG/InnerContact")] + public partial class InnerContactController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_INNER_CONTACT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InnerContactItemFile-沟通事项文件 + /// + /// 沟通事项文件 + /// + [Route("api/OG/InnerContactItemFile")] + public partial class InnerContactItemFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_INNER_CONTACT_ITEM_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InnerContactDoFile-落实情况文件 + /// + /// 落实情况文件 + /// + [Route("api/OG/InnerContactDoFile")] + public partial class InnerContactDoFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_INNER_CONTACT_DO_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Related-相关方基本信息表 + /// + /// 相关方基本信息表 + /// + [Route("api/OG/Related")] + public partial class RelatedController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedAgreement-合同/协议表 + /// + /// 合同/协议表 + /// + [Route("api/OG/RelatedAgreement")] + public partial class RelatedAgreementController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_AGREEMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedAgreementFile-合同附件 + /// + /// 合同附件 + /// + [Route("api/OG/RelatedAgreementFile")] + public partial class RelatedAgreementFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_AGREEMENT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedQualification-资质情况表 + /// + /// 资质情况表 + /// + [Route("api/OG/RelatedQualification")] + public partial class RelatedQualificationController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_QUALIFICATION entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedQualificationDetail-资质录入页面表 + /// + /// 资质录入页面表 + /// + [Route("api/OG/RelatedQualificationDetail")] + public partial class RelatedQualificationDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_QUALIFICATION_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedQualificationDetailFile-附件 + /// + /// 附件 + /// + [Route("api/OG/RelatedQualificationDetailFile")] + public partial class RelatedQualificationDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_QUALIFICATION_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedUser-人员信息表 + /// + /// 人员信息表 + /// + [Route("api/OG/RelatedUser")] + public partial class RelatedUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedUserHealth-健康档案 + /// + /// 健康档案 + /// + [Route("api/OG/RelatedUserHealth")] + public partial class RelatedUserHealthController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_USER_HEALTH entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedUserSign-签名 + /// + /// 签名 + /// + [Route("api/OG/RelatedUserSign")] + public partial class RelatedUserSignController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_USER_SIGN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedUserInsurance-保险证明 + /// + /// 保险证明 + /// + [Route("api/OG/RelatedUserInsurance")] + public partial class RelatedUserInsuranceController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_USER_INSURANCE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedEstimate-相关方安全表现评估表 + /// + /// 相关方安全表现评估表 + /// + [Route("api/OG/RelatedEstimate")] + public partial class RelatedEstimateController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_ESTIMATE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedEstimateDetail-相关方安全表现评估表估项目中间表 + /// + /// 相关方安全表现评估表估项目中间表 + /// + [Route("api/OG/RelatedEstimateDetail")] + public partial class RelatedEstimateDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_ESTIMATE_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExternalContactDetail-外部联系对象清单 + /// + /// 外部联系对象清单 + /// + [Route("api/OG/ExternalContactDetail")] + public partial class ExternalContactDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EXTERNAL_CONTACT_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExternalContactCommunicate-外部联系沟通记录 + /// + /// 外部联系沟通记录 + /// + [Route("api/OG/ExternalContactCommunicate")] + public partial class ExternalContactCommunicateController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EXTERNAL_CONTACT_COMMUNICATE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExternalContactCommunicateFile-外部联系沟通记录 + /// + /// 外部联系沟通记录 + /// + [Route("api/OG/ExternalContactCommunicateFile")] + public partial class ExternalContactCommunicateFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EXTERNAL_CONTACT_COMMUNICATE_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExternalContactCommunicateImplFile-外部联系沟通落实 + /// + /// 外部联系沟通落实 + /// + [Route("api/OG/ExternalContactCommunicateImplFile")] + public partial class ExternalContactCommunicateImplFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EXTERNAL_CONTACT_COMMUNICATE_IMPL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExternalComplainAdvise-外部单位投诉建议 + /// + /// 外部单位投诉建议 + /// + [Route("api/OG/ExternalComplainAdvise")] + public partial class ExternalComplainAdviseController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EXTERNAL_COMPLAIN_ADVISE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExternalComplainAdviseFile-外部单位投诉建议附件 + /// + /// 外部单位投诉建议附件 + /// + [Route("api/OG/ExternalComplainAdviseFile")] + public partial class ExternalComplainAdviseFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EXTERNAL_COMPLAIN_ADVISE_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExternalComplainAdviseSurveyFile-外部单位投诉建议调查附件 + /// + /// 外部单位投诉建议调查附件 + /// + [Route("api/OG/ExternalComplainAdviseSurveyFile")] + public partial class ExternalComplainAdviseSurveyFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EXTERNAL_COMPLAIN_ADVISE_SURVEY_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ApproveRewardPunishmentReport-认可与奖励上报表 + /// + /// 认可与奖励上报表 + /// + [Route("api/OG/ApproveRewardPunishmentReport")] + public partial class ApproveRewardPunishmentReportController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_APPROVE_REWARD_PUNISHMENT_REPORT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ApproveRewardPunishmentDetail-奖励与惩罚详情 + /// + /// 奖励与惩罚详情 + /// + [Route("api/OG/ApproveRewardPunishmentDetail")] + public partial class ApproveRewardPunishmentDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_APPROVE_REWARD_PUNISHMENT_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EventGet-工余事件征集 + /// + /// 工余事件征集 + /// + [Route("api/OG/EventGet")] + public partial class EventGetController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EVENT_GET entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EventGetDetail-工余事件征集数据 + /// + /// 工余事件征集数据 + /// + [Route("api/OG/EventGetDetail")] + public partial class EventGetDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EVENT_GET_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EventGetDetailItem-事件项 + /// + /// 事件项 + /// + [Route("api/OG/EventGetDetailItem")] + public partial class EventGetDetailItemController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EVENT_GET_DETAIL_ITEM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EventGetDetailFile-征集附件 + /// + /// 征集附件 + /// + [Route("api/OG/EventGetDetailFile")] + public partial class EventGetDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EVENT_GET_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EventReport-工余事件上报及处理表 + /// + /// 工余事件上报及处理表 + /// + [Route("api/OG/EventReport")] + public partial class EventReportController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EVENT_REPORT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EventReportFile-征集附件 + /// + /// 征集附件 + /// + [Route("api/OG/EventReportFile")] + public partial class EventReportFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EVENT_REPORT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EventReportSum-工余事件上报及处理汇总 + /// + /// 工余事件上报及处理汇总 + /// + [Route("api/OG/EventReportSum")] + public partial class EventReportSumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EVENT_REPORT_SUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region StandardizationSystemReview-标准化系统评审意见表 + /// + /// 标准化系统评审意见表 + /// + [Route("api/OG/StandardizationSystemReview")] + public partial class StandardizationSystemReviewController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_SYSTEM_REVIEW entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region StandardizationReviewItemsRel-标准化系统评审项目 + /// + /// 标准化系统评审项目 + /// + [Route("api/OG/StandardizationReviewItemsRel")] + public partial class StandardizationReviewItemsRelController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_REVIEW_ITEMS_REL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region StandardizationPersonRel-标准化系统评审人员 + /// + /// 标准化系统评审人员 + /// + [Route("api/OG/StandardizationPersonRel")] + public partial class StandardizationPersonRelController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_PERSON_REL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region StandardizationReviewResultRel-标准化系统评审结论 + /// + /// 标准化系统评审结论 + /// + [Route("api/OG/StandardizationReviewResultRel")] + public partial class StandardizationReviewResultRelController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_REVIEW_RESULT_REL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region StandardizationActionPlanRel-标准化系统评审行动计划 + /// + /// 标准化系统评审行动计划 + /// + [Route("api/OG/StandardizationActionPlanRel")] + public partial class StandardizationActionPlanRelController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_ACTION_PLAN_REL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region StandardizationReviewItemEnum-评审项目 + /// + /// 评审项目 + /// + [Route("api/OG/StandardizationReviewItemEnum")] + public partial class StandardizationReviewItemEnumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_REVIEW_ITEM_ENUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region StandardizationActionPlanEnum-行动计划 + /// + /// 行动计划 + /// + [Route("api/OG/StandardizationActionPlanEnum")] + public partial class StandardizationActionPlanEnumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_ACTION_PLAN_ENUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EmployeeItemCategoryEnum-事项类别 + /// + /// 事项类别 + /// + [Route("api/OG/EmployeeItemCategoryEnum")] + public partial class EmployeeItemCategoryEnumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_EMPLOYEE_ITEM_CATEGORY_ENUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedQualificationDetailItem-项目 + /// + /// 项目 + /// + [Route("api/OG/RelatedQualificationDetailItem")] + public partial class RelatedQualificationDetailItemController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_QUALIFICATION_DETAIL_ITEM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ApproveRewardPunishmentReason-奖励惩罚原因表 + /// + /// 奖励惩罚原因表 + /// + [Route("api/OG/ApproveRewardPunishmentReason")] + public partial class ApproveRewardPunishmentReasonController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_APPROVE_REWARD_PUNISHMENT_REASON entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PersonnelTypeEnum-任命人员类型 + /// + /// 任命人员类型 + /// + [Route("api/OG/PersonnelTypeEnum")] + public partial class PersonnelTypeEnumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_PERSONNEL_TYPE_ENUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedEstimateItem-评估项目表 + /// + /// 评估项目表 + /// + [Route("api/OG/RelatedEstimateItem")] + public partial class RelatedEstimateItemController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_ESTIMATE_ITEM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedQualificationLevel-资质等级表 + /// + /// 资质等级表 + /// + [Route("api/OG/RelatedQualificationLevel")] + public partial class RelatedQualificationLevelController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_QUALIFICATION_LEVEL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedUserType-人员类型 + /// + /// 人员类型 + /// + [Route("api/OG/RelatedUserType")] + public partial class RelatedUserTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_USER_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region StandardizationReviewResultEnum-评审结论 + /// + /// 评审结论 + /// + [Route("api/OG/StandardizationReviewResultEnum")] + public partial class StandardizationReviewResultEnumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedFireUser-负责人签名 + /// + /// 负责人签名 + /// + [Route("api/OG/RelatedFireUser")] + public partial class RelatedFireUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_FIRE_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedSafeUser-安全员签名 + /// + /// 安全员签名 + /// + [Route("api/OG/RelatedSafeUser")] + public partial class RelatedSafeUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OG_RELATED_SAFE_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExamNoticeOccHazard-体检通知人员职业危害中间表 + /// + /// 体检通知人员职业危害中间表 + /// + [Route("api/OH/ExamNoticeOccHazard")] + public partial class ExamNoticeOccHazardController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_EXAM_NOTICE_OCC_HAZARD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExamResultOccHazard-体检结果职业危害中间表 + /// + /// 体检结果职业危害中间表 + /// + [Route("api/OH/ExamResultOccHazard")] + public partial class ExamResultOccHazardController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_EXAM_RESULT_OCC_HAZARD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HazardMonitorJob-职业危害监测 + /// + /// 职业危害监测 + /// + [Route("api/OH/HazardMonitorJob")] + public partial class HazardMonitorJobController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_JOB entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HazardMonitorJobDetail-职业危害监测明细 + /// + /// 职业危害监测明细 + /// + [Route("api/OH/HazardMonitorJobDetail")] + public partial class HazardMonitorJobDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_JOB_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HazardMonitorJobFile-监测作业附件 + /// + /// 监测作业附件 + /// + [Route("api/OH/HazardMonitorJobFile")] + public partial class HazardMonitorJobFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_JOB_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HazardMonitorJobReport-职业危害监测报告 + /// + /// 职业危害监测报告 + /// + [Route("api/OH/HazardMonitorJobReport")] + public partial class HazardMonitorJobReportController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_JOB_REPORT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HazardMonitorJobReportFile-职业危害监测报告附件 + /// + /// 职业危害监测报告附件 + /// + [Route("api/OH/HazardMonitorJobReportFile")] + public partial class HazardMonitorJobReportFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_JOB_REPORT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HazardMonitorResult-监测结果统计与分析 + /// + /// 监测结果统计与分析 + /// + [Route("api/OH/HazardMonitorResult")] + public partial class HazardMonitorResultController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_RESULT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HazardMonitorResultSum-监测结果统计与分析汇总 + /// + /// 监测结果统计与分析汇总 + /// + [Route("api/OH/HazardMonitorResultSum")] + public partial class HazardMonitorResultSumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_RESULT_SUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HazardMonitorRule-职业危害因素监测规则 + /// + /// 职业危害因素监测规则 + /// + [Route("api/OH/HazardMonitorRule")] + public partial class HazardMonitorRuleController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_RULE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HazardMonitorType-危害监测类型 + /// + /// 危害监测类型 + /// + [Route("api/OH/HazardMonitorType")] + public partial class HazardMonitorTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HAZARD_MONITOR_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthEaxmCycleOccHazardMid-体检周期职业危害中间表 + /// + /// 体检周期职业危害中间表 + /// + [Route("api/OH/HealthEaxmCycleOccHazardMid")] + public partial class HealthEaxmCycleOccHazardMidController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EAXM_CYCLE_OCC_HAZARD_MID entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthEaxmCyclePostMid-体检周期岗位中间表 + /// + /// 体检周期岗位中间表 + /// + [Route("api/OH/HealthEaxmCyclePostMid")] + public partial class HealthEaxmCyclePostMidController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EAXM_CYCLE_POST_MID entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthEaxmPlanDepartment-体检计划上报部门中间表 + /// + /// 体检计划上报部门中间表 + /// + [Route("api/OH/HealthEaxmPlanDepartment")] + public partial class HealthEaxmPlanDepartmentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EAXM_PLAN_DEPARTMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamBatch-体检批次 + /// + /// 体检批次 + /// + [Route("api/OH/HealthExamBatch")] + public partial class HealthExamBatchController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_BATCH entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamBatchDepartment-体检批次部门 + /// + /// 体检批次部门 + /// + [Route("api/OH/HealthExamBatchDepartment")] + public partial class HealthExamBatchDepartmentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_BATCH_DEPARTMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamCycle-体检周期表 + /// + /// 体检周期表 + /// + [Route("api/OH/HealthExamCycle")] + public partial class HealthExamCycleController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_CYCLE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamCycleDepartmentinfo-体检周期部门信息 + /// + /// 体检周期部门信息 + /// + [Route("api/OH/HealthExamCycleDepartmentinfo")] + public partial class HealthExamCycleDepartmentinfoController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_CYCLE_DEPARTMENTINFO entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamCycleDepartmentinfoPost-体检周期岗位 + /// + /// 体检周期岗位 + /// + [Route("api/OH/HealthExamCycleDepartmentinfoPost")] + public partial class HealthExamCycleDepartmentinfoPostController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_CYCLE_DEPARTMENTINFO_POST entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamNotice-体检通知 + /// + /// 体检通知 + /// + [Route("api/OH/HealthExamNotice")] + public partial class HealthExamNoticeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_NOTICE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamNoticeFile-体检通知附件 + /// + /// 体检通知附件 + /// + [Route("api/OH/HealthExamNoticeFile")] + public partial class HealthExamNoticeFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_NOTICE_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamNoticeRegister-体检人员安排 + /// + /// 体检人员安排 + /// + [Route("api/OH/HealthExamNoticeRegister")] + public partial class HealthExamNoticeRegisterController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_NOTICE_REGISTER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamOccDisease-职业病名称 + /// + /// 职业病名称 + /// + [Route("api/OH/HealthExamOccDisease")] + public partial class HealthExamOccDiseaseController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_OCC_DISEASE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamOccDiseaseSeverityLevel-职业病严重等级 + /// + /// 职业病严重等级 + /// + [Route("api/OH/HealthExamOccDiseaseSeverityLevel")] + public partial class HealthExamOccDiseaseSeverityLevelController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_OCC_DISEASE_SEVERITY_LEVEL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamPlan-体检计划表 + /// + /// 体检计划表 + /// + [Route("api/OH/HealthExamPlan")] + public partial class HealthExamPlanController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_PLAN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamPlanRegister-体检员工登记表 + /// + /// 体检员工登记表 + /// + [Route("api/OH/HealthExamPlanRegister")] + public partial class HealthExamPlanRegisterController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_PLAN_REGISTER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamPlanRegisterHazard-体检周期职业危害中间表 + /// + /// 体检周期职业危害中间表 + /// + [Route("api/OH/HealthExamPlanRegisterHazard")] + public partial class HealthExamPlanRegisterHazardController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_PLAN_REGISTER_HAZARD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamResult-体检结果 + /// + /// 体检结果 + /// + [Route("api/OH/HealthExamResult")] + public partial class HealthExamResultController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_RESULT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamResultImport-体检结果导入 + /// + /// 体检结果导入 + /// + [Route("api/OH/HealthExamResultImport")] + public partial class HealthExamResultImportController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_RESULT_IMPORT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamResultOccDisease-职业病信息 + /// + /// 职业病信息 + /// + [Route("api/OH/HealthExamResultOccDisease")] + public partial class HealthExamResultOccDiseaseController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_RESULT_OCC_DISEASE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HealthExamResultOccDiseaseFile-职业病信息附件 + /// + /// 职业病信息附件 + /// + [Route("api/OH/HealthExamResultOccDiseaseFile")] + public partial class HealthExamResultOccDiseaseFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_HEALTH_EXAM_RESULT_OCC_DISEASE_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Runconfig-职业卫生基础配置 + /// + /// 职业卫生基础配置 + /// + [Route("api/OH/Runconfig")] + public partial class RunconfigController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_OH_RUNCONFIG entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AssessmentItem-考评项目表 + /// + /// 考评项目表 + /// + [Route("api/PE/AssessmentItem")] + public partial class AssessmentItemController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_ASSESSMENT_ITEM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CorrectivePreventive-纠正与预防措施通知单 + /// + /// 纠正与预防措施通知单 + /// + [Route("api/PE/CorrectivePreventive")] + public partial class CorrectivePreventiveController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CorrectivePreventiveDetail-纠正与预防措施通知单明细表 + /// + /// 纠正与预防措施通知单明细表 + /// + [Route("api/PE/CorrectivePreventiveDetail")] + public partial class CorrectivePreventiveDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CorrectivePreventiveEvaluation-纠正与预防措施评估表 + /// + /// 纠正与预防措施评估表 + /// + [Route("api/PE/CorrectivePreventiveEvaluation")] + public partial class CorrectivePreventiveEvaluationController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_EVALUATION entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CorrectivePreventiveEvaluationConsider-措施考虑因素 + /// + /// 措施考虑因素 + /// + [Route("api/PE/CorrectivePreventiveEvaluationConsider")] + public partial class CorrectivePreventiveEvaluationConsiderController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_CONSIDER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CorrectivePreventiveEvaluationDetail-纠正与预防措施评估明细表 + /// + /// 纠正与预防措施评估明细表 + /// + [Route("api/PE/CorrectivePreventiveEvaluationDetail")] + public partial class CorrectivePreventiveEvaluationDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CorrectivePreventiveEvaluationDetailConsider-措施考虑因素 + /// + /// 措施考虑因素 + /// + [Route("api/PE/CorrectivePreventiveEvaluationDetailConsider")] + public partial class CorrectivePreventiveEvaluationDetailConsiderController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_CONSIDER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CorrectivePreventiveEvaluationDetailFile-附件上传 + /// + /// 附件上传 + /// + [Route("api/PE/CorrectivePreventiveEvaluationDetailFile")] + public partial class CorrectivePreventiveEvaluationDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_EVALUATION_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CorrectivePreventiveProcess-纠正与预防措施处理单 + /// + /// 纠正与预防措施处理单 + /// + [Route("api/PE/CorrectivePreventiveProcess")] + public partial class CorrectivePreventiveProcessController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_PROCESS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CorrectivePreventiveProcessDetail-纠正与预防措施处理单明细表 + /// + /// 纠正与预防措施处理单明细表 + /// + [Route("api/PE/CorrectivePreventiveProcessDetail")] + public partial class CorrectivePreventiveProcessDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_PROCESS_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CorrectivePreventiveProcessDetailFile-附件上传 + /// + /// 附件上传 + /// + [Route("api/PE/CorrectivePreventiveProcessDetailFile")] + public partial class CorrectivePreventiveProcessDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_CORRECTIVE_PREVENTIVE_PROCESS_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region EvaluationMethod-评价方法 + /// + /// 评价方法 + /// + [Route("api/PE/EvaluationMethod")] + public partial class EvaluationMethodController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_EVALUATION_METHOD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MeasureConsider-措施考虑因素 + /// + /// 措施考虑因素 + /// + [Route("api/PE/MeasureConsider")] + public partial class MeasureConsiderController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_MEASURE_CONSIDER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MonitorProject-监测项目 + /// + /// 监测项目 + /// + [Route("api/PE/MonitorProject")] + public partial class MonitorProjectController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_MONITOR_PROJECT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyEvaluationPlan-安全标准化内部评价计划录入表 + /// + /// 安全标准化内部评价计划录入表 + /// + [Route("api/PE/SafetyEvaluationPlan")] + public partial class SafetyEvaluationPlanController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_PLAN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyEvaluationPlanDetail-安全标准化内部评价计划录入细表 + /// + /// 安全标准化内部评价计划录入细表 + /// + [Route("api/PE/SafetyEvaluationPlanDetail")] + public partial class SafetyEvaluationPlanDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_PLAN_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyEvaluationPlanMethod-评价方法表 + /// + /// 评价方法表 + /// + [Route("api/PE/SafetyEvaluationPlanMethod")] + public partial class SafetyEvaluationPlanMethodController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_PLAN_METHOD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyEvaluationPlanUser-评价人员表 + /// + /// 评价人员表 + /// + [Route("api/PE/SafetyEvaluationPlanUser")] + public partial class SafetyEvaluationPlanUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_PLAN_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyEvaluationRecord-安全标准化内部评价记录表 + /// + /// 安全标准化内部评价记录表 + /// + [Route("api/PE/SafetyEvaluationRecord")] + public partial class SafetyEvaluationRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyEvaluationRecordDetail-安全标准化内部评价记录细表 + /// + /// 安全标准化内部评价记录细表 + /// + [Route("api/PE/SafetyEvaluationRecordDetail")] + public partial class SafetyEvaluationRecordDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_RECORD_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyEvaluationRecordMethod-评价方法表 + /// + /// 评价方法表 + /// + [Route("api/PE/SafetyEvaluationRecordMethod")] + public partial class SafetyEvaluationRecordMethodController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_RECORD_METHOD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyEvaluationRecordUser-评价人员表 + /// + /// 评价人员表 + /// + [Route("api/PE/SafetyEvaluationRecordUser")] + public partial class SafetyEvaluationRecordUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_SAFETY_EVALUATION_RECORD_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyMonitorPlan-年度安全绩效监测计划 + /// + /// 年度安全绩效监测计划 + /// + [Route("api/PE/SafetyMonitorPlan")] + public partial class SafetyMonitorPlanController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_SAFETY_MONITOR_PLAN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyMonitorPlanDetail-年度安全绩效监测计划细表 + /// + /// 年度安全绩效监测计划细表 + /// + [Route("api/PE/SafetyMonitorPlanDetail")] + public partial class SafetyMonitorPlanDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_SAFETY_MONITOR_PLAN_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyMonitorRecord-安全绩效监测记录 + /// + /// 安全绩效监测记录 + /// + [Route("api/PE/SafetyMonitorRecord")] + public partial class SafetyMonitorRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_SAFETY_MONITOR_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyMonitorRecordDetail-安全绩效监测记录细表 + /// + /// 安全绩效监测记录细表 + /// + [Route("api/PE/SafetyMonitorRecordDetail")] + public partial class SafetyMonitorRecordDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_SAFETY_MONITOR_RECORD_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyMonitorRecordDetailFile-附件上传 + /// + /// 附件上传 + /// + [Route("api/PE/SafetyMonitorRecordDetailFile")] + public partial class SafetyMonitorRecordDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_SAFETY_MONITOR_RECORD_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyMonitorRecordUser-监测人员表 + /// + /// 监测人员表 + /// + [Route("api/PE/SafetyMonitorRecordUser")] + public partial class SafetyMonitorRecordUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_SAFETY_MONITOR_RECORD_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region StandardizedScoreAutoDetail-标准化评分自动评分表 + /// + /// 标准化评分自动评分表 + /// + [Route("api/PE/StandardizedScoreAutoDetail")] + public partial class StandardizedScoreAutoDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_STANDARDIZED_SCORE_AUTO_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region StandardizedScoreImport-标准化评分导入 + /// + /// 标准化评分导入 + /// + [Route("api/PE/StandardizedScoreImport")] + public partial class StandardizedScoreImportController : AuthorizeTreeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_STANDARDIZED_SCORE_IMPORT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + /// + /// 获得树形实体数据 + /// + /// + /// + [HttpPost, Route("TreeData")] + public JsonActionResult>> TreeData([FromBody] KeywordFilter filter) + { + return WitTreeOrderEntities(null, filter); + } + + } + #endregion + #region StandardizedScoreImportDetail-标准化评分导入明细表 + /// + /// 标准化评分导入明细表 + /// + [Route("api/PE/StandardizedScoreImportDetail")] + public partial class StandardizedScoreImportDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_STANDARDIZED_SCORE_IMPORT_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region StandardizedScoreImportItem-标准化评分导入细表 + /// + /// 标准化评分导入细表 + /// + [Route("api/PE/StandardizedScoreImportItem")] + public partial class StandardizedScoreImportItemController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PE_STANDARDIZED_SCORE_IMPORT_ITEM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AuditRequirement-审核要求表 + /// + /// 审核要求表 + /// + [Route("api/PR/AuditRequirement")] + public partial class AuditRequirementController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_AUDIT_REQUIREMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ChangeAcceptance-变化管理验收表 + /// + /// 变化管理验收表 + /// + [Route("api/PR/ChangeAcceptance")] + public partial class ChangeAcceptanceController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_CHANGE_ACCEPTANCE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ChangeIdentifyEvaluation-变化识别评估表 + /// + /// 变化识别评估表 + /// + [Route("api/PR/ChangeIdentifyEvaluation")] + public partial class ChangeIdentifyEvaluationController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_CHANGE_IDENTIFY_EVALUATION entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ChangeIdentifyEvaluationTask-变化后执行任务表 + /// + /// 变化后执行任务表 + /// + [Route("api/PR/ChangeIdentifyEvaluationTask")] + public partial class ChangeIdentifyEvaluationTaskController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_CHANGE_IDENTIFY_EVALUATION_TASK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ChangeIdentifyEvaluationType-变化类型表 + /// + /// 变化类型表 + /// + [Route("api/PR/ChangeIdentifyEvaluationType")] + public partial class ChangeIdentifyEvaluationTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_CHANGE_IDENTIFY_EVALUATION_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ChangeTaskImplement-变化管理任务落实表 + /// + /// 变化管理任务落实表 + /// + [Route("api/PR/ChangeTaskImplement")] + public partial class ChangeTaskImplementController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_CHANGE_TASK_IMPLEMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ChangeTaskImplementFile-附件表 + /// + /// 附件表 + /// + [Route("api/PR/ChangeTaskImplementFile")] + public partial class ChangeTaskImplementFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_CHANGE_TASK_IMPLEMENT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ChangeTaskImplementUser-执行人员表 + /// + /// 执行人员表 + /// + [Route("api/PR/ChangeTaskImplementUser")] + public partial class ChangeTaskImplementUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_CHANGE_TASK_IMPLEMENT_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ChangeType-变化类型表 + /// + /// 变化类型表 + /// + [Route("api/PR/ChangeType")] + public partial class ChangeTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_CHANGE_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ControlroomOperationRecord-控制室运行记录 + /// + /// 控制室运行记录 + /// + [Route("api/PR/ControlroomOperationRecord")] + public partial class ControlroomOperationRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_CONTROLROOM_OPERATION_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ControlroomOperationRecordAir-进气总气压 + /// + /// 进气总气压 + /// + [Route("api/PR/ControlroomOperationRecordAir")] + public partial class ControlroomOperationRecordAirController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_CONTROLROOM_OPERATION_RECORD_AIR entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ControlroomOperationRecordDeal-处理量估算 + /// + /// 处理量估算 + /// + [Route("api/PR/ControlroomOperationRecordDeal")] + public partial class ControlroomOperationRecordDealController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_CONTROLROOM_OPERATION_RECORD_DEAL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ControlroomOperationRecordDrug-药剂消耗 + /// + /// 药剂消耗 + /// + [Route("api/PR/ControlroomOperationRecordDrug")] + public partial class ControlroomOperationRecordDrugController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_CONTROLROOM_OPERATION_RECORD_DRUG entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ControlroomOperationRecordSeri-系列 + /// + /// 系列 + /// + [Route("api/PR/ControlroomOperationRecordSeri")] + public partial class ControlroomOperationRecordSeriController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_CONTROLROOM_OPERATION_RECORD_SERI entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DepartmentStepLink-班组作业活动关联表 + /// + /// 班组作业活动关联表 + /// + [Route("api/PR/DepartmentStepLink")] + public partial class DepartmentStepLinkController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DEPARTMENT_STEP_LINK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DesignDocumentPictureFile-附件上传 + /// + /// 附件上传 + /// + [Route("api/PR/DesignDocumentPictureFile")] + public partial class DesignDocumentPictureFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DESIGN_DOCUMENT_PICTURE_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DesignDocumentReview-内部设计文件审核表 + /// + /// 内部设计文件审核表 + /// + [Route("api/PR/DesignDocumentReview")] + public partial class DesignDocumentReviewController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DESIGN_DOCUMENT_REVIEW entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DesignDocumentReviewFile-附件上传 + /// + /// 附件上传 + /// + [Route("api/PR/DesignDocumentReviewFile")] + public partial class DesignDocumentReviewFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DESIGN_DOCUMENT_REVIEW_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DesignDocumentReviewRequirement-审核要求关联表 + /// + /// 审核要求关联表 + /// + [Route("api/PR/DesignDocumentReviewRequirement")] + public partial class DesignDocumentReviewRequirementController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DESIGN_DOCUMENT_REVIEW_REQUIREMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugCarryRecord-药品搬运记录表 + /// + /// 药品搬运记录表 + /// + [Route("api/PR/DrugCarryRecord")] + public partial class DrugCarryRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_CARRY_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugCarryRecordDetail-药品明细 + /// + /// 药品明细 + /// + [Route("api/PR/DrugCarryRecordDetail")] + public partial class DrugCarryRecordDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_CARRY_RECORD_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugCarryRecordDetailAccept-接收人员 + /// + /// 接收人员 + /// + [Route("api/PR/DrugCarryRecordDetailAccept")] + public partial class DrugCarryRecordDetailAcceptController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_CARRY_RECORD_DETAIL_ACCEPT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugCarryRecordDetailUser-搬运人员 + /// + /// 搬运人员 + /// + [Route("api/PR/DrugCarryRecordDetailUser")] + public partial class DrugCarryRecordDetailUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_CARRY_RECORD_DETAIL_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugCarrySafeConfirm- + /// + /// + /// + [Route("api/PR/DrugCarrySafeConfirm")] + public partial class DrugCarrySafeConfirmController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_CARRY_SAFE_CONFIRM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugOutboundRecord-药品出库记录表 + /// + /// 药品出库记录表 + /// + [Route("api/PR/DrugOutboundRecord")] + public partial class DrugOutboundRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_OUTBOUND_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugOutboundRecordDetail-药品明细 + /// + /// 药品明细 + /// + [Route("api/PR/DrugOutboundRecordDetail")] + public partial class DrugOutboundRecordDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_OUTBOUND_RECORD_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugOutboundRecordDetailAccept-接收人员 + /// + /// 接收人员 + /// + [Route("api/PR/DrugOutboundRecordDetailAccept")] + public partial class DrugOutboundRecordDetailAcceptController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_OUTBOUND_RECORD_DETAIL_ACCEPT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugOutboundRecordDetailUser-搬运人员 + /// + /// 搬运人员 + /// + [Route("api/PR/DrugOutboundRecordDetailUser")] + public partial class DrugOutboundRecordDetailUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_OUTBOUND_RECORD_DETAIL_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugPlace-药品送达地点 + /// + /// 药品送达地点 + /// + [Route("api/PR/DrugPlace")] + public partial class DrugPlaceController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_PLACE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugSet-药品配置 + /// + /// 药品配置 + /// + [Route("api/PR/DrugSet")] + public partial class DrugSetController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_SET entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugSetSafeConfirm-药品使用安全确认 + /// + /// 药品使用安全确认 + /// + [Route("api/PR/DrugSetSafeConfirm")] + public partial class DrugSetSafeConfirmController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_SET_SAFE_CONFIRM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugSetSpecify-药品规格 + /// + /// 药品规格 + /// + [Route("api/PR/DrugSetSpecify")] + public partial class DrugSetSpecifyController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_SET_SPECIFY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugType-药品类型表 + /// + /// 药品类型表 + /// + [Route("api/PR/DrugType")] + public partial class DrugTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugTypeSafeConfirm-搬运安全确认 + /// + /// 搬运安全确认 + /// + [Route("api/PR/DrugTypeSafeConfirm")] + public partial class DrugTypeSafeConfirmController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_TYPE_SAFE_CONFIRM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugUseRecord-药品使用记录表 + /// + /// 药品使用记录表 + /// + [Route("api/PR/DrugUseRecord")] + public partial class DrugUseRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_USE_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugUseRecordConfirm-药品使用安全确认表 + /// + /// 药品使用安全确认表 + /// + [Route("api/PR/DrugUseRecordConfirm")] + public partial class DrugUseRecordConfirmController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_USE_RECORD_CONFIRM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugUseRecordDetail-药品明细表 + /// + /// 药品明细表 + /// + [Route("api/PR/DrugUseRecordDetail")] + public partial class DrugUseRecordDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_USE_RECORD_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugUseRecordDetailConfirm-药品使用安全确认表 + /// + /// 药品使用安全确认表 + /// + [Route("api/PR/DrugUseRecordDetailConfirm")] + public partial class DrugUseRecordDetailConfirmController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_USE_RECORD_DETAIL_CONFIRM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugUseRecordPrint-药品使用记录打印 + /// + /// 药品使用记录打印 + /// + [Route("api/PR/DrugUseRecordPrint")] + public partial class DrugUseRecordPrintController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_USE_RECORD_PRINT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DrugUseRecordUser-人员 + /// + /// 人员 + /// + [Route("api/PR/DrugUseRecordUser")] + public partial class DrugUseRecordUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DRUG_USE_RECORD_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DutyOperationRecord-选矿一部值班运行记录 + /// + /// 选矿一部值班运行记录 + /// + [Route("api/PR/DutyOperationRecord")] + public partial class DutyOperationRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DUTY_OPERATION_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DutyOperationRecordDeal-处理量估算 + /// + /// 处理量估算 + /// + [Route("api/PR/DutyOperationRecordDeal")] + public partial class DutyOperationRecordDealController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DUTY_OPERATION_RECORD_DEAL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DutyOperationRecordDrug-本班药剂消耗 + /// + /// 本班药剂消耗 + /// + [Route("api/PR/DutyOperationRecordDrug")] + public partial class DutyOperationRecordDrugController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DUTY_OPERATION_RECORD_DRUG entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DutyOperationRecordInve-白灰交接库存量 + /// + /// 白灰交接库存量 + /// + [Route("api/PR/DutyOperationRecordInve")] + public partial class DutyOperationRecordInveController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DUTY_OPERATION_RECORD_INVE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DutyOperationRecordMach-浓密机情况 + /// + /// 浓密机情况 + /// + [Route("api/PR/DutyOperationRecordMach")] + public partial class DutyOperationRecordMachController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DUTY_OPERATION_RECORD_MACH entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DutyOperationRecordTung-钨系列 + /// + /// 钨系列 + /// + [Route("api/PR/DutyOperationRecordTung")] + public partial class DutyOperationRecordTungController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_DUTY_OPERATION_RECORD_TUNG entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExperimentalOperationRecord-实验运行记录 + /// + /// 实验运行记录 + /// + [Route("api/PR/ExperimentalOperationRecord")] + public partial class ExperimentalOperationRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_EXPERIMENTAL_OPERATION_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExperimentalOperationRecordDetail-实验产品 + /// + /// 实验产品 + /// + [Route("api/PR/ExperimentalOperationRecordDetail")] + public partial class ExperimentalOperationRecordDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_EXPERIMENTAL_OPERATION_RECORD_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExternalAcceptanceRecord-滑坡滚石处理外部验收记录表 + /// + /// 滑坡滚石处理外部验收记录表 + /// + [Route("api/PR/ExternalAcceptanceRecord")] + public partial class ExternalAcceptanceRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_EXTERNAL_ACCEPTANCE_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExternalAcceptanceRecordAcceptance-验收记录附件表 + /// + /// 验收记录附件表 + /// + [Route("api/PR/ExternalAcceptanceRecordAcceptance")] + public partial class ExternalAcceptanceRecordAcceptanceController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_EXTERNAL_ACCEPTANCE_RECORD_ACCEPTANCE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExternalAcceptanceRecordFile-验收记录整改前后附件表 + /// + /// 验收记录整改前后附件表 + /// + [Route("api/PR/ExternalAcceptanceRecordFile")] + public partial class ExternalAcceptanceRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_EXTERNAL_ACCEPTANCE_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ExternalAssistanceApplication-滑坡滚石处理外部协助申请表 + /// + /// 滑坡滚石处理外部协助申请表 + /// + [Route("api/PR/ExternalAssistanceApplication")] + public partial class ExternalAssistanceApplicationController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_EXTERNAL_ASSISTANCE_APPLICATION entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LaboratoryOperationRecord-化验运行记录 + /// + /// 化验运行记录 + /// + [Route("api/PR/LaboratoryOperationRecord")] + public partial class LaboratoryOperationRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_LABORATORY_OPERATION_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LaboratoryOperationRecordDet-精选 + /// + /// 精选 + /// + [Route("api/PR/LaboratoryOperationRecordDet")] + public partial class LaboratoryOperationRecordDetController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_LABORATORY_OPERATION_RECORD_DET entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LaboratoryOperationRecordOre-瞬时原矿 + /// + /// 瞬时原矿 + /// + [Route("api/PR/LaboratoryOperationRecordOre")] + public partial class LaboratoryOperationRecordOreController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_LABORATORY_OPERATION_RECORD_ORE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LaboratoryOperationRecordPre-预选 + /// + /// 预选 + /// + [Route("api/PR/LaboratoryOperationRecordPre")] + public partial class LaboratoryOperationRecordPreController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_LABORATORY_OPERATION_RECORD_PRE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LaboratoryOperationRecordSam-成品样 + /// + /// 成品样 + /// + [Route("api/PR/LaboratoryOperationRecordSam")] + public partial class LaboratoryOperationRecordSamController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_LABORATORY_OPERATION_RECORD_SAM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LandslideRollstoneMonitor-滑坡滚石监控处理记录表 + /// + /// 滑坡滚石监控处理记录表 + /// + [Route("api/PR/LandslideRollstoneMonitor")] + public partial class LandslideRollstoneMonitorController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_LANDSLIDE_ROLLSTONE_MONITOR entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region LandslideRollstoneMonitorFile-滑坡滚石监控处理附件表 + /// + /// 滑坡滚石监控处理附件表 + /// + [Route("api/PR/LandslideRollstoneMonitorFile")] + public partial class LandslideRollstoneMonitorFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_LANDSLIDE_ROLLSTONE_MONITOR_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MapProcessRecord-测绘处理记录 + /// + /// 测绘处理记录 + /// + [Route("api/PR/MapProcessRecord")] + public partial class MapProcessRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_MAP_PROCESS_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MapProcessRecordFile-测绘记录附件 + /// + /// 测绘记录附件 + /// + [Route("api/PR/MapProcessRecordFile")] + public partial class MapProcessRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_MAP_PROCESS_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PerformTaskSet-执行任务配置表 + /// + /// 执行任务配置表 + /// + [Route("api/PR/PerformTaskSet")] + public partial class PerformTaskSetController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_PERFORM_TASK_SET entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PostFormLink-岗位表单关联表 + /// + /// 岗位表单关联表 + /// + [Route("api/PR/PostFormLink")] + public partial class PostFormLinkController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_POST_FORM_LINK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PostFormLinkCode-关联表单 + /// + /// 关联表单 + /// + [Route("api/PR/PostFormLinkCode")] + public partial class PostFormLinkCodeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_POST_FORM_LINK_CODE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PostFormLinkDepartment-关联班组 + /// + /// 关联班组 + /// + [Route("api/PR/PostFormLinkDepartment")] + public partial class PostFormLinkDepartmentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_POST_FORM_LINK_DEPARTMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PostFormLinkXk-岗位表单关联配置表 + /// + /// 岗位表单关联配置表 + /// + [Route("api/PR/PostFormLinkXk")] + public partial class PostFormLinkXkController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_POST_FORM_LINK_XK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PostFormLinkXkParam-事项参数配置表 + /// + /// 事项参数配置表 + /// + [Route("api/PR/PostFormLinkXkParam")] + public partial class PostFormLinkXkParamController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_POST_FORM_LINK_XK_PARAM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProcessFormXk-选矿生产工艺表单配置表 + /// + /// 选矿生产工艺表单配置表 + /// + [Route("api/PR/ProcessFormXk")] + public partial class ProcessFormXkController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_PROCESS_FORM_XK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProcessFormXkDetail-选矿生产工艺表单配置细表 + /// + /// 选矿生产工艺表单配置细表 + /// + [Route("api/PR/ProcessFormXkDetail")] + public partial class ProcessFormXkDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_PROCESS_FORM_XK_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProductionOperationRecord-生产运行记录表 + /// + /// 生产运行记录表 + /// + [Route("api/PR/ProductionOperationRecord")] + public partial class ProductionOperationRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_PRODUCTION_OPERATION_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProductionOperationRecordFile-生产运行记录附件 + /// + /// 生产运行记录附件 + /// + [Route("api/PR/ProductionOperationRecordFile")] + public partial class ProductionOperationRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_PRODUCTION_OPERATION_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProductionOperationRecordUser-作业人员表 + /// + /// 作业人员表 + /// + [Route("api/PR/ProductionOperationRecordUser")] + public partial class ProductionOperationRecordUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_PRODUCTION_OPERATION_RECORD_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SandpumpOperationRecord-尾砂泵运行记录 + /// + /// 尾砂泵运行记录 + /// + [Route("api/PR/SandpumpOperationRecord")] + public partial class SandpumpOperationRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_SANDPUMP_OPERATION_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SandpumpOperationRecordDetail-时间及工作情况描述 + /// + /// 时间及工作情况描述 + /// + [Route("api/PR/SandpumpOperationRecordDetail")] + public partial class SandpumpOperationRecordDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_SANDPUMP_OPERATION_RECORD_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SurveyRecord-测量记录表 + /// + /// 测量记录表 + /// + [Route("api/PR/SurveyRecord")] + public partial class SurveyRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_SURVEY_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SurveyRecordDetail-测量记录细表 + /// + /// 测量记录细表 + /// + [Route("api/PR/SurveyRecordDetail")] + public partial class SurveyRecordDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_SURVEY_RECORD_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SurveyRecordFile-测量记录附件表 + /// + /// 测量记录附件表 + /// + [Route("api/PR/SurveyRecordFile")] + public partial class SurveyRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_SURVEY_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SurveyRecordSet-测量基础配置 + /// + /// 测量基础配置 + /// + [Route("api/PR/SurveyRecordSet")] + public partial class SurveyRecordSetController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_SURVEY_RECORD_SET entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SurveyRecordUser-测量记录人员表 + /// + /// 测量记录人员表 + /// + [Route("api/PR/SurveyRecordUser")] + public partial class SurveyRecordUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_SURVEY_RECORD_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ThousandpumpOperationRecord-万吨砂泵 + /// + /// 万吨砂泵 + /// + [Route("api/PR/ThousandpumpOperationRecord")] + public partial class ThousandpumpOperationRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_THOUSANDPUMP_OPERATION_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ThousandpumpOperationRecordDetail-时间及工作情况描述 + /// + /// 时间及工作情况描述 + /// + [Route("api/PR/ThousandpumpOperationRecordDetail")] + public partial class ThousandpumpOperationRecordDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_THOUSANDPUMP_OPERATION_RECORD_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TungpreOperationRecord-钨预选运行记录 + /// + /// 钨预选运行记录 + /// + [Route("api/PR/TungpreOperationRecord")] + public partial class TungpreOperationRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_TUNGPRE_OPERATION_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TungpreOperationRecordDrug-系列 + /// + /// 系列 + /// + [Route("api/PR/TungpreOperationRecordDrug")] + public partial class TungpreOperationRecordDrugController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_TUNGPRE_OPERATION_RECORD_DRUG entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TungpreOperationRecordMeas-矿浆测量 + /// + /// 矿浆测量 + /// + [Route("api/PR/TungpreOperationRecordMeas")] + public partial class TungpreOperationRecordMeasController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_TUNGPRE_OPERATION_RECORD_MEAS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TungpreOperationRecordSeri-系列 + /// + /// 系列 + /// + [Route("api/PR/TungpreOperationRecordSeri")] + public partial class TungpreOperationRecordSeriController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_TUNGPRE_OPERATION_RECORD_SERI entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TungpreOperationRecordTarg-钨预选指标情况 + /// + /// 钨预选指标情况 + /// + [Route("api/PR/TungpreOperationRecordTarg")] + public partial class TungpreOperationRecordTargController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PR_TUNGPRE_OPERATION_RECORD_TARG entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AnnualMonotorSummary-年度监测汇总 + /// + /// 年度监测汇总 + /// + [Route("api/PT/AnnualMonotorSummary")] + public partial class AnnualMonotorSummaryController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_ANNUAL_MONOTOR_SUMMARY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AnnualMonotorSummaryDetail-年度监测汇总明细表 + /// + /// 年度监测汇总明细表 + /// + [Route("api/PT/AnnualMonotorSummaryDetail")] + public partial class AnnualMonotorSummaryDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_ANNUAL_MONOTOR_SUMMARY_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AnnualMonotorSummaryDetailContent-安全生产指标考核项目表 + /// + /// 安全生产指标考核项目表 + /// + [Route("api/PT/AnnualMonotorSummaryDetailContent")] + public partial class AnnualMonotorSummaryDetailContentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_ANNUAL_MONOTOR_SUMMARY_DETAIL_CONTENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AssessmentPlanAudit-导航属性:考核方案审核表 + /// + /// 导航属性:考核方案审核表 + /// + [Route("api/PT/AssessmentPlanAudit")] + public partial class AssessmentPlanAuditController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_ASSESSMENT_PLAN_AUDIT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AssessmentPlanAuditDetail-导航属性:考核方案审核细表 + /// + /// 导航属性:考核方案审核细表 + /// + [Route("api/PT/AssessmentPlanAuditDetail")] + public partial class AssessmentPlanAuditDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_ASSESSMENT_PLAN_AUDIT_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AssessmentPlanAuditDetailContent-考核方案录入 + /// + /// 考核方案录入 + /// + [Route("api/PT/AssessmentPlanAuditDetailContent")] + public partial class AssessmentPlanAuditDetailContentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_ASSESSMENT_PLAN_AUDIT_DETAIL_CONTENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AssessmentPlanAuditFile-附件表 + /// + /// 附件表 + /// + [Route("api/PT/AssessmentPlanAuditFile")] + public partial class AssessmentPlanAuditFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_ASSESSMENT_PLAN_AUDIT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AssessmentPlanAuditTempDetail-导航属性:考核方案审核导入表 + /// + /// 导航属性:考核方案审核导入表 + /// + [Route("api/PT/AssessmentPlanAuditTempDetail")] + public partial class AssessmentPlanAuditTempDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_ASSESSMENT_PLAN_AUDIT_TEMP_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region AssessmentPlanAuditTempDetailContent-考核方案录入 + /// + /// 考核方案录入 + /// + [Route("api/PT/AssessmentPlanAuditTempDetailContent")] + public partial class AssessmentPlanAuditTempDetailContentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_ASSESSMENT_PLAN_AUDIT_TEMP_DETAIL_CONTENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CollectRequirements-征集要求表 + /// + /// 征集要求表 + /// + [Route("api/PT/CollectRequirements")] + public partial class CollectRequirementsController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_COLLECT_REQUIREMENTS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region FileType-文件类型表 + /// + /// 文件类型表 + /// + [Route("api/PT/FileType")] + public partial class FileTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_FILE_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region FormulateRequirements-制定要求表 + /// + /// 制定要求表 + /// + [Route("api/PT/FormulateRequirements")] + public partial class FormulateRequirementsController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_FORMULATE_REQUIREMENTS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region GoalsAndTarget-安全生产目标与指标 + /// + /// 安全生产目标与指标 + /// + [Route("api/PT/GoalsAndTarget")] + public partial class GoalsAndTargetController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_GOALS_AND_TARGET entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region IndicatorFormulation-安全生产目标与指标制定表 + /// + /// 安全生产目标与指标制定表 + /// + [Route("api/PT/IndicatorFormulation")] + public partial class IndicatorFormulationController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region IndicatorFormulationDepartment-部门、车间、班组安全生产目标与指标制定表 + /// + /// 部门、车间、班组安全生产目标与指标制定表 + /// + [Route("api/PT/IndicatorFormulationDepartment")] + public partial class IndicatorFormulationDepartmentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_DEPARTMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region IndicatorFormulationDepartmentDetail-部门、车间安全生产目标与指标制定细表 + /// + /// 部门、车间安全生产目标与指标制定细表 + /// + [Route("api/PT/IndicatorFormulationDepartmentDetail")] + public partial class IndicatorFormulationDepartmentDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_DEPARTMENT_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region IndicatorFormulationDepartmentDetailContent-导航属性:安全生产目标与指标制定内容表 + /// + /// 导航属性:安全生产目标与指标制定内容表 + /// + [Route("api/PT/IndicatorFormulationDepartmentDetailContent")] + public partial class IndicatorFormulationDepartmentDetailContentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_DEPARTMENT_DETAIL_CONTENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region IndicatorFormulationDepartmentFile-附件表 + /// + /// 附件表 + /// + [Route("api/PT/IndicatorFormulationDepartmentFile")] + public partial class IndicatorFormulationDepartmentFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_DEPARTMENT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region IndicatorFormulationDepartmentTeam-班组安全生产目标与指标制定细表 + /// + /// 班组安全生产目标与指标制定细表 + /// + [Route("api/PT/IndicatorFormulationDepartmentTeam")] + public partial class IndicatorFormulationDepartmentTeamController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_DEPARTMENT_TEAM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region IndicatorFormulationDepartmentTeamContent-导航属性:班组安全生产目标与指标制定内容表 + /// + /// 导航属性:班组安全生产目标与指标制定内容表 + /// + [Route("api/PT/IndicatorFormulationDepartmentTeamContent")] + public partial class IndicatorFormulationDepartmentTeamContentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_DEPARTMENT_TEAM_CONTENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region IndicatorFormulationFile-安全生产目标与指标制定附件表 + /// + /// 安全生产目标与指标制定附件表 + /// + [Route("api/PT/IndicatorFormulationFile")] + public partial class IndicatorFormulationFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region IndicatorFormulationPlanFile-实施计划附件 + /// + /// 实施计划附件 + /// + [Route("api/PT/IndicatorFormulationPlanFile")] + public partial class IndicatorFormulationPlanFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_PLAN_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region IndicatorFormulationPlanResources-目标与指标制定计划资源表 + /// + /// 目标与指标制定计划资源表 + /// + [Route("api/PT/IndicatorFormulationPlanResources")] + public partial class IndicatorFormulationPlanResourcesController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_PLAN_RESOURCES entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region IndicatorFormulationRequirements-目标与指标制定要求表 + /// + /// 目标与指标制定要求表 + /// + [Route("api/PT/IndicatorFormulationRequirements")] + public partial class IndicatorFormulationRequirementsController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_INDICATOR_FORMULATION_REQUIREMENTS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region IntentionalGuidelines-意向方针表 + /// + /// 意向方针表 + /// + [Route("api/PT/IntentionalGuidelines")] + public partial class IntentionalGuidelinesController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_INTENTIONAL_GUIDELINES entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MonitorAssessment-检测与考核记录 + /// + /// 检测与考核记录 + /// + [Route("api/PT/MonitorAssessment")] + public partial class MonitorAssessmentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_MONITOR_ASSESSMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MonitorAssessmentDetail-监测与考核细表 + /// + /// 监测与考核细表 + /// + [Route("api/PT/MonitorAssessmentDetail")] + public partial class MonitorAssessmentDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_MONITOR_ASSESSMENT_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MonitorAssessmentDetailContent-安全生产指标考核项目表 + /// + /// 安全生产指标考核项目表 + /// + [Route("api/PT/MonitorAssessmentDetailContent")] + public partial class MonitorAssessmentDetailContentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_MONITOR_ASSESSMENT_DETAIL_CONTENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region MonitorAssessmentUser-监测人员表 + /// + /// 监测人员表 + /// + [Route("api/PT/MonitorAssessmentUser")] + public partial class MonitorAssessmentUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_MONITOR_ASSESSMENT_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PlanResources-制定实施计划考虑资源表 + /// + /// 制定实施计划考虑资源表 + /// + [Route("api/PT/PlanResources")] + public partial class PlanResourcesController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_PLAN_RESOURCES entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyPolicySurvey-安全方针调查表 + /// + /// 安全方针调查表 + /// + [Route("api/PT/SafetyPolicySurvey")] + public partial class SafetyPolicySurveyController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_SAFETY_POLICY_SURVEY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyPolicySurveyCollect-安全方针调查征集要求 + /// + /// 安全方针调查征集要求 + /// + [Route("api/PT/SafetyPolicySurveyCollect")] + public partial class SafetyPolicySurveyCollectController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_SAFETY_POLICY_SURVEY_COLLECT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyPolicySurveyFeedback-安全方针调查反馈表 + /// + /// 安全方针调查反馈表 + /// + [Route("api/PT/SafetyPolicySurveyFeedback")] + public partial class SafetyPolicySurveyFeedbackController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_SAFETY_POLICY_SURVEY_FEEDBACK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafetyPolicySurveyRange-安全方针调查范围表 + /// + /// 安全方针调查范围表 + /// + [Route("api/PT/SafetyPolicySurveyRange")] + public partial class SafetyPolicySurveyRangeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_SAFETY_POLICY_SURVEY_RANGE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TimeSet-触发时间配置表 + /// + /// 触发时间配置表 + /// + [Route("api/PT/TimeSet")] + public partial class TimeSetController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_PT_TIME_SET entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Post-责任制岗位 + /// + /// 责任制岗位 + /// + [Route("api/SC/Post")] + public partial class PostController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_POST entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PostDepost-部门岗位 + /// + /// 部门岗位 + /// + [Route("api/SC/PostDepost")] + public partial class PostDepostController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_POST_DEPOST entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PostSafePdtTemplateFile-责任制岗位安全生产责任制签订表模板 + /// + /// 责任制岗位安全生产责任制签订表模板 + /// + [Route("api/SC/PostSafePdtTemplateFile")] + public partial class PostSafePdtTemplateFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_POST_SAFE_PDT_TEMPLATE_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Department-责任制组织架构 + /// + /// 责任制组织架构 + /// + [Route("api/SC/Department")] + public partial class DepartmentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_DEPARTMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DepartmentPost-责任制部门岗位 + /// + /// 责任制部门岗位 + /// + [Route("api/SC/DepartmentPost")] + public partial class DepartmentPostController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_DEPARTMENT_POST entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DocumentLibrary-文件库 + /// + /// 文件库 + /// + [Route("api/SC/DocumentLibrary")] + public partial class DocumentLibraryController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_DOCUMENT_LIBRARY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DocumentLibraryDetail-文件库 + /// + /// 文件库 + /// + [Route("api/SC/DocumentLibraryDetail")] + public partial class DocumentLibraryDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_DOCUMENT_LIBRARY_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DocumentLibraryDetailFile-文件附件 + /// + /// 文件附件 + /// + [Route("api/SC/DocumentLibraryDetailFile")] + public partial class DocumentLibraryDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_DOCUMENT_LIBRARY_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region StandardCreate-标准化创建 + /// + /// 标准化创建 + /// + [Route("api/SC/StandardCreate")] + public partial class StandardCreateController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_STANDARD_CREATE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region StandardCreateFile-文件附件 + /// + /// 文件附件 + /// + [Route("api/SC/StandardCreateFile")] + public partial class StandardCreateFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SC_STANDARD_CREATE_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region NewUsers-新注册用户表 + /// + /// 新注册用户表 + /// + [Route("api/SE/NewUsers")] + public partial class NewUsersController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_NEW_USERS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region NewUsersFile-新注册用户表附件 + /// + /// 新注册用户表附件 + /// + [Route("api/SE/NewUsersFile")] + public partial class NewUsersFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_NEW_USERS_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region NewUserDetail-新注册用户详细 + /// + /// 新注册用户详细 + /// + [Route("api/SE/NewUserDetail")] + public partial class NewUserDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_NEW_USER_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region NewUserDetailFile-三级安全教育卡培训附件 + /// + /// 三级安全教育卡培训附件 + /// + [Route("api/SE/NewUserDetailFile")] + public partial class NewUserDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_NEW_USER_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region NewUserDetailPaper-人员试题 + /// + /// 人员试题 + /// + [Route("api/SE/NewUserDetailPaper")] + public partial class NewUserDetailPaperController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_NEW_USER_DETAIL_PAPER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeSurvey-安全意识调查 + /// + /// 安全意识调查 + /// + [Route("api/SE/SafeSurvey")] + public partial class SafeSurveyController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_SAFE_SURVEY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeSurveyListDepartment-导航:参与部门 + /// + /// 导航:参与部门 + /// + [Route("api/SE/SafeSurveyListDepartment")] + public partial class SafeSurveyListDepartmentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_SAFE_SURVEY_LIST_DEPARTMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeSurveyListFile-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/SE/SafeSurveyListFile")] + public partial class SafeSurveyListFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_SAFE_SURVEY_LIST_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeSurveyListPaper-导航:试卷 + /// + /// 导航:试卷 + /// + [Route("api/SE/SafeSurveyListPaper")] + public partial class SafeSurveyListPaperController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_SAFE_SURVEY_LIST_PAPER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeSurveyListPoint-导航:调查内容 + /// + /// 导航:调查内容 + /// + [Route("api/SE/SafeSurveyListPoint")] + public partial class SafeSurveyListPointController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_SAFE_SURVEY_LIST_POINT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainSurvey-培训需求调查 + /// + /// 培训需求调查 + /// + [Route("api/SE/TrainSurvey")] + public partial class TrainSurveyController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_SURVEY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainSurveyListDemand-培训需求用户 + /// + /// 培训需求用户 + /// + [Route("api/SE/TrainSurveyListDemand")] + public partial class TrainSurveyListDemandController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_SURVEY_LIST_DEMAND entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainSurveyListDemandItem-导航:培训需求 + /// + /// 导航:培训需求 + /// + [Route("api/SE/TrainSurveyListDemandItem")] + public partial class TrainSurveyListDemandItemController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_SURVEY_LIST_DEMAND_ITEM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainSurveyListDepartment-导航:参与部门 + /// + /// 导航:参与部门 + /// + [Route("api/SE/TrainSurveyListDepartment")] + public partial class TrainSurveyListDepartmentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_SURVEY_LIST_DEPARTMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainSurveyListPoint-导航:调查目的 + /// + /// 导航:调查目的 + /// + [Route("api/SE/TrainSurveyListPoint")] + public partial class TrainSurveyListPointController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_SURVEY_LIST_POINT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region YearTrainPlan-年度培训计划 + /// + /// 年度培训计划 + /// + [Route("api/SE/YearTrainPlan")] + public partial class YearTrainPlanController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_YEAR_TRAIN_PLAN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region YearTrainPlanDetail-年度培训计划详情 + /// + /// 年度培训计划详情 + /// + [Route("api/SE/YearTrainPlanDetail")] + public partial class YearTrainPlanDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_YEAR_TRAIN_PLAN_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region YearTrainPlanContent-年度培训内容关联表 + /// + /// 年度培训内容关联表 + /// + [Route("api/SE/YearTrainPlanContent")] + public partial class YearTrainPlanContentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_YEAR_TRAIN_PLAN_CONTENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region YearTrainPlanFile-年度培训计划附件 + /// + /// 年度培训计划附件 + /// + [Route("api/SE/YearTrainPlanFile")] + public partial class YearTrainPlanFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_YEAR_TRAIN_PLAN_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region YearTrainPlanDepartment-年度培训发送部门 + /// + /// 年度培训发送部门 + /// + [Route("api/SE/YearTrainPlanDepartment")] + public partial class YearTrainPlanDepartmentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_YEAR_TRAIN_PLAN_DEPARTMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DepTrainPlan-部门培训计划 + /// + /// 部门培训计划 + /// + [Route("api/SE/DepTrainPlan")] + public partial class DepTrainPlanController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_DEP_TRAIN_PLAN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DepTrainPlanDetail-部门培训计划详情 + /// + /// 部门培训计划详情 + /// + [Route("api/SE/DepTrainPlanDetail")] + public partial class DepTrainPlanDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_DEP_TRAIN_PLAN_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DepTrainPlanContent-部门培训内容关联表 + /// + /// 部门培训内容关联表 + /// + [Route("api/SE/DepTrainPlanContent")] + public partial class DepTrainPlanContentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_DEP_TRAIN_PLAN_CONTENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainNotify-培训通知 + /// + /// 培训通知 + /// + [Route("api/SE/TrainNotify")] + public partial class TrainNotifyController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_NOTIFY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainNotifyFile-培训通知附件 + /// + /// 培训通知附件 + /// + [Route("api/SE/TrainNotifyFile")] + public partial class TrainNotifyFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_NOTIFY_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainNotifyContentRel-培训内容 + /// + /// 培训内容 + /// + [Route("api/SE/TrainNotifyContentRel")] + public partial class TrainNotifyContentRelController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_NOTIFY_CONTENT_REL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainNotifyPersons-培训通知人员 + /// + /// 培训通知人员 + /// + [Route("api/SE/TrainNotifyPersons")] + public partial class TrainNotifyPersonsController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_NOTIFY_PERSONS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainRecord-培训记录 + /// + /// 培训记录 + /// + [Route("api/SE/TrainRecord")] + public partial class TrainRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainRecordFile-培训记录附件 + /// + /// 培训记录附件 + /// + [Route("api/SE/TrainRecordFile")] + public partial class TrainRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainRecordPaper-人员试题 + /// + /// 人员试题 + /// + [Route("api/SE/TrainRecordPaper")] + public partial class TrainRecordPaperController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_RECORD_PAPER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainRecordUser-培训记录参与人员 + /// + /// 培训记录参与人员 + /// + [Route("api/SE/TrainRecordUser")] + public partial class TrainRecordUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_RECORD_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainRecordUserFile-培训记录参与人员附件 + /// + /// 培训记录参与人员附件 + /// + [Route("api/SE/TrainRecordUserFile")] + public partial class TrainRecordUserFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_RECORD_USER_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainingEffectEvaluation-培训效果评估表 + /// + /// 培训效果评估表 + /// + [Route("api/SE/TrainingEffectEvaluation")] + public partial class TrainingEffectEvaluationController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAINING_EFFECT_EVALUATION entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainingEffectEvaluationOpinion-培训效果评估表培训改进意见表 + /// + /// 培训效果评估表培训改进意见表 + /// + [Route("api/SE/TrainingEffectEvaluationOpinion")] + public partial class TrainingEffectEvaluationOpinionController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAINING_EFFECT_EVALUATION_OPINION entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainingEffectEvaluationEnd-培训效果评估表结果表 + /// + /// 培训效果评估表结果表 + /// + [Route("api/SE/TrainingEffectEvaluationEnd")] + public partial class TrainingEffectEvaluationEndController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAINING_EFFECT_EVALUATION_END entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainingEffectEvaluationSurvey-培训效果评估调查表 + /// + /// 培训效果评估调查表 + /// + [Route("api/SE/TrainingEffectEvaluationSurvey")] + public partial class TrainingEffectEvaluationSurveyController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAINING_EFFECT_EVALUATION_SURVEY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainingEffectEvaluationSurveyResults-培训效果评估调查表结果表 + /// + /// 培训效果评估调查表结果表 + /// + [Route("api/SE/TrainingEffectEvaluationSurveyResults")] + public partial class TrainingEffectEvaluationSurveyResultsController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAINING_EFFECT_EVALUATION_SURVEY_RESULTS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ThreeLevelSafeEduCard-三级安全教育卡 + /// + /// 三级安全教育卡 + /// + [Route("api/SE/ThreeLevelSafeEduCard")] + public partial class ThreeLevelSafeEduCardController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_THREE_LEVEL_SAFE_EDU_CARD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ThreeLevelSafeTrainRecord-三级安全教育卡培训记录 + /// + /// 三级安全教育卡培训记录 + /// + [Route("api/SE/ThreeLevelSafeTrainRecord")] + public partial class ThreeLevelSafeTrainRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ThreeLevelSafeTrainRecordFile-三级安全教育卡培训记录附件 + /// + /// 三级安全教育卡培训记录附件 + /// + [Route("api/SE/ThreeLevelSafeTrainRecordFile")] + public partial class ThreeLevelSafeTrainRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ThreeLevelSafeTrainRecordSignatureFile-三级安全教育卡培训记录电子签名附件 + /// + /// 三级安全教育卡培训记录电子签名附件 + /// + [Route("api/SE/ThreeLevelSafeTrainRecordSignatureFile")] + public partial class ThreeLevelSafeTrainRecordSignatureFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_THREE_LEVEL_SAFE_TRAIN_RECORD_SIGNATURE_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CertificateType-证书类别 + /// + /// 证书类别 + /// + [Route("api/SE/CertificateType")] + public partial class CertificateTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_CERTIFICATE_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Seconfig-安全教育模块基础配置 + /// + /// 安全教育模块基础配置 + /// + [Route("api/SE/Seconfig")] + public partial class SeconfigController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_SECONFIG entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Coursewearlibrary-课件 + /// + /// 课件 + /// + [Route("api/SE/Coursewearlibrary")] + public partial class CoursewearlibraryController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_COURSEWEARLIBRARY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CoursewearlibraryDetail-课件试题 + /// + /// 课件试题 + /// + [Route("api/SE/CoursewearlibraryDetail")] + public partial class CoursewearlibraryDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_COURSEWEARLIBRARY_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CoursewearlibraryFile-课件附件 + /// + /// 课件附件 + /// + [Route("api/SE/CoursewearlibraryFile")] + public partial class CoursewearlibraryFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_COURSEWEARLIBRARY_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region NewUsersTeacher-培训老师 + /// + /// 培训老师 + /// + [Route("api/SE/NewUsersTeacher")] + public partial class NewUsersTeacherController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_NEW_USERS_TEACHER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region NewUserDetailText-人员试题 + /// + /// 人员试题 + /// + [Route("api/SE/NewUserDetailText")] + public partial class NewUserDetailTextController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_NEW_USER_DETAIL_TEXT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RenewalTrain-换证培训触发 + /// + /// 换证培训触发 + /// + [Route("api/SE/RenewalTrain")] + public partial class RenewalTrainController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_RENEWAL_TRAIN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RenewalTrainFile-附件 + /// + /// 附件 + /// + [Route("api/SE/RenewalTrainFile")] + public partial class RenewalTrainFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_RENEWAL_TRAIN_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeSurveyUser-安全意识调查人员 + /// + /// 安全意识调查人员 + /// + [Route("api/SE/SafeSurveyUser")] + public partial class SafeSurveyUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_SAFE_SURVEY_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Test-题库 + /// + /// 题库 + /// + [Route("api/SE/Test")] + public partial class TestController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TEST entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TestEnumPoint-试题知识点 + /// + /// 试题知识点 + /// + [Route("api/SE/TestEnumPoint")] + public partial class TestEnumPointController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TEST_ENUM_POINT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TestListPoint-导航:试题知识点 + /// + /// 导航:试题知识点 + /// + [Route("api/SE/TestListPoint")] + public partial class TestListPointController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TEST_LIST_POINT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TestListPost-适用岗位 + /// + /// 适用岗位 + /// + [Route("api/SE/TestListPost")] + public partial class TestListPostController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TEST_LIST_POST entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ThreeLevelSafeContent-三级安全教育卡培训内容 + /// + /// 三级安全教育卡培训内容 + /// + [Route("api/SE/ThreeLevelSafeContent")] + public partial class ThreeLevelSafeContentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_THREE_LEVEL_SAFE_CONTENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainingSurveySubject-培训效果评估调查题目 + /// + /// 培训效果评估调查题目 + /// + [Route("api/SE/TrainingSurveySubject")] + public partial class TrainingSurveySubjectController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAINING_SURVEY_SUBJECT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainCheckTypeEnum-考核方式 + /// + /// 考核方式 + /// + [Route("api/SE/TrainCheckTypeEnum")] + public partial class TrainCheckTypeEnumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_CHECK_TYPE_ENUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainDemandEnum-培训需求 + /// + /// 培训需求 + /// + [Route("api/SE/TrainDemandEnum")] + public partial class TrainDemandEnumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_DEMAND_ENUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainNotifyCoursewearlibrary-培训课件 + /// + /// 培训课件 + /// + [Route("api/SE/TrainNotifyCoursewearlibrary")] + public partial class TrainNotifyCoursewearlibraryController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainPlan-年度培训计划 + /// + /// 年度培训计划 + /// + [Route("api/SE/TrainPlan")] + public partial class TrainPlanController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_PLAN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainPlanDetail-年度培训计划详情 + /// + /// 年度培训计划详情 + /// + [Route("api/SE/TrainPlanDetail")] + public partial class TrainPlanDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_PLAN_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainPlanDetailDepartment-被培训组织 + /// + /// 被培训组织 + /// + [Route("api/SE/TrainPlanDetailDepartment")] + public partial class TrainPlanDetailDepartmentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_PLAN_DETAIL_DEPARTMENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainPlanFile-年度培训计划附件 + /// + /// 年度培训计划附件 + /// + [Route("api/SE/TrainPlanFile")] + public partial class TrainPlanFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_PLAN_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainRecordReport-培训教育统计报表 + /// + /// 培训教育统计报表 + /// + [Route("api/SE/TrainRecordReport")] + public partial class TrainRecordReportController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_RECORD_REPORT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainRecordText-人员试卷 + /// + /// 人员试卷 + /// + [Route("api/SE/TrainRecordText")] + public partial class TrainRecordTextController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_RECORD_TEXT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainTypeEnum-培训类型 + /// + /// 培训类型 + /// + [Route("api/SE/TrainTypeEnum")] + public partial class TrainTypeEnumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_TRAIN_TYPE_ENUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region UserTemp-临时人员表 + /// + /// 临时人员表 + /// + [Route("api/SE/UserTemp")] + public partial class UserTempController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_SE_USER_TEMP entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CostType-费用类型 + /// + /// 费用类型 + /// + [Route("api/TI/CostType")] + public partial class CostTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_COST_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InsuranceClaimRecord-工伤保险理赔信息记录 + /// + /// 工伤保险理赔信息记录 + /// + [Route("api/TI/InsuranceClaimRecord")] + public partial class InsuranceClaimRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_INSURANCE_CLAIM_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InsuranceClaimRecordFile-工伤保险理赔信息记录附件 + /// + /// 工伤保险理赔信息记录附件 + /// + [Route("api/TI/InsuranceClaimRecordFile")] + public partial class InsuranceClaimRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_INSURANCE_CLAIM_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InsuranceRecord-参保记录 + /// + /// 参保记录 + /// + [Route("api/TI/InsuranceRecord")] + public partial class InsuranceRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_INSURANCE_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InsuranceRecordFile-参保记录表附件 + /// + /// 参保记录表附件 + /// + [Route("api/TI/InsuranceRecordFile")] + public partial class InsuranceRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_INSURANCE_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region InsuranceUserRecord-参保人员表 + /// + /// 参保人员表 + /// + [Route("api/TI/InsuranceUserRecord")] + public partial class InsuranceUserRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_INSURANCE_USER_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Plan-安全科技计划 + /// + /// 安全科技计划 + /// + [Route("api/TI/Plan")] + public partial class PlanController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PLAN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PlanFile-安全科技计划附件 + /// + /// 安全科技计划附件 + /// + [Route("api/TI/PlanFile")] + public partial class PlanFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PLAN_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PlanRange-安全科技计划范围 + /// + /// 安全科技计划范围 + /// + [Route("api/TI/PlanRange")] + public partial class PlanRangeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PLAN_RANGE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PlanRangeType-所属范围 + /// + /// 所属范围 + /// + [Route("api/TI/PlanRangeType")] + public partial class PlanRangeTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PLAN_RANGE_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PlanSource-安全科技计划来源 + /// + /// 安全科技计划来源 + /// + [Route("api/TI/PlanSource")] + public partial class PlanSourceController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PLAN_SOURCE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PlanSourceType-项目来源 + /// + /// 项目来源 + /// + [Route("api/TI/PlanSourceType")] + public partial class PlanSourceTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PLAN_SOURCE_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Project-立项申请/任务书上报 + /// + /// 立项申请/任务书上报 + /// + [Route("api/TI/Project")] + public partial class ProjectController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PROJECT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectCheck-项目结题验收 + /// + /// 项目结题验收 + /// + [Route("api/TI/ProjectCheck")] + public partial class ProjectCheckController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PROJECT_CHECK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectCheckFile-项目附件 + /// + /// 项目附件 + /// + [Route("api/TI/ProjectCheckFile")] + public partial class ProjectCheckFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PROJECT_CHECK_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectCheckWffile-项目附件 + /// + /// 项目附件 + /// + [Route("api/TI/ProjectCheckWffile")] + public partial class ProjectCheckWffileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PROJECT_CHECK_WFFILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectFile-项目附件 + /// + /// 项目附件 + /// + [Route("api/TI/ProjectFile")] + public partial class ProjectFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PROJECT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectMoney-项目经费管理 + /// + /// 项目经费管理 + /// + [Route("api/TI/ProjectMoney")] + public partial class ProjectMoneyController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PROJECT_MONEY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectMoneyDetail-项目经费子项 + /// + /// 项目经费子项 + /// + [Route("api/TI/ProjectMoneyDetail")] + public partial class ProjectMoneyDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PROJECT_MONEY_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectMoneyDetailFile-项目附件 + /// + /// 项目附件 + /// + [Route("api/TI/ProjectMoneyDetailFile")] + public partial class ProjectMoneyDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PROJECT_MONEY_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectRange-项目范围 + /// + /// 项目范围 + /// + [Route("api/TI/ProjectRange")] + public partial class ProjectRangeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PROJECT_RANGE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectSource-项目来源 + /// + /// 项目来源 + /// + [Route("api/TI/ProjectSource")] + public partial class ProjectSourceController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PROJECT_SOURCE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectWffile-项目审批附件 + /// + /// 项目审批附件 + /// + [Route("api/TI/ProjectWffile")] + public partial class ProjectWffileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_PROJECT_WFFILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafePdtCostRecord-安全生产费用使用记录表 + /// + /// 安全生产费用使用记录表 + /// + [Route("api/TI/SafePdtCostRecord")] + public partial class SafePdtCostRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_SAFE_PDT_COST_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafePdtCostRecordFile-安全生产费用使用记录附件 + /// + /// 安全生产费用使用记录附件 + /// + [Route("api/TI/SafePdtCostRecordFile")] + public partial class SafePdtCostRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_SAFE_PDT_COST_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafePdtCostRecordType-安全生产费用使用记录表 + /// + /// 安全生产费用使用记录表 + /// + [Route("api/TI/SafePdtCostRecordType")] + public partial class SafePdtCostRecordTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TI_SAFE_PDT_COST_RECORD_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Back-回采计划 + /// + /// 回采计划 + /// + [Route("api/TL/Back")] + public partial class BackController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_BACK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region BackDetail-回采计划明细 + /// + /// 回采计划明细 + /// + [Route("api/TL/BackDetail")] + public partial class BackDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_BACK_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region BackDetailUser-值班人员 + /// + /// 值班人员 + /// + [Route("api/TL/BackDetailUser")] + public partial class BackDetailUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_BACK_DETAIL_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region BackFile-回采计划 附件 + /// + /// 回采计划 附件 + /// + [Route("api/TL/BackFile")] + public partial class BackFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_BACK_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region BackRecord-回采记录 + /// + /// 回采记录 + /// + [Route("api/TL/BackRecord")] + public partial class BackRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_BACK_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region BackRecordUser-值班人员 + /// + /// 值班人员 + /// + [Route("api/TL/BackRecordUser")] + public partial class BackRecordUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_BACK_RECORD_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region BackRequire-制定要求 + /// + /// 制定要求 + /// + [Route("api/TL/BackRequire")] + public partial class BackRequireController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_BACK_REQUIRE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Caculate-调洪演算报告 + /// + /// 调洪演算报告 + /// + [Route("api/TL/Caculate")] + public partial class CaculateController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_CACULATE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CaculateFile-调洪演算报告 + /// + /// 调洪演算报告 + /// + [Route("api/TL/CaculateFile")] + public partial class CaculateFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_CACULATE_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region FileSum-文件集合 + /// + /// 文件集合 + /// + [Route("api/TL/FileSum")] + public partial class FileSumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_FILE_SUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region FileSumFile-监测作业附件 + /// + /// 监测作业附件 + /// + [Route("api/TL/FileSumFile")] + public partial class FileSumFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_FILE_SUM_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HighCheck-隐蔽工程验收管理 + /// + /// 隐蔽工程验收管理 + /// + [Route("api/TL/HighCheck")] + public partial class HighCheckController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_HIGH_CHECK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HighCheckFile-隐蔽工程验收记录 + /// + /// 隐蔽工程验收记录 + /// + [Route("api/TL/HighCheckFile")] + public partial class HighCheckFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_HIGH_CHECK_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Out-尾矿库注销 + /// + /// 尾矿库注销 + /// + [Route("api/TL/Out")] + public partial class OutController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_OUT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OutFile-尾矿库注销文件 + /// + /// 尾矿库注销文件 + /// + [Route("api/TL/OutFile")] + public partial class OutFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_OUT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region PlanSet-制定任务 + /// + /// 制定任务 + /// + [Route("api/TL/PlanSet")] + public partial class PlanSetController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PLAN_SET entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectFinish-安全设施竣工验收 + /// + /// 安全设施竣工验收 + /// + [Route("api/TL/ProjectFinish")] + public partial class ProjectFinishController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PROJECT_FINISH entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectFinishFile-隐蔽工程验收管理 附件 + /// + /// 隐蔽工程验收管理 附件 + /// + [Route("api/TL/ProjectFinishFile")] + public partial class ProjectFinishFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PROJECT_FINISH_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectHight-隐蔽工程验收管理 + /// + /// 隐蔽工程验收管理 + /// + [Route("api/TL/ProjectHight")] + public partial class ProjectHightController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PROJECT_HIGHT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectHightFile-隐蔽工程验收管理 附件 + /// + /// 隐蔽工程验收管理 附件 + /// + [Route("api/TL/ProjectHightFile")] + public partial class ProjectHightFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PROJECT_HIGHT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectIntroduce-上游工程情况说明 + /// + /// 上游工程情况说明 + /// + [Route("api/TL/ProjectIntroduce")] + public partial class ProjectIntroduceController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PROJECT_INTRODUCE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectIntroduceFile-上游工程情况说明 + /// + /// 上游工程情况说明 + /// + [Route("api/TL/ProjectIntroduceFile")] + public partial class ProjectIntroduceFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PROJECT_INTRODUCE_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectRecord-单项工程记录管理 + /// + /// 单项工程记录管理 + /// + [Route("api/TL/ProjectRecord")] + public partial class ProjectRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PROJECT_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectRecordCheckFile-监测作业附件 + /// + /// 监测作业附件 + /// + [Route("api/TL/ProjectRecordCheckFile")] + public partial class ProjectRecordCheckFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PROJECT_RECORD_CHECK_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectRecordFile-施工记录 + /// + /// 施工记录 + /// + [Route("api/TL/ProjectRecordFile")] + public partial class ProjectRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PROJECT_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectRecordWatchFile-监测作业附件 + /// + /// 监测作业附件 + /// + [Route("api/TL/ProjectRecordWatchFile")] + public partial class ProjectRecordWatchFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PROJECT_RECORD_WATCH_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectSlopebank-子坝坡岸处理 + /// + /// 子坝坡岸处理 + /// + [Route("api/TL/ProjectSlopebank")] + public partial class ProjectSlopebankController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PROJECT_SLOPEBANK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectSlopebankFile-子坝坡岸处理 附件 + /// + /// 子坝坡岸处理 附件 + /// + [Route("api/TL/ProjectSlopebankFile")] + public partial class ProjectSlopebankFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PROJECT_SLOPEBANK_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectSlopebankProjFile-隐蔽工程 附件 + /// + /// 隐蔽工程 附件 + /// + [Route("api/TL/ProjectSlopebankProjFile")] + public partial class ProjectSlopebankProjFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PROJECT_SLOPEBANK_PROJ_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectSlopebankSubFile-坡岸处理 附件 + /// + /// 坡岸处理 附件 + /// + [Route("api/TL/ProjectSlopebankSubFile")] + public partial class ProjectSlopebankSubFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_PROJECT_SLOPEBANK_SUB_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region QualityCheck-子坝质量验收 + /// + /// 子坝质量验收 + /// + [Route("api/TL/QualityCheck")] + public partial class QualityCheckController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_QUALITY_CHECK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region QualityCheckFile-子坝质量验收记录 + /// + /// 子坝质量验收记录 + /// + [Route("api/TL/QualityCheckFile")] + public partial class QualityCheckFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_QUALITY_CHECK_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Require-制定要求 + /// + /// 制定要求 + /// + [Route("api/TL/Require")] + public partial class RequireController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_REQUIRE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SetWatchDaylyItem-日常观测点位 + /// + /// 日常观测点位 + /// + [Route("api/TL/SetWatchDaylyItem")] + public partial class SetWatchDaylyItemController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_SET_WATCH_DAYLY_ITEM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Tailing-尾矿库名称 + /// + /// 尾矿库名称 + /// + [Route("api/TL/Tailing")] + public partial class TailingController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_TAILING entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchDayly-日常观测 + /// + /// 日常观测 + /// + [Route("api/TL/WatchDayly")] + public partial class WatchDaylyController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_DAYLY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchDaylyDetail-日常观测明细 + /// + /// 日常观测明细 + /// + [Route("api/TL/WatchDaylyDetail")] + public partial class WatchDaylyDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_DAYLY_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchDaylyDetailUser-日常观测明细 + /// + /// 日常观测明细 + /// + [Route("api/TL/WatchDaylyDetailUser")] + public partial class WatchDaylyDetailUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_DAYLY_DETAIL_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchDaylyUser-日常观测明细 + /// + /// 日常观测明细 + /// + [Route("api/TL/WatchDaylyUser")] + public partial class WatchDaylyUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_DAYLY_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchLine-浸润线观测 + /// + /// 浸润线观测 + /// + [Route("api/TL/WatchLine")] + public partial class WatchLineController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_LINE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchLineDetail-浸润线观测明细 + /// + /// 浸润线观测明细 + /// + [Route("api/TL/WatchLineDetail")] + public partial class WatchLineDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_LINE_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchLineDetailFile-浸润线观测附件 + /// + /// 浸润线观测附件 + /// + [Route("api/TL/WatchLineDetailFile")] + public partial class WatchLineDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_LINE_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchLineDetailUser-浸润线观测 + /// + /// 浸润线观测 + /// + [Route("api/TL/WatchLineDetailUser")] + public partial class WatchLineDetailUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_LINE_DETAIL_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchLinePoint-浸润线观测配置 + /// + /// 浸润线观测配置 + /// + [Route("api/TL/WatchLinePoint")] + public partial class WatchLinePointController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_LINE_POINT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchMove-位移观测 + /// + /// 位移观测 + /// + [Route("api/TL/WatchMove")] + public partial class WatchMoveController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_MOVE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchMoveDetail-位移观测明细 + /// + /// 位移观测明细 + /// + [Route("api/TL/WatchMoveDetail")] + public partial class WatchMoveDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_MOVE_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchMoveDetailUser-位移观测明细 + /// + /// 位移观测明细 + /// + [Route("api/TL/WatchMoveDetailUser")] + public partial class WatchMoveDetailUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_MOVE_DETAIL_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchMovePoint-位移观测配置 + /// + /// 位移观测配置 + /// + [Route("api/TL/WatchMovePoint")] + public partial class WatchMovePointController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_MOVE_POINT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchPercent-坡比观测 + /// + /// 坡比观测 + /// + [Route("api/TL/WatchPercent")] + public partial class WatchPercentController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_PERCENT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchPercentDetail-坡比观测明细 + /// + /// 坡比观测明细 + /// + [Route("api/TL/WatchPercentDetail")] + public partial class WatchPercentDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_PERCENT_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchPercentDetailUser-坡比观测明细 + /// + /// 坡比观测明细 + /// + [Route("api/TL/WatchPercentDetailUser")] + public partial class WatchPercentDetailUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_PERCENT_DETAIL_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchPlanSet-人工观测 触发规则设置表 + /// + /// 人工观测 触发规则设置表 + /// + [Route("api/TL/WatchPlanSet")] + public partial class WatchPlanSetController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_PLAN_SET entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region WatchSum-人工观测汇总表 + /// + /// 人工观测汇总表 + /// + [Route("api/TL/WatchSum")] + public partial class WatchSumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_TL_WATCH_SUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectInput-外包工程录入表 + /// + /// 外包工程录入表 + /// + [Route("api/WB/ProjectInput")] + public partial class ProjectInputController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_PROJECT_INPUT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region ProjectInputFile-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/ProjectInputFile")] + public partial class ProjectInputFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_PROJECT_INPUT_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Register-外包单位信息登记表 + /// + /// 外包单位信息登记表 + /// + [Route("api/WB/Register")] + public partial class RegisterController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_REGISTER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Register1-安全生产管理协议 + /// + /// 安全生产管理协议 + /// + [Route("api/WB/Register1")] + public partial class Register1Controller : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_REGISTER_1 entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Register1File-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/Register1File")] + public partial class Register1FileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_REGISTER_1_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Register2-导航:人员信息 + /// + /// 导航:人员信息 + /// + [Route("api/WB/Register2")] + public partial class Register2Controller : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_REGISTER_2 entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Register2File1-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/Register2File1")] + public partial class Register2File1Controller : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_REGISTER_2_FILE1 entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Register2File2-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/Register2File2")] + public partial class Register2File2Controller : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_REGISTER_2_FILE2 entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Register2File3-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/Register2File3")] + public partial class Register2File3Controller : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_REGISTER_2_FILE3 entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Register2File4-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/Register2File4")] + public partial class Register2File4Controller : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_REGISTER_2_FILE4 entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Register3-资质情况 + /// + /// 资质情况 + /// + [Route("api/WB/Register3")] + public partial class Register3Controller : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_REGISTER_3 entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Register3File-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/Register3File")] + public partial class Register3FileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_REGISTER_3_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Register4-设备设施 + /// + /// 设备设施 + /// + [Route("api/WB/Register4")] + public partial class Register4Controller : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_REGISTER_4 entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Register4File-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/Register4File")] + public partial class Register4FileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_REGISTER_4_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Worktype-工种 + /// + /// 工种 + /// + [Route("api/WB/Worktype")] + public partial class WorktypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_WORKTYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region TrainSelect-外包单位入厂安全培训指派 + /// + /// 外包单位入厂安全培训指派 + /// + [Route("api/WB/TrainSelect")] + public partial class TrainSelectController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_TRAIN_SELECT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OutsourceTrainRecord-外包单位培训记录 + /// + /// 外包单位培训记录 + /// + [Route("api/WB/OutsourceTrainRecord")] + public partial class OutsourceTrainRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OutsourceTrainRecordFile-培训照片附件 + /// + /// 培训照片附件 + /// + [Route("api/WB/OutsourceTrainRecordFile")] + public partial class OutsourceTrainRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OutsourceTrainRecordPhoto-培训照片附件 + /// + /// 培训照片附件 + /// + [Route("api/WB/OutsourceTrainRecordPhoto")] + public partial class OutsourceTrainRecordPhotoController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_PHOTO entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OutsourceTrainRecordSourceOff-培训试题 + /// + /// 培训试题 + /// + [Route("api/WB/OutsourceTrainRecordSourceOff")] + public partial class OutsourceTrainRecordSourceOffController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_SOURCE_OFF entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OutsourceTrainRecordSourceOn-培训试题 + /// + /// 培训试题 + /// + [Route("api/WB/OutsourceTrainRecordSourceOn")] + public partial class OutsourceTrainRecordSourceOnController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_SOURCE_ON entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OutsourceTrainRecordUsers-培训记录人员 + /// + /// 培训记录人员 + /// + [Route("api/WB/OutsourceTrainRecordUsers")] + public partial class OutsourceTrainRecordUsersController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_USERS entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OutsourceTrainRecordUsersFiles-外包培训记录人员附件 + /// + /// 外包培训记录人员附件 + /// + [Route("api/WB/OutsourceTrainRecordUsersFiles")] + public partial class OutsourceTrainRecordUsersFilesController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_USERS_FILES entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OutsourceTrainRecordPaper-人员试题 + /// + /// 人员试题 + /// + [Route("api/WB/OutsourceTrainRecordPaper")] + public partial class OutsourceTrainRecordPaperController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_PAPER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OutsourceTrainRecordPaperOrder-人员培训记录试题单 + /// + /// 人员培训记录试题单 + /// + [Route("api/WB/OutsourceTrainRecordPaperOrder")] + public partial class OutsourceTrainRecordPaperOrderController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TRAIN_RECORD_PAPER_ORDER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DangerousJob-外包工程危险作业审批表 + /// + /// 外包工程危险作业审批表 + /// + [Route("api/WB/DangerousJob")] + public partial class DangerousJobController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DangerousJobFile-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/DangerousJobFile")] + public partial class DangerousJobFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DangerousJobUser-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/DangerousJobUser")] + public partial class DangerousJobUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DangerousJobDetail-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/DangerousJobDetail")] + public partial class DangerousJobDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DangerousJobAudit-导航:审核 + /// + /// 导航:审核 + /// + [Route("api/WB/DangerousJobAudit")] + public partial class DangerousJobAuditController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_AUDIT entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DangerousJobDiscloseFile-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/DangerousJobDiscloseFile")] + public partial class DangerousJobDiscloseFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_DISCLOSE_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DangerousJobDiscloseUser-导航:被交底人 + /// + /// 导航:被交底人 + /// + [Route("api/WB/DangerousJobDiscloseUser")] + public partial class DangerousJobDiscloseUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_DISCLOSE_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DangerousJobDiscloseDetail-导航:交底明细 + /// + /// 导航:交底明细 + /// + [Route("api/WB/DangerousJobDiscloseDetail")] + public partial class DangerousJobDiscloseDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_DISCLOSE_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DangerousJobMointerRecordDetail-导航:交底明细 + /// + /// 导航:交底明细 + /// + [Route("api/WB/DangerousJobMointerRecordDetail")] + public partial class DangerousJobMointerRecordDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_MOINTER_RECORD_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DangerousJobMointerRecordDetailFile-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/DangerousJobMointerRecordDetailFile")] + public partial class DangerousJobMointerRecordDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_MOINTER_RECORD_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DangerousJobRecordDetail-导航:记录明细 + /// + /// 导航:记录明细 + /// + [Route("api/WB/DangerousJobRecordDetail")] + public partial class DangerousJobRecordDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_RECORD_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region DangerousJobRecordDetailFile-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/DangerousJobRecordDetailFile")] + public partial class DangerousJobRecordDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_DANGEROUS_JOB_RECORD_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeCheck-外包单位安全检查记录 + /// + /// 外包单位安全检查记录 + /// + [Route("api/WB/SafeCheck")] + public partial class SafeCheckController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeCheckFile-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/SafeCheckFile")] + public partial class SafeCheckFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeCheckPhoto-检查照片 + /// + /// 检查照片 + /// + [Route("api/WB/SafeCheckPhoto")] + public partial class SafeCheckPhotoController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_PHOTO entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeCheckTask-外包工程安全检查任务表 + /// + /// 外包工程安全检查任务表 + /// + [Route("api/WB/SafeCheckTask")] + public partial class SafeCheckTaskController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_TASK entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeCheckTaskDetail-导航:任务明细 + /// + /// 导航:任务明细 + /// + [Route("api/WB/SafeCheckTaskDetail")] + public partial class SafeCheckTaskDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_TASK_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeCheckTaskDetailUser-检查人员 + /// + /// 检查人员 + /// + [Route("api/WB/SafeCheckTaskDetailUser")] + public partial class SafeCheckTaskDetailUserController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_TASK_DETAIL_USER entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeCheckRecord-外包工程安全检查记录表 + /// + /// 外包工程安全检查记录表 + /// + [Route("api/WB/SafeCheckRecord")] + public partial class SafeCheckRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeCheckRecordDetail-导航:记录明细 + /// + /// 导航:记录明细 + /// + [Route("api/WB/SafeCheckRecordDetail")] + public partial class SafeCheckRecordDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_RECORD_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeCheckRecordDetailFile-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/SafeCheckRecordDetailFile")] + public partial class SafeCheckRecordDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_RECORD_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeCheckRecordFile-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/SafeCheckRecordFile")] + public partial class SafeCheckRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HiddenDangerNotify-外包工程隐患整改通知单 + /// + /// 外包工程隐患整改通知单 + /// + [Route("api/WB/HiddenDangerNotify")] + public partial class HiddenDangerNotifyController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_NOTIFY entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HiddenDangerNotifyDetail-导航:隐患整改明细 + /// + /// 导航:隐患整改明细 + /// + [Route("api/WB/HiddenDangerNotifyDetail")] + public partial class HiddenDangerNotifyDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_NOTIFY_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HiddenDangerNotifyDetailFile-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/HiddenDangerNotifyDetailFile")] + public partial class HiddenDangerNotifyDetailFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_NOTIFY_DETAIL_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HiddenDangerNotifyFile-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/HiddenDangerNotifyFile")] + public partial class HiddenDangerNotifyFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_NOTIFY_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HiddenDangerRecord-外包工程隐患整改记录 + /// + /// 外包工程隐患整改记录 + /// + [Route("api/WB/HiddenDangerRecord")] + public partial class HiddenDangerRecordController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_RECORD entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HiddenDangerRecordDetail-导航:隐患整改记录明细 + /// + /// 导航:隐患整改记录明细 + /// + [Route("api/WB/HiddenDangerRecordDetail")] + public partial class HiddenDangerRecordDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_RECORD_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HiddenDangerRecordDetailAfterFile-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/HiddenDangerRecordDetailAfterFile")] + public partial class HiddenDangerRecordDetailAfterFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_RECORD_DETAIL_AFTER_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HiddenDangerRecordDetailBeforeFile-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/HiddenDangerRecordDetailBeforeFile")] + public partial class HiddenDangerRecordDetailBeforeFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_RECORD_DETAIL_BEFORE_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region HiddenDangerRecordFile-导航:附件 + /// + /// 导航:附件 + /// + [Route("api/WB/HiddenDangerRecordFile")] + public partial class HiddenDangerRecordFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_HIDDEN_DANGER_RECORD_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CheckAreaEnum-检查区域配置表 + /// + /// 检查区域配置表 + /// + [Route("api/WB/CheckAreaEnum")] + public partial class CheckAreaEnumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_CHECK_AREA_ENUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CheckMain-检查库 + /// + /// 检查库 + /// + [Route("api/WB/CheckMain")] + public partial class CheckMainController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_CHECK_MAIN entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CheckType-检查类型配置表 + /// + /// 检查类型配置表 + /// + [Route("api/WB/CheckType")] + public partial class CheckTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_CHECK_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region CheckTypeEnum-检查类型配置表 + /// + /// 检查类型配置表 + /// + [Route("api/WB/CheckTypeEnum")] + public partial class CheckTypeEnumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_CHECK_TYPE_ENUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region JobSafeMeasureEnum-外包单位作业安全表 + /// + /// 外包单位作业安全表 + /// + [Route("api/WB/JobSafeMeasureEnum")] + public partial class JobSafeMeasureEnumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_JOB_SAFE_MEASURE_ENUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region JobSafeMeasureEnumDetail-外包单位作业安全措施明细 + /// + /// 外包单位作业安全措施明细 + /// + [Route("api/WB/JobSafeMeasureEnumDetail")] + public partial class JobSafeMeasureEnumDetailController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_JOB_SAFE_MEASURE_ENUM_DETAIL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region JobTypeEnum-外包单位作业类别表 + /// + /// 外包单位作业类别表 + /// + [Route("api/WB/JobTypeEnum")] + public partial class JobTypeEnumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_JOB_TYPE_ENUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Outsource-外包题库 + /// + /// 外包题库 + /// + [Route("api/WB/Outsource")] + public partial class OutsourceController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_OUTSOURCE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OutsourceFile-外包题库附件 + /// + /// 外包题库附件 + /// + [Route("api/WB/OutsourceFile")] + public partial class OutsourceFileController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_FILE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OutsourceTest-外包题库 + /// + /// 外包题库 + /// + [Route("api/WB/OutsourceTest")] + public partial class OutsourceTestController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TEST entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OutsourceType-题库类型 + /// + /// 题库类型 + /// + [Route("api/WB/OutsourceType")] + public partial class OutsourceTypeController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_TYPE entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region OutsourceVideo-外包题库视频 + /// + /// 外包题库视频 + /// + [Route("api/WB/OutsourceVideo")] + public partial class OutsourceVideoController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_OUTSOURCE_VIDEO entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region Register2JobTypeEnum-人员作业类别 + /// + /// 人员作业类别 + /// + [Route("api/WB/Register2JobTypeEnum")] + public partial class Register2JobTypeEnumController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_REGISTER_2_JOB_TYPE_ENUM entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region RelatedLevel-资质等级表 + /// + /// 资质等级表 + /// + [Route("api/WB/RelatedLevel")] + public partial class RelatedLevelController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_RELATED_LEVEL entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + #region SafeCheckTaskArea-安全检查任务区域 + /// + /// 安全检查任务区域 + /// + [Route("api/WB/SafeCheckTaskArea")] + public partial class SafeCheckTaskAreaController : AuthorizeApiController + { + /// + /// 查询所有数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Entities")] + public JsonActionResult> Entities([FromBody]KeywordFilter filter) + { + return WitEntities(null, filter); + } + /// + /// 排序查询所有数据 + /// + /// 过滤实体 + /// + + [HttpPost, Route("OrderEntities")] + public JsonActionResult> OrderEntities([FromBody]KeywordFilter filter) + { + return WitOrderEntities(null, filter); + } + /// + /// 分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("Paged")] + public PagedActionResult Paged([FromBody]KeywordPageFilter pageFilter) + { + return WitPaged(null, pageFilter); + } + /// + /// 排序分页查询数据 + /// + /// 分页过滤实体 + /// + [HttpPost, Route("OrderPaged")] + public PagedActionResult OrderPaged([FromBody]KeywordPageFilter pageFilter) + { + return WitOrderPaged(null, pageFilter); + } + /// + /// 根据主键删除数据 + /// + /// 主键ID + /// + [HttpGet, Route("Delete")] + public JsonActionResult Delete(string id) + { + return WitRealDelete(id); + } + + /// + /// 更新或新增数据 + /// + /// 对象实体 + /// + [HttpPost, Route("Update")] + public JsonActionResult Update([FromBody]T_WB_SAFE_CHECK_TASK_AREA entity) + { + return WitUpdate(entity); + } + + /// + /// 批量更新 + /// + /// 对象实体 + /// + [HttpPost, Route("BatchUpdate")] + public JsonActionResult BatchUpdate([FromBody] BatchUpdateModel entity) + { + return WitBantchUpdate(entity?.Data); + } + + /// + /// 批量删除数据 + /// + /// id字符串(id用逗号分隔) + /// + [HttpGet, Route("BatchDelete")] + public JsonActionResult BatchDelete(string ids) + { + return WitRealBatchDelete(ids); + } + + /// + /// 获得单条实体数据 + /// + /// 过滤实体 + /// + [HttpPost, Route("Get")] + public JsonActionResult Get([FromBody] KeywordFilter filter) + { + return WitEntity(null, filter); + } + + } + #endregion + } +