No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Apresiasi.php 407B

1234567891011121314151617181920212223
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Factories\HasFactory;
  4. use Illuminate\Database\Eloquent\Model;
  5. class Apresiasi extends Model
  6. {
  7. use HasFactory;
  8. protected $fillable = [
  9. 'judul',
  10. 'user_id',
  11. 'deskripsi',
  12. 'lokasi',
  13. 'tanggal',
  14. 'foto',
  15. ];
  16. public function user() {
  17. return $this->belongsTo(User::class);
  18. }
  19. }