athenahr/app/OneoffApplicant.php
miguel456 11db19cf6d
feat(models): remove deprecated "dates" model property, use casts instead
Also deprecates OneoffApplicant

Signed-off-by: miguel456 <me@nogueira.codes>
2023-02-26 01:08:40 +00:00

20 lines
372 B
PHP
Executable File

<?php
namespace App;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* @deprecated This model will be removed in a future release
*/
class OneoffApplicant extends Model
{
use HasFactory;
public function application()
{
return $this->belongsTo('App\Application', 'id', 'application_id');
}
}