*/ use HasFactory; public $timestamps = false; protected $guarded =['id']; public function punyaKlasterCuras(): BelongsTo{ return $this->belongsTo(Klaster::class, 'klaster_id'); } public function punyaKecamatanCuras(): BelongsTo { return $this->belongsTo(Kecamatan::class, 'kecamatan_id'); } public function curas_DetailCuras(): HasMany{ return $this->hasMany(Detail_Curas::class); } protected $with = ['punyaKlasterCuras', 'punyaKecamatanCuras']; }