const AV = require("../lib/av-live-query-weapp-min") class Message extends AV.Object{ get text(){ return this.get("text"); } set text(value){ this.set("text", value); } get sender(){ return this.get("sender"); } set sender(value){ this.set("sender", value); } get class(){ return this.get("class"); } set class(value){ this.set("class", value); } } AV.Object.register(Message, "Message"); module.exports = Message;