You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
756 B

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;