Command-fix/models/UserWarning.js

13 lines
322 B
JavaScript
Raw Normal View History

2016-12-08 04:52:37 +01:00
class UserWarning {
constructor(id, username, warnedBy, warnedByUsername, priorWarnings) {
this.id = id;
this.username = username;
this.date = new Date();
this.warnedBy = warnedBy;
this.warnedByUsername = warnedByUsername;
this.priorWarnings = priorWarnings;
}
}
module.exports = UserWarning;