Skip to main content
100%

sample generated model

✓ Published0🌍 Public
Aalexfinnarn
Last edited Sep 19, 2018
Created on Sep 19, 2018

This example displays a PHP entity class defining a `Person` object within a Symfony application using Doctrine ORM and the API Platform. It shows how the class maps a person’s physical address through a ManyToOne relationship to a `PostalAddress` entity. The code demonstrates the use of `ApiProperty` annotations to link the address field to the Schema.org `address` property, along with getter and setter methods. The sample illustrates the core data-modeling structure, though it does not include rendering logic or visualization libraries.

AI-generated description

Similar vizzes