moved enum plantattribute to own class