mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Revert "php style fixes"
This reverts commit 38fcccfd83e71a82eca5130d880f908cb2e855db.
This commit is contained in:
parent
38fcccfd83
commit
3929602f59
@ -79,6 +79,7 @@ class ActivityReason
|
|||||||
/**
|
/**
|
||||||
* Set active.
|
* Set active.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return ActivityReason
|
* @return ActivityReason
|
||||||
*/
|
*/
|
||||||
public function setActive(bool $active)
|
public function setActive(bool $active)
|
||||||
@ -108,6 +109,7 @@ class ActivityReason
|
|||||||
/**
|
/**
|
||||||
* Set name.
|
* Set name.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return ActivityReason
|
* @return ActivityReason
|
||||||
*/
|
*/
|
||||||
public function setName(array $name)
|
public function setName(array $name)
|
||||||
|
@ -172,6 +172,7 @@ class CustomField
|
|||||||
/**
|
/**
|
||||||
* Set active.
|
* Set active.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return CustomField
|
* @return CustomField
|
||||||
*/
|
*/
|
||||||
public function setActive(bool $active)
|
public function setActive(bool $active)
|
||||||
@ -222,6 +223,8 @@ class CustomField
|
|||||||
/**
|
/**
|
||||||
* Set order.
|
* Set order.
|
||||||
*
|
*
|
||||||
|
* @param float $order
|
||||||
|
*
|
||||||
* @return CustomField
|
* @return CustomField
|
||||||
*/
|
*/
|
||||||
public function setOrdering(?float $order)
|
public function setOrdering(?float $order)
|
||||||
@ -251,6 +254,8 @@ class CustomField
|
|||||||
/**
|
/**
|
||||||
* Set type.
|
* Set type.
|
||||||
*
|
*
|
||||||
|
* @param string $type
|
||||||
|
*
|
||||||
* @return CustomField
|
* @return CustomField
|
||||||
*/
|
*/
|
||||||
public function setType(?string $type)
|
public function setType(?string $type)
|
||||||
|
@ -69,7 +69,7 @@ class CustomFieldsDefaultGroup
|
|||||||
*
|
*
|
||||||
* @return CustomFieldsDefaultGroup
|
* @return CustomFieldsDefaultGroup
|
||||||
*/
|
*/
|
||||||
public function setCustomFieldsGroup(?CustomFieldsGroup $customFieldsGroup)
|
public function setCustomFieldsGroup(?\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup $customFieldsGroup)
|
||||||
{
|
{
|
||||||
$this->customFieldsGroup = $customFieldsGroup;
|
$this->customFieldsGroup = $customFieldsGroup;
|
||||||
|
|
||||||
@ -79,6 +79,8 @@ class CustomFieldsDefaultGroup
|
|||||||
/**
|
/**
|
||||||
* Set entity.
|
* Set entity.
|
||||||
*
|
*
|
||||||
|
* @param string $entity
|
||||||
|
*
|
||||||
* @return CustomFieldsDefaultGroup
|
* @return CustomFieldsDefaultGroup
|
||||||
*/
|
*/
|
||||||
public function setEntity(?string $entity)
|
public function setEntity(?string $entity)
|
||||||
|
@ -165,6 +165,8 @@ class CustomFieldsGroup
|
|||||||
/**
|
/**
|
||||||
* Set entity.
|
* Set entity.
|
||||||
*
|
*
|
||||||
|
* @param string $entity
|
||||||
|
*
|
||||||
* @return CustomFieldsGroup
|
* @return CustomFieldsGroup
|
||||||
*/
|
*/
|
||||||
public function setEntity(?string $entity)
|
public function setEntity(?string $entity)
|
||||||
|
@ -55,14 +55,14 @@ class PersonDocument extends Document implements HasCenterInterface, HasScopeInt
|
|||||||
return $this->scope;
|
return $this->scope;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setPerson(Person $person): self
|
public function setPerson(\Chill\PersonBundle\Entity\Person $person): self
|
||||||
{
|
{
|
||||||
$this->person = $person;
|
$this->person = $person;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setScope(?Scope $scope): self
|
public function setScope(?\Chill\MainBundle\Entity\Scope $scope): self
|
||||||
{
|
{
|
||||||
$this->scope = $scope;
|
$this->scope = $scope;
|
||||||
|
|
||||||
|
@ -265,6 +265,8 @@ class Event implements HasCenterInterface, HasScopeInterface, TrackCreationInter
|
|||||||
/**
|
/**
|
||||||
* Set label.
|
* Set label.
|
||||||
*
|
*
|
||||||
|
* @param string $label
|
||||||
|
*
|
||||||
* @return Event
|
* @return Event
|
||||||
*/
|
*/
|
||||||
public function setName(?string $label)
|
public function setName(?string $label)
|
||||||
|
@ -146,6 +146,7 @@ class EventType
|
|||||||
/**
|
/**
|
||||||
* Set active.
|
* Set active.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return EventType
|
* @return EventType
|
||||||
*/
|
*/
|
||||||
public function setActive(bool $active)
|
public function setActive(bool $active)
|
||||||
|
@ -81,6 +81,7 @@ class Role
|
|||||||
/**
|
/**
|
||||||
* Set active.
|
* Set active.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Role
|
* @return Role
|
||||||
*/
|
*/
|
||||||
public function setActive(bool $active)
|
public function setActive(bool $active)
|
||||||
|
@ -81,6 +81,7 @@ class Status
|
|||||||
/**
|
/**
|
||||||
* Set active.
|
* Set active.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Status
|
* @return Status
|
||||||
*/
|
*/
|
||||||
public function setActive(bool $active)
|
public function setActive(bool $active)
|
||||||
|
@ -14,6 +14,7 @@ namespace Chill\FranceTravailApiBundle\ApiHelper;
|
|||||||
use Chill\MainBundle\Redis\ChillRedis;
|
use Chill\MainBundle\Redis\ChillRedis;
|
||||||
use GuzzleHttp\Client;
|
use GuzzleHttp\Client;
|
||||||
use GuzzleHttp\Exception\ClientException;
|
use GuzzleHttp\Exception\ClientException;
|
||||||
|
use GuzzleHttp\Psr7;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wraps the pole emploi api.
|
* Wraps the pole emploi api.
|
||||||
|
@ -29,6 +29,7 @@ trait ProcessRequestTrait
|
|||||||
*
|
*
|
||||||
* @param Request $request the request
|
* @param Request $request the request
|
||||||
* @param array $parameters the requests parameters
|
* @param array $parameters the requests parameters
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
protected function handleRequest(
|
protected function handleRequest(
|
||||||
Request $request,
|
Request $request,
|
||||||
|
@ -116,7 +116,7 @@ class CSCrudReportController extends EntityPersonCRUDController
|
|||||||
*
|
*
|
||||||
* @param int $id
|
* @param int $id
|
||||||
*/
|
*/
|
||||||
public function editBilan(Request $request, $id): Response
|
public function editBilan(Request $request, $id): \Symfony\Component\HttpFoundation\Response
|
||||||
{
|
{
|
||||||
return $this->formEditAction('bilan', $request, $id);
|
return $this->formEditAction('bilan', $request, $id);
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,9 @@ use Chill\JobBundle\Security\Authorization\CSConnectesVoter;
|
|||||||
|
|
||||||
class CSReportController extends AbstractController
|
class CSReportController extends AbstractController
|
||||||
{
|
{
|
||||||
public function __construct(private \Doctrine\Persistence\ManagerRegistry $managerRegistry) {}
|
public function __construct(private \Doctrine\Persistence\ManagerRegistry $managerRegistry)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
#[Route(path: '{_locale}/person/job/{person}/report', name: 'chill_job_report_index')]
|
#[Route(path: '{_locale}/person/job/{person}/report', name: 'chill_job_report_index')]
|
||||||
public function index(Person $person): Response
|
public function index(Person $person): Response
|
||||||
|
@ -50,7 +50,7 @@ class ChillJobExtension extends Extension implements PrependExtensionInterface
|
|||||||
$this->prependRoute($container);
|
$this->prependRoute($container);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* protected function prependCruds(ContainerBuilder $container)
|
/* protected function prependCruds(ContainerBuilder $container)
|
||||||
{
|
{
|
||||||
$container->prependExtensionConfig('chill_main', [
|
$container->prependExtensionConfig('chill_main', [
|
||||||
'cruds' => [
|
'cruds' => [
|
||||||
@ -58,7 +58,7 @@ class ChillJobExtension extends Extension implements PrependExtensionInterface
|
|||||||
'class' => CSPerson::class,
|
'class' => CSPerson::class,
|
||||||
'controller' => CSPersonController::class,
|
'controller' => CSPersonController::class,
|
||||||
'name' => 'admin_personal_situation',
|
'name' => 'admin_personal_situation',
|
||||||
// 'base_path' => '/admin/main/personal_situation',
|
// 'base_path' => '/admin/main/personal_situation',
|
||||||
'base_role' => 'ROLE_USER',
|
'base_role' => 'ROLE_USER',
|
||||||
'form_class' => CSPersonPersonalSituationType::class,
|
'form_class' => CSPersonPersonalSituationType::class,
|
||||||
'actions' => [
|
'actions' => [
|
||||||
|
@ -1,14 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Chill is a software for social workers
|
|
||||||
*
|
|
||||||
* For the full copyright and license information, please view
|
|
||||||
* the LICENSE file that was distributed with this source code.
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace Chill\JobBundle\Entity;
|
namespace Chill\JobBundle\Entity;
|
||||||
|
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
@ -18,21 +9,29 @@ use Chill\ThirdPartyBundle\Entity\ThirdParty;
|
|||||||
use Symfony\Component\Validator\Constraints as Assert;
|
use Symfony\Component\Validator\Constraints as Assert;
|
||||||
use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
||||||
use Chill\PersonBundle\Entity\MaritalStatus;
|
use Chill\PersonBundle\Entity\MaritalStatus;
|
||||||
|
use ChampsLibres\AsyncUploaderBundle\Validator\Constraints\AsyncFileExists;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CSPerson.
|
* CSPerson
|
||||||
*/
|
*/
|
||||||
#[ORM\Table(name: 'chill_csconnectes.cs_person')]
|
#[ORM\Table(name: 'chill_csconnectes.cs_person')]
|
||||||
#[ORM\Entity(repositoryClass: \Chill\JobBundle\Repository\CSPersonRepository::class)]
|
#[ORM\Entity(repositoryClass: \Chill\JobBundle\Repository\CSPersonRepository::class)]
|
||||||
class CSPerson
|
class CSPerson
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)]
|
#[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)]
|
||||||
#[ORM\Id]
|
#[ORM\Id]
|
||||||
#[ORM\GeneratedValue(strategy: 'NONE')]
|
#[ORM\GeneratedValue(strategy: 'NONE')]
|
||||||
private ?int $id = null;
|
private ?int $id = null;
|
||||||
|
|
||||||
#[ORM\OneToOne(targetEntity: Person::class)]
|
/**
|
||||||
private ?Person $person = null;
|
*
|
||||||
|
* @var Person
|
||||||
|
*/
|
||||||
|
#[ORM\OneToOne(targetEntity: \Chill\PersonBundle\Entity\Person::class)]
|
||||||
|
private ?\Chill\PersonBundle\Entity\Person $person = null;
|
||||||
|
|
||||||
public const SITUATIONS_LOGEMENTS = [
|
public const SITUATIONS_LOGEMENTS = [
|
||||||
'proprietaire',
|
'proprietaire',
|
||||||
@ -40,23 +39,32 @@ class CSPerson
|
|||||||
'heberge_chez_tiers',
|
'heberge_chez_tiers',
|
||||||
'heberge_chez_parents',
|
'heberge_chez_parents',
|
||||||
'hebergement_en_foyer',
|
'hebergement_en_foyer',
|
||||||
'sans_domicile',
|
'sans_domicile'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'situationLogement', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
#[ORM\Column(name: 'situationLogement', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
||||||
private ?string $situationLogement = null;
|
private ?string $situationLogement = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'situationLogementPrecision', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'situationLogementPrecision', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $situationLogementPrecision = null;
|
private ?string $situationLogementPrecision = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var int|null
|
||||||
|
*
|
||||||
* @Assert\GreaterThanOrEqual(0)
|
* @Assert\GreaterThanOrEqual(0)
|
||||||
*/
|
*/
|
||||||
#[ORM\Column(name: 'enfantACharge', type: \Doctrine\DBAL\Types\Types::INTEGER, nullable: true)]
|
#[ORM\Column(name: 'enfantACharge', type: \Doctrine\DBAL\Types\Types::INTEGER, nullable: true)]
|
||||||
private ?int $enfantACharge = null;
|
private ?int $enfantACharge = null;
|
||||||
|
|
||||||
public const NIVEAU_MAITRISE_LANGUE = [
|
public const NIVEAU_MAITRISE_LANGUE = [
|
||||||
'lu', 'ecrit', 'parle', 'aucun',
|
'lu', 'ecrit', 'parle', 'aucun'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -65,11 +73,14 @@ class CSPerson
|
|||||||
#[ORM\Column(name: 'niveauMaitriseLangue', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
#[ORM\Column(name: 'niveauMaitriseLangue', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||||
private $niveauMaitriseLangue;
|
private $niveauMaitriseLangue;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var bool|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'vehiculePersonnel', type: \Doctrine\DBAL\Types\Types::BOOLEAN, nullable: true)]
|
#[ORM\Column(name: 'vehiculePersonnel', type: \Doctrine\DBAL\Types\Types::BOOLEAN, nullable: true)]
|
||||||
private ?bool $vehiculePersonnel = null;
|
private ?bool $vehiculePersonnel = null;
|
||||||
|
|
||||||
public const PERMIS_CONDUIRE = [
|
public const PERMIS_CONDUIRE = [
|
||||||
'a', 'b', 'c', 'd', 'e', 'caces', 'en_cours', 'pas_de_permis',
|
'a', 'b', 'c', 'd', 'e', 'caces', 'en_cours', 'pas_de_permis'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -79,12 +90,18 @@ class CSPerson
|
|||||||
private $permisConduire;
|
private $permisConduire;
|
||||||
|
|
||||||
public const SITUATION_PROFESSIONNELLE = [
|
public const SITUATION_PROFESSIONNELLE = [
|
||||||
'sans_emploi', 'en_activite', 'etudiant', 'etudiant_descolarise',
|
'sans_emploi', 'en_activite', 'etudiant', 'etudiant_descolarise'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'situationProfessionnelle', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
#[ORM\Column(name: 'situationProfessionnelle', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
||||||
private ?string $situationProfessionnelle = null;
|
private ?string $situationProfessionnelle = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var \DateTimeInterface
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'dateFinDernierEmploi', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
#[ORM\Column(name: 'dateFinDernierEmploi', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||||
private ?\DateTimeInterface $dateFinDernierEmploi = null;
|
private ?\DateTimeInterface $dateFinDernierEmploi = null;
|
||||||
|
|
||||||
@ -95,7 +112,7 @@ class CSPerson
|
|||||||
'contrat_aide',
|
'contrat_aide',
|
||||||
'cdd_insertion',
|
'cdd_insertion',
|
||||||
'contrat_extra',
|
'contrat_extra',
|
||||||
'service_civique',
|
'service_civique'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -104,6 +121,10 @@ class CSPerson
|
|||||||
#[ORM\Column(name: 'typeContrat', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
#[ORM\Column(name: 'typeContrat', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||||
private $typeContrat;
|
private $typeContrat;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'typeContratAide', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'typeContratAide', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $typeContratAide = null;
|
private ?string $typeContratAide = null;
|
||||||
|
|
||||||
@ -113,7 +134,7 @@ class CSPerson
|
|||||||
'ASS',
|
'ASS',
|
||||||
'RSA',
|
'RSA',
|
||||||
'AAH',
|
'AAH',
|
||||||
'autre',
|
'autre'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -122,15 +143,28 @@ class CSPerson
|
|||||||
#[ORM\Column(name: 'ressources', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
#[ORM\Column(name: 'ressources', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||||
private $ressources;
|
private $ressources;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'ressourcesComment', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'ressourcesComment', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $ressourcesComment = null;
|
private ?string $ressourcesComment = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var \DateTimeInterface
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'ressourceDate1Versement', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
#[ORM\Column(name: 'ressourceDate1Versement', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||||
private ?\DateTimeInterface $ressourceDate1Versement = null;
|
private ?\DateTimeInterface $ressourceDate1Versement = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var double
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'CPFMontant', type: \Doctrine\DBAL\Types\Types::DECIMAL, nullable: true, precision: 10, scale: 2)] // Assert\GreaterOrEqualThan(0)
|
#[ORM\Column(name: 'CPFMontant', type: \Doctrine\DBAL\Types\Types::DECIMAL, nullable: true, precision: 10, scale: 2)] // Assert\GreaterOrEqualThan(0)
|
||||||
private ?float $cPFMontant = null;
|
private ?float $cPFMontant = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var double
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'acomptedif', type: \Doctrine\DBAL\Types\Types::DECIMAL, nullable: true, precision: 10, scale: 2)] // Assert\GreaterOrEqualThan(0)
|
#[ORM\Column(name: 'acomptedif', type: \Doctrine\DBAL\Types\Types::DECIMAL, nullable: true, precision: 10, scale: 2)] // Assert\GreaterOrEqualThan(0)
|
||||||
private ?float $acompteDIF = null;
|
private ?float $acompteDIF = null;
|
||||||
|
|
||||||
@ -140,7 +174,7 @@ class CSPerson
|
|||||||
'referent_RSA',
|
'referent_RSA',
|
||||||
'mission_locale',
|
'mission_locale',
|
||||||
'rqth',
|
'rqth',
|
||||||
'autre',
|
'autre'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -149,178 +183,288 @@ class CSPerson
|
|||||||
#[ORM\Column(name: 'accompagnement', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
#[ORM\Column(name: 'accompagnement', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||||
private $accompagnement;
|
private $accompagnement;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var \DateTimeInterface
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'accompagnementRQTHDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
#[ORM\Column(name: 'accompagnementRQTHDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||||
private ?\DateTimeInterface $accompagnementRQTHDate = null;
|
private ?\DateTimeInterface $accompagnementRQTHDate = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'accompagnementComment', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
#[ORM\Column(name: 'accompagnementComment', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
||||||
private ?string $accompagnementComment = null;
|
private ?string $accompagnementComment = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'poleEmploiId', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
#[ORM\Column(name: 'poleEmploiId', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
||||||
private ?string $poleEmploiId = null;
|
private ?string $poleEmploiId = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var \DateTimeInterface
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'poleEmploiInscriptionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
#[ORM\Column(name: 'poleEmploiInscriptionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||||
private ?\DateTimeInterface $poleEmploiInscriptionDate = null;
|
private ?\DateTimeInterface $poleEmploiInscriptionDate = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'cafId', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
#[ORM\Column(name: 'cafId', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
||||||
private ?string $cafId = null;
|
private ?string $cafId = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var \DateTimeInterface
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'cafInscriptionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
#[ORM\Column(name: 'cafInscriptionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||||
private ?\DateTimeInterface $cafInscriptionDate = null;
|
private ?\DateTimeInterface $cafInscriptionDate = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var \DateTimeInterface
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'CERInscriptionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
#[ORM\Column(name: 'CERInscriptionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||||
private ?\DateTimeInterface $cERInscriptionDate = null;
|
private ?\DateTimeInterface $cERInscriptionDate = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var \DateTimeInterface
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'PPAEInscriptionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
#[ORM\Column(name: 'PPAEInscriptionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||||
private ?\DateTimeInterface $pPAEInscriptionDate = null;
|
private ?\DateTimeInterface $pPAEInscriptionDate = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'CERSignataire', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'CERSignataire', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $cERSignataire = null;
|
private ?string $cERSignataire = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'PPAESignataire', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'PPAESignataire', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $pPAESignataire = null;
|
private ?string $pPAESignataire = null;
|
||||||
|
|
||||||
public const NEET_ELIGIBILITY = [
|
public const NEET_ELIGIBILITY = [
|
||||||
'oui',
|
'oui',
|
||||||
'non',
|
'non',
|
||||||
'en_attente',
|
'en_attente'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'NEETEligibilite', type: \Doctrine\DBAL\Types\Types::STRING, nullable: true)]
|
#[ORM\Column(name: 'NEETEligibilite', type: \Doctrine\DBAL\Types\Types::STRING, nullable: true)]
|
||||||
private ?bool $nEETEligibilite = null;
|
private ?bool $nEETEligibilite = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var \DateTimeInterface
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'NEETCommissionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
#[ORM\Column(name: 'NEETCommissionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||||
private ?\DateTimeInterface $nEETCommissionDate = null;
|
private ?\DateTimeInterface $nEETCommissionDate = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'FSEMaDemarcheCode', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'FSEMaDemarcheCode', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $fSEMaDemarcheCode = null;
|
private ?string $fSEMaDemarcheCode = null;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var \DateTimeInterface
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'datecontratIEJ', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
#[ORM\Column(name: 'datecontratIEJ', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||||
private ?\DateTimeInterface $dateContratIEJ = null;
|
private ?\DateTimeInterface $dateContratIEJ = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var \DateTimeInterface
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'dateavenantIEJ', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
#[ORM\Column(name: 'dateavenantIEJ', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||||
private ?\DateTimeInterface $dateAvenantIEJ = null;
|
private ?\DateTimeInterface $dateAvenantIEJ = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'dispositifs_notes', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'dispositifs_notes', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $dispositifsNotes = null;
|
private ?string $dispositifsNotes = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'handicap', type: \Doctrine\DBAL\Types\Types::BOOLEAN, nullable: true)]
|
#[ORM\Column(name: 'handicap', type: \Doctrine\DBAL\Types\Types::BOOLEAN, nullable: true)]
|
||||||
private ?bool $handicapIs = null;
|
private ?bool $handicapIs = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'handicapnotes', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'handicapnotes', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $handicapNotes = null;
|
private ?string $handicapNotes = null;
|
||||||
|
|
||||||
public const HANDICAP_RECOMMANDATIONS = [
|
public const HANDICAP_RECOMMANDATIONS = [
|
||||||
'travail_esat',
|
'travail_esat',
|
||||||
'milieu_ordinaire',
|
'milieu_ordinaire',
|
||||||
'entreprise_adaptee',
|
'entreprise_adaptee'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'handicapRecommandation', type: \Doctrine\DBAL\Types\Types::STRING, length: 50, nullable: true)]
|
#[ORM\Column(name: 'handicapRecommandation', type: \Doctrine\DBAL\Types\Types::STRING, length: 50, nullable: true)]
|
||||||
private ?string $handicapRecommandation = null;
|
private ?string $handicapRecommandation = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var ThirdParty
|
||||||
|
*
|
||||||
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: ThirdParty::class)]
|
#[ORM\ManyToOne(targetEntity: ThirdParty::class)]
|
||||||
private ?ThirdParty $handicapAccompagnement = null;
|
private ?\Chill\ThirdPartyBundle\Entity\ThirdParty $handicapAccompagnement = null;
|
||||||
|
|
||||||
public const MOBILITE_MOYEN_TRANSPORT = [
|
public const MOBILITE_MOYEN_TRANSPORT = [
|
||||||
'transport_commun',
|
'transport_commun',
|
||||||
'scooter',
|
'scooter',
|
||||||
'velo',
|
'velo',
|
||||||
'voiture',
|
'voiture',
|
||||||
'autre',
|
'autre'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
* @var string[]
|
* @var string[]
|
||||||
*/
|
*/
|
||||||
#[ORM\Column(name: 'mobilitemoyentransport', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
#[ORM\Column(name: 'mobilitemoyentransport', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||||
private $mobiliteMoyenDeTransport;
|
private $mobiliteMoyenDeTransport;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'mobilitenotes', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'mobilitenotes', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $mobiliteNotes = null;
|
private ?string $mobiliteNotes = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var StoredObject|null
|
||||||
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||||
private ?StoredObject $documentCV = null;
|
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentCV = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var StoredObject|null
|
||||||
|
*
|
||||||
* @Assert\Valid()
|
* @Assert\Valid()
|
||||||
*/
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||||
private ?StoredObject $documentAgrementIAE = null;
|
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentAgrementIAE = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var StoredObject|null
|
||||||
|
*
|
||||||
* @Assert\Valid()
|
* @Assert\Valid()
|
||||||
*/
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||||
private ?StoredObject $documentRQTH = null;
|
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentRQTH = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var StoredObject|null
|
||||||
|
*
|
||||||
* @Assert\Valid()
|
* @Assert\Valid()
|
||||||
*/
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||||
private ?StoredObject $documentAttestationNEET = null;
|
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentAttestationNEET = null;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var StoredObject|null
|
||||||
|
*
|
||||||
* @Assert\Valid()
|
* @Assert\Valid()
|
||||||
*/
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||||
private ?StoredObject $documentCI = null;
|
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentCI = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var StoredObject|null
|
||||||
|
*
|
||||||
* @Assert\Valid()
|
* @Assert\Valid()
|
||||||
*/
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||||
private ?StoredObject $documentTitreSejour = null;
|
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentTitreSejour = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var StoredObject|null
|
||||||
|
*
|
||||||
* @Assert\Valid()
|
* @Assert\Valid()
|
||||||
*/
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||||
private ?StoredObject $documentAttestationFiscale = null;
|
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentAttestationFiscale = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var StoredObject|null
|
||||||
|
*
|
||||||
* @Assert\Valid()
|
* @Assert\Valid()
|
||||||
*/
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||||
private ?StoredObject $documentPermis = null;
|
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentPermis = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var StoredObject|null
|
||||||
|
*
|
||||||
* @Assert\Valid()
|
* @Assert\Valid()
|
||||||
*/
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||||
private ?StoredObject $documentAttestationCAAF = null;
|
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentAttestationCAAF = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var StoredObject|null
|
||||||
|
*
|
||||||
* @Assert\Valid()
|
* @Assert\Valid()
|
||||||
*/
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||||
private ?StoredObject $documentContraTravail = null;
|
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentContraTravail = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var StoredObject|null
|
||||||
|
*
|
||||||
* @Assert\Valid()
|
* @Assert\Valid()
|
||||||
*/
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||||
private ?StoredObject $documentAttestationFormation = null;
|
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentAttestationFormation = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var StoredObject|null
|
||||||
|
*
|
||||||
* @Assert\Valid()
|
* @Assert\Valid()
|
||||||
*/
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||||
private ?StoredObject $documentQuittanceLoyer = null;
|
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentQuittanceLoyer = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var StoredObject|null
|
||||||
|
*
|
||||||
* @Assert\Valid()
|
* @Assert\Valid()
|
||||||
*/
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||||
private ?StoredObject $documentFactureElectricite = null;
|
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentFactureElectricite = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var StoredObject|null
|
||||||
|
*
|
||||||
* @Assert\Valid()
|
* @Assert\Valid()
|
||||||
*/
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||||
private ?StoredObject $documentAttestationSecuriteSociale = null;
|
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentAttestationSecuriteSociale = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var ThirdParty|null
|
||||||
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: ThirdParty::class)]
|
#[ORM\ManyToOne(targetEntity: ThirdParty::class)]
|
||||||
private ?ThirdParty $prescripteur = null;
|
private ?\Chill\ThirdPartyBundle\Entity\ThirdParty $prescripteur = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get id.
|
* Get id.
|
||||||
@ -335,6 +479,7 @@ class CSPerson
|
|||||||
/**
|
/**
|
||||||
* Set situationLogement.
|
* Set situationLogement.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return CSPerson
|
* @return CSPerson
|
||||||
*/
|
*/
|
||||||
public function setSituationLogement(?string $situationLogement = null)
|
public function setSituationLogement(?string $situationLogement = null)
|
||||||
@ -357,6 +502,7 @@ class CSPerson
|
|||||||
/**
|
/**
|
||||||
* Set enfantACharge.
|
* Set enfantACharge.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return CSPerson
|
* @return CSPerson
|
||||||
*/
|
*/
|
||||||
public function setEnfantACharge(?int $enfantACharge = null)
|
public function setEnfantACharge(?int $enfantACharge = null)
|
||||||
@ -383,7 +529,7 @@ class CSPerson
|
|||||||
*/
|
*/
|
||||||
public function setNiveauMaitriseLangue($niveauMaitriseLangue)
|
public function setNiveauMaitriseLangue($niveauMaitriseLangue)
|
||||||
{
|
{
|
||||||
if (null === $niveauMaitriseLangue) {
|
if ($niveauMaitriseLangue === null) {
|
||||||
$this->niveauMaitriseLangue = null;
|
$this->niveauMaitriseLangue = null;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
@ -397,6 +543,7 @@ class CSPerson
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get niveauMaitriseLangue.
|
* Get niveauMaitriseLangue.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getNiveauMaitriseLangue()
|
public function getNiveauMaitriseLangue()
|
||||||
{
|
{
|
||||||
@ -404,20 +551,20 @@ class CSPerson
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Valide niveauMaitriseLangue.
|
* Valide niveauMaitriseLangue
|
||||||
*
|
*
|
||||||
* @Assert\Callback()
|
* @Assert\Callback()
|
||||||
*/
|
*/
|
||||||
public function validateNiveauMatriseLangue(ExecutionContextInterface $context)
|
public function validateNiveauMatriseLangue(ExecutionContextInterface $context)
|
||||||
{
|
{
|
||||||
if (null === $this->getNiveauMaitriseLangue()) {
|
if (NULL === $this->getNiveauMaitriseLangue()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (\in_array('aucun', $this->getNiveauMaitriseLangue(), true)) {
|
if (\in_array('aucun', $this->getNiveauMaitriseLangue(), true)) {
|
||||||
if (count($this->getNiveauMaitriseLangue()) > 1) {
|
if (count($this->getNiveauMaitriseLangue()) > 1) {
|
||||||
$context->buildViolation("Si \"Aucun\" est choisi dans la liste, il n'est "
|
$context->buildViolation("Si \"Aucun\" est choisi dans la liste, il n'est "
|
||||||
."pas possible de cocher d'autres indications")
|
. "pas possible de cocher d'autres indications")
|
||||||
->atPath('niveauMaitriseLangue')
|
->atPath('niveauMaitriseLangue')
|
||||||
->addViolation();
|
->addViolation();
|
||||||
}
|
}
|
||||||
@ -427,6 +574,8 @@ class CSPerson
|
|||||||
/**
|
/**
|
||||||
* Set vehiculePersonnel.
|
* Set vehiculePersonnel.
|
||||||
*
|
*
|
||||||
|
* @param bool $vehiculePersonnel
|
||||||
|
*
|
||||||
* @return CSPerson
|
* @return CSPerson
|
||||||
*/
|
*/
|
||||||
public function setVehiculePersonnel(?bool $vehiculePersonnel)
|
public function setVehiculePersonnel(?bool $vehiculePersonnel)
|
||||||
@ -460,6 +609,7 @@ class CSPerson
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get permisConduire.
|
* Get permisConduire.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getPermisConduire()
|
public function getPermisConduire()
|
||||||
{
|
{
|
||||||
@ -469,6 +619,8 @@ class CSPerson
|
|||||||
/**
|
/**
|
||||||
* Set situationProfessionnelle.
|
* Set situationProfessionnelle.
|
||||||
*
|
*
|
||||||
|
* @param string $situationProfessionnelle
|
||||||
|
*
|
||||||
* @return CSPerson
|
* @return CSPerson
|
||||||
*/
|
*/
|
||||||
public function setSituationProfessionnelle(?string $situationProfessionnelle)
|
public function setSituationProfessionnelle(?string $situationProfessionnelle)
|
||||||
@ -515,6 +667,7 @@ class CSPerson
|
|||||||
/**
|
/**
|
||||||
* Set typeContrat.
|
* Set typeContrat.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return CSPerson
|
* @return CSPerson
|
||||||
*/
|
*/
|
||||||
public function setTypeContrat($typeContrat)
|
public function setTypeContrat($typeContrat)
|
||||||
@ -526,6 +679,7 @@ class CSPerson
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get typeContrat.
|
* Get typeContrat.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getTypeContrat()
|
public function getTypeContrat()
|
||||||
{
|
{
|
||||||
@ -546,6 +700,7 @@ class CSPerson
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get ressources.
|
* Get ressources.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getRessources()
|
public function getRessources()
|
||||||
{
|
{
|
||||||
@ -555,6 +710,8 @@ class CSPerson
|
|||||||
/**
|
/**
|
||||||
* Set ressourcesComment.
|
* Set ressourcesComment.
|
||||||
*
|
*
|
||||||
|
* @param string $ressourcesComment
|
||||||
|
*
|
||||||
* @return CSPerson
|
* @return CSPerson
|
||||||
*/
|
*/
|
||||||
public function setRessourcesComment(?string $ressourcesComment)
|
public function setRessourcesComment(?string $ressourcesComment)
|
||||||
@ -598,12 +755,12 @@ class CSPerson
|
|||||||
return $this->ressourceDate1Versement;
|
return $this->ressourceDate1Versement;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCPFMontant()
|
function getCPFMontant()
|
||||||
{
|
{
|
||||||
return $this->cPFMontant;
|
return $this->cPFMontant;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCPFMontant(?float $cPFMontant)
|
function setCPFMontant(?float $cPFMontant)
|
||||||
{
|
{
|
||||||
$this->cPFMontant = $cPFMontant;
|
$this->cPFMontant = $cPFMontant;
|
||||||
|
|
||||||
@ -624,6 +781,7 @@ class CSPerson
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get accompagnement.
|
* Get accompagnement.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getAccompagnement()
|
public function getAccompagnement()
|
||||||
{
|
{
|
||||||
@ -657,6 +815,8 @@ class CSPerson
|
|||||||
/**
|
/**
|
||||||
* Set accompagnementComment.
|
* Set accompagnementComment.
|
||||||
*
|
*
|
||||||
|
* @param string $accompagnementComment
|
||||||
|
*
|
||||||
* @return CSPerson
|
* @return CSPerson
|
||||||
*/
|
*/
|
||||||
public function setAccompagnementComment(?string $accompagnementComment)
|
public function setAccompagnementComment(?string $accompagnementComment)
|
||||||
@ -679,6 +839,8 @@ class CSPerson
|
|||||||
/**
|
/**
|
||||||
* Set poleEmploiId.
|
* Set poleEmploiId.
|
||||||
*
|
*
|
||||||
|
* @param string $poleEmploiId
|
||||||
|
*
|
||||||
* @return CSPerson
|
* @return CSPerson
|
||||||
*/
|
*/
|
||||||
public function setPoleEmploiId(?string $poleEmploiId)
|
public function setPoleEmploiId(?string $poleEmploiId)
|
||||||
@ -725,6 +887,8 @@ class CSPerson
|
|||||||
/**
|
/**
|
||||||
* Set cafId.
|
* Set cafId.
|
||||||
*
|
*
|
||||||
|
* @param string $cafId
|
||||||
|
*
|
||||||
* @return CSPerson
|
* @return CSPerson
|
||||||
*/
|
*/
|
||||||
public function setCafId(?string $cafId)
|
public function setCafId(?string $cafId)
|
||||||
@ -836,9 +1000,12 @@ class CSPerson
|
|||||||
$this->pPAESignataire = $pPAESignataire;
|
$this->pPAESignataire = $pPAESignataire;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set nEETEligibilite.
|
* Set nEETEligibilite.
|
||||||
*
|
*
|
||||||
|
* @param bool $nEETEligibilite
|
||||||
|
*
|
||||||
* @return CSPerson
|
* @return CSPerson
|
||||||
*/
|
*/
|
||||||
public function setNEETEligibilite(?bool $nEETEligibilite)
|
public function setNEETEligibilite(?bool $nEETEligibilite)
|
||||||
@ -885,6 +1052,8 @@ class CSPerson
|
|||||||
/**
|
/**
|
||||||
* Set fSEMaDemarcheCode.
|
* Set fSEMaDemarcheCode.
|
||||||
*
|
*
|
||||||
|
* @param string $fSEMaDemarcheCode
|
||||||
|
*
|
||||||
* @return CSPerson
|
* @return CSPerson
|
||||||
*/
|
*/
|
||||||
public function setFSEMaDemarcheCode(?string $fSEMaDemarcheCode)
|
public function setFSEMaDemarcheCode(?string $fSEMaDemarcheCode)
|
||||||
@ -904,12 +1073,12 @@ class CSPerson
|
|||||||
return $this->fSEMaDemarcheCode;
|
return $this->fSEMaDemarcheCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDispositifsNotes()
|
function getDispositifsNotes()
|
||||||
{
|
{
|
||||||
return $this->dispositifsNotes;
|
return $this->dispositifsNotes;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDispositifsNotes(?string $dispositifsNotes)
|
function setDispositifsNotes(?string $dispositifsNotes)
|
||||||
{
|
{
|
||||||
$this->dispositifsNotes = $dispositifsNotes;
|
$this->dispositifsNotes = $dispositifsNotes;
|
||||||
}
|
}
|
||||||
@ -938,142 +1107,142 @@ class CSPerson
|
|||||||
return $this->getPerson()->setMaritalStatus($maritalStatus);
|
return $this->getPerson()->setMaritalStatus($maritalStatus);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDocumentCV(): ?StoredObject
|
function getDocumentCV(): ?StoredObject
|
||||||
{
|
{
|
||||||
return $this->documentCV;
|
return $this->documentCV;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDocumentAgrementIAE(): ?StoredObject
|
function getDocumentAgrementIAE(): ?StoredObject
|
||||||
{
|
{
|
||||||
return $this->documentAgrementIAE;
|
return $this->documentAgrementIAE;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDocumentRQTH(): ?StoredObject
|
function getDocumentRQTH(): ?StoredObject
|
||||||
{
|
{
|
||||||
return $this->documentRQTH;
|
return $this->documentRQTH;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDocumentAttestationNEET(): ?StoredObject
|
function getDocumentAttestationNEET(): ?StoredObject
|
||||||
{
|
{
|
||||||
return $this->documentAttestationNEET;
|
return $this->documentAttestationNEET;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDocumentCI(): ?StoredObject
|
function getDocumentCI(): ?StoredObject
|
||||||
{
|
{
|
||||||
return $this->documentCI;
|
return $this->documentCI;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDocumentTitreSejour(): ?StoredObject
|
function getDocumentTitreSejour(): ?StoredObject
|
||||||
{
|
{
|
||||||
return $this->documentTitreSejour;
|
return $this->documentTitreSejour;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDocumentAttestationFiscale(): ?StoredObject
|
function getDocumentAttestationFiscale(): ?StoredObject
|
||||||
{
|
{
|
||||||
return $this->documentAttestationFiscale;
|
return $this->documentAttestationFiscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDocumentPermis(): ?StoredObject
|
function getDocumentPermis(): ?StoredObject
|
||||||
{
|
{
|
||||||
return $this->documentPermis;
|
return $this->documentPermis;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDocumentAttestationCAAF(): ?StoredObject
|
function getDocumentAttestationCAAF(): ?StoredObject
|
||||||
{
|
{
|
||||||
return $this->documentAttestationCAAF;
|
return $this->documentAttestationCAAF;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDocumentContraTravail(): ?StoredObject
|
function getDocumentContraTravail(): ?StoredObject
|
||||||
{
|
{
|
||||||
return $this->documentContraTravail;
|
return $this->documentContraTravail;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDocumentAttestationFormation(): ?StoredObject
|
function getDocumentAttestationFormation(): ?StoredObject
|
||||||
{
|
{
|
||||||
return $this->documentAttestationFormation;
|
return $this->documentAttestationFormation;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDocumentQuittanceLoyer(): ?StoredObject
|
function getDocumentQuittanceLoyer(): ?StoredObject
|
||||||
{
|
{
|
||||||
return $this->documentQuittanceLoyer;
|
return $this->documentQuittanceLoyer;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDocumentFactureElectricite(): ?StoredObject
|
function getDocumentFactureElectricite(): ?StoredObject
|
||||||
{
|
{
|
||||||
return $this->documentFactureElectricite;
|
return $this->documentFactureElectricite;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPrescripteur(): ?ThirdParty
|
function getPrescripteur(): ?ThirdParty
|
||||||
{
|
{
|
||||||
return $this->prescripteur;
|
return $this->prescripteur;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDocumentCV(?StoredObject $documentCV = null)
|
function setDocumentCV(StoredObject $documentCV = null)
|
||||||
{
|
{
|
||||||
$this->documentCV = $documentCV;
|
$this->documentCV = $documentCV;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDocumentAgrementIAE(?StoredObject $documentAgrementIAE = null)
|
function setDocumentAgrementIAE(StoredObject $documentAgrementIAE = null)
|
||||||
{
|
{
|
||||||
$this->documentAgrementIAE = $documentAgrementIAE;
|
$this->documentAgrementIAE = $documentAgrementIAE;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDocumentRQTH(?StoredObject $documentRQTH = null)
|
function setDocumentRQTH(StoredObject $documentRQTH = null)
|
||||||
{
|
{
|
||||||
$this->documentRQTH = $documentRQTH;
|
$this->documentRQTH = $documentRQTH;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDocumentAttestationNEET(?StoredObject $documentAttestationNEET = null)
|
function setDocumentAttestationNEET(StoredObject $documentAttestationNEET = null)
|
||||||
{
|
{
|
||||||
$this->documentAttestationNEET = $documentAttestationNEET;
|
$this->documentAttestationNEET = $documentAttestationNEET;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDocumentCI(?StoredObject $documentCI = null)
|
function setDocumentCI(StoredObject $documentCI = null)
|
||||||
{
|
{
|
||||||
$this->documentCI = $documentCI;
|
$this->documentCI = $documentCI;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDocumentTitreSejour(?StoredObject $documentTitreSejour = null)
|
function setDocumentTitreSejour(StoredObject $documentTitreSejour = null)
|
||||||
{
|
{
|
||||||
$this->documentTitreSejour = $documentTitreSejour;
|
$this->documentTitreSejour = $documentTitreSejour;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDocumentAttestationFiscale(?StoredObject $documentAttestationFiscale = null)
|
function setDocumentAttestationFiscale(StoredObject $documentAttestationFiscale = null)
|
||||||
{
|
{
|
||||||
$this->documentAttestationFiscale = $documentAttestationFiscale;
|
$this->documentAttestationFiscale = $documentAttestationFiscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDocumentPermis(?StoredObject $documentPermis = null)
|
function setDocumentPermis(StoredObject $documentPermis = null)
|
||||||
{
|
{
|
||||||
$this->documentPermis = $documentPermis;
|
$this->documentPermis = $documentPermis;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDocumentAttestationCAAF(?StoredObject $documentAttestationCAAF = null)
|
function setDocumentAttestationCAAF(StoredObject $documentAttestationCAAF = null)
|
||||||
{
|
{
|
||||||
$this->documentAttestationCAAF = $documentAttestationCAAF;
|
$this->documentAttestationCAAF = $documentAttestationCAAF;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDocumentContraTravail(?StoredObject $documentContraTravail = null)
|
function setDocumentContraTravail(StoredObject $documentContraTravail = null)
|
||||||
{
|
{
|
||||||
$this->documentContraTravail = $documentContraTravail;
|
$this->documentContraTravail = $documentContraTravail;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDocumentAttestationFormation(?StoredObject $documentAttestationFormation = null)
|
function setDocumentAttestationFormation(StoredObject $documentAttestationFormation = null)
|
||||||
{
|
{
|
||||||
$this->documentAttestationFormation = $documentAttestationFormation;
|
$this->documentAttestationFormation = $documentAttestationFormation;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDocumentQuittanceLoyer(?StoredObject $documentQuittanceLoyer = null)
|
function setDocumentQuittanceLoyer(StoredObject $documentQuittanceLoyer = null)
|
||||||
{
|
{
|
||||||
$this->documentQuittanceLoyer = $documentQuittanceLoyer;
|
$this->documentQuittanceLoyer = $documentQuittanceLoyer;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDocumentFactureElectricite(?StoredObject $documentFactureElectricite = null)
|
function setDocumentFactureElectricite(StoredObject $documentFactureElectricite = null)
|
||||||
{
|
{
|
||||||
$this->documentFactureElectricite = $documentFactureElectricite;
|
$this->documentFactureElectricite = $documentFactureElectricite;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setPrescripteur(?ThirdParty $prescripteur = null)
|
function setPrescripteur(ThirdParty $prescripteur = null)
|
||||||
{
|
{
|
||||||
$this->prescripteur = $prescripteur;
|
$this->prescripteur = $prescripteur;
|
||||||
}
|
}
|
||||||
@ -1140,49 +1309,42 @@ class CSPerson
|
|||||||
public function setSituationLogementPrecision(?string $situationLogementPrecision)
|
public function setSituationLogementPrecision(?string $situationLogementPrecision)
|
||||||
{
|
{
|
||||||
$this->situationLogementPrecision = $situationLogementPrecision;
|
$this->situationLogementPrecision = $situationLogementPrecision;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setAcompteDIF(?float $acompteDIF)
|
public function setAcompteDIF(?float $acompteDIF)
|
||||||
{
|
{
|
||||||
$this->acompteDIF = $acompteDIF;
|
$this->acompteDIF = $acompteDIF;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setHandicapIs(?bool $handicapIs)
|
public function setHandicapIs(?bool $handicapIs)
|
||||||
{
|
{
|
||||||
$this->handicapIs = $handicapIs;
|
$this->handicapIs = $handicapIs;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setHandicapNotes(?string $handicapNotes)
|
public function setHandicapNotes(?string $handicapNotes)
|
||||||
{
|
{
|
||||||
$this->handicapNotes = $handicapNotes;
|
$this->handicapNotes = $handicapNotes;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setHandicapRecommandation(?string $handicapRecommandation)
|
public function setHandicapRecommandation(?string $handicapRecommandation)
|
||||||
{
|
{
|
||||||
$this->handicapRecommandation = $handicapRecommandation;
|
$this->handicapRecommandation = $handicapRecommandation;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setHandicapAccompagnement(?ThirdParty $handicapAccompagnement = null)
|
public function setHandicapAccompagnement(ThirdParty $handicapAccompagnement = null)
|
||||||
{
|
{
|
||||||
$this->handicapAccompagnement = $handicapAccompagnement;
|
$this->handicapAccompagnement = $handicapAccompagnement;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDocumentAttestationSecuriteSociale(?StoredObject $documentAttestationSecuriteSociale = null)
|
public function setDocumentAttestationSecuriteSociale(StoredObject $documentAttestationSecuriteSociale = null)
|
||||||
{
|
{
|
||||||
$this->documentAttestationSecuriteSociale = $documentAttestationSecuriteSociale;
|
$this->documentAttestationSecuriteSociale = $documentAttestationSecuriteSociale;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1191,10 +1353,9 @@ class CSPerson
|
|||||||
return $this->dateContratIEJ;
|
return $this->dateContratIEJ;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDateContratIEJ(?\DateTime $dateContratIEJ = null)
|
public function setDateContratIEJ(\DateTime $dateContratIEJ = null)
|
||||||
{
|
{
|
||||||
$this->dateContratIEJ = $dateContratIEJ;
|
$this->dateContratIEJ = $dateContratIEJ;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1206,7 +1367,6 @@ class CSPerson
|
|||||||
public function setTypeContratAide(?string $typeContratAide)
|
public function setTypeContratAide(?string $typeContratAide)
|
||||||
{
|
{
|
||||||
$this->typeContratAide = $typeContratAide;
|
$this->typeContratAide = $typeContratAide;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1221,4 +1381,7 @@ class CSPerson
|
|||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -72,7 +72,6 @@ class CV implements \Stringable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @Assert\Valid(traverse=true)
|
* @Assert\Valid(traverse=true)
|
||||||
*
|
|
||||||
* @var \Doctrine\Common\Collections\Collection<int, \Chill\JobBundle\Entity\CV\Formation>
|
* @var \Doctrine\Common\Collections\Collection<int, \Chill\JobBundle\Entity\CV\Formation>
|
||||||
*/
|
*/
|
||||||
#[ORM\OneToMany(targetEntity: CV\Formation::class, mappedBy: 'CV', cascade: ['persist', 'remove', 'detach'], orphanRemoval: true)]
|
#[ORM\OneToMany(targetEntity: CV\Formation::class, mappedBy: 'CV', cascade: ['persist', 'remove', 'detach'], orphanRemoval: true)]
|
||||||
@ -81,7 +80,6 @@ class CV implements \Stringable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @Assert\Valid(traverse=true)
|
* @Assert\Valid(traverse=true)
|
||||||
*
|
|
||||||
* @var \Doctrine\Common\Collections\Collection<int, \Chill\JobBundle\Entity\CV\Experience>
|
* @var \Doctrine\Common\Collections\Collection<int, \Chill\JobBundle\Entity\CV\Experience>
|
||||||
*/
|
*/
|
||||||
#[ORM\OneToMany(targetEntity: CV\Experience::class, mappedBy: 'CV', cascade: ['persist', 'remove', 'detach'], orphanRemoval: true)]
|
#[ORM\OneToMany(targetEntity: CV\Experience::class, mappedBy: 'CV', cascade: ['persist', 'remove', 'detach'], orphanRemoval: true)]
|
||||||
@ -110,6 +108,9 @@ class CV implements \Stringable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set reportDate.
|
* Set reportDate.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @return CV
|
||||||
*/
|
*/
|
||||||
public function setReportDate(\DateTime $reportDate): self
|
public function setReportDate(\DateTime $reportDate): self
|
||||||
{
|
{
|
||||||
@ -120,16 +121,21 @@ class CV implements \Stringable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get reportDate.
|
* Get reportDate.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getReportDate(): ?\DateTimeInterface
|
public function getReportDate(): \DateTimeInterface|null
|
||||||
{
|
{
|
||||||
return $this->reportDate;
|
return $this->reportDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set formationLevel.
|
* Set formationLevel.
|
||||||
|
*
|
||||||
|
* @param string|null $formationLevel
|
||||||
|
*
|
||||||
|
* @return CV
|
||||||
*/
|
*/
|
||||||
public function setFormationLevel(?string $formationLevel = null): self
|
public function setFormationLevel(string $formationLevel = null): self
|
||||||
{
|
{
|
||||||
$this->formationLevel = $formationLevel;
|
$this->formationLevel = $formationLevel;
|
||||||
|
|
||||||
@ -148,6 +154,9 @@ class CV implements \Stringable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set formationType.
|
* Set formationType.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @return CV
|
||||||
*/
|
*/
|
||||||
public function setFormationType(string $formationType): self
|
public function setFormationType(string $formationType): self
|
||||||
{
|
{
|
||||||
@ -158,6 +167,8 @@ class CV implements \Stringable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get formationType.
|
* Get formationType.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getFormationType(): ?string
|
public function getFormationType(): ?string
|
||||||
{
|
{
|
||||||
@ -167,7 +178,7 @@ class CV implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set spokenLanguages.
|
* Set spokenLanguages.
|
||||||
*
|
*
|
||||||
* @param mixed|null $spokenLanguages
|
* @return CV
|
||||||
*/
|
*/
|
||||||
public function setSpokenLanguages($spokenLanguages = null): self
|
public function setSpokenLanguages($spokenLanguages = null): self
|
||||||
{
|
{
|
||||||
@ -178,6 +189,7 @@ class CV implements \Stringable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get spokenLanguages.
|
* Get spokenLanguages.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getSpokenLanguages(): array
|
public function getSpokenLanguages(): array
|
||||||
{
|
{
|
||||||
@ -186,8 +198,12 @@ class CV implements \Stringable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set notes.
|
* Set notes.
|
||||||
|
*
|
||||||
|
* @param string|null $notes
|
||||||
|
*
|
||||||
|
* @return CV
|
||||||
*/
|
*/
|
||||||
public function setNotes(?string $notes = null): self
|
public function setNotes(string $notes = null): self
|
||||||
{
|
{
|
||||||
$this->notes = $notes;
|
$this->notes = $notes;
|
||||||
|
|
||||||
@ -196,6 +212,8 @@ class CV implements \Stringable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get notes.
|
* Get notes.
|
||||||
|
*
|
||||||
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
public function getNotes(): ?string
|
public function getNotes(): ?string
|
||||||
{
|
{
|
||||||
|
@ -69,6 +69,8 @@ class Experience
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get id.
|
* Get id.
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
*/
|
*/
|
||||||
public function getId(): ?int
|
public function getId(): ?int
|
||||||
{
|
{
|
||||||
@ -77,6 +79,9 @@ class Experience
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set poste.
|
* Set poste.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @return Experience
|
||||||
*/
|
*/
|
||||||
public function setPoste(?string $poste = null): self
|
public function setPoste(?string $poste = null): self
|
||||||
{
|
{
|
||||||
@ -87,6 +92,8 @@ class Experience
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get poste.
|
* Get poste.
|
||||||
|
*
|
||||||
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
public function getPoste(): ?string
|
public function getPoste(): ?string
|
||||||
{
|
{
|
||||||
@ -95,6 +102,9 @@ class Experience
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set structure.
|
* Set structure.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @return Experience
|
||||||
*/
|
*/
|
||||||
public function setStructure(?string $structure = null): self
|
public function setStructure(?string $structure = null): self
|
||||||
{
|
{
|
||||||
@ -105,6 +115,8 @@ class Experience
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get structure.
|
* Get structure.
|
||||||
|
*
|
||||||
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
public function getStructure(): ?string
|
public function getStructure(): ?string
|
||||||
{
|
{
|
||||||
@ -115,6 +127,8 @@ class Experience
|
|||||||
* Set startDate.
|
* Set startDate.
|
||||||
*
|
*
|
||||||
* @param \DateTime|null $startDate
|
* @param \DateTime|null $startDate
|
||||||
|
*
|
||||||
|
* @return Experience
|
||||||
*/
|
*/
|
||||||
public function setStartDate(?\DateTimeInterface $startDate = null): self
|
public function setStartDate(?\DateTimeInterface $startDate = null): self
|
||||||
{
|
{
|
||||||
@ -137,6 +151,8 @@ class Experience
|
|||||||
* Set endDate.
|
* Set endDate.
|
||||||
*
|
*
|
||||||
* @param \DateTime|null $endDate
|
* @param \DateTime|null $endDate
|
||||||
|
*
|
||||||
|
* @return Experience
|
||||||
*/
|
*/
|
||||||
public function setEndDate(?\DateTimeInterface $endDate = null): self
|
public function setEndDate(?\DateTimeInterface $endDate = null): self
|
||||||
{
|
{
|
||||||
@ -157,6 +173,10 @@ class Experience
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set contratType.
|
* Set contratType.
|
||||||
|
*
|
||||||
|
* @param string $contratType
|
||||||
|
*
|
||||||
|
* @return Experience
|
||||||
*/
|
*/
|
||||||
public function setContratType(?string $contratType): self
|
public function setContratType(?string $contratType): self
|
||||||
{
|
{
|
||||||
@ -167,6 +187,8 @@ class Experience
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get contratType.
|
* Get contratType.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getContratType(): ?string
|
public function getContratType(): ?string
|
||||||
{
|
{
|
||||||
@ -175,6 +197,10 @@ class Experience
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set notes.
|
* Set notes.
|
||||||
|
*
|
||||||
|
* @param string $notes
|
||||||
|
*
|
||||||
|
* @return Experience
|
||||||
*/
|
*/
|
||||||
public function setNotes(?string $notes): self
|
public function setNotes(?string $notes): self
|
||||||
{
|
{
|
||||||
@ -185,6 +211,8 @@ class Experience
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get notes.
|
* Get notes.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getNotes(): ?string
|
public function getNotes(): ?string
|
||||||
{
|
{
|
||||||
|
@ -77,6 +77,8 @@ class Formation
|
|||||||
/**
|
/**
|
||||||
* Set title.
|
* Set title.
|
||||||
*
|
*
|
||||||
|
* @param string $title
|
||||||
|
*
|
||||||
* @return Formation
|
* @return Formation
|
||||||
*/
|
*/
|
||||||
public function setTitle(?string $title)
|
public function setTitle(?string $title)
|
||||||
@ -166,6 +168,9 @@ class Formation
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set diplomaReconnue.
|
* Set diplomaReconnue.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @return Formation
|
||||||
*/
|
*/
|
||||||
public function setDiplomaReconnue(?string $diplomaReconnue = null): self
|
public function setDiplomaReconnue(?string $diplomaReconnue = null): self
|
||||||
{
|
{
|
||||||
@ -176,6 +181,8 @@ class Formation
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get diplomaReconnue.
|
* Get diplomaReconnue.
|
||||||
|
*
|
||||||
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
public function getDiplomaReconnue(): ?string
|
public function getDiplomaReconnue(): ?string
|
||||||
{
|
{
|
||||||
@ -184,6 +191,10 @@ class Formation
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set organisme.
|
* Set organisme.
|
||||||
|
*
|
||||||
|
* @param string $organisme
|
||||||
|
*
|
||||||
|
* @return Formation
|
||||||
*/
|
*/
|
||||||
public function setOrganisme(?string $organisme): self
|
public function setOrganisme(?string $organisme): self
|
||||||
{
|
{
|
||||||
@ -194,6 +205,8 @@ class Formation
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get organisme.
|
* Get organisme.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getOrganisme(): ?string
|
public function getOrganisme(): ?string
|
||||||
{
|
{
|
||||||
|
@ -79,6 +79,7 @@ class Frein implements HasPerson, \Stringable
|
|||||||
private ?string $notesEmploi = '';
|
private ?string $notesEmploi = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
* @ORM\ManytoOne(
|
* @ORM\ManytoOne(
|
||||||
* targetEntity="Chill\PersonBundle\Entity\Person")
|
* targetEntity="Chill\PersonBundle\Entity\Person")
|
||||||
*
|
*
|
||||||
@ -96,6 +97,7 @@ class Frein implements HasPerson, \Stringable
|
|||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function setReportDate(?\DateTimeInterface $reportDate): self
|
public function setReportDate(?\DateTimeInterface $reportDate): self
|
||||||
{
|
{
|
||||||
$this->reportDate = $reportDate;
|
$this->reportDate = $reportDate;
|
||||||
@ -103,6 +105,7 @@ class Frein implements HasPerson, \Stringable
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function getReportDate(): ?\DateTimeInterface
|
public function getReportDate(): ?\DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->reportDate;
|
return $this->reportDate;
|
||||||
|
@ -1,14 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Chill is a software for social workers
|
|
||||||
*
|
|
||||||
* For the full copyright and license information, please view
|
|
||||||
* the LICENSE file that was distributed with this source code.
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace Chill\JobBundle\Entity;
|
namespace Chill\JobBundle\Entity;
|
||||||
|
|
||||||
use Chill\JobBundle\Repository\ImmersionRepository;
|
use Chill\JobBundle\Repository\ImmersionRepository;
|
||||||
@ -21,7 +12,7 @@ use Symfony\Component\Validator\Constraints as Assert;
|
|||||||
use Chill\MainBundle\Validation\Constraint\PhonenumberConstraint;
|
use Chill\MainBundle\Validation\Constraint\PhonenumberConstraint;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Immersion.
|
* Immersion
|
||||||
*/
|
*/
|
||||||
#[ORM\Table(name: 'chill_csconnectes.immersion')]
|
#[ORM\Table(name: 'chill_csconnectes.immersion')]
|
||||||
#[ORM\Entity(repositoryClass: ImmersionRepository::class)]
|
#[ORM\Entity(repositoryClass: ImmersionRepository::class)]
|
||||||
@ -30,101 +21,136 @@ class Immersion implements \Stringable
|
|||||||
public const YES_NO_NSP = [
|
public const YES_NO_NSP = [
|
||||||
'oui',
|
'oui',
|
||||||
'non',
|
'non',
|
||||||
'nsp',
|
'nsp'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)]
|
#[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)]
|
||||||
#[ORM\Id]
|
#[ORM\Id]
|
||||||
#[ORM\GeneratedValue(strategy: 'AUTO')]
|
#[ORM\GeneratedValue(strategy: 'AUTO')]
|
||||||
private ?int $id = null;
|
private ?int $id = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
* @var Person
|
* @var Person
|
||||||
*
|
*
|
||||||
* @ORM\ManytoOne(
|
* @ORM\ManytoOne(
|
||||||
* targetEntity="Chill\PersonBundle\Entity\Person")
|
* targetEntity="Chill\PersonBundle\Entity\Person")
|
||||||
*
|
|
||||||
* @Assert\NotNull()
|
* @Assert\NotNull()
|
||||||
*/
|
*/
|
||||||
private $person;
|
private $person;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Assert\NotNull()
|
* @var ThirdParty|null
|
||||||
*
|
*
|
||||||
|
* @Assert\NotNull()
|
||||||
* @Assert\Length(min=2)
|
* @Assert\Length(min=2)
|
||||||
*/
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: ThirdParty::class)]
|
#[ORM\ManyToOne(targetEntity: ThirdParty::class)]
|
||||||
private ?ThirdParty $entreprise = null;
|
private ?\Chill\ThirdPartyBundle\Entity\ThirdParty $entreprise = null;
|
||||||
|
|
||||||
#[ORM\ManyToOne(targetEntity: User::class)]
|
|
||||||
private ?User $referent = null;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Assert\NotNull()
|
* @var User|null
|
||||||
|
*/
|
||||||
|
#[ORM\ManyToOne(targetEntity: User::class)]
|
||||||
|
private ?\Chill\MainBundle\Entity\User $referent = null;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string|null
|
||||||
*
|
*
|
||||||
|
* @Assert\NotNull()
|
||||||
* @Assert\Length(min=2)
|
* @Assert\Length(min=2)
|
||||||
*/
|
*/
|
||||||
#[ORM\Column(name: 'domaineActivite', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'domaineActivite', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $domaineActivite = null;
|
private ?string $domaineActivite = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Assert\NotNull()
|
* @var string|null
|
||||||
*
|
*
|
||||||
|
* @Assert\NotNull()
|
||||||
* @Assert\Length(min=2)
|
* @Assert\Length(min=2)
|
||||||
*/
|
*/
|
||||||
#[ORM\Column(name: 'tuteurName', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'tuteurName', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $tuteurName = null;
|
private ?string $tuteurName = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Assert\NotNull()
|
* @var string|null
|
||||||
*
|
*
|
||||||
|
* @Assert\NotNull()
|
||||||
* @Assert\Length(min=2)
|
* @Assert\Length(min=2)
|
||||||
*/
|
*/
|
||||||
#[ORM\Column(name: 'tuteurFonction', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'tuteurFonction', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $tuteurFonction = null;
|
private ?string $tuteurFonction = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Assert\NotNull()
|
* @var string|null
|
||||||
*
|
*
|
||||||
|
* @Assert\NotNull()
|
||||||
* @Assert\NotBlank()
|
* @Assert\NotBlank()
|
||||||
*/
|
*/
|
||||||
#[ORM\Column(name: 'tuteurPhoneNumber', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'tuteurPhoneNumber', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
#[PhonenumberConstraint(type: 'any')]
|
#[PhonenumberConstraint(type: 'any')]
|
||||||
private ?string $tuteurPhoneNumber = null;
|
private ?string $tuteurPhoneNumber = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'structureAccName', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'structureAccName', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $structureAccName = null;
|
private ?string $structureAccName = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'structureAccPhonenumber', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'structureAccPhonenumber', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
#[PhonenumberConstraint(type: 'any')]
|
#[PhonenumberConstraint(type: 'any')]
|
||||||
private ?string $structureAccPhonenumber = null;
|
private ?string $structureAccPhonenumber = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'structureAccEmail', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'structureAccEmail', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $structureAccEmail = null;
|
private ?string $structureAccEmail = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var Address|null
|
||||||
|
*/
|
||||||
#[ORM\ManyToOne(targetEntity: Address::class, cascade: ['persist', 'remove'])]
|
#[ORM\ManyToOne(targetEntity: Address::class, cascade: ['persist', 'remove'])]
|
||||||
private ?Address $structureAccAddress = null;
|
private ?\Chill\MainBundle\Entity\Address $structureAccAddress = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'posteDescriptif', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'posteDescriptif', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $posteDescriptif = null;
|
private ?string $posteDescriptif = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Assert\NotNull()
|
* @var string|null
|
||||||
*
|
*
|
||||||
|
* @Assert\NotNull()
|
||||||
* @Assert\Length(min=2)
|
* @Assert\Length(min=2)
|
||||||
*/
|
*/
|
||||||
#[ORM\Column(name: 'posteTitle', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'posteTitle', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $posteTitle = null;
|
private ?string $posteTitle = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Assert\NotNull()
|
* @var string|null
|
||||||
*
|
*
|
||||||
|
* @Assert\NotNull()
|
||||||
* @Assert\Length(min=2)
|
* @Assert\Length(min=2)
|
||||||
*/
|
*/
|
||||||
#[ORM\Column(name: 'posteLieu', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'posteLieu', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $posteLieu = null;
|
private ?string $posteLieu = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @var \DateTimeInterface|null
|
||||||
|
*
|
||||||
* @Assert\NotNull()
|
* @Assert\NotNull()
|
||||||
*/
|
*/
|
||||||
#[ORM\Column(name: 'debutDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
#[ORM\Column(name: 'debutDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||||
@ -139,8 +165,9 @@ class Immersion implements \Stringable
|
|||||||
private $duration;
|
private $duration;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Assert\NotNull()
|
* @var string|null
|
||||||
*
|
*
|
||||||
|
* @Assert\NotNull()
|
||||||
* @Assert\Length(min=2)
|
* @Assert\Length(min=2)
|
||||||
*/
|
*/
|
||||||
#[ORM\Column(name: 'horaire', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'horaire', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
@ -152,7 +179,7 @@ class Immersion implements \Stringable
|
|||||||
'acquerir_experience',
|
'acquerir_experience',
|
||||||
'acquerir_competences',
|
'acquerir_competences',
|
||||||
'initier_demarche_recrutement',
|
'initier_demarche_recrutement',
|
||||||
'autre',
|
'autre'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -161,9 +188,17 @@ class Immersion implements \Stringable
|
|||||||
#[ORM\Column(name: 'objectifs', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
#[ORM\Column(name: 'objectifs', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||||
private $objectifs;
|
private $objectifs;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'objectifsAutre', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'objectifsAutre', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $objectifsAutre = null;
|
private ?string $objectifsAutre = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'is_bilan_fullfilled', type: \Doctrine\DBAL\Types\Types::BOOLEAN, options: ['default' => false])]
|
#[ORM\Column(name: 'is_bilan_fullfilled', type: \Doctrine\DBAL\Types\Types::BOOLEAN, options: ['default' => false])]
|
||||||
private ?bool $isBilanFullfilled = false;
|
private ?bool $isBilanFullfilled = false;
|
||||||
|
|
||||||
@ -173,7 +208,7 @@ class Immersion implements \Stringable
|
|||||||
'respect_consigne_securite',
|
'respect_consigne_securite',
|
||||||
'relation_hierarchie',
|
'relation_hierarchie',
|
||||||
'capacite_adaptation',
|
'capacite_adaptation',
|
||||||
'motivation_travail',
|
'motivation_travail'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -182,105 +217,212 @@ class Immersion implements \Stringable
|
|||||||
#[ORM\Column(name: 'savoirEtre', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
#[ORM\Column(name: 'savoirEtre', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||||
private $savoirEtre;
|
private $savoirEtre;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'savoirEtreNote', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'savoirEtreNote', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $savoirEtreNote = null;
|
private ?string $savoirEtreNote = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'noteimmersion', type: \Doctrine\DBAL\Types\Types::TEXT)]
|
#[ORM\Column(name: 'noteimmersion', type: \Doctrine\DBAL\Types\Types::TEXT)]
|
||||||
private ?string $noteImmersion = '';
|
private ?string $noteImmersion = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'principalesActivites', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'principalesActivites', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $principalesActivites = null;
|
private ?string $principalesActivites = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'competencesAcquises', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'competencesAcquises', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $competencesAcquises = null;
|
private ?string $competencesAcquises = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'competencesADevelopper', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'competencesADevelopper', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $competencesADevelopper = null;
|
private ?string $competencesADevelopper = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'noteBilan', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'noteBilan', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $noteBilan = null;
|
private ?string $noteBilan = null;
|
||||||
|
|
||||||
public const PONCTUALITE_SALARIE = [
|
public const PONCTUALITE_SALARIE = [
|
||||||
'aucun',
|
'aucun',
|
||||||
'un',
|
'un',
|
||||||
'plusieurs',
|
'plusieurs'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'ponctualite_salarie', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'ponctualite_salarie', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $ponctualiteSalarie = null;
|
private ?string $ponctualiteSalarie = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'ponctualite_salarie_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'ponctualite_salarie_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $ponctualiteSalarieNote = null;
|
private ?string $ponctualiteSalarieNote = null;
|
||||||
|
|
||||||
public const ASSIDUITE = [
|
public const ASSIDUITE = [
|
||||||
'aucun',
|
'aucun',
|
||||||
'un',
|
'un',
|
||||||
'plusieurs',
|
'plusieurs'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'assiduite', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'assiduite', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $assiduite = null;
|
private ?string $assiduite = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'assiduite_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'assiduite_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $assiduiteNote = null;
|
private ?string $assiduiteNote = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'interet_activite', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'interet_activite', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $interetActivite = null;
|
private ?string $interetActivite = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'interet_activite_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'interet_activite_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $interetActiviteNote = null;
|
private ?string $interetActiviteNote = null;
|
||||||
|
|
||||||
public const INTEGRE_REGLE = [
|
public const INTEGRE_REGLE = [
|
||||||
'1_temps',
|
'1_temps',
|
||||||
'rapidement',
|
'rapidement',
|
||||||
'pas_encore',
|
'pas_encore'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'integre_regle', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'integre_regle', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $integreRegle = null;
|
private ?string $integreRegle = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'integre_regle_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'integre_regle_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $integreRegleNote = null;
|
private ?string $integreRegleNote = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'esprit_initiative', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'esprit_initiative', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $espritInitiative = null;
|
private ?string $espritInitiative = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'esprit_initiative_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'esprit_initiative_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $espritInitiativeNote = null;
|
private ?string $espritInitiativeNote = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'organisation', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'organisation', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $organisation = null;
|
private ?string $organisation = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'organisation_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'organisation_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $organisationNote = null;
|
private ?string $organisationNote = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'capacite_travail_equipe', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'capacite_travail_equipe', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $capaciteTravailEquipe = null;
|
private ?string $capaciteTravailEquipe = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'capacite_travail_equipe_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'capacite_travail_equipe_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $capaciteTravailEquipeNote = null;
|
private ?string $capaciteTravailEquipeNote = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'style_vestimentaire', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'style_vestimentaire', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $styleVestimentaire = null;
|
private ?string $styleVestimentaire = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'style_vestimentaire_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'style_vestimentaire_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $styleVestimentaireNote = null;
|
private ?string $styleVestimentaireNote = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'langage_prof', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'langage_prof', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $langageProf = null;
|
private ?string $langageProf = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'langage_prof_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'langage_prof_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $langageProfNote = null;
|
private ?string $langageProfNote = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'applique_consigne', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'applique_consigne', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $appliqueConsigne = null;
|
private ?string $appliqueConsigne = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'applique_consigne_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'applique_consigne_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $appliqueConsigneNote = null;
|
private ?string $appliqueConsigneNote = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'respect_hierarchie', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'respect_hierarchie', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $respectHierarchie = null;
|
private ?string $respectHierarchie = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @var string|null
|
||||||
|
*/
|
||||||
#[ORM\Column(name: 'respect_hierarchie_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'respect_hierarchie_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $respectHierarchieNote = null;
|
private ?string $respectHierarchieNote = null;
|
||||||
|
|
||||||
@ -297,6 +439,7 @@ class Immersion implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set domaineActivite.
|
* Set domaineActivite.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Immersion
|
* @return Immersion
|
||||||
*/
|
*/
|
||||||
public function setDomaineActivite(?string $domaineActivite = null)
|
public function setDomaineActivite(?string $domaineActivite = null)
|
||||||
@ -319,6 +462,7 @@ class Immersion implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set tuteurName.
|
* Set tuteurName.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Immersion
|
* @return Immersion
|
||||||
*/
|
*/
|
||||||
public function setTuteurName(?string $tuteurName = null)
|
public function setTuteurName(?string $tuteurName = null)
|
||||||
@ -341,6 +485,7 @@ class Immersion implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set tuteurFonction.
|
* Set tuteurFonction.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Immersion
|
* @return Immersion
|
||||||
*/
|
*/
|
||||||
public function setTuteurFonction(?string $tuteurFonction = null)
|
public function setTuteurFonction(?string $tuteurFonction = null)
|
||||||
@ -363,6 +508,7 @@ class Immersion implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set tuteurPhoneNumber.
|
* Set tuteurPhoneNumber.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Immersion
|
* @return Immersion
|
||||||
*/
|
*/
|
||||||
public function setTuteurPhoneNumber(?string $tuteurPhoneNumber = null)
|
public function setTuteurPhoneNumber(?string $tuteurPhoneNumber = null)
|
||||||
@ -385,6 +531,7 @@ class Immersion implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set structureAccName.
|
* Set structureAccName.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Immersion
|
* @return Immersion
|
||||||
*/
|
*/
|
||||||
public function setStructureAccName(?string $structureAccName = null)
|
public function setStructureAccName(?string $structureAccName = null)
|
||||||
@ -407,6 +554,8 @@ class Immersion implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set structureAccPhonenumber.
|
* Set structureAccPhonenumber.
|
||||||
*
|
*
|
||||||
|
* @param string $structureAccPhonenumber
|
||||||
|
*
|
||||||
* @return Immersion
|
* @return Immersion
|
||||||
*/
|
*/
|
||||||
public function setStructureAccPhonenumber(?string $structureAccPhonenumber)
|
public function setStructureAccPhonenumber(?string $structureAccPhonenumber)
|
||||||
@ -429,6 +578,7 @@ class Immersion implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set posteDescriptif.
|
* Set posteDescriptif.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Immersion
|
* @return Immersion
|
||||||
*/
|
*/
|
||||||
public function setPosteDescriptif(?string $posteDescriptif = null)
|
public function setPosteDescriptif(?string $posteDescriptif = null)
|
||||||
@ -451,6 +601,7 @@ class Immersion implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set posteTitle.
|
* Set posteTitle.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Immersion
|
* @return Immersion
|
||||||
*/
|
*/
|
||||||
public function setPosteTitle(?string $posteTitle = null)
|
public function setPosteTitle(?string $posteTitle = null)
|
||||||
@ -473,6 +624,7 @@ class Immersion implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set posteLieu.
|
* Set posteLieu.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Immersion
|
* @return Immersion
|
||||||
*/
|
*/
|
||||||
public function setPosteLieu(?string $posteLieu = null)
|
public function setPosteLieu(?string $posteLieu = null)
|
||||||
@ -550,6 +702,7 @@ class Immersion implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set horaire.
|
* Set horaire.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Immersion
|
* @return Immersion
|
||||||
*/
|
*/
|
||||||
public function setHoraire(?string $horaire = null)
|
public function setHoraire(?string $horaire = null)
|
||||||
@ -656,6 +809,7 @@ class Immersion implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set principalesActivites.
|
* Set principalesActivites.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Immersion
|
* @return Immersion
|
||||||
*/
|
*/
|
||||||
public function setPrincipalesActivites(?string $principalesActivites = null)
|
public function setPrincipalesActivites(?string $principalesActivites = null)
|
||||||
@ -678,6 +832,7 @@ class Immersion implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set competencesAcquises.
|
* Set competencesAcquises.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Immersion
|
* @return Immersion
|
||||||
*/
|
*/
|
||||||
public function setCompetencesAcquises(?string $competencesAcquises = null)
|
public function setCompetencesAcquises(?string $competencesAcquises = null)
|
||||||
@ -700,6 +855,7 @@ class Immersion implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set competencesADevelopper.
|
* Set competencesADevelopper.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Immersion
|
* @return Immersion
|
||||||
*/
|
*/
|
||||||
public function setCompetencesADevelopper(?string $competencesADevelopper = null)
|
public function setCompetencesADevelopper(?string $competencesADevelopper = null)
|
||||||
@ -722,6 +878,7 @@ class Immersion implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set noteBilan.
|
* Set noteBilan.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return Immersion
|
* @return Immersion
|
||||||
*/
|
*/
|
||||||
public function setNoteBilan(?string $noteBilan = null)
|
public function setNoteBilan(?string $noteBilan = null)
|
||||||
@ -759,21 +916,18 @@ class Immersion implements \Stringable
|
|||||||
public function setPerson(Person $person)
|
public function setPerson(Person $person)
|
||||||
{
|
{
|
||||||
$this->person = $person;
|
$this->person = $person;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setEntreprise(ThirdParty $entreprise)
|
public function setEntreprise(ThirdParty $entreprise)
|
||||||
{
|
{
|
||||||
$this->entreprise = $entreprise;
|
$this->entreprise = $entreprise;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setReferent(User $referent)
|
public function setReferent(User $referent)
|
||||||
{
|
{
|
||||||
$this->referent = $referent;
|
$this->referent = $referent;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -790,14 +944,12 @@ class Immersion implements \Stringable
|
|||||||
public function setStructureAccEmail(?string $structureAccEmail)
|
public function setStructureAccEmail(?string $structureAccEmail)
|
||||||
{
|
{
|
||||||
$this->structureAccEmail = $structureAccEmail;
|
$this->structureAccEmail = $structureAccEmail;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setStructureAccAddress(Address $structureAccAddress)
|
public function setStructureAccAddress(Address $structureAccAddress)
|
||||||
{
|
{
|
||||||
$this->structureAccAddress = $structureAccAddress;
|
$this->structureAccAddress = $structureAccAddress;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -814,14 +966,12 @@ class Immersion implements \Stringable
|
|||||||
public function setIsBilanFullfilled(?bool $isBilanFullfilled)
|
public function setIsBilanFullfilled(?bool $isBilanFullfilled)
|
||||||
{
|
{
|
||||||
$this->isBilanFullfilled = $isBilanFullfilled;
|
$this->isBilanFullfilled = $isBilanFullfilled;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setSavoirEtreNote(?string $savoirEtreNote)
|
public function setSavoirEtreNote(?string $savoirEtreNote)
|
||||||
{
|
{
|
||||||
$this->savoirEtreNote = $savoirEtreNote;
|
$this->savoirEtreNote = $savoirEtreNote;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -938,154 +1088,132 @@ class Immersion implements \Stringable
|
|||||||
public function setPonctualiteSalarie(?string $ponctualiteSalarie)
|
public function setPonctualiteSalarie(?string $ponctualiteSalarie)
|
||||||
{
|
{
|
||||||
$this->ponctualiteSalarie = $ponctualiteSalarie;
|
$this->ponctualiteSalarie = $ponctualiteSalarie;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setPonctualiteSalarieNote(?string $ponctualiteSalarieNote)
|
public function setPonctualiteSalarieNote(?string $ponctualiteSalarieNote)
|
||||||
{
|
{
|
||||||
$this->ponctualiteSalarieNote = $ponctualiteSalarieNote;
|
$this->ponctualiteSalarieNote = $ponctualiteSalarieNote;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setAssiduite(?string $assiduite)
|
public function setAssiduite(?string $assiduite)
|
||||||
{
|
{
|
||||||
$this->assiduite = $assiduite;
|
$this->assiduite = $assiduite;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setAssiduiteNote(?string $assiduiteNote)
|
public function setAssiduiteNote(?string $assiduiteNote)
|
||||||
{
|
{
|
||||||
$this->assiduiteNote = $assiduiteNote;
|
$this->assiduiteNote = $assiduiteNote;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setInteretActivite(?string $interetActivite)
|
public function setInteretActivite(?string $interetActivite)
|
||||||
{
|
{
|
||||||
$this->interetActivite = $interetActivite;
|
$this->interetActivite = $interetActivite;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setInteretActiviteNote(?string $interetActiviteNote)
|
public function setInteretActiviteNote(?string $interetActiviteNote)
|
||||||
{
|
{
|
||||||
$this->interetActiviteNote = $interetActiviteNote;
|
$this->interetActiviteNote = $interetActiviteNote;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setIntegreRegle(?string $integreRegle)
|
public function setIntegreRegle(?string $integreRegle)
|
||||||
{
|
{
|
||||||
$this->integreRegle = $integreRegle;
|
$this->integreRegle = $integreRegle;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setIntegreRegleNote(?string $integreRegleNote)
|
public function setIntegreRegleNote(?string $integreRegleNote)
|
||||||
{
|
{
|
||||||
$this->integreRegleNote = $integreRegleNote;
|
$this->integreRegleNote = $integreRegleNote;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setEspritInitiative(?string $espritInitiative)
|
public function setEspritInitiative(?string $espritInitiative)
|
||||||
{
|
{
|
||||||
$this->espritInitiative = $espritInitiative;
|
$this->espritInitiative = $espritInitiative;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setEspritInitiativeNote(?string $espritInitiativeNote)
|
public function setEspritInitiativeNote(?string $espritInitiativeNote)
|
||||||
{
|
{
|
||||||
$this->espritInitiativeNote = $espritInitiativeNote;
|
$this->espritInitiativeNote = $espritInitiativeNote;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setOrganisation(?string $organisation)
|
public function setOrganisation(?string $organisation)
|
||||||
{
|
{
|
||||||
$this->organisation = $organisation;
|
$this->organisation = $organisation;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setOrganisationNote(?string $organisationNote)
|
public function setOrganisationNote(?string $organisationNote)
|
||||||
{
|
{
|
||||||
$this->organisationNote = $organisationNote;
|
$this->organisationNote = $organisationNote;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCapaciteTravailEquipe(?string $capaciteTravailEquipe)
|
public function setCapaciteTravailEquipe(?string $capaciteTravailEquipe)
|
||||||
{
|
{
|
||||||
$this->capaciteTravailEquipe = $capaciteTravailEquipe;
|
$this->capaciteTravailEquipe = $capaciteTravailEquipe;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setCapaciteTravailEquipeNote(?string $capaciteTravailEquipeNote)
|
public function setCapaciteTravailEquipeNote(?string $capaciteTravailEquipeNote)
|
||||||
{
|
{
|
||||||
$this->capaciteTravailEquipeNote = $capaciteTravailEquipeNote;
|
$this->capaciteTravailEquipeNote = $capaciteTravailEquipeNote;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setStyleVestimentaire(?string $styleVestimentaire)
|
public function setStyleVestimentaire(?string $styleVestimentaire)
|
||||||
{
|
{
|
||||||
$this->styleVestimentaire = $styleVestimentaire;
|
$this->styleVestimentaire = $styleVestimentaire;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setStyleVestimentaireNote(?string $styleVestimentaireNote)
|
public function setStyleVestimentaireNote(?string $styleVestimentaireNote)
|
||||||
{
|
{
|
||||||
$this->styleVestimentaireNote = $styleVestimentaireNote;
|
$this->styleVestimentaireNote = $styleVestimentaireNote;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setLangageProf(?string $langageProf)
|
public function setLangageProf(?string $langageProf)
|
||||||
{
|
{
|
||||||
$this->langageProf = $langageProf;
|
$this->langageProf = $langageProf;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setLangageProfNote(?string $langageProfNote)
|
public function setLangageProfNote(?string $langageProfNote)
|
||||||
{
|
{
|
||||||
$this->langageProfNote = $langageProfNote;
|
$this->langageProfNote = $langageProfNote;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setAppliqueConsigne(?string $appliqueConsigne)
|
public function setAppliqueConsigne(?string $appliqueConsigne)
|
||||||
{
|
{
|
||||||
$this->appliqueConsigne = $appliqueConsigne;
|
$this->appliqueConsigne = $appliqueConsigne;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setAppliqueConsigneNote(?string $appliqueConsigneNote)
|
public function setAppliqueConsigneNote(?string $appliqueConsigneNote)
|
||||||
{
|
{
|
||||||
$this->appliqueConsigneNote = $appliqueConsigneNote;
|
$this->appliqueConsigneNote = $appliqueConsigneNote;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setRespectHierarchie(?string $respectHierarchie)
|
public function setRespectHierarchie(?string $respectHierarchie)
|
||||||
{
|
{
|
||||||
$this->respectHierarchie = $respectHierarchie;
|
$this->respectHierarchie = $respectHierarchie;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setRespectHierarchieNote(?string $respectHierarchieNote)
|
public function setRespectHierarchieNote(?string $respectHierarchieNote)
|
||||||
{
|
{
|
||||||
$this->respectHierarchieNote = $respectHierarchieNote;
|
$this->respectHierarchieNote = $respectHierarchieNote;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1093,4 +1221,5 @@ class Immersion implements \Stringable
|
|||||||
{
|
{
|
||||||
return 'Rapport "immersion" de '.$this->getPerson();
|
return 'Rapport "immersion" de '.$this->getPerson();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ class ProjetProfessionnel implements \Stringable
|
|||||||
#[ORM\ManyToMany(targetEntity: Appellation::class, cascade: ['persist'])]
|
#[ORM\ManyToMany(targetEntity: Appellation::class, cascade: ['persist'])]
|
||||||
private Collection $souhait;
|
private Collection $souhait;
|
||||||
|
|
||||||
#[ORM\Column(name: 'domaineActiviteSouhait', type: Types::TEXT, nullable: true)]
|
#[ORM\Column(name: 'domaineActiviteSouhait', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||||
private ?string $domaineActiviteSouhait = null;
|
private ?string $domaineActiviteSouhait = null;
|
||||||
|
|
||||||
public const TYPE_CONTRAT = [
|
public const TYPE_CONTRAT = [
|
||||||
@ -156,7 +156,6 @@ class ProjetProfessionnel implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set typeContrat.
|
* Set typeContrat.
|
||||||
*
|
*
|
||||||
* @param mixed|null $typeContrat
|
|
||||||
*
|
*
|
||||||
* @return ProjetProfessionnel
|
* @return ProjetProfessionnel
|
||||||
*/
|
*/
|
||||||
@ -169,6 +168,7 @@ class ProjetProfessionnel implements \Stringable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get typeContrat.
|
* Get typeContrat.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getTypeContrat()
|
public function getTypeContrat()
|
||||||
{
|
{
|
||||||
@ -200,7 +200,6 @@ class ProjetProfessionnel implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set volumeHoraire.
|
* Set volumeHoraire.
|
||||||
*
|
*
|
||||||
* @param mixed|null $volumeHoraire
|
|
||||||
*
|
*
|
||||||
* @return ProjetProfessionnel
|
* @return ProjetProfessionnel
|
||||||
*/
|
*/
|
||||||
@ -213,6 +212,7 @@ class ProjetProfessionnel implements \Stringable
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get volumeHoraire.
|
* Get volumeHoraire.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getVolumeHoraire()
|
public function getVolumeHoraire()
|
||||||
{
|
{
|
||||||
@ -222,6 +222,7 @@ class ProjetProfessionnel implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set volumeHoraireNotes.
|
* Set volumeHoraireNotes.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return ProjetProfessionnel
|
* @return ProjetProfessionnel
|
||||||
*/
|
*/
|
||||||
public function setVolumeHoraireNotes(?string $volumeHoraireNotes = null)
|
public function setVolumeHoraireNotes(?string $volumeHoraireNotes = null)
|
||||||
@ -244,6 +245,7 @@ class ProjetProfessionnel implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set idee.
|
* Set idee.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return ProjetProfessionnel
|
* @return ProjetProfessionnel
|
||||||
*/
|
*/
|
||||||
public function setIdee(?string $idee = null)
|
public function setIdee(?string $idee = null)
|
||||||
@ -266,6 +268,7 @@ class ProjetProfessionnel implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set enCoursConstruction.
|
* Set enCoursConstruction.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return ProjetProfessionnel
|
* @return ProjetProfessionnel
|
||||||
*/
|
*/
|
||||||
public function setEnCoursConstruction(?string $enCoursConstruction = null)
|
public function setEnCoursConstruction(?string $enCoursConstruction = null)
|
||||||
@ -288,6 +291,7 @@ class ProjetProfessionnel implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set valideNotes.
|
* Set valideNotes.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return ProjetProfessionnel
|
* @return ProjetProfessionnel
|
||||||
*/
|
*/
|
||||||
public function setValideNotes(?string $valideNotes = null)
|
public function setValideNotes(?string $valideNotes = null)
|
||||||
@ -310,6 +314,7 @@ class ProjetProfessionnel implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set projetProfessionnelNote.
|
* Set projetProfessionnelNote.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return ProjetProfessionnel
|
* @return ProjetProfessionnel
|
||||||
*/
|
*/
|
||||||
public function setProjetProfessionnelNote(?string $projetProfessionnelNote = null)
|
public function setProjetProfessionnelNote(?string $projetProfessionnelNote = null)
|
||||||
|
@ -47,6 +47,8 @@ class Appellation implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set code.
|
* Set code.
|
||||||
*
|
*
|
||||||
|
* @param string $code
|
||||||
|
*
|
||||||
* @return Appellation
|
* @return Appellation
|
||||||
*/
|
*/
|
||||||
public function setCode(?string $code)
|
public function setCode(?string $code)
|
||||||
@ -69,6 +71,8 @@ class Appellation implements \Stringable
|
|||||||
/**
|
/**
|
||||||
* Set libelle.
|
* Set libelle.
|
||||||
*
|
*
|
||||||
|
* @param string $libelle
|
||||||
|
*
|
||||||
* @return Appellation
|
* @return Appellation
|
||||||
*/
|
*/
|
||||||
public function setLibelle(?string $libelle)
|
public function setLibelle(?string $libelle)
|
||||||
|
@ -41,7 +41,7 @@ class Metier
|
|||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->appellations = new ArrayCollection();
|
$this->appellations = new ArrayCollection();
|
||||||
// $this->appellation = new ArrayCollection();
|
// $this->appellation = new ArrayCollection();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -57,6 +57,8 @@ class Metier
|
|||||||
/**
|
/**
|
||||||
* Set libelle.
|
* Set libelle.
|
||||||
*
|
*
|
||||||
|
* @param string $libelle
|
||||||
|
*
|
||||||
* @return Metier
|
* @return Metier
|
||||||
*/
|
*/
|
||||||
public function setLibelle(?string $libelle)
|
public function setLibelle(?string $libelle)
|
||||||
@ -79,6 +81,8 @@ class Metier
|
|||||||
/**
|
/**
|
||||||
* Set code.
|
* Set code.
|
||||||
*
|
*
|
||||||
|
* @param string $code
|
||||||
|
*
|
||||||
* @return Metier
|
* @return Metier
|
||||||
*/
|
*/
|
||||||
public function setCode(?string $code)
|
public function setCode(?string $code)
|
||||||
|
@ -237,7 +237,7 @@ class ListCSPerson extends ListPerson implements ListInterface, ExportElementVal
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'type_contrat__label':
|
case 'type_contrat__label':
|
||||||
if ('' !== $value) {
|
if ($value !== '') {
|
||||||
$res[$key] = ($f) ? $value : null;
|
$res[$key] = ($f) ? $value : null;
|
||||||
} else {
|
} else {
|
||||||
$res[$key] = null;
|
$res[$key] = null;
|
||||||
@ -340,6 +340,7 @@ class ListCSPerson extends ListPerson implements ListInterface, ExportElementVal
|
|||||||
/**
|
/**
|
||||||
* @param \Doctrine\ORM\NativeQuery|\Doctrine\ORM\QueryBuilder $qb
|
* @param \Doctrine\ORM\NativeQuery|\Doctrine\ORM\QueryBuilder $qb
|
||||||
* @param mixed[] $data
|
* @param mixed[] $data
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getResult($qb, $data)
|
public function getResult($qb, $data)
|
||||||
{
|
{
|
||||||
@ -380,6 +381,7 @@ class ListCSPerson extends ListPerson implements ListInterface, ExportElementVal
|
|||||||
* @param string $key The column key, as added in the query
|
* @param string $key The column key, as added in the query
|
||||||
* @param mixed[] $values The values from the result. if there are duplicates, those might be given twice. Example: array('FR', 'BE', 'CZ', 'FR', 'BE', 'FR')
|
* @param mixed[] $values The values from the result. if there are duplicates, those might be given twice. Example: array('FR', 'BE', 'CZ', 'FR', 'BE', 'FR')
|
||||||
* @param mixed $data The data from the export's form (as defined in `buildForm`
|
* @param mixed $data The data from the export's form (as defined in `buildForm`
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getLabels($key, array $values, $data)
|
public function getLabels($key, array $values, $data)
|
||||||
{
|
{
|
||||||
@ -399,7 +401,7 @@ class ListCSPerson extends ListPerson implements ListInterface, ExportElementVal
|
|||||||
str_replace('__', '.', $key)
|
str_replace('__', '.', $key)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if ('' === $value) {
|
if ($value === '') {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
$arr = [];
|
$arr = [];
|
||||||
@ -416,7 +418,7 @@ class ListCSPerson extends ListPerson implements ListInterface, ExportElementVal
|
|||||||
str_replace('__', '.', $key)
|
str_replace('__', '.', $key)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if ('' === $value) {
|
if ($value === '') {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
$this->translationCompatKey($value, $key);
|
$this->translationCompatKey($value, $key);
|
||||||
@ -427,7 +429,7 @@ class ListCSPerson extends ListPerson implements ListInterface, ExportElementVal
|
|||||||
if ('_header' === $value) {
|
if ('_header' === $value) {
|
||||||
return $key;
|
return $key;
|
||||||
}
|
}
|
||||||
if ('' === $value) {
|
if ($value === '') {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -455,7 +457,7 @@ class ListCSPerson extends ListPerson implements ListInterface, ExportElementVal
|
|||||||
if ('_header' === $value) {
|
if ('_header' === $value) {
|
||||||
return $key;
|
return $key;
|
||||||
}
|
}
|
||||||
if ('' === $value) {
|
if ($value === '') {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -238,6 +238,7 @@ class ListCV implements ListInterface, ExportElementValidatedInterface
|
|||||||
*
|
*
|
||||||
* @param QueryBuilder|\Doctrine\ORM\NativeQuery $qb
|
* @param QueryBuilder|\Doctrine\ORM\NativeQuery $qb
|
||||||
* @param mixed[] $data the data from the export's form (added by self::buildForm)
|
* @param mixed[] $data the data from the export's form (added by self::buildForm)
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getResult($qb, $data)
|
public function getResult($qb, $data)
|
||||||
{
|
{
|
||||||
@ -311,6 +312,7 @@ class ListCV implements ListInterface, ExportElementValidatedInterface
|
|||||||
* @param string $key The column key, as added in the query
|
* @param string $key The column key, as added in the query
|
||||||
* @param mixed[] $values The values from the result. if there are duplicates, those might be given twice. Example: array('FR', 'BE', 'CZ', 'FR', 'BE', 'FR')
|
* @param mixed[] $values The values from the result. if there are duplicates, those might be given twice. Example: array('FR', 'BE', 'CZ', 'FR', 'BE', 'FR')
|
||||||
* @param mixed $data The data from the export's form (as defined in `buildForm`
|
* @param mixed $data The data from the export's form (as defined in `buildForm`
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getLabels($key, array $values, $data)
|
public function getLabels($key, array $values, $data)
|
||||||
{
|
{
|
||||||
|
@ -204,6 +204,7 @@ class ListFrein implements ListInterface, ExportElementValidatedInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the required Role to execute the Export.
|
* Return the required Role to execute the Export.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function requiredRole(): string
|
public function requiredRole(): string
|
||||||
{
|
{
|
||||||
@ -331,6 +332,7 @@ class ListFrein implements ListInterface, ExportElementValidatedInterface
|
|||||||
*
|
*
|
||||||
* @param QueryBuilder|\Doctrine\ORM\NativeQuery $qb
|
* @param QueryBuilder|\Doctrine\ORM\NativeQuery $qb
|
||||||
* @param mixed[] $data the data from the export's form (added by self::buildForm)
|
* @param mixed[] $data the data from the export's form (added by self::buildForm)
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getResult($qb, $data)
|
public function getResult($qb, $data)
|
||||||
{
|
{
|
||||||
@ -406,6 +408,7 @@ class ListFrein implements ListInterface, ExportElementValidatedInterface
|
|||||||
* @param string $key The column key, as added in the query
|
* @param string $key The column key, as added in the query
|
||||||
* @param mixed[] $values The values from the result. if there are duplicates, those might be given twice. Example: array('FR', 'BE', 'CZ', 'FR', 'BE', 'FR')
|
* @param mixed[] $values The values from the result. if there are duplicates, those might be given twice. Example: array('FR', 'BE', 'CZ', 'FR', 'BE', 'FR')
|
||||||
* @param mixed $data The data from the export's form (as defined in `buildForm`
|
* @param mixed $data The data from the export's form (as defined in `buildForm`
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getLabels($key, array $values, $data)
|
public function getLabels($key, array $values, $data)
|
||||||
{
|
{
|
||||||
|
@ -210,6 +210,7 @@ class ListProjetProfessionnel implements ListInterface, ExportElementValidatedIn
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the required Role to execute the Export.
|
* Return the required Role to execute the Export.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function requiredRole(): string
|
public function requiredRole(): string
|
||||||
{
|
{
|
||||||
@ -369,6 +370,7 @@ class ListProjetProfessionnel implements ListInterface, ExportElementValidatedIn
|
|||||||
*
|
*
|
||||||
* @param QueryBuilder|\Doctrine\ORM\NativeQuery $qb
|
* @param QueryBuilder|\Doctrine\ORM\NativeQuery $qb
|
||||||
* @param mixed[] $data the data from the export's form (added by self::buildForm)
|
* @param mixed[] $data the data from the export's form (added by self::buildForm)
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getResult($qb, $data)
|
public function getResult($qb, $data)
|
||||||
{
|
{
|
||||||
@ -444,6 +446,7 @@ class ListProjetProfessionnel implements ListInterface, ExportElementValidatedIn
|
|||||||
* @param string $key The column key, as added in the query
|
* @param string $key The column key, as added in the query
|
||||||
* @param mixed[] $values The values from the result. if there are duplicates, those might be given twice. Example: array('FR', 'BE', 'CZ', 'FR', 'BE', 'FR')
|
* @param mixed[] $values The values from the result. if there are duplicates, those might be given twice. Example: array('FR', 'BE', 'CZ', 'FR', 'BE', 'FR')
|
||||||
* @param mixed $data The data from the export's form (as defined in `buildForm`
|
* @param mixed $data The data from the export's form (as defined in `buildForm`
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getLabels($key, array $values, $data)
|
public function getLabels($key, array $values, $data)
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,7 @@ class MenuBuilder implements LocalMenuBuilderInterface
|
|||||||
/** @var \Chill\PersonBundle\Entity\Person $person */
|
/** @var \Chill\PersonBundle\Entity\Person $person */
|
||||||
$person = $parameters['person'];
|
$person = $parameters['person'];
|
||||||
|
|
||||||
// if ($this->authorizationChecker->isGranted(CSConnectesVoter::REPORT_NEW, $person)) {
|
// if ($this->authorizationChecker->isGranted(CSConnectesVoter::REPORT_NEW, $person)) {
|
||||||
$menu->addChild('Situation personnelle', [
|
$menu->addChild('Situation personnelle', [
|
||||||
'route' => 'chill_job_personal_situation_view',
|
'route' => 'chill_job_personal_situation_view',
|
||||||
'routeParameters' => [
|
'routeParameters' => [
|
||||||
@ -52,7 +52,7 @@ class MenuBuilder implements LocalMenuBuilderInterface
|
|||||||
->setExtras([
|
->setExtras([
|
||||||
'order' => 51,
|
'order' => 51,
|
||||||
]);
|
]);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
$menu->addChild('Emploi', [
|
$menu->addChild('Emploi', [
|
||||||
'route' => 'chill_job_report_index',
|
'route' => 'chill_job_report_index',
|
||||||
|
@ -86,6 +86,7 @@ class ExportsVoter extends AbstractChillVoter implements ProvideRoleHierarchyInt
|
|||||||
* ```
|
* ```
|
||||||
* [ 'Title' => [ 'CHILL_FOO_SEE', 'CHILL_FOO_UPDATE' ] ]
|
* [ 'Title' => [ 'CHILL_FOO_SEE', 'CHILL_FOO_UPDATE' ] ]
|
||||||
* ```
|
* ```
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
public function getRolesWithHierarchy(): array
|
public function getRolesWithHierarchy(): array
|
||||||
{
|
{
|
||||||
|
@ -446,7 +446,7 @@ class Address implements TrackCreationInterface, TrackUpdateInterface
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setLinkedToThirdParty(?ThirdParty $linkedToThirdParty): self
|
public function setLinkedToThirdParty(?\Chill\ThirdPartyBundle\Entity\ThirdParty $linkedToThirdParty): self
|
||||||
{
|
{
|
||||||
$this->linkedToThirdParty = $linkedToThirdParty;
|
$this->linkedToThirdParty = $linkedToThirdParty;
|
||||||
|
|
||||||
|
@ -61,6 +61,9 @@ class CommentEmbeddable
|
|||||||
$this->date = $date;
|
$this->date = $date;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int $userId
|
||||||
|
*/
|
||||||
public function setUserId(?int $userId)
|
public function setUserId(?int $userId)
|
||||||
{
|
{
|
||||||
$this->userId = $userId;
|
$this->userId = $userId;
|
||||||
|
@ -59,6 +59,8 @@ class Language
|
|||||||
/**
|
/**
|
||||||
* Set id.
|
* Set id.
|
||||||
*
|
*
|
||||||
|
* @param string $id
|
||||||
|
*
|
||||||
* @return Language
|
* @return Language
|
||||||
*/
|
*/
|
||||||
public function setId(?string $id)
|
public function setId(?string $id)
|
||||||
|
@ -157,6 +157,8 @@ class PostalCode implements TrackUpdateInterface, TrackCreationInterface
|
|||||||
/**
|
/**
|
||||||
* Set code.
|
* Set code.
|
||||||
*
|
*
|
||||||
|
* @param string $code
|
||||||
|
*
|
||||||
* @return PostalCode
|
* @return PostalCode
|
||||||
*/
|
*/
|
||||||
public function setCode(?string $code)
|
public function setCode(?string $code)
|
||||||
@ -181,6 +183,8 @@ class PostalCode implements TrackUpdateInterface, TrackCreationInterface
|
|||||||
/**
|
/**
|
||||||
* Set name.
|
* Set name.
|
||||||
*
|
*
|
||||||
|
* @param string $name
|
||||||
|
*
|
||||||
* @return PostalCode
|
* @return PostalCode
|
||||||
*/
|
*/
|
||||||
public function setName(?string $name)
|
public function setName(?string $name)
|
||||||
@ -193,6 +197,7 @@ class PostalCode implements TrackUpdateInterface, TrackCreationInterface
|
|||||||
/**
|
/**
|
||||||
* Set origin.
|
* Set origin.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return PostalCode
|
* @return PostalCode
|
||||||
*/
|
*/
|
||||||
public function setOrigin(int $origin)
|
public function setOrigin(int $origin)
|
||||||
|
@ -182,6 +182,7 @@ class ClosingMotive
|
|||||||
/**
|
/**
|
||||||
* Set name.
|
* Set name.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return ClosingMotive
|
* @return ClosingMotive
|
||||||
*/
|
*/
|
||||||
public function setName(array $name)
|
public function setName(array $name)
|
||||||
|
@ -1409,6 +1409,9 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param \DateTime $birthdate
|
||||||
|
*/
|
||||||
public function setBirthdate(?\DateTime $birthdate): self
|
public function setBirthdate(?\DateTime $birthdate): self
|
||||||
{
|
{
|
||||||
$this->birthdate = $birthdate;
|
$this->birthdate = $birthdate;
|
||||||
|
@ -154,6 +154,8 @@ class Report implements HasCenterInterface, HasScopeInterface
|
|||||||
/**
|
/**
|
||||||
* Set date.
|
* Set date.
|
||||||
*
|
*
|
||||||
|
* @param \DateTime $date
|
||||||
|
*
|
||||||
* @return Report
|
* @return Report
|
||||||
*/
|
*/
|
||||||
public function setDate(?\DateTime $date)
|
public function setDate(?\DateTime $date)
|
||||||
|
@ -112,6 +112,8 @@ class RecurringTask extends AbstractTask
|
|||||||
/**
|
/**
|
||||||
* Set firstOccurenceEndDate.
|
* Set firstOccurenceEndDate.
|
||||||
*
|
*
|
||||||
|
* @param \DateTime $firstOccurenceEndDate
|
||||||
|
*
|
||||||
* @return RecurringTask
|
* @return RecurringTask
|
||||||
*/
|
*/
|
||||||
public function setFirstOccurenceEndDate(?\DateTime $firstOccurenceEndDate)
|
public function setFirstOccurenceEndDate(?\DateTime $firstOccurenceEndDate)
|
||||||
@ -124,6 +126,8 @@ class RecurringTask extends AbstractTask
|
|||||||
/**
|
/**
|
||||||
* Set lastOccurenceEndDate.
|
* Set lastOccurenceEndDate.
|
||||||
*
|
*
|
||||||
|
* @param \DateTime $lastOccurenceEndDate
|
||||||
|
*
|
||||||
* @return RecurringTask
|
* @return RecurringTask
|
||||||
*/
|
*/
|
||||||
public function setLastOccurenceEndDate(?\DateTime $lastOccurenceEndDate)
|
public function setLastOccurenceEndDate(?\DateTime $lastOccurenceEndDate)
|
||||||
@ -136,6 +140,8 @@ class RecurringTask extends AbstractTask
|
|||||||
/**
|
/**
|
||||||
* Set occurenceFrequency.
|
* Set occurenceFrequency.
|
||||||
*
|
*
|
||||||
|
* @param string $occurenceFrequency
|
||||||
|
*
|
||||||
* @return RecurringTask
|
* @return RecurringTask
|
||||||
*/
|
*/
|
||||||
public function setOccurenceFrequency(?string $occurenceFrequency)
|
public function setOccurenceFrequency(?string $occurenceFrequency)
|
||||||
|
@ -136,6 +136,8 @@ class SingleTask extends AbstractTask
|
|||||||
/**
|
/**
|
||||||
* Set endDate.
|
* Set endDate.
|
||||||
*
|
*
|
||||||
|
* @param \DateTime $endDate
|
||||||
|
*
|
||||||
* @return SingleTask
|
* @return SingleTask
|
||||||
*/
|
*/
|
||||||
public function setEndDate(?\DateTime $endDate)
|
public function setEndDate(?\DateTime $endDate)
|
||||||
@ -153,6 +155,8 @@ class SingleTask extends AbstractTask
|
|||||||
/**
|
/**
|
||||||
* Set startDate.
|
* Set startDate.
|
||||||
*
|
*
|
||||||
|
* @param \DateTime $startDate
|
||||||
|
*
|
||||||
* @return SingleTask
|
* @return SingleTask
|
||||||
*/
|
*/
|
||||||
public function setStartDate(?\DateTime $startDate)
|
public function setStartDate(?\DateTime $startDate)
|
||||||
|
@ -105,6 +105,7 @@ class AbstractTaskPlaceEvent
|
|||||||
/**
|
/**
|
||||||
* Set transition.
|
* Set transition.
|
||||||
*
|
*
|
||||||
|
*
|
||||||
* @return AbstractTaskPlaceEvent
|
* @return AbstractTaskPlaceEvent
|
||||||
*/
|
*/
|
||||||
public function setTransition(string $transition)
|
public function setTransition(string $transition)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user