added panel attributes and hibernate mapping