cellsysBase/cellsysMessage.js

14 lines
460 B
JavaScript
Raw Normal View History

2024-08-14 16:20:56 +08:00
class CellsysMessage {
constructor(params = {}) {
this.id = params.id;
this.senderId = params.sender_id;
this.receiverId = params.receiver_id;
this.sendTime = params.send_time;
this.content = params.content;
this.sendWay = params.send_way;
this.isTransit = params.is_transit; //旧逻辑中转消息
this.isRead = params.is_read; //0-未读, 1-已读
}
}
export default CellsysMessage;