created condition class; updated entity, table, and attribute