Admin login detail
{
    email=sudhanshumishra0319@gmail.com,
    password=12345
}

https://hire-me-testing.onrender.com/role




// const mongoose = require("mongoose");

// const userSchema = new mongoose.Schema({

//     name: {
//         type: String,
//         required: true
//     },

//     email: {
//         type: String,
//         required: true,
//         unique: true
//     },

//     mobile: {
//         type: String,
//         required: true
//     },

//     password: {
//         type: String,
//         required: true
//     },

//     image: {
//         type: String, // Store image URL or file path
//         default: null
//     }

// }, {
//     timestamps: true
// });

// module.exports = mongoose.model("User", userSchema);

const { DataTypes } = require("sequelize");
const { sequelize } = require("../../config/db");

const Candidate = sequelize.define(
    "Candidate",
    {
        id: {
            type: DataTypes.INTEGER,
            autoIncrement: true,
            primaryKey: true,
        },

        first_name: {
            type: DataTypes.STRING,
            allowNull: false,
        },
        last_name: {
            type: DataTypes.STRING,
            allowNull: false,
        },

        email: {
            type: DataTypes.STRING,
            allowNull: false,
            unique: true,
        },

        mobile: {
            type: DataTypes.STRING,
            allowNull: false,
        },

        password: {
            type: DataTypes.STRING,
            allowNull: false,
        },
        profile_photo={
            type: DataTypes.STRING, // store file path or URL
            allowNull: true,
            defaultValue: null,
        },
        
        


status ENUM('active','inactive','blocked')

last_login_at DATETIME

created_at
updated_at
created_by
updated_by

        
 

Company Subscriptions
Filter by company_id
https://hire-me-jobs.onrender.com/company-subscriptions/?company_id=5

Subscription usage
Filter by company_id
https://hire-me-jobs.onrender.com/subscription-usage/?company_id=5


Invoice
Filter By company_id
https://hire-me-jobs.onrender.com/invoices/?company_id=1

Subscription Transaction
filter by company_id
https://hire-me-jobs.onrender.com/subscription-transactions/?company_id=5



Rupali 05/09/2026

In job View  api count by  job_id
GET:-https://hire-me-jobs.onrender.com/job-views/job/3/count

In job share logs count by job_id
GET:-https://hire-me-jobs.onrender.com/job-share-logs/jobs/3/share-count


In Candidate save job count by job id
GET:-https://hire-me-jobs.onrender.com/candidate-saved-jobs/jobs/151/saved-count


Create One API Salary DropDown optional

GET ALL:-https://hire-me-jobs.onrender.com/salary-dropdown-options
GET BY ID:-https://hire-me-jobs.onrender.com/salary-dropdown-options/1/
POST:-https://hire-me-jobs.onrender.com/salary-dropdown-options/
PATCH:-https://hire-me-jobs.onrender.com/salary-dropdown-options/1/
DELETE:-https://hire-me-jobs.onrender.com/salary-dropdown-options/1/

FORMATE{
    {
      "id": 1,
      "label": "5 Lakh",
      "amount": "500000.00",
      "display_order": 1,
      "status": 1,
      "created_at": "2026-09-05T03:55:20.000Z",
      "updated_at": "2026-09-05T03:55:20.000Z"
    }
}


Add new three field in Jobs API
walk_in_address
walk_in_start_date_time
walk_in_end_date_time