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