*/ protected $fillable = [ 'contact_id', 'label', 'day', 'month', 'year', 'contact_important_date_type_id', ]; /** * Get the contact associated with the contact date. */ public function contact(): BelongsTo { return $this->belongsTo(Contact::class); } /** * Get the important date type associated with the contact date. */ public function contactImportantDateType(): BelongsTo { return $this->belongsTo(ContactImportantDateType::class); } /** * Get the important date's feed item. */ public function feedItem(): MorphOne { return $this->morphOne(ContactFeedItem::class, 'feedable'); } }