define(["emberdata","app","ajax","../base/topic"],function(a,b,c,d){var e=a.attr;return b.GardenTopic=a.Model.extend(d,{GardenID:e("number"),TopicID:e("string"),Iseditor:e("boolean",{defaultValue:!1}),Isdistribution:e("boolean",{defaultValue:!1}),Sort:e("number",{defaultValue:0}),TopicTerm:e("number"),TopicSession:e("string")}),b.GardenTopic.reopenClass({methods:{create:{map:"BBC.GardenTopic.AddGardenTopic"},update:{map:"BBC.GardenTopic.UpdateGardenTopic"},"delete":{map:"BBC.GardenTopic.DeleteBaseTopicByID"},find:{map:"BBC.GardenTopic.GetGardenTopic"},query:{map:"BBC.GardenTopic.GetGardenTopics",args:{templateID:"ID",userType:"UserType",term:"TopicTerm",session:"TopicSession",grade:"Grade",isDistribution:"IsDistribution"}}}}),b.GardenTopic});