2018-03-13 00:23:32 -04:00
|
|
|
const utils = require("../utils");
|
|
|
|
|
2018-02-11 14:54:30 -05:00
|
|
|
/**
|
|
|
|
* @property {Number} id
|
|
|
|
* @property {String} thread_id
|
|
|
|
* @property {Number} message_type
|
|
|
|
* @property {String} user_id
|
|
|
|
* @property {String} user_name
|
|
|
|
* @property {String} body
|
|
|
|
* @property {Number} is_anonymous
|
2018-02-14 01:53:34 -05:00
|
|
|
* @property {Number} dm_message_id
|
2018-02-11 14:54:30 -05:00
|
|
|
* @property {String} created_at
|
|
|
|
*/
|
|
|
|
class ThreadMessage {
|
|
|
|
constructor(props) {
|
2018-03-13 00:23:32 -04:00
|
|
|
utils.setDataModelProps(this, props);
|
2018-02-11 14:54:30 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = ThreadMessage;
|