()
| 9 | |
| 10 | class BlandClass extends CocoModel { |
| 11 | static initClass() { |
| 12 | this.className = 'Bland'; |
| 13 | this.schema = { |
| 14 | type: 'object', |
| 15 | additionalProperties: false, |
| 16 | properties: { |
| 17 | number: {type: 'number'}, |
| 18 | object: {type: 'object'}, |
| 19 | string: {type: 'string'}, |
| 20 | _id: {type: 'string'} |
| 21 | } |
| 22 | }; |
| 23 | this.prototype.urlRoot = '/db/bland'; |
| 24 | } |
| 25 | } |
| 26 | BlandClass.initClass(); |
| 27 |