T85716

Object Model > Wrong relation set
Visual Spec
https://hub.app.geeks.ltd/dashboard/home.aspx
https://hub.visualspec.co.uk/objectmap/object-map/main-object?projectKey=Westlands.Advisory01&phaseId=1&applicationId=1&featureId=4&objectId=2&tab=properties
1-n relation
When establishing a one-to-many relationship between User and Role, the object mapping is incorrect if the list is placed on the User side. The list should instead be on the Role side. Furthermore, this list should only appear on the Role side if the "Inverse" option is checked; regardless of whether it is checked or unchecked, the list is currently being added. The first issue is very important because if we give this schema to the AI, it will implement the wrong code.
1-n relation
Wrong 1-n relation schema