Para class with attribute and constructor