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