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