2023-10-20 21:54:07 +00:00
|
|
|
<?php namespace Romanah\Gokbakja\Models;
|
|
|
|
|
|
|
|
|
|
use Model;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Model
|
|
|
|
|
*/
|
|
|
|
|
class PivotSewer extends Model
|
|
|
|
|
{
|
|
|
|
|
use \October\Rain\Database\Traits\Validation;
|
|
|
|
|
|
|
|
|
|
use \October\Rain\Database\Traits\SoftDelete;
|
|
|
|
|
|
|
|
|
|
protected $dates = ['deleted_at'];
|
|
|
|
|
|
|
|
|
|
public $belongsTo = [
|
|
|
|
|
'sewer_production' => [
|
|
|
|
|
'Romanah\Gokbakja\Models\SewerProduction',
|
2023-11-21 19:52:16 +00:00
|
|
|
'key' => 'sewer_production_id',
|
2023-10-20 21:54:07 +00:00
|
|
|
],
|
2023-11-06 21:06:48 +00:00
|
|
|
'rulon_action' => [
|
|
|
|
|
'Romanah\Gokbakja\Models\RulonAction',
|
|
|
|
|
'key' => 'rulon_action_id'
|
2023-10-20 21:54:07 +00:00
|
|
|
],
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @var string The database table used by the model.
|
|
|
|
|
*/
|
|
|
|
|
public $table = 'romanah_gokbakja_pivot_sewer';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @var array Validation rules
|
|
|
|
|
*/
|
|
|
|
|
public $rules = [
|
|
|
|
|
];
|
|
|
|
|
}
|