21 lines
655 B
C#
21 lines
655 B
C#
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();
|
|
}
|
|
} |