using HRD.WebApi.DAL;

namespace DAL._Shared.SharedModels
{
    public partial class WebAppEmployeeInfo : BaseEntity
    {
        public int WebAppEmployeeInfoId { get; set; }
        public string EmployeeNo { get; set; }
        public string Salutation { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string ShortName { get; set; }
        public string Title { get; set; }
        public string Position { get; set; }
        public string LoginName { get; set; }
        public string Email { get; set; }
        public int DepartmentId { get; set; }
        public string ExtendedDepartmentIdList { get; set; }
        public string DepartmentName { get; set; }
        public int EmployeeId { get; set; }
        public int CostCentreId { get; set; }
        public string RangShortname { get; set; }
        public string RangName { get; set; }
        public int RangOrder { get; set; }
        public int ClientId { get; set; }
        public int WebAppId { get; set; }

        //generic Id
        public override int GetEntityId() => WebAppEmployeeInfoId;

        //generic ToString()
        public override string ToString() => $"WebAppEmployeeInfoId: {GetEntityId()}; Name: {LoginName}";

        //generic EntityInfo()
        public override string EntityInfo() => base.EntityInfo();
    }
}