# "Image" model that can belongsTo anything

**URL:** https://discuss.emberjs.com/t/image-model-that-can-belongsto-anything/4305
**Category:** Uncategorized
**Created:** [February 28, 2014, 2:33am UTC](https://discuss.emberjs.com/t/image-model-that-can-belongsto-anything/4305 "2014-02-28T02:33:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![drewcovi](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/drewcovi/32/14802_2.png) [@drewcovi](https://discuss.emberjs.com/u/drewcovi)
#### Post date: [February 28, 2014, 2:33am UTC](https://discuss.emberjs.com/t/image-model-that-can-belongsto-anything/4305/1 "2014-02-28T02:33:08Z")

</div>

If one were to define an image model for use with various models, how would / should this be done?

Or do we need to extend an image into various sub models?

---

<div class="post-metadata">

### Author: ![drewcovi](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/drewcovi/32/14802_2.png) [@drewcovi](https://discuss.emberjs.com/u/drewcovi)
#### Post date: [February 28, 2014, 2:39am UTC](https://discuss.emberjs.com/t/image-model-that-can-belongsto-anything/4305/2 "2014-02-28T02:39:18Z")

</div>

or as an alternative does the model definition need to have a hasmany for every model type, or can it just be a one-way relationship.
