<?php

namespace App\Http\Requests\ESign;

use Illuminate\Foundation\Http\FormRequest;

class SignSubmitRequest extends FormRequest
{
    public function authorize(): bool
    {
        return true;
    }

    public function rules(): array
    {
        return [
            'signature_image' => 'required|string',
        ];
    }

    public function messages(): array
    {
        return [
            'signature_image.required' => __('validation.required', ['attribute' => '서명 이미지']),
        ];
    }
}
