That is part of mapping info:
id:
type: integer
id: true
generator:
strategy: AUTO
ms_id:
type: string
unique: true
oneToOne:
parent:
targetEntity: Category
nullable: true
How do I establish a connection with ms_id instead of the id