Files
auth-template/server/models/User.js
Mikayla Dobson cfe4898ec9 server mounts
2023-01-31 17:34:32 -06:00

15 lines
366 B
JavaScript

module.exports = class User {
username;
email;
password;
created;
modified;
constructor(username, email, password) {
this.username = username;
this.email = email;
this.password = password;
this.created = new Date(Date.now()).toDateString();
this.modified = new Date(Date.now()).toDateString();
}
}