define(["ember","emberdata"],function(a){return a.Mixin.create({isDiscard:!1,toHash:function(a){var b={},c=this;return c.eachAttribute(function(a){b[a]=c.get(a)}),a&&a.includeId&&(b.id=c.get("id")),b}})});