text: /**
   * Created by lakhe on 4/14/16.
   */
  
  (function () {
  
      'use strict';
  
      var mongoose = require('mongoose'),
          Schema = mongoose.Schema;
  
      var imageSliderSchema = new Schema({
          imageName: {
              type:String,
              required:true,
              trim: true
          },
          imageTitle: {
              type:String,
              trim: true
          },
          imageAltText: {
              type:String,
              trim: true
          },
          imagePrimaryContent: {
              type:String,
              trim: true
          },
          imageSecondaryContent: {
              type:String,
              trim: true
          },
          imageProperties: {
              imageExtension:{
                  type:String,
                  trim: true
              },
              imagePath: {
                  type:String,
                  trim: true
              }
          },
          active:{
              type:Boolean,
              default:true
          },
          addedBy:{
              type:String,
              trim: true
          },
          addedOn:{
              type: Date,
              default: Date.now
          },
          updatedBy:{
              type:String,
              trim: true
          },
          updatedOn:{
              type: Date
          },
          deleted: {
              type: Boolean,
              default: false
          },
          deletedBy: {
              type:String,
              trim: true
          },
          deletedOn: {
              type: Date
          }
      });
  
      module.exports = mongoose.model('ImageSlider', imageSliderSchema, 'ImageSlider');
  
  })();