*/ protected $fillable = [ 'mtxid', 'challenge_id', ]; /** * 속성 캐스팅. * * @return array */ protected function casts(): array { return [ 'created_at' => 'datetime', ]; } /** * 매핑된 코어 challenge 로그. * * @return BelongsTo */ public function challenge(): BelongsTo { return $this->belongsTo(IdentityVerificationLog::class, 'challenge_id'); } }