text: 'use strict'
  
  const Model = require('./model')
  const BOOL_FIELDS = []
  const FIELDS = {
    id: 0,
    currency: 1,
    currencyName: 2,
    mtsStarted: 5,
    mtsUpdated: 6,
    status: 9,
    amount: 12,
    fees: 13,
    destinationAddress: 16,
    transactionId: 20
  }
  
  const FIELD_KEYS = Object.keys(FIELDS)
  
  class Movement extends Model {
    constructor (data = {}) {
      super(data, FIELDS, BOOL_FIELDS, FIELD_KEYS)
    }
  
    static unserialize (arr) {
      return super.unserialize(arr, FIELDS, BOOL_FIELDS, FIELD_KEYS)
    }
  }
  
  module.exports = Movement
  