restaurant and entry domain class