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

20 lines
482 B
JavaScript

const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const WorkTicketVisitScehma = new Schema({
WorkTicketVisitID: {
type: Number, // Use the Mongoose Schema Type for Number
},
WorkTicketID: {
type: Number, // Use the Mongoose Schema Type for Number
},
ScheduledDate:{
type: String,
},
RouteName:{
type: String
}
});
module.exports = mongoose.model('WorkTicketVisit', WorkTicketVisitScehma);