AnonSec Shell
Server IP : 162.213.251.212  /  Your IP : 52.15.200.26   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : allssztx ( 535)
PHP Version : 8.1.31
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/allssztx/needapair.com/schema/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/allssztx/needapair.com/schema/Certificate.js
const mongoose = require('mongoose');
const { Schema } = mongoose;

const certificateSchema = new Schema({
    name: {
        type: String,
        required: true
    },
    recipentemail: {
        type: String,
        required: true
    },
    sender: {
        type: mongoose.Schema.Types.ObjectId,
        ref: 'user'
    },
    receiver: {
        type: mongoose.Schema.Types.ObjectId,
        ref: 'user'
    },
    ballz_type: {
        type: String,
        required: true
    },
    reason: {
        type: String,
        required: true
    },
    senderName: {
        type: String,
        required: true
    },
    paid: {
        type: Boolean,
        required: true,
        default: false
    },
    read: {
        type: Boolean,
        required: true,
        default: false
    },
    pdfUrl: {
        type: String,
    },
    reminderEmailSent: {
        type: Boolean,
        default: false
    },
    createdAt: {
        type: Date,
        default: Date.now
    }
});
const Certificate = mongoose.model('certificate', certificateSchema)
module.exports = Certificate;

Anon7 - 2022
AnonSec Team