*/ use HasFactory; public const ?string UPDATED_AT = null; protected $fillable = [ 'press_release_id', 'type', 'channel', ]; /** * @return array */ protected function casts(): array { return [ 'type' => PressReleaseEventType::class, 'channel' => PressReleaseShareChannel::class, ]; } /** * @return BelongsTo */ public function pressRelease(): BelongsTo { return $this->belongsTo(PressRelease::class); } }