%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/diaspora/api_internal/app/Models/
Upload File :
Create Path :
Current File : /var/www/html/diaspora/api_internal/app/Models/NotificationConfiguration.php

<?php

namespace App\Models;

/**
 * @property integer id
 * @property integer device_id
 * @property integer country_id
 * @property integer category_id
 * @property mixed created_at
 * @property mixed updated_at
 */
class NotificationConfiguration extends BaseModel
{
    protected $guarded = [
        'device_id',
        'country_id',
        'category_id',
    ];

    protected $casts = [
        'id'          => 'integer',
        'device_id'   => 'integer',
        'country_id'  => 'integer',
        'category_id' => 'integer',
    ];

    public function device()
    {
        return $this->belongsTo(Device::class);
    }

    public function country()
    {
        return $this->belongsTo(Country::class);
    }

    public function category()
    {
        return $this->belongsTo(Category::class);
    }

}



Zerion Mini Shell 1.0