const AV = require('../lib/av-live-query-weapp-min'); //数据储存模板--分数 class Grade extends AV.Object { get mark() { return this.get('done'); } set mark(value) { this.set('mark', value); } get student(){ return this.get("student"); } set student(value){ this.set("student". value); } get class() { return this.get('class'); } set class(value){ this.set("class", value); } get content(){ return this.get("content"); } set content(value) { this.set('content', value); } get date(){ return this.get("date"); } set date(value){ this.set("date", value) } add_mark(value){ this.increment(value); } } AV.Object.register(Grade, 'Grade'); module.exports = Grade;