const mongoose = require('mongoose'); const Schema = mongoose.Schema; const WorkTicketScehma = new Schema({ WorkTicketID: { type: Number, // Use the Mongoose Schema Type for Number }, Price:{ type: String, }, OpportunityID: { type: Number }, WorkTicketStatusName:{ type: String }, ScheduledStartDate:{ type: Date }, BranchName:{ type: String } }); module.exports = mongoose.model('WorkTicket', WorkTicketScehma);