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.
pk8f3pmu2/model/message.js

49 lines
974 B

/**
* https://github.com/jinke18/educoder_weapp
* @licence GPL-3.0
* @author jinke18
*/
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);
}
get sender_name(){
return this.get("sender_name");
}
set sender_name(value){
this.set("sender_name", vlaue);
}
get edu_account_login() {
return this.get("edu_account_login");
}
set edu_account_login(value) {
this.set("edu_account_login", value);
}
get edu_course_id() {
return this.get("edu_course_id");
}
set edu_course_id(value) {
this.set("edu_course_id", value);
}
}
AV.Object.register(Message, "Message");
module.exports = Message;