public static Index ToIndex(this IndexEntity indexEntity) => indexEntity.Pipe(it => new Index(it.Name, it.Value, it.Level, it.Description, it.Advice, it.Color));
protected bool Equals(IndexEntity other) => Name == other.Name && Value.Equals(other.Value) && Level == other.Level && Description == other.Description && Advice == other.Advice && Color == other.Color && Id == other.Id;