using HRD.WebApi.DAL;

namespace DAL.Models.Entities
{
    public partial class WebApp : BaseEntity
    {
        public int WebAppId { get; set; }
        public string WebAppName { get; set; }
        public string WebAppLinkLive { get; set; }
        public string WebAppLinkDev { get; set; }
        public bool IsActive { get; set; }
        public string AdWebAppName { get; set; }

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

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

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