Entities.User.dcm.yml 304B

12345678910111213141516171819
  1. Entities\User:
  2. type: entity
  3. table: users
  4. id:
  5. id:
  6. type: integer
  7. generator:
  8. strategy: AUTO
  9. fields:
  10. name:
  11. type: string
  12. length: 50
  13. oneToOne:
  14. address:
  15. targetEntity: Address
  16. joinColumn:
  17. name: address_id
  18. referencedColumnName: id