{"size": 488, "ext": "js", "max_stars_repo_path": "models/Report.js", "max_stars_repo_name": "furkanalptokac/sahiplenn", "max_stars_repo_stars_event_min_datetime": "2021-03-29T08:40:28.000Z", "max_stars_repo_stars_event_max_datetime": "2021-04-01T15:42:44.000Z", "max_issues_repo_path": "models/Report.js", "max_issues_repo_name": "furkanalptokac/sahiplenn", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "models/Report.js", "max_forks_repo_name": "furkanalptokac/sahiplenn", "max_forks_repo_forks_event_min_datetime": "2021-09-24T12:27:17.000Z", "max_forks_repo_forks_event_max_datetime": "2021-11-12T07:05:40.000Z"}
{"max_stars_count": 7, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 21.2173913043, "max_line_length": 67, "alphanum_fraction": 0.5635245902}
const mongoose = require('mongoose');

var date = new Date();
date.setHours(date.getHours() + 3);

const ReportSchema = mongoose.model('Report', new mongoose.Schema({
    reportId: {
        type: mongoose.Schema.Types.ObjectId,
        ref: 'User'
    },
    report: {
        type: String,
        required: true
    },
    name: {
        type: String,
    },
    surname: {
        type: String,
    },
}, { timestamps: { currentTime: () => date } }));

exports.Report = ReportSchema;