api code global jain
This commit is contained in:
42
app/Http/Requests/Api/Sangh/UpdateSanghRequest.php
Normal file
42
app/Http/Requests/Api/Sangh/UpdateSanghRequest.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests\Api\Sangh;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
use App\Constant\Constant;
|
||||
|
||||
class UpdateSanghRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function authorize()
|
||||
{
|
||||
return Constant::STATUS_TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
// 'name' => 'required',
|
||||
// 'father_name' => 'required',
|
||||
// 'mother_name' => 'required',
|
||||
// 'gender' => 'required',
|
||||
// 'avatar' => 'mimes:jpeg,png,jpg',
|
||||
// 'honor' => 'required',
|
||||
// 'dharma_id' => 'required',
|
||||
// 'sampraday_id' => 'required',
|
||||
// 'birth_date' => 'required',
|
||||
// 'diksha_date' => 'required',
|
||||
// 'diksha_place' => 'required',
|
||||
// 'about' => 'required'
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user