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.
26 lines
465 B
26 lines
465 B
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; |