JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "Webmail.php"

Full Path: /var/www/lionsclub/core/app/Models/Webmail.php
File size: 481 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Webmail extends Model
{
    use HasFactory;

    public function webmailsGroup()
    {
        return $this->belongsTo('App\Models\WebmailsGroup', 'group_id')->orderby('id', 'asc');
    }

    //Relation to files
    public function files()
    {
        return $this->hasMany('App\Models\WebmailsFile', 'webmail_id')->orderby('id', 'asc');
    }
}