mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 16:19:26 +00:00
29 lines
427 B
JavaScript
29 lines
427 B
JavaScript
/* eslint-disable no-empty-function, getter-return */
|
|
'use strict';
|
|
|
|
const User = require('./User');
|
|
|
|
class Parent extends User {
|
|
constructor(conn, id) {
|
|
super(conn, id, 'parent');
|
|
}
|
|
|
|
get children() {
|
|
|
|
}
|
|
|
|
static async createParent(conn, fname, oname, lname, email, password) {
|
|
return await super.createUser(
|
|
conn,
|
|
'parent',
|
|
fname,
|
|
oname,
|
|
lname,
|
|
email,
|
|
password
|
|
);
|
|
}
|
|
}
|
|
|
|
module.exports = Parent;
|