DigitalData.StaffDBServer/DAL/Migrations/20240805093234_InitialCreate.Designer.cs
2024-08-05 12:11:21 +02:00

1093 lines
41 KiB
C#

// <auto-generated />
using System;
using DAL;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace DAL.Migrations
{
[DbContext(typeof(WebApiContext))]
[Migration("20240805093234_InitialCreate")]
partial class InitialCreate
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "6.0.32")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1);
modelBuilder.Entity("DAL._Shared.SharedModels.WebAppEmployeeInfo", b =>
{
b.Property<int>("WebAppEmployeeInfoId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WebAppEmployeeInfoId"), 1L, 1);
b.Property<int>("ClientId")
.HasColumnType("int");
b.Property<int>("CostCentreId")
.HasColumnType("int");
b.Property<int>("DepartmentId")
.HasColumnType("int");
b.Property<string>("DepartmentName")
.HasColumnType("nvarchar(max)");
b.Property<string>("Email")
.HasColumnType("nvarchar(max)");
b.Property<int>("EmployeeId")
.HasColumnType("int");
b.Property<string>("EmployeeNo")
.HasColumnType("nvarchar(max)");
b.Property<string>("ExtendedDepartmentIdList")
.HasColumnType("nvarchar(max)");
b.Property<string>("FirstName")
.HasColumnType("nvarchar(max)");
b.Property<string>("LastName")
.HasColumnType("nvarchar(max)");
b.Property<string>("LoginName")
.HasColumnType("nvarchar(max)");
b.Property<string>("Position")
.HasColumnType("nvarchar(max)");
b.Property<string>("RangName")
.HasColumnType("nvarchar(max)");
b.Property<int>("RangOrder")
.HasColumnType("int");
b.Property<string>("RangShortname")
.HasColumnType("nvarchar(max)");
b.Property<string>("Salutation")
.HasColumnType("nvarchar(max)");
b.Property<string>("ShortName")
.HasColumnType("nvarchar(max)");
b.Property<string>("Title")
.HasColumnType("nvarchar(max)");
b.Property<int>("WebAppId")
.HasColumnType("int");
b.HasKey("WebAppEmployeeInfoId");
b.ToTable("WebAppEmployeeInfo", "webapi");
});
modelBuilder.Entity("DAL._Shared.SharedModels.WebAppUser", b =>
{
b.Property<int>("WebAppUserId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WebAppUserId"), 1L, 1);
b.Property<string>("ClientVersion")
.HasColumnType("nvarchar(max)");
b.Property<string>("Culture")
.HasColumnType("nvarchar(max)");
b.Property<DateTime?>("JwtExpiredOn")
.HasColumnType("datetime2");
b.Property<string>("Language")
.HasColumnType("nvarchar(max)");
b.Property<DateTime?>("LastLogin")
.HasColumnType("datetime2");
b.Property<string>("LoginName")
.HasColumnType("nvarchar(max)");
b.Property<string>("Name")
.HasColumnType("nvarchar(max)");
b.Property<string>("Password")
.HasColumnType("nvarchar(max)");
b.Property<string>("RoleList")
.HasColumnType("nvarchar(max)");
b.Property<string>("ShortName")
.HasColumnType("nvarchar(max)");
b.Property<string>("WebAppRoleList")
.HasColumnType("nvarchar(max)");
b.HasKey("WebAppUserId");
b.ToTable("WebAppUser", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.AdWebAppToWebAppRole", b =>
{
b.Property<int>("AdWebAppToWebAppRoleId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("AdWebAppToWebAppRoleId"), 1L, 1);
b.Property<string>("AdWebAppName")
.HasColumnType("nvarchar(max)");
b.Property<string>("AdWebAppRoleName")
.HasColumnType("nvarchar(max)");
b.Property<int>("WebAppId")
.HasColumnType("int");
b.HasKey("AdWebAppToWebAppRoleId");
b.ToTable("AdWebAppToWebAppRole", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.CostCentre", b =>
{
b.Property<int>("CostCentreId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("CostCentreId"), 1L, 1);
b.Property<string>("CostCentreName")
.HasColumnType("nvarchar(max)");
b.Property<int>("SortOrder")
.HasColumnType("int");
b.HasKey("CostCentreId");
b.ToTable("CostCentre", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.Department", b =>
{
b.Property<int>("DepartmentId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("DepartmentId"), 1L, 1);
b.Property<string>("AdGroupDepartmentName")
.HasColumnType("nvarchar(max)");
b.Property<int?>("ClientId")
.HasColumnType("int");
b.Property<string>("CostCentre")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int>("CostCentreId")
.HasColumnType("int");
b.Property<string>("DepartmentName")
.HasColumnType("nvarchar(max)");
b.Property<string>("DepartmentNameFolder")
.HasColumnType("nvarchar(max)");
b.Property<int>("DepartmentTypeId")
.HasColumnType("int");
b.Property<string>("ExecutiveDirector")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int?>("ExecutiveDirectorId")
.HasColumnType("int");
b.Property<string>("HeadofDepartment")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int?>("HeadofDepartmentId")
.HasColumnType("int");
b.Property<bool>("IsVirtual")
.HasColumnType("bit");
b.Property<string>("ManagingDirector")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int?>("ManagingDirectorId")
.HasColumnType("int");
b.HasKey("DepartmentId");
b.ToTable("Department", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.DepartmentToWebAppToEmployeeForWindream", b =>
{
b.Property<int>("DepartmentToWebAppToEmployeeForWindreamId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("DepartmentToWebAppToEmployeeForWindreamId"), 1L, 1);
b.Property<int?>("ClientId")
.HasColumnType("int");
b.Property<int>("DepartmentId")
.HasColumnType("int");
b.Property<string>("DepartmentName")
.HasColumnType("nvarchar(max)");
b.Property<int>("EmployeeId")
.HasColumnType("int");
b.Property<int>("IsMain")
.HasColumnType("int");
b.Property<string>("LoginName")
.HasColumnType("nvarchar(max)");
b.Property<string>("ShortName")
.HasColumnType("nvarchar(max)");
b.HasKey("DepartmentToWebAppToEmployeeForWindreamId");
b.ToTable("DepartmentToWebAppToEmployeeForWindream", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.DocumentArt", b =>
{
b.Property<int>("DocumentArtId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("DocumentArtId"), 1L, 1);
b.Property<int>("ClientId")
.HasColumnType("int");
b.Property<string>("Comment")
.HasColumnType("nvarchar(max)");
b.Property<string>("DepartmentNamesList")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("Folder")
.HasColumnType("nvarchar(max)");
b.Property<string>("Name")
.HasColumnType("nvarchar(max)");
b.Property<string>("RootPath")
.HasColumnType("nvarchar(max)");
b.Property<string>("Shortname")
.HasColumnType("nvarchar(max)");
b.HasKey("DocumentArtId");
b.ToTable("DocumentArt", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.DocumentArtToDepartment", b =>
{
b.Property<int>("DocumentArtToDepartmentId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("DocumentArtToDepartmentId"), 1L, 1);
b.Property<int>("DepartmentId")
.HasColumnType("int");
b.Property<string>("DocumentArtFolder")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int>("DocumentArtId")
.HasColumnType("int");
b.Property<string>("DocumentArtName")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("DocumentArtShortname")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<bool>("IsActive")
.HasColumnType("bit");
b.Property<bool?>("UseGlobix")
.HasColumnType("bit");
b.HasKey("DocumentArtToDepartmentId");
b.ToTable("DocumentArtToDepartment", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.Employee", b =>
{
b.Property<int>("EmployeeId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("EmployeeId"), 1L, 1);
b.Property<string>("AttributeIdList")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("AttributeNamesList")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int>("ClientId")
.HasColumnType("int");
b.Property<string>("DepartmentIdList")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("DepartmentNamesList")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("Email")
.HasColumnType("nvarchar(max)");
b.Property<string>("EmployeeNo")
.HasColumnType("nvarchar(max)");
b.Property<string>("FirstName")
.HasColumnType("nvarchar(max)");
b.Property<bool?>("IsActive")
.HasColumnType("bit");
b.Property<string>("LastName")
.HasColumnType("nvarchar(max)");
b.Property<string>("LoginName")
.HasColumnType("nvarchar(max)");
b.Property<int?>("MainDepartmentId")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("int");
b.Property<string>("MandantCode")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("MobilePhoneNo")
.HasColumnType("nvarchar(max)");
b.Property<string>("PhoneNo")
.HasColumnType("nvarchar(max)");
b.Property<string>("Position")
.HasColumnType("nvarchar(max)");
b.Property<int?>("RangId")
.HasColumnType("int");
b.Property<string>("Salutation")
.HasColumnType("nvarchar(max)");
b.Property<string>("ShortName")
.HasColumnType("nvarchar(max)");
b.Property<string>("Title")
.HasColumnType("nvarchar(max)");
b.Property<string>("WebappIdList")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("WebappNamesList")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.HasKey("EmployeeId");
b.ToTable("Employee", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.EmployeeAttribute", b =>
{
b.Property<int>("EmployeeAttributeId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("EmployeeAttributeId"), 1L, 1);
b.Property<string>("Name")
.HasColumnType("nvarchar(max)");
b.Property<string>("RoleList")
.HasColumnType("nvarchar(max)");
b.Property<int?>("SeqNo")
.HasColumnType("int");
b.Property<string>("Shortname")
.HasColumnType("nvarchar(max)");
b.HasKey("EmployeeAttributeId");
b.ToTable("EmployeeAttribute", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.EmployeeStatus", b =>
{
b.Property<int>("EmployeeStatusId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("EmployeeStatusId"), 1L, 1);
b.Property<string>("EmployeeStatusName")
.HasColumnType("nvarchar(max)");
b.HasKey("EmployeeStatusId");
b.ToTable("EmployeeStatus", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.EmployeeToAttribute", b =>
{
b.Property<int>("EmployeeToAttributeId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("EmployeeToAttributeId"), 1L, 1);
b.Property<int>("EmployeeAttributeId")
.HasColumnType("int");
b.Property<int>("EmployeeId")
.HasColumnType("int");
b.HasKey("EmployeeToAttributeId");
b.ToTable("EmployeeToAttribute", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.EmployeeToDepartment", b =>
{
b.Property<int>("EmployeeToDepartmentId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("EmployeeToDepartmentId"), 1L, 1);
b.Property<int>("DepartmentId")
.HasColumnType("int");
b.Property<string>("DepartmentName")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<decimal>("EmployeeBudget")
.HasColumnType("decimal(18,2)");
b.Property<int>("EmployeeId")
.HasColumnType("int");
b.Property<int?>("EmployeeStatusId")
.HasColumnType("int");
b.Property<int?>("RangId")
.HasColumnType("int");
b.HasKey("EmployeeToDepartmentId");
b.ToTable("EmployeeToDepartment", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.EmployeeToWebApp", b =>
{
b.Property<int>("EmployeeToWebAppId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("EmployeeToWebAppId"), 1L, 1);
b.Property<string>("AdditionalRoleIdList")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("AdditionalRoleNameList")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int?>("DepartmentId")
.HasColumnType("int");
b.Property<string>("DepartmentName")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int>("EmployeeId")
.HasColumnType("int");
b.Property<string>("ExtendedDepartmentIdList")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("ExtendedDepartmentNameList")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int>("WebAppId")
.HasColumnType("int");
b.Property<string>("WebAppName")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int>("WebAppRoleId")
.HasColumnType("int");
b.Property<string>("WebAppRoleName")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.HasKey("EmployeeToWebAppId");
b.ToTable("EmployeeToWebApp", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.Project", b =>
{
b.Property<int>("ProjectId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("ProjectId"), 1L, 1);
b.Property<string>("ProjectName")
.HasColumnType("nvarchar(max)");
b.HasKey("ProjectId");
b.ToTable("Project", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.Rang", b =>
{
b.Property<int>("RangId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("RangId"), 1L, 1);
b.Property<string>("RangName")
.HasColumnType("nvarchar(max)");
b.Property<int>("RangOrder")
.HasColumnType("int");
b.Property<string>("RangShortname")
.HasColumnType("nvarchar(max)");
b.HasKey("RangId");
b.ToTable("Rang", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.Subsidiary", b =>
{
b.Property<int>("SubsidiaryId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("SubsidiaryId"), 1L, 1);
b.Property<int?>("ClientId")
.HasColumnType("int");
b.Property<string>("Comment")
.HasColumnType("nvarchar(max)");
b.Property<string>("Name")
.HasColumnType("nvarchar(max)");
b.Property<string>("SubsidiaryCode")
.HasColumnType("nvarchar(max)");
b.HasKey("SubsidiaryId");
b.ToTable("Subsidiary", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.WebApp", b =>
{
b.Property<int>("WebAppId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WebAppId"), 1L, 1);
b.Property<string>("AdWebAppName")
.HasColumnType("nvarchar(max)");
b.Property<bool>("IsActive")
.HasColumnType("bit");
b.Property<string>("WebAppLinkDev")
.HasColumnType("nvarchar(max)");
b.Property<string>("WebAppLinkLive")
.HasColumnType("nvarchar(max)");
b.Property<string>("WebAppName")
.HasColumnType("nvarchar(max)");
b.HasKey("WebAppId");
b.ToTable("WebApp", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.WebAppAdditionalRole", b =>
{
b.Property<int>("WebAppAdditionalRoleId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WebAppAdditionalRoleId"), 1L, 1);
b.Property<string>("AdWebAppAdditionalRoleName")
.HasColumnType("nvarchar(max)");
b.Property<string>("WebAppAdditionalRoleName")
.HasColumnType("nvarchar(max)");
b.Property<int>("WebAppId")
.HasColumnType("int");
b.HasKey("WebAppAdditionalRoleId");
b.ToTable("WebAppAdditionalRole", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.WebAppRole", b =>
{
b.Property<int>("WebAppRoleId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WebAppRoleId"), 1L, 1);
b.Property<int>("WebAppRoleHierarchy")
.HasColumnType("int");
b.Property<string>("WebAppRoleName")
.HasColumnType("nvarchar(max)");
b.HasKey("WebAppRoleId");
b.ToTable("WebAppRole", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.WebAppToDepartment", b =>
{
b.Property<int>("WebAppToDepartmentId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WebAppToDepartmentId"), 1L, 1);
b.Property<int>("DepartmentId")
.HasColumnType("int");
b.Property<string>("DepartmentName")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int>("EmployeeToWebAppId")
.HasColumnType("int");
b.HasKey("WebAppToDepartmentId");
b.ToTable("WebAppToDepartment", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.WebAppToWebAppAdditionalRole", b =>
{
b.Property<int>("WebAppToWebAppAdditionalRoleId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WebAppToWebAppAdditionalRoleId"), 1L, 1);
b.Property<int>("EmployeeToWebAppId")
.HasColumnType("int");
b.Property<int>("WebAppAdditionalRoleId")
.HasColumnType("int");
b.HasKey("WebAppToWebAppAdditionalRoleId");
b.ToTable("WebAppToWebAppAdditionalRole", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.WebAppToWebAppRole", b =>
{
b.Property<int>("WebAppToWebAppRoleId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WebAppToWebAppRoleId"), 1L, 1);
b.Property<int>("WebAppId")
.HasColumnType("int");
b.Property<int>("WebAppRoleHierarchy")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("int");
b.Property<int>("WebAppRoleId")
.HasColumnType("int");
b.Property<string>("WebAppRoleName")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.HasKey("WebAppToWebAppRoleId");
b.ToTable("WebAppToWebAppRole", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.WindreamColumnsToDepartment", b =>
{
b.Property<int>("WindreamColumnsToDepartmentId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WindreamColumnsToDepartmentId"), 1L, 1);
b.Property<int>("AttributeDwAttrId")
.HasColumnType("int");
b.Property<int>("AttributeDwAttrType")
.HasColumnType("int");
b.Property<string>("AttributeSzColumnName")
.HasColumnType("nvarchar(max)");
b.Property<int>("ClientId")
.HasColumnType("int");
b.Property<string>("Comment")
.HasColumnType("nvarchar(max)");
b.Property<int>("ComumnLength")
.HasColumnType("int");
b.Property<int>("DepartmentId")
.HasColumnType("int");
b.Property<string>("ObjectTypeAttributeSzName")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("ObjectTypeszDocTypeName")
.HasColumnType("nvarchar(max)");
b.Property<int>("Seq")
.HasColumnType("int");
b.Property<int>("WindreamSearchId")
.HasColumnType("int");
b.HasKey("WindreamColumnsToDepartmentId");
b.ToTable("WindreamColumnsToDepartment", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.WindreamIndex", b =>
{
b.Property<int>("WindreamIndexId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WindreamIndexId"), 1L, 1);
b.Property<int>("AttributeDwAttrId")
.HasColumnType("int");
b.Property<int?>("AttributeDwAttrType")
.HasColumnType("int");
b.Property<string>("AttributeSzColumnName")
.HasColumnType("nvarchar(max)");
b.Property<int>("ClientId")
.HasColumnType("int");
b.Property<string>("Comment")
.HasColumnType("nvarchar(max)");
b.Property<int?>("ComumnLength")
.HasColumnType("int");
b.Property<string>("ObjectTypeAttributeSzName")
.HasColumnType("nvarchar(max)");
b.HasKey("WindreamIndexId");
b.ToTable("WindreamIndex", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.WindreamIndexToWindreamSearchToDepartment", b =>
{
b.Property<int>("WindreamIndexToWindreamSearchToDepartmentId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WindreamIndexToWindreamSearchToDepartmentId"), 1L, 1);
b.Property<string>("AttributeSzColumnName")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("ObjectTypeAttributeSzName")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int>("Seq")
.HasColumnType("int");
b.Property<int>("WindreamIndexId")
.HasColumnType("int");
b.Property<int>("WindreamSearchToDepartmentId")
.HasColumnType("int");
b.HasKey("WindreamIndexToWindreamSearchToDepartmentId");
b.ToTable("WindreamIndexToWindreamSearchToDepartment", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.WindreamInputFolder", b =>
{
b.Property<int>("WindreamInputFolderId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WindreamInputFolderId"), 1L, 1);
b.Property<int?>("ClientId")
.HasColumnType("int");
b.Property<string>("Comment")
.HasColumnType("nvarchar(max)");
b.Property<string>("Name")
.HasColumnType("nvarchar(max)");
b.Property<string>("XMLPath")
.HasColumnType("nvarchar(max)");
b.HasKey("WindreamInputFolderId");
b.ToTable("WindreamInputFolder", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.WindreamSearch", b =>
{
b.Property<int>("WindreamSearchId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WindreamSearchId"), 1L, 1);
b.Property<int>("ClientId")
.HasColumnType("int");
b.Property<int?>("Color")
.HasColumnType("int");
b.Property<string>("Comment")
.HasColumnType("nvarchar(max)");
b.Property<string>("Name")
.HasColumnType("nvarchar(max)");
b.Property<int?>("SearchIndex")
.HasColumnType("int");
b.Property<string>("XMLPath")
.HasColumnType("nvarchar(max)");
b.HasKey("WindreamSearchId");
b.ToTable("WindreamSearch", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.WindreamSearchItem", b =>
{
b.Property<int>("WindreamSearchItemId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WindreamSearchItemId"), 1L, 1);
b.Property<string>("AlternativeWindreamSearchItemIdList")
.HasColumnType("nvarchar(max)");
b.Property<string>("Caption")
.HasColumnType("nvarchar(max)");
b.Property<int>("ClientId")
.HasColumnType("int");
b.Property<string>("Comment")
.HasColumnType("nvarchar(max)");
b.Property<string>("ConnectedList")
.HasColumnType("nvarchar(max)");
b.Property<string>("Name")
.HasColumnType("nvarchar(max)");
b.Property<string>("PlaceHolder")
.HasColumnType("nvarchar(max)");
b.Property<string>("SearchTemplate")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.HasKey("WindreamSearchItemId");
b.ToTable("WindreamSearchItem", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.WindreamSearchItemToWindreamSearchToDepartment", b =>
{
b.Property<int>("WindreamSearchItemToWindreamSearchToDepartmentId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WindreamSearchItemToWindreamSearchToDepartmentId"), 1L, 1);
b.Property<int>("DepartmentId")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("int");
b.Property<int>("Seq")
.HasColumnType("int");
b.Property<int?>("WindreamSearchIndexType")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("int");
b.Property<string>("WindreamSearchItemCaption")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("WindreamSearchItemComment")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("WindreamSearchItemConnectedList")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int>("WindreamSearchItemId")
.HasColumnType("int");
b.Property<string>("WindreamSearchItemName")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("WindreamSearchItemPlaceHolder")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("WindreamSearchItemSearchTemplate")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("WindreamSearchItemTemplate")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int>("WindreamSearchToDepartmentId")
.HasColumnType("int");
b.HasKey("WindreamSearchItemToWindreamSearchToDepartmentId");
b.ToTable("WindreamSearchItemToWindreamSearchToDepartment", "webapi");
});
modelBuilder.Entity("DAL.Models.Entities.WindreamSearchToDepartment", b =>
{
b.Property<int>("WindreamSearchToDepartmentId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("WindreamSearchToDepartmentId"), 1L, 1);
b.Property<int>("DepartmentId")
.HasColumnType("int");
b.Property<string>("DepartmentName")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<bool>("IsActive")
.HasColumnType("bit");
b.Property<int>("Seq")
.HasColumnType("int");
b.Property<int?>("WindreamSearchColor")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("int");
b.Property<string>("WindreamSearchComment")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<int>("WindreamSearchId")
.HasColumnType("int");
b.Property<string>("WindreamSearchName")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.Property<string>("WindreamSearchXMLPath")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("nvarchar(max)");
b.HasKey("WindreamSearchToDepartmentId");
b.ToTable("WindreamSearchToDepartment", "webapi");
});
#pragma warning restore 612, 618
}
}
}