34 lines
605 B
PHP
34 lines
605 B
PHP
<?php namespace Romanah\Gokbakja\Models;
|
|
|
|
use Model;
|
|
|
|
/**
|
|
* Model
|
|
*/
|
|
class Excruiter extends Model
|
|
{
|
|
use \October\Rain\Database\Traits\Validation;
|
|
|
|
use \October\Rain\Database\Traits\SoftDelete;
|
|
|
|
protected $dates = ['deleted_at'];
|
|
|
|
public $hasMany = [
|
|
'production' => [
|
|
'Romanah\Gokbakja\Models\Production',
|
|
'key' => 'excruiter_id'
|
|
]
|
|
];
|
|
|
|
/**
|
|
* @var string The database table used by the model.
|
|
*/
|
|
public $table = 'romanah_gokbakja_excruiter';
|
|
|
|
/**
|
|
* @var array Validation rules
|
|
*/
|
|
public $rules = [
|
|
];
|
|
}
|