If an underscore is being used in a field and that field is a foreign key to another object, like in the next example, Flexmodel generates a property in the Entity which also contains an underscore.
<field name='object_created_by' label='Gereserveerd door' datatype='OBJECT.User'/>
/**
* @var User
*/
private $object_created_by;
If the field is not a foreign key and an underscore is being used the property looks like:
<field name='object_created_at' label='Gereserveerd op' datatype='DATETIME'/>
/**
* @var DateTime
*/
private $objectCreatedAt;
If an underscore is being used in a field and that field is a foreign key to another object, like in the next example, Flexmodel generates a property in the Entity which also contains an underscore.
If the field is not a foreign key and an underscore is being used the property looks like: