{"size": 509, "ext": "js", "max_stars_repo_path": "API/models/Client.js", "max_stars_repo_name": "tomgreef/barbershop", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "API/models/Client.js", "max_issues_repo_name": "tomgreef/barbershop", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "API/models/Client.js", "max_forks_repo_name": "tomgreef/barbershop", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.8518518519, "max_line_length": 63, "alphanum_fraction": 0.5520628684}
const mongoose = require('mongoose');
const Schema = mongoose.Schema;

const clientsSchema = new Schema({
    first_name: {
        type: String,
        trim: true //This removes excesive space within strings
    },
    last_name: {
        type: String,
        trim: true
    },
    phone: {
        type: String,
        trim: true
    },
    email: {
        type: String,
        trim: true
    },
    password: {
        type: String
    }
});

module.exports = mongoose.model('Client', clientsSchema)
