text: /**
   * Reservation.js
   *
   * @description :: A model definition represents a database table/collection.
   * @docs        :: https://sailsjs.com/docs/concepts/models-and-orm/models
   */
  
  module.exports = {
  
    attributes: {
  
      //  ╔═╗╦═╗╦╔╦╗╦╔╦╗╦╦  ╦╔═╗╔═╗
      //  ╠═╝╠╦╝║║║║║ ║ ║╚╗╔╝║╣ ╚═╗
      //  ╩  ╩╚═╩╩ ╩╩ ╩ ╩ ╚╝ ╚═╝╚═╝
      guestName: {
        description: 'The full name of the guest who booked the reservation.',
        type: 'string',
        required: true,
      },
  
      guestEmailAddress: {
        description: 'The email address of the guest who booked the reservation.',
        type: 'string',
        required: true,
        isEmail: true,
      },
  
      partySize: {
        description: 'The total number of guests who will be dining at the reserved time.',
        type: 'number',
        required: true,
      },
  
      startsAt: {
        description: 'A JS timestamp (epoch ms) representing the time slot reserved.',
        type: 'number',
        required: true,
      },
  
      //  ╔═╗╔╦╗╔╗ ╔═╗╔╦╗╔═╗
      //  ║╣ ║║║╠╩╗║╣  ║║╚═╗
      //  ╚═╝╩ ╩╚═╝╚═╝═╩╝╚═╝
      // n/a
  
      //  ╔═╗╔═╗╔═╗╔═╗╔═╗╦╔═╗╔╦╗╦╔═╗╔╗╔╔═╗
      //  ╠═╣╚═╗╚═╗║ ║║  ║╠═╣ ║ ║║ ║║║║╚═╗
      //  ╩ ╩╚═╝╚═╝╚═╝╚═╝╩╩ ╩ ╩ ╩╚═╝╝╚╝╚═╝
      restaurant: { model: 'restaurant' },
  
    },
  
  };
  
  