The image shows defining the composite key by providing the “key” attributes as true for all those fields which forms the composite key.