using HRD.WebApi.DAL;

namespace DAL.Models.Entities
{
    public partial class WebAppAdditionalRole : BaseEntity
    {
        public int WebAppAdditionalRoleId { get; set; }
        public int WebAppId { get; set; }
        public string WebAppAdditionalRoleName { get; set; }
        public string AdWebAppAdditionalRoleName { get; set; }

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

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

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