Summary
In class File change field parentEntityId from int to string, because relations can have id fields as UUID for example.
Example
Real case - class Car have a relation with File. Car primary key id used as UUID (791d3208-cfa8-4853-8255-fe1089840a74) so in this case, parentEntityId will fail.
Summary
In class
File
change fieldparentEntityId
fromint
tostring
, because relations can haveid
fields asUUID
for example.Example
Real case - class
Car
have a relation withFile
. Car primary keyid
used asUUID
(791d3208-cfa8-4853-8255-fe1089840a74) so in this case,parentEntityId
will fail.