'nullable|string|min:2', 'tld_id' => 'required|exists:tlds,id', 'expire_at' => 'required|date', 'domain_registrar_id' => 'required|exists:domain_registrars,id', 'registrar_account' => 'nullable|string', 'registrar_ns' => 'nullable|string', 'registrar_username' => 'nullable|string', ]; } /* RELATIONS */ public function registrar() { return $this->belongsTo(DomainRegistrar::class,'domain_registrar_id'); } }