text: /**
   * @class Ext.ux.mantis.model.History
   * 
   */
  Ext.define('Ext.ux.mantis.model.Attachment', 
  {
      extend: 'Ext.data.Model',    
      alias: 'mantis.model.attachment',
      
      requires: [
          'Ext.ux.mantis.model.User'
      ],
  
      fields: [
      {
          name: 'id',
          persist: false,
          type: 'number'
      },
      {
          name: 'size',
          persist: false,
          type: 'number'
      },
      { 
          name: 'created_at',
          type: 'date',
          dateFormat: 'm/d/Y H:i:s',
          persist: false
      },
      { 
          name: 'name',
          type: 'string'
      },
      { 
          name: 'content_type',     
          type: 'string'
      },
      { 
          name: 'content',     
          type: 'string'
      },
      { 
          name: 'reporter',
          persist: false,
          reference: 
          {
              type: 'Ext.ux.mantis.model.User',
              role: 'reporter',
              unique: true
          }
      },
      { 
          name: 'ticketid',               
          persist: false,
          reference:  // many-to-one
          {
              type: 'Ext.ux.mantis.model.Ticket',
              role: 'attachments',
              inverse: 
              {
                  role: 'attachments',  // role to match nest property name
                  storeConfig:
                  {
                      model: 'Ext.ux.mantis.model.Attachment'
                  }
              }
          }
      }]
  
  });