{"size": 338, "ext": "js", "max_stars_repo_path": "server/models/order.model.js", "max_stars_repo_name": "TreeTechies/Auto-Mart", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server/models/order.model.js", "max_issues_repo_name": "TreeTechies/Auto-Mart", "max_issues_repo_issues_event_min_datetime": "2020-07-17T07:19:54.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-09T04:17:31.000Z", "max_forks_repo_path": "server/models/order.model.js", "max_forks_repo_name": "VedaDom/Auto-Mart", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 24.1428571429, "max_line_length": 63, "alphanum_fraction": 0.6035502959}
const uuid = require('uuid/v1');

class Order {
    constructor(buyer, car_id, amount, status, price_offered) {
        this.id = uuid();
        this.buyer = buyer;
        this.car_id = car_id;
        this.amount = amount;
        this.status = status;
        this.price_offered = price_offered;
    }
}

module.exports.Order = Order;