using HRD.WebApi.DAL; namespace DAL.Models.Entities { public partial class WindreamSearch : BaseEntity { public int WindreamSearchId { get; set; } public string Name { get; set; } public string XMLPath { get; set; } public string Comment { get; set; } public int ClientId { get; set; } public int? Color { get; set; } public int? SearchIndex { get; set; } //generic Id public override int GetEntityId() => WindreamSearchId; //generic ToString() public override string ToString() => $"WindreamSearchId: {GetEntityId()}; Name: {Name}"; //generic EntityInfo() public override string EntityInfo() => base.EntityInfo(); } }