Brotherton-Aspire-App/models/workticket.js
2024-02-02 16:44:34 -08:00

26 lines
504 B
JavaScript

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);