const AV = require("../..//lib/av-live-query-weapp-min") class StudentClassMap extends AV.Object{ get class(){ return this.get("class"); } set class(value){ this.set("class", value); } get user(){ return this.get("user"); } set user(value){ this.set("user", value); } get mark() { return this.get('done'); } set mark(value) { this.set('mark', value); } add_mark(value) { this.increment(value); } } AV.Object.register(StudentClassMap, "StudentClassMap"); module.exports=StudentClassMap;