diff --git a/vendor/controller/companies_budgets/CompaniesBudgetsValidate.class.php b/vendor/controller/companies_budgets/CompaniesBudgetsValidate.class.php index 673c211..101b85a 100644 --- a/vendor/controller/companies_budgets/CompaniesBudgetsValidate.class.php +++ b/vendor/controller/companies_budgets/CompaniesBudgetsValidate.class.php @@ -24,7 +24,7 @@ class CompaniesBudgetsValidate private $errors = array(); private $info = null; private $clientBudgetsId = null; - private $clientsId = null; + private $companyId = null; private $usersId = null; private $budget = null; private $dateCreate = null; @@ -38,7 +38,7 @@ class CompaniesBudgetsValidate private $readjustmentMonth = null; private $often = null; private $dateStart = null; - private $clientsBudgetsId = null; + private $companiesBudgetsId = null; private $description = null; private $financialCategoriesId = null; private $financialAccountsId = null; @@ -78,14 +78,14 @@ class CompaniesBudgetsValidate } /** Método trata campo clients_id */ - public function setCompanyId(int $clientsId) : void + public function setCompanyId(int $companyId) : void { /** Trata a entrada da informação */ - $this->clientsId = $clientsId > 0 ? (int)$this->Main->antiInjection($clientsId) : 0; + $this->companyId = $companyId > 0 ? (int)$this->Main->antiInjection($companyId) : 0; /** Verifica se a informação foi informada */ - if($this->clientsId ==0) + if($this->companyId ==0) { /** Adição de elemento */ @@ -96,14 +96,14 @@ class CompaniesBudgetsValidate } /** Método trata campo clients_budgets_id */ - public function setClientsBudgetsId(int $clientsBudgetsId) : void + public function setClientsBudgetsId(int $companiesBudgetsId) : void { /** Trata a entrada da informação */ - $this->clientsBudgetsId = $clientsBudgetsId > 0 ? (int)$this->Main->antiInjection($clientsBudgetsId) : 0; + $this->clientsBudgetsId = $companiesBudgetsId > 0 ? (int)$this->Main->antiInjection($companiesBudgetsId) : 0; // /** Verifica se a informação foi informada */ - // if($this->clientsId ==0) + // if($this->companyId ==0) // { // /** Adição de elemento */ @@ -491,11 +491,11 @@ class CompaniesBudgetsValidate } /** Método retorna campo clients_id */ - public function getClientsId() : ? int + public function getcompanyId() : ? int { /** Retorno da informação */ - return (int)$this->clientsId; + return (int)$this->companyId; }