city and state entity and dao