mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-12-23 08:09:08 +03:00
15 lines
No EOL
257 B
JavaScript
15 lines
No EOL
257 B
JavaScript
|
|
const User = require("./user")
|
|
|
|
module.exports = class Message {
|
|
|
|
|
|
constructor(content, author = new User(), time = new Date().getTime()) {
|
|
|
|
|
|
this.content = content;
|
|
this.author = author;
|
|
this.time = time;
|
|
|
|
}
|
|
} |