using HRD.WebApi.DAL;

namespace DAL.Models.Entities
{
    public partial class WebAppToWebAppAdditionalRole : BaseEntity
    {
        public int WebAppToWebAppAdditionalRoleId { get; set; }
        public int WebAppAdditionalRoleId { get; set; }
        public int EmployeeToWebAppId { get; set; }

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

        //generic ToString()
        public override string ToString() => $"WebAppToWebAppAdditionalRoleId: {GetEntityId()}; WebAppAdditionalRoleId: {WebAppAdditionalRoleId}; EmployeeToWebAppId: {EmployeeToWebAppId}";

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