Files
getgreen-backend/app/Models/Notification.php

26 lines
462 B
PHP
Executable File

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* package App\Models
* @property int $id
* @property string $title
* @property string $body
* @property string $language // [uz, ru], ru is default
*/
class Notification extends Model
{
protected $fillable = [
'title', 'body', 'language'
];
protected $casts = [
'title' => 'string',
'body' => 'string',
'language' => 'string',
];
}