using HRD.WebApi.DAL;

namespace DAL.Models.Entities
{
    public partial class DepartmentToWebAppToEmployeeForWindream : BaseEntity
    {
        public int DepartmentToWebAppToEmployeeForWindreamId { get; set; }
        public int EmployeeId { get; set; }
        public int DepartmentId { get; set; }
        public string DepartmentName { get; set; }
        public string ShortName { get; set; }
        public string LoginName { get; set; }
        public int IsMain { get; set; }
        public int? ClientId { get; set; }

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

        //generic ToString()
        public override string ToString() => $"DepartmentToWebAppToEmployeeForWindreamId: {GetEntityId()}; EmployeeId: {EmployeeId}; DepartmentId: {DepartmentId}";

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