Information.php 450 Bytes
Newer Older
1 2 3 4 5
<?php

namespace App\Models\Webprofile;

use App\Http\Traits\UuidTrait;
6
use App\Models\Webprofile\En\Information as EnInformation;
7 8 9 10 11 12 13 14 15 16
use Illuminate\Database\Eloquent\Model;

class Information extends Model
{
    use UuidTrait;

    public $incrementing = false;
    protected $table = 'swp_informations';

    protected $guarded = [];
17 18 19 20 21

    public function rEn()
    {
        return $this->hasOne(EnInformation::class, 'information_id', 'id');
    }
22
}