text: var mongoose = require('mongoose');
  var Schema = mongoose.Schema;
  
  var uploadFileSchema = new Schema({
      company: {type: Number, required: true},
      tenant: {type: Number, required: true},
      name: {type: String, default:'unspecified', required: true},
      url: {type: String, required: true},
      folderPath: {type: String, default:''},
      // date:{type:Date, default: Date.now, require:true},
      size:{type: Number},
      type:{type: String, default:''},
      width:{type: Number},
      height:{type: Number},
      contentType:{type: String, default:''},
      created_at: {type:Date, default: Date.now, require:true},
      updated_at: {type:Date, default: Date.now, require:true}
  });
  
  
  
  module.exports.UploadFile = mongoose.model('UploadFile', uploadFileSchema);