foreign key in build method