<?php namespace GermanAirlinesVa\Graphql\Models;

use Cms\Classes\Theme;
use Model;

class GraphqlKey extends Model
{
  use \October\Rain\Database\Traits\Validation;

  /*
   * Disable timestamps by default.
   * Remove this line if timestamps are defined in the database table.
   */
  public $timestamps = false;

  /**
   * @var string The database table used by the model.
   */
  public $table = 'graphql_keys';
  protected $connection = 'germanairlinesva_graphql';

  /**
   * @var array Validation rules
   */
  public $rules = [
    'member_id' => 'required',
    'key' => 'required',
  ];
}
