title: Custom Model and fields with Sentinel / Laravel
body: <p>I', integrating a new system to an existing database.</p>
  
  <p>So, my User table doesn't have default fields names.</p>
  
  <p>All names are in spanish, so, Sentinel looks for email when he should look for "correo"</p>
  
  <p>Also, when executing </p>
  
  <pre><code>Sentinel::check(), 
  </code></pre>
  
  <p>I get this message error:</p>
  
  <pre><code>SQLSTATE[42S22]: Column not found: 1054 Unknown column 'administrador.id' in 'where clause' (SQL: select * from `administrador` where `administrador`.`id` = 1 and `administrador`.`deleted_at` is null limit 1)
  </code></pre>
  
  <p>In fact, id doesn't exists, the PK is called administradorid</p>
  
  <p>The only resource I found is a very quick one: </p>
  
  <p><a href="https://github.com/cartalyst/sentinel/wiki/Extending-Sentinel" rel="nofollow">https://github.com/cartalyst/sentinel/wiki/Extending-Sentinel</a></p>
  
  <p>It says it is extremly easy, but do not mention this case.</p>
  
  <p>So, basically, how can I customize all the fields name of the Sentinel Model???</p>
  
  <p>Here is my model:</p>
  
  <pre><code>class Administrador extends EloquentUser {
  
  protected $table = 'administrador';
  protected $fillable = [];
  protected $guarded = ['administradorid'];
  protected $hidden = ['contrasena', 'remember_token'];
  use SoftDeletes;
  
  protected $dates = ['deleted_at'];
  
  }
  </code></pre>
  
  <p>Any help will be appreciated!</p>