'boolean', 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; // Связь с пользователем public function user() { return $this->belongsTo(User::class); } }