hold17 / cphindustries

App for CPH Industries to manage weapons made for movies.
MIT License
0 stars 1 forks source link

DTO's should include its parent object #51

Closed algorythm closed 6 years ago

algorythm commented 6 years ago

i.e. a Shoot should have a reference to its parent Scene and a Weapon should contain a list of Shoots.

Implement for

Okjonas commented 6 years ago

We did not implement the parent object in the DTO's because it conflicts with the JSON object.

Instead, the shootDTO has a scene id and the lists from SceneDTO and ShootDTO are removed.

The correlation between weapon and shoot are now in the ShootWeaponDTO.