from datetime import time
from flask import Flask, jsonify, request, session, redirect
from app import db
import pymongo

# Student class
class Student:
    #Create a new student in the dB
    def new_student(self, user):
        student = {
            "_id": user["_id"],
            "firstName": user['firstName'],
            "lastName": user['lastName'],
            "reminderTime": '10:00'
        }
        db.students.insert_one(student)

