Нема описа
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.

123456789101112131415161718192021
  1. <?php
  2. namespace App\Model\Raharja;
  3. use Illuminate\Database\Eloquent\Model;
  4. class EventOrganisasi extends Model
  5. {
  6. protected $table = 'event_organisasi';
  7. protected $fillable = [
  8. 'start_date',
  9. 'end_date',
  10. 'banner',
  11. 'deskripsi',
  12. ];
  13. public function kelompokMember(){
  14. return $this->hasMany(EventOrganisasiMembers::class, 'event_organisasi_id', 'id');
  15. }
  16. }