Parameterized role for related class attributes