14 lines
460 B
JavaScript
14 lines
460 B
JavaScript
![]() |
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;
|