personal_website/models/cashTransactionModel.js
2023-09-27 21:51:57 +02:00

15 lines
306 B
JavaScript

var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var cashTransaction = new Schema({
'raw': String,
'day': Number,
'month': Number,
'year': Number,
'amount': Number,
'type': Number,
'company': String,
});
module.exports = mongoose.model('cashTransaction', cashTransaction);