using HRD.WebApi.DAL;

namespace DAL.Models.Entities
{
    public partial class WindreamIndex : BaseEntity
    {
        public int WindreamIndexId { get; set; }
        public int AttributeDwAttrId { get; set; }
        public string AttributeSzColumnName { get; set; }
        public string Comment { get; set; }
        public int? ComumnLength { get; set; }
        public int? AttributeDwAttrType { get; set; }
        public int ClientId { get; set; }
        public string ObjectTypeAttributeSzName { get; set; }

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

        //generic ToString()
        public override string ToString() => $"WindreamIndexId: {GetEntityId()}; AttributeSzColumnName: {AttributeSzColumnName}";

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