refactor: Projektdateien migriert. Cloud-NuGet-Pakete durch lokale NuGet-Projekte ersetzt.
This commit is contained in:
26
DAL/Models/Entities/AdWebAppToWebAppRole.cs
Normal file
26
DAL/Models/Entities/AdWebAppToWebAppRole.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class AdWebAppToWebAppRole : BaseEntity
|
||||
{
|
||||
public int AdWebAppToWebAppRoleId { get; set; }
|
||||
public int WebAppId { get; set; }
|
||||
public string AdWebAppName { get; set; }
|
||||
public string AdWebAppRoleName { get; set; }
|
||||
|
||||
public string GetAdGrupSuffix()
|
||||
{
|
||||
return $"{AdWebAppName}_{AdWebAppRoleName}";
|
||||
}
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => AdWebAppToWebAppRoleId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"AdWebAppToWebAppRoleId: {GetEntityId()}; AdWebAppRoleName: {AdWebAppRoleName}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
20
DAL/Models/Entities/CostCentre.cs
Normal file
20
DAL/Models/Entities/CostCentre.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class CostCentre : BaseEntity
|
||||
{
|
||||
public int CostCentreId { get; set; }
|
||||
public string CostCentreName { get; set; }
|
||||
public int SortOrder { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => CostCentreId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"CostCentreId: {GetEntityId()}; Name: {CostCentreName}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
41
DAL/Models/Entities/Department.cs
Normal file
41
DAL/Models/Entities/Department.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using HRD.WebApi.DAL;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class Department : BaseEntity
|
||||
{
|
||||
public int DepartmentId { get; set; }
|
||||
public string DepartmentName { get; set; }
|
||||
public int CostCentreId { get; set; }
|
||||
public int DepartmentTypeId { get; set; }
|
||||
public int? HeadofDepartmentId { get; set; }
|
||||
public int? ExecutiveDirectorId { get; set; }
|
||||
public int? ManagingDirectorId { get; set; }
|
||||
public string DepartmentNameFolder { get; set; }
|
||||
public string AdGroupDepartmentName { get; set; }
|
||||
public int? ClientId { get; set; }
|
||||
public bool IsVirtual { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string CostCentre { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string HeadofDepartment { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string ExecutiveDirector { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string ManagingDirector { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => DepartmentId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"DepartmentId: {GetEntityId()}; Name: {DepartmentName}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class DepartmentToWebAppToEmployeeForWindream : BaseEntity
|
||||
{
|
||||
public int DepartmentToWebAppToEmployeeForWindreamId { get; set; }
|
||||
public int EmployeeId { get; set; }
|
||||
public int DepartmentId { get; set; }
|
||||
public string DepartmentName { get; set; }
|
||||
public string ShortName { get; set; }
|
||||
public string LoginName { get; set; }
|
||||
public int IsMain { get; set; }
|
||||
public int? ClientId { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => DepartmentToWebAppToEmployeeForWindreamId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"DepartmentToWebAppToEmployeeForWindreamId: {GetEntityId()}; EmployeeId: {EmployeeId}; DepartmentId: {DepartmentId}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
28
DAL/Models/Entities/DocumentArt.cs
Normal file
28
DAL/Models/Entities/DocumentArt.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using HRD.WebApi.DAL;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class DocumentArt : BaseEntity
|
||||
{
|
||||
public int DocumentArtId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Shortname { get; set; }
|
||||
public string RootPath { get; set; }
|
||||
public string Folder { get; set; }
|
||||
public string Comment { get; set; }
|
||||
public int ClientId { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string DepartmentNamesList { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => DocumentArtId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"DocumentArtId: {GetEntityId()}; Name: {Name}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
32
DAL/Models/Entities/DocumentArtToDepartment.cs
Normal file
32
DAL/Models/Entities/DocumentArtToDepartment.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using HRD.WebApi.DAL;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class DocumentArtToDepartment : BaseEntity
|
||||
{
|
||||
public int DocumentArtToDepartmentId { get; set; }
|
||||
public int DepartmentId { get; set; }
|
||||
public int DocumentArtId { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
public bool? UseGlobix { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string DocumentArtName { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string DocumentArtShortname { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string DocumentArtFolder { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => DocumentArtToDepartmentId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"DocumentArtToDepartmentId: {GetEntityId()}; DepartmentId : {DepartmentId}; DocumentArtId : {DocumentArtId}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
58
DAL/Models/Entities/Employee.cs
Normal file
58
DAL/Models/Entities/Employee.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
using HRD.WebApi.DAL;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class Employee : BaseEntity
|
||||
{
|
||||
public int EmployeeId { get; set; }
|
||||
public string EmployeeNo { get; set; }
|
||||
public string Salutation { get; set; }
|
||||
public string FirstName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
public string ShortName { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string Position { get; set; }
|
||||
public string LoginName { get; set; }
|
||||
public string Email { get; set; }
|
||||
public int? RangId { get; set; }
|
||||
public int ClientId { get; set; }
|
||||
public bool? IsActive { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string MandantCode { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public int? MainDepartmentId { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string DepartmentNamesList { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string DepartmentIdList { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WebappNamesList { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WebappIdList { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string AttributeNamesList { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string AttributeIdList { get; set; }
|
||||
|
||||
public string MobilePhoneNo { get; set; }
|
||||
public string PhoneNo { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => EmployeeId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"EmployeeId: {GetEntityId()}; LoginName: {LoginName}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
22
DAL/Models/Entities/EmployeeAttribute.cs
Normal file
22
DAL/Models/Entities/EmployeeAttribute.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class EmployeeAttribute : BaseEntity
|
||||
{
|
||||
public int EmployeeAttributeId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Shortname { get; set; }
|
||||
public string RoleList { get; set; }
|
||||
public int? SeqNo { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => EmployeeAttributeId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"EmployeeAttributeId: {GetEntityId()}; Name: {Name}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
19
DAL/Models/Entities/EmployeeStatus.cs
Normal file
19
DAL/Models/Entities/EmployeeStatus.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class EmployeeStatus : BaseEntity
|
||||
{
|
||||
public int EmployeeStatusId { get; set; }
|
||||
public string EmployeeStatusName { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => EmployeeStatusId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"EmployeeStatusId: {GetEntityId()}; Name: {EmployeeStatusName}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
21
DAL/Models/Entities/EmployeeToAttribute.cs
Normal file
21
DAL/Models/Entities/EmployeeToAttribute.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class EmployeeToAttribute : BaseEntity
|
||||
{
|
||||
public int EmployeeToAttributeId { get; set; }
|
||||
public int EmployeeId { get; set; }
|
||||
|
||||
public int EmployeeAttributeId { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => EmployeeToAttributeId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"EmployeeToAttributeId: {GetEntityId()}; EmployeeId: {EmployeeId}; EmployeeAttributeId: {EmployeeAttributeId}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
29
DAL/Models/Entities/EmployeeToDepartment.cs
Normal file
29
DAL/Models/Entities/EmployeeToDepartment.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using HRD.WebApi.DAL;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class EmployeeToDepartment : BaseEntity
|
||||
{
|
||||
public int EmployeeToDepartmentId { get; set; }
|
||||
public int EmployeeId { get; set; }
|
||||
|
||||
public int DepartmentId { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string DepartmentName { get; set; }
|
||||
|
||||
public decimal EmployeeBudget { get; set; }
|
||||
public int? EmployeeStatusId { get; set; }
|
||||
public int? RangId { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => EmployeeToDepartmentId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"EmployeeToDepartmentId: {GetEntityId()}; EmployeeId: {EmployeeId}; DepartmentId: {DepartmentId}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
45
DAL/Models/Entities/EmployeeToWebApp.cs
Normal file
45
DAL/Models/Entities/EmployeeToWebApp.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using HRD.WebApi.DAL;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class EmployeeToWebApp : BaseEntity
|
||||
{
|
||||
public int EmployeeToWebAppId { get; set; }
|
||||
public int EmployeeId { get; set; }
|
||||
public int WebAppId { get; set; }
|
||||
|
||||
public int WebAppRoleId { get; set; }
|
||||
public int? DepartmentId { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WebAppRoleName { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WebAppName { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string DepartmentName { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string ExtendedDepartmentNameList { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string ExtendedDepartmentIdList { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string AdditionalRoleNameList { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string AdditionalRoleIdList { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => EmployeeToWebAppId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"EmployeeToWebAppId: {GetEntityId()}; EmployeeId: {EmployeeId}; WebAppId: {WebAppId}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
19
DAL/Models/Entities/Project.cs
Normal file
19
DAL/Models/Entities/Project.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class Project : BaseEntity
|
||||
{
|
||||
public int ProjectId { get; set; }
|
||||
public string ProjectName { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => ProjectId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"ProjectId: {GetEntityId()}; Name: {ProjectName}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
21
DAL/Models/Entities/Rang.cs
Normal file
21
DAL/Models/Entities/Rang.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class Rang : BaseEntity
|
||||
{
|
||||
public int RangId { get; set; }
|
||||
public string RangName { get; set; }
|
||||
public string RangShortname { get; set; }
|
||||
public int RangOrder { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => RangId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"RangId: {GetEntityId()}; Name: {RangName}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
25
DAL/Models/Entities/Subsidiary.cs
Normal file
25
DAL/Models/Entities/Subsidiary.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class Subsidiary : BaseEntity
|
||||
{
|
||||
public int SubsidiaryId { get; set; }
|
||||
public int? ClientId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string SubsidiaryCode { get; set; }
|
||||
public string Comment { get; set; }
|
||||
|
||||
// [NotMapped]
|
||||
// [DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => SubsidiaryId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"SubsidiaryId: {GetEntityId()}; Name: {Name}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
23
DAL/Models/Entities/WebApp.cs
Normal file
23
DAL/Models/Entities/WebApp.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class WebApp : BaseEntity
|
||||
{
|
||||
public int WebAppId { get; set; }
|
||||
public string WebAppName { get; set; }
|
||||
public string WebAppLinkLive { get; set; }
|
||||
public string WebAppLinkDev { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
public string AdWebAppName { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => WebAppId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"WebAppId: {GetEntityId()}; Name: {WebAppName}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
21
DAL/Models/Entities/WebAppAdditionalRole.cs
Normal file
21
DAL/Models/Entities/WebAppAdditionalRole.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class WebAppAdditionalRole : BaseEntity
|
||||
{
|
||||
public int WebAppAdditionalRoleId { get; set; }
|
||||
public int WebAppId { get; set; }
|
||||
public string WebAppAdditionalRoleName { get; set; }
|
||||
public string AdWebAppAdditionalRoleName { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => WebAppAdditionalRoleId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"WebAppAdditionalRoleId: {GetEntityId()}; WebAppId: {WebAppId}; WebAppAdditionalRoleName: {WebAppAdditionalRoleName}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
20
DAL/Models/Entities/WebAppRole.cs
Normal file
20
DAL/Models/Entities/WebAppRole.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class WebAppRole : BaseEntity
|
||||
{
|
||||
public int WebAppRoleId { get; set; }
|
||||
public string WebAppRoleName { get; set; }
|
||||
public int WebAppRoleHierarchy { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => WebAppRoleId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"WebAppRoleId: {GetEntityId()}; WebAppRoleName: {WebAppRoleName}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
24
DAL/Models/Entities/WebAppToDepartment.cs
Normal file
24
DAL/Models/Entities/WebAppToDepartment.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using HRD.WebApi.DAL;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class WebAppToDepartment : BaseEntity
|
||||
{
|
||||
public int WebAppToDepartmentId { get; set; }
|
||||
public int EmployeeToWebAppId { get; set; }
|
||||
public int DepartmentId { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string DepartmentName { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => WebAppToDepartmentId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"WebAppToDepartmentId: {GetEntityId()}; EmployeeToWebAppId: {EmployeeToWebAppId}; DepartmentId: {DepartmentId}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
20
DAL/Models/Entities/WebAppToWebAppAdditionalRole.cs
Normal file
20
DAL/Models/Entities/WebAppToWebAppAdditionalRole.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class WebAppToWebAppAdditionalRole : BaseEntity
|
||||
{
|
||||
public int WebAppToWebAppAdditionalRoleId { get; set; }
|
||||
public int WebAppAdditionalRoleId { get; set; }
|
||||
public int EmployeeToWebAppId { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => WebAppToWebAppAdditionalRoleId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"WebAppToWebAppAdditionalRoleId: {GetEntityId()}; WebAppAdditionalRoleId: {WebAppAdditionalRoleId}; EmployeeToWebAppId: {EmployeeToWebAppId}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
27
DAL/Models/Entities/WebAppToWebAppRole.cs
Normal file
27
DAL/Models/Entities/WebAppToWebAppRole.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using HRD.WebApi.DAL;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class WebAppToWebAppRole : BaseEntity
|
||||
{
|
||||
public int WebAppToWebAppRoleId { get; set; }
|
||||
public int WebAppId { get; set; }
|
||||
public int WebAppRoleId { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WebAppRoleName { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public int WebAppRoleHierarchy { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => WebAppToWebAppRoleId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"WebAppToWebAppRoleId: {GetEntityId()}; WebAppId: {WebAppId}; WebAppRoleId: {WebAppRoleId}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
33
DAL/Models/Entities/WindreamColumnsToDepartment.cs
Normal file
33
DAL/Models/Entities/WindreamColumnsToDepartment.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using HRD.WebApi.DAL;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class WindreamColumnsToDepartment : BaseEntity
|
||||
{
|
||||
public int WindreamColumnsToDepartmentId { get; set; }
|
||||
public int AttributeDwAttrId { get; set; }
|
||||
public string AttributeSzColumnName { get; set; }
|
||||
public string Comment { get; set; }
|
||||
public int AttributeDwAttrType { get; set; }
|
||||
public int ComumnLength { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string ObjectTypeAttributeSzName { get; set; }
|
||||
|
||||
public int ClientId { get; set; }
|
||||
public string ObjectTypeszDocTypeName { get; set; }
|
||||
public int DepartmentId { get; set; }
|
||||
public int Seq { get; set; }
|
||||
public int WindreamSearchId { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => WindreamColumnsToDepartmentId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"WindreamColumnsToDepartmentId: {GetEntityId()}; AttributeSzColumnName: {AttributeSzColumnName}; DepartmentId: {DepartmentId}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
25
DAL/Models/Entities/WindreamIndex.cs
Normal file
25
DAL/Models/Entities/WindreamIndex.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class WindreamIndex : BaseEntity
|
||||
{
|
||||
public int WindreamIndexId { get; set; }
|
||||
public int AttributeDwAttrId { get; set; }
|
||||
public string AttributeSzColumnName { get; set; }
|
||||
public string Comment { get; set; }
|
||||
public int? ComumnLength { get; set; }
|
||||
public int? AttributeDwAttrType { get; set; }
|
||||
public int ClientId { get; set; }
|
||||
public string ObjectTypeAttributeSzName { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => WindreamIndexId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"WindreamIndexId: {GetEntityId()}; AttributeSzColumnName: {AttributeSzColumnName}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
using HRD.WebApi.DAL;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class WindreamIndexToWindreamSearchToDepartment : BaseEntity
|
||||
{
|
||||
public int WindreamIndexToWindreamSearchToDepartmentId { get; set; }
|
||||
public int WindreamSearchToDepartmentId { get; set; }
|
||||
public int WindreamIndexId { get; set; }
|
||||
public int Seq { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string AttributeSzColumnName { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string ObjectTypeAttributeSzName { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => WindreamIndexToWindreamSearchToDepartmentId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"WindreamIndexToWindreamSearchToDepartmentId: {GetEntityId()}; WindreamSearchToDepartmentId: {WindreamSearchToDepartmentId}; AttributeSzColumnName: {AttributeSzColumnName}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
22
DAL/Models/Entities/WindreamInputFolder.cs
Normal file
22
DAL/Models/Entities/WindreamInputFolder.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class WindreamInputFolder : BaseEntity
|
||||
{
|
||||
public int WindreamInputFolderId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string XMLPath { get; set; }
|
||||
public string Comment { get; set; }
|
||||
public int? ClientId { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => WindreamInputFolderId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"WindreamInputFolderId: {GetEntityId()}; Name: {Name}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
24
DAL/Models/Entities/WindreamSearch.cs
Normal file
24
DAL/Models/Entities/WindreamSearch.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class WindreamSearch : BaseEntity
|
||||
{
|
||||
public int WindreamSearchId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string XMLPath { get; set; }
|
||||
public string Comment { get; set; }
|
||||
public int ClientId { get; set; }
|
||||
public int? Color { get; set; }
|
||||
public int? SearchIndex { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => WindreamSearchId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"WindreamSearchId: {GetEntityId()}; Name: {Name}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
30
DAL/Models/Entities/WindreamSearchItem.cs
Normal file
30
DAL/Models/Entities/WindreamSearchItem.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using HRD.WebApi.DAL;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class WindreamSearchItem : BaseEntity
|
||||
{
|
||||
public int WindreamSearchItemId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Comment { get; set; }
|
||||
public int ClientId { get; set; }
|
||||
public string Caption { get; set; }
|
||||
public string PlaceHolder { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string SearchTemplate { get; set; }
|
||||
|
||||
public string ConnectedList { get; set; }
|
||||
public string AlternativeWindreamSearchItemIdList { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => WindreamSearchItemId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"WindreamSearchItemId: {GetEntityId()}; Name: {Name}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
using HRD.WebApi.DAL;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class WindreamSearchItemToWindreamSearchToDepartment : BaseEntity
|
||||
{
|
||||
public int WindreamSearchItemToWindreamSearchToDepartmentId { get; set; }
|
||||
public int WindreamSearchToDepartmentId { get; set; }
|
||||
public int Seq { get; set; }
|
||||
public int WindreamSearchItemId { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public int DepartmentId { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WindreamSearchItemName { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WindreamSearchItemCaption { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WindreamSearchItemPlaceHolder { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WindreamSearchItemSearchTemplate { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WindreamSearchItemTemplate { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WindreamSearchItemConnectedList { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WindreamSearchItemComment { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public int? WindreamSearchIndexType { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => WindreamSearchItemToWindreamSearchToDepartmentId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"WindreamSearchItemToWindreamSearchToDepartmentId: {GetEntityId()}; WindreamSearchToDepartmentId: {WindreamSearchToDepartmentId}; WindreamSearchItemName: {WindreamSearchItemName}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
38
DAL/Models/Entities/WindreamSearchToDepartment.cs
Normal file
38
DAL/Models/Entities/WindreamSearchToDepartment.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using HRD.WebApi.DAL;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DAL.Models.Entities
|
||||
{
|
||||
public partial class WindreamSearchToDepartment : BaseEntity
|
||||
{
|
||||
public int WindreamSearchToDepartmentId { get; set; }
|
||||
public int DepartmentId { get; set; }
|
||||
public int WindreamSearchId { get; set; }
|
||||
public int Seq { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string DepartmentName { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WindreamSearchName { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WindreamSearchXMLPath { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public string WindreamSearchComment { get; set; }
|
||||
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
||||
public int? WindreamSearchColor { get; set; }
|
||||
|
||||
//generic Id
|
||||
public override int GetEntityId() => WindreamSearchToDepartmentId;
|
||||
|
||||
//generic ToString()
|
||||
public override string ToString() => $"WindreamSearchToDepartmentId: {GetEntityId()}; DepartmentName: {DepartmentName}; WindreamSearchName: {WindreamSearchName}";
|
||||
|
||||
//generic EntityInfo()
|
||||
public override string EntityInfo() => base.EntityInfo();
|
||||
}
|
||||
}
|
||||
9
DAL/Models/Filters/ClientIdFilter.cs
Normal file
9
DAL/Models/Filters/ClientIdFilter.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Filters
|
||||
{
|
||||
public partial class ClientIdFilter : BaseFilter
|
||||
{
|
||||
public int? ClientId { get; set; }
|
||||
}
|
||||
}
|
||||
10
DAL/Models/Filters/DepartmentFilter.cs
Normal file
10
DAL/Models/Filters/DepartmentFilter.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Filters
|
||||
{
|
||||
public partial class DepartmentFilter : BaseFilter
|
||||
{
|
||||
public int? DepartmentId { get; set; }
|
||||
public int? WindreamSearchId { get; set; }
|
||||
}
|
||||
}
|
||||
9
DAL/Models/Filters/DepartmentFullFilter.cs
Normal file
9
DAL/Models/Filters/DepartmentFullFilter.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Filters
|
||||
{
|
||||
public partial class DepartmentFullFilter : BaseFilter
|
||||
{
|
||||
public string DepartmentName { get; set; }
|
||||
}
|
||||
}
|
||||
11
DAL/Models/Filters/EmployeeFilter.cs
Normal file
11
DAL/Models/Filters/EmployeeFilter.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Filters
|
||||
{
|
||||
public partial class EmployeeFilter : BaseFilter
|
||||
{
|
||||
public int? EmployeeId { get; set; }
|
||||
public string LoginName { get; set; }
|
||||
public string ShortName { get; set; }
|
||||
}
|
||||
}
|
||||
18
DAL/Models/Filters/EmployeeFullFilter.cs
Normal file
18
DAL/Models/Filters/EmployeeFullFilter.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Filters
|
||||
{
|
||||
public partial class EmployeeFullFilter : BaseFilter
|
||||
{
|
||||
public int? EmployeeId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string ShortName { get; set; }
|
||||
public string LoginName { get; set; }
|
||||
public string Email { get; set; }
|
||||
public int[] WebappIds { get; set; }
|
||||
public int[] DepartmentIds { get; set; }
|
||||
public int[] AttributeIds { get; set; }
|
||||
public int? ClientId { get; set; }
|
||||
public bool? IsActive { get; set; }
|
||||
}
|
||||
}
|
||||
9
DAL/Models/Filters/EmployeeToWebAppFilter.cs
Normal file
9
DAL/Models/Filters/EmployeeToWebAppFilter.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Filters
|
||||
{
|
||||
public partial class EmployeeToWebAppFilter : BaseFilter
|
||||
{
|
||||
public int? EmployeeToWebAppId { get; set; }
|
||||
}
|
||||
}
|
||||
9
DAL/Models/Filters/WebAppFilter.cs
Normal file
9
DAL/Models/Filters/WebAppFilter.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Filters
|
||||
{
|
||||
public partial class WebAppFilter : BaseFilter
|
||||
{
|
||||
public int? WebAppId { get; set; }
|
||||
}
|
||||
}
|
||||
10
DAL/Models/Filters/WindreamInputFolderFilter.cs
Normal file
10
DAL/Models/Filters/WindreamInputFolderFilter.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Filters
|
||||
{
|
||||
public partial class WindreamInputFolderFilter : BaseFilter
|
||||
{
|
||||
public int? WindreamInputFolderId { get; set; }
|
||||
public int? ClientId { get; set; }
|
||||
}
|
||||
}
|
||||
10
DAL/Models/Filters/WindreamSearchToDepartmentFilter.cs
Normal file
10
DAL/Models/Filters/WindreamSearchToDepartmentFilter.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using HRD.WebApi.DAL;
|
||||
|
||||
namespace DAL.Models.Filters
|
||||
{
|
||||
public partial class WindreamSearchToDepartmentFilter : BaseFilter
|
||||
{
|
||||
public int? WindreamSearchToDepartmentId { get; set; }
|
||||
public int? DepartmentId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user