{"size": 276, "ext": "js", "max_stars_repo_path": "models/cart.js", "max_stars_repo_name": "Njogu36/Free-Point-Of-Sale-Web-Application---Nodejs-MongoDB", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "models/cart.js", "max_issues_repo_name": "Njogu36/Free-Point-Of-Sale-Web-Application---Nodejs-MongoDB", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "models/cart.js", "max_forks_repo_name": "Njogu36/Free-Point-Of-Sale-Web-Application---Nodejs-MongoDB", "max_forks_repo_forks_event_min_datetime": "2021-04-02T20:52:56.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-26T22:46:02.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 21.2307692308, "max_line_length": 45, "alphanum_fraction": 0.6811594203}
var mongoose = require('mongoose');
var cartSchema = mongoose.Schema({
    name:String,
    quantity:Number,
    unit:Number,
    productID:String,
    price:Number,
    price2:Number,
    userID:String

});
var Cart = mongoose.model('Cart',cartSchema);
module.exports  = Cart