import DS from "ember-data";

var attr = DS.attr;

var Contest = DS.Model.extend({
  title             : attr('string'),
  description       : attr('string'),
  startTime         : attr('number'),
  duration          : attr(),
  alreadyRegistered : attr('number'),

  problems          : DS.hasMany('problem', {async : true})
});

export default Contest;

@@ -76,16 +76,54 @@
 xtend(%7B%0A
+  author            : attr('string'),%0A
   title 
@@ -190,16 +190,92 @@
 ring'),%0A
+  createdAt         : attr('string'),%0A  updatedAt         : attr('string'),%0A
   startT

Add more attributes to contest's model