refactor: Projektdateien migriert. Cloud-NuGet-Pakete durch lokale NuGet-Projekte ersetzt.
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user