<?php

namespace App\Api\V1\Requests;

use Config;
use Dingo\Api\Http\FormRequest;

class UpdateProfileRequest extends FormRequest
{
    public function rules()
    {
        return  [
            "empcode" => "required",
            "address" => "required",
            "city" => "required",
            "addressktp" => "nullable",
            "cityktp" => "nullable",
            "district" => "nullable",
            "districtktp" => "nullable",
            
            "noktp" => "required",
            "handphone" => "required",                
            "email" => "required",       
            "bloodtype" => "required",
            "ukuranbaju" => "required",
            "ukurancelana" => "required",
            "ukuransepatu" => "required"
        ];
    }

    public function authorize()
    {
        return true;
    }
}
