public EmployeeIndexWithYearsEmployed(IElasticConfiguration configuration) : base(configuration, "employees") { AddType(Employee = new EmployeeTypeWithYearsEmployed(this)); }