<?php

namespace App\Http\Requests\ESign;

use Illuminate\Foundation\Http\FormRequest;

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

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

    public function messages(): array
    {
        return [
            'reason.required' => __('validation.required', ['attribute' => '거절 사유']),
        ];
    }
}
