'datetime' ]; public function policyCheckCustom(): bool { return true; } public function rules(): array { return [ 'name' => 'required|string|max:255', 'user_id' => ['required'], 'email' => ['required', 'email', Rule::unique($this->getTable(), 'email')], ]; } }