Fix relationship between Domain and Record
Generate CRUD for Domain and Record entities