{"size": 1068, "ext": "js", "max_stars_repo_path": "models/User.js", "max_stars_repo_name": "Huiyan0409/JBSForTeam", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "models/User.js", "max_issues_repo_name": "Huiyan0409/JBSForTeam", "max_issues_repo_issues_event_min_datetime": "2019-06-25T18:01:29.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-09T09:15:49.000Z", "max_forks_repo_path": "models/User.js", "max_forks_repo_name": "Huiyan0409/JBSForTeam", "max_forks_repo_forks_event_min_datetime": "2019-07-02T14:36:36.000Z", "max_forks_repo_forks_event_max_datetime": "2019-07-02T14:36:36.000Z"}
{"max_stars_count": null, "max_issues_count": 65, "max_forks_count": 1, "avg_line_length": 22.7234042553, "max_line_length": 52, "alphanum_fraction": 0.6488764045}
'use strict';
const mongoose = require('mongoose');
const Schema = mongoose.Schema;

const userSchema = Schema({
    googleid: String,
    googletoken: String,
    googlename: String,
    googleemail: String,
    userName: String,
    receiveUpdate: Boolean,
    profilePicURL: String,
    // profilePicName: String,
    status: String,
    lastUpdate: Date,
    // zipcode: String,
    // city: String,
    // state: String,
    classCodes: [String],
    // classIds: [Schema.Types.ObjectId],
    //tutor related
    introduction: String,
    score: Number,
    comments: [String],
    tutorClassCodes: [String],
    likes: Number,
    //characteristic
    patient: Number,
    excellentG: Number,
    askGood: Number,
    encouraging: Number,
    helpful: Number,
    abilityT: Number,
    gEnergy: Number,
    humility: Number,
    passionate: Number,
    onTime: Number,
    gPaced: Number,
    impatient: Number,
    notgTeaching: Number,
    late: Number,
    notPrepared: Number,
    notHelpful: Number
});

module.exports = mongoose.model('User', userSchema);
