'use strict';

var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var intent = new Schema({
  luisId: {
    type: String,
    required: 'Enter id'
  },
  name: {
    type: String,
    required: 'Enter name'
  },
  response: {
    type: String,
    default: ''
  }
});

module.exports = mongoose.model('intent', intent);
