Файловый менеджер - Редактировать - /home/clickysoft/public_html/standup.clickysoft.net/app/Models/Team.php
Назад
<?php namespace App\Models; use App\Traits\Auditable; use DateTimeInterface; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Team extends Model { use Auditable, HasFactory; public $table = 'teams'; protected $dates = [ 'created_at', 'updated_at', 'deleted_at', ]; protected $fillable = [ 'created_at', 'updated_at', 'deleted_at', 'name', 'owner_id', ]; protected function serializeDate(DateTimeInterface $date) { return $date->format('Y-m-d H:i:s'); } public function owner() { return $this->belongsTo(User::class, 'owner_id'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка