mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Rector passed again on JobBundle entities
This commit is contained in:
parent
8e3322f578
commit
63fe8070c4
@ -21,7 +21,7 @@ class CSPerson
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
#[ORM\Column(name: 'id', type: 'integer')]
|
||||
#[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)]
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue(strategy: 'NONE')]
|
||||
private ?int $id = null;
|
||||
@ -45,14 +45,14 @@ class CSPerson
|
||||
/**
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'situationLogement', type: 'string', length: 255, nullable: true)]
|
||||
#[ORM\Column(name: 'situationLogement', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
||||
private ?string $situationLogement = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'situationLogementPrecision', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'situationLogementPrecision', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $situationLogementPrecision = null;
|
||||
|
||||
/**
|
||||
@ -60,7 +60,7 @@ class CSPerson
|
||||
*
|
||||
* @Assert\GreaterThanOrEqual(0)
|
||||
*/
|
||||
#[ORM\Column(name: 'enfantACharge', type: 'integer', nullable: true)]
|
||||
#[ORM\Column(name: 'enfantACharge', type: \Doctrine\DBAL\Types\Types::INTEGER, nullable: true)]
|
||||
private ?int $enfantACharge = null;
|
||||
|
||||
public const NIVEAU_MAITRISE_LANGUE = [
|
||||
@ -70,13 +70,13 @@ class CSPerson
|
||||
/**
|
||||
* @var string[]|null
|
||||
*/
|
||||
#[ORM\Column(name: 'niveauMaitriseLangue', type: 'json', nullable: true)]
|
||||
#[ORM\Column(name: 'niveauMaitriseLangue', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||
private $niveauMaitriseLangue;
|
||||
|
||||
/**
|
||||
* @var bool|null
|
||||
*/
|
||||
#[ORM\Column(name: 'vehiculePersonnel', type: 'boolean', nullable: true)]
|
||||
#[ORM\Column(name: 'vehiculePersonnel', type: \Doctrine\DBAL\Types\Types::BOOLEAN, nullable: true)]
|
||||
private ?bool $vehiculePersonnel = null;
|
||||
|
||||
public const PERMIS_CONDUIRE = [
|
||||
@ -86,7 +86,7 @@ class CSPerson
|
||||
/**
|
||||
* @var string[]|null
|
||||
*/
|
||||
#[ORM\Column(name: 'permisConduire', type: 'json', nullable: true)]
|
||||
#[ORM\Column(name: 'permisConduire', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||
private $permisConduire;
|
||||
|
||||
public const SITUATION_PROFESSIONNELLE = [
|
||||
@ -96,13 +96,13 @@ class CSPerson
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'situationProfessionnelle', type: 'string', length: 255, nullable: true)]
|
||||
#[ORM\Column(name: 'situationProfessionnelle', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
||||
private ?string $situationProfessionnelle = null;
|
||||
|
||||
/**
|
||||
* @var \DateTimeInterface
|
||||
*/
|
||||
#[ORM\Column(name: 'dateFinDernierEmploi', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'dateFinDernierEmploi', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $dateFinDernierEmploi = null;
|
||||
|
||||
public const TYPE_CONTRAT = [
|
||||
@ -118,14 +118,14 @@ class CSPerson
|
||||
/**
|
||||
* @var string[]|null
|
||||
*/
|
||||
#[ORM\Column(name: 'typeContrat', type: 'json', nullable: true)]
|
||||
#[ORM\Column(name: 'typeContrat', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||
private $typeContrat;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'typeContratAide', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'typeContratAide', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $typeContratAide = null;
|
||||
|
||||
public const RESSOURCES = [
|
||||
@ -140,32 +140,32 @@ class CSPerson
|
||||
/**
|
||||
* @var string[]|null
|
||||
*/
|
||||
#[ORM\Column(name: 'ressources', type: 'json', nullable: true)]
|
||||
#[ORM\Column(name: 'ressources', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||
private $ressources;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'ressourcesComment', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'ressourcesComment', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $ressourcesComment = null;
|
||||
|
||||
/**
|
||||
* @var \DateTimeInterface
|
||||
*/
|
||||
#[ORM\Column(name: 'ressourceDate1Versement', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'ressourceDate1Versement', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $ressourceDate1Versement = null;
|
||||
|
||||
/**
|
||||
* @var double
|
||||
*/
|
||||
#[ORM\Column(name: 'CPFMontant', type: '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 ?string $cPFMontant = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var double
|
||||
*/
|
||||
#[ORM\Column(name: 'acomptedif', type: '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 ?string $acompteDIF = null;
|
||||
|
||||
public const ACCOMPAGNEMENTS = [
|
||||
@ -180,69 +180,69 @@ class CSPerson
|
||||
/**
|
||||
* @var string[]|null
|
||||
*/
|
||||
#[ORM\Column(name: 'accompagnement', type: 'json', nullable: true)]
|
||||
#[ORM\Column(name: 'accompagnement', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||
private $accompagnement;
|
||||
|
||||
/**
|
||||
* @var \DateTimeInterface
|
||||
*/
|
||||
#[ORM\Column(name: 'accompagnementRQTHDate', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'accompagnementRQTHDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $accompagnementRQTHDate = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'accompagnementComment', type: 'string', length: 255, nullable: true)]
|
||||
#[ORM\Column(name: 'accompagnementComment', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
||||
private ?string $accompagnementComment = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'poleEmploiId', type: 'string', length: 255, nullable: true)]
|
||||
#[ORM\Column(name: 'poleEmploiId', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
||||
private ?string $poleEmploiId = null;
|
||||
|
||||
/**
|
||||
* @var \DateTimeInterface
|
||||
*/
|
||||
#[ORM\Column(name: 'poleEmploiInscriptionDate', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'poleEmploiInscriptionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $poleEmploiInscriptionDate = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'cafId', type: 'string', length: 255, nullable: true)]
|
||||
#[ORM\Column(name: 'cafId', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
||||
private ?string $cafId = null;
|
||||
|
||||
/**
|
||||
* @var \DateTimeInterface
|
||||
*/
|
||||
#[ORM\Column(name: 'cafInscriptionDate', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'cafInscriptionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $cafInscriptionDate = null;
|
||||
|
||||
/**
|
||||
* @var \DateTimeInterface
|
||||
*/
|
||||
#[ORM\Column(name: 'CERInscriptionDate', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'CERInscriptionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $cERInscriptionDate = null;
|
||||
|
||||
/**
|
||||
* @var \DateTimeInterface
|
||||
*/
|
||||
#[ORM\Column(name: 'PPAEInscriptionDate', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'PPAEInscriptionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $pPAEInscriptionDate = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'CERSignataire', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'CERSignataire', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $cERSignataire = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'PPAESignataire', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'PPAESignataire', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $pPAESignataire = null;
|
||||
|
||||
public const NEET_ELIGIBILITY = [
|
||||
@ -254,19 +254,19 @@ class CSPerson
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
#[ORM\Column(name: 'NEETEligibilite', type: 'string', nullable: true)]
|
||||
#[ORM\Column(name: 'NEETEligibilite', type: \Doctrine\DBAL\Types\Types::STRING, nullable: true)]
|
||||
private ?string $nEETEligibilite = null;
|
||||
|
||||
/**
|
||||
* @var \DateTimeInterface
|
||||
*/
|
||||
#[ORM\Column(name: 'NEETCommissionDate', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'NEETCommissionDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $nEETCommissionDate = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'FSEMaDemarcheCode', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'FSEMaDemarcheCode', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $fSEMaDemarcheCode = null;
|
||||
|
||||
|
||||
@ -275,35 +275,35 @@ class CSPerson
|
||||
*
|
||||
* @var \DateTimeInterface
|
||||
*/
|
||||
#[ORM\Column(name: 'datecontratIEJ', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'datecontratIEJ', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $dateContratIEJ = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var \DateTimeInterface
|
||||
*/
|
||||
#[ORM\Column(name: 'dateavenantIEJ', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'dateavenantIEJ', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $dateAvenantIEJ = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'dispositifs_notes', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'dispositifs_notes', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $dispositifsNotes = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
#[ORM\Column(name: 'handicap', type: 'boolean', nullable: true)]
|
||||
#[ORM\Column(name: 'handicap', type: \Doctrine\DBAL\Types\Types::BOOLEAN, nullable: true)]
|
||||
private ?bool $handicapIs = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'handicapnotes', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'handicapnotes', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $handicapNotes = null;
|
||||
|
||||
public const HANDICAP_RECOMMANDATIONS = [
|
||||
@ -316,7 +316,7 @@ class CSPerson
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'handicapRecommandation', type: 'string', length: 50, nullable: true)]
|
||||
#[ORM\Column(name: 'handicapRecommandation', type: \Doctrine\DBAL\Types\Types::STRING, length: 50, nullable: true)]
|
||||
private ?string $handicapRecommandation = null;
|
||||
|
||||
/**
|
||||
@ -324,7 +324,7 @@ class CSPerson
|
||||
* @var ThirdParty
|
||||
*
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\ThirdPartyBundle\Entity\ThirdParty::class)]
|
||||
#[ORM\ManyToOne(targetEntity: ThirdParty::class)]
|
||||
private ?\Chill\ThirdPartyBundle\Entity\ThirdParty $handicapAccompagnement = null;
|
||||
|
||||
public const MOBILITE_MOYEN_TRANSPORT = [
|
||||
@ -339,20 +339,20 @@ class CSPerson
|
||||
*
|
||||
* @var string[]
|
||||
*/
|
||||
#[ORM\Column(name: 'mobilitemoyentransport', type: 'json', nullable: true)]
|
||||
#[ORM\Column(name: 'mobilitemoyentransport', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||
private $mobiliteMoyenDeTransport;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'mobilitenotes', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'mobilitenotes', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $mobiliteNotes = null;
|
||||
|
||||
/**
|
||||
* @var StoredObject|null
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\DocStoreBundle\Entity\StoredObject::class, cascade: ['persist'])]
|
||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentCV = null;
|
||||
|
||||
/**
|
||||
@ -360,7 +360,7 @@ class CSPerson
|
||||
*
|
||||
* @Assert\Valid()
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\DocStoreBundle\Entity\StoredObject::class, cascade: ['persist'])]
|
||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentAgrementIAE = null;
|
||||
|
||||
/**
|
||||
@ -368,7 +368,7 @@ class CSPerson
|
||||
*
|
||||
* @Assert\Valid()
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\DocStoreBundle\Entity\StoredObject::class, cascade: ['persist'])]
|
||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentRQTH = null;
|
||||
|
||||
/**
|
||||
@ -376,7 +376,7 @@ class CSPerson
|
||||
*
|
||||
* @Assert\Valid()
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\DocStoreBundle\Entity\StoredObject::class, cascade: ['persist'])]
|
||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentAttestationNEET = null;
|
||||
|
||||
|
||||
@ -385,7 +385,7 @@ class CSPerson
|
||||
*
|
||||
* @Assert\Valid()
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\DocStoreBundle\Entity\StoredObject::class, cascade: ['persist'])]
|
||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentCI = null;
|
||||
|
||||
/**
|
||||
@ -393,7 +393,7 @@ class CSPerson
|
||||
*
|
||||
* @Assert\Valid()
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\DocStoreBundle\Entity\StoredObject::class, cascade: ['persist'])]
|
||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentTitreSejour = null;
|
||||
|
||||
/**
|
||||
@ -401,7 +401,7 @@ class CSPerson
|
||||
*
|
||||
* @Assert\Valid()
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\DocStoreBundle\Entity\StoredObject::class, cascade: ['persist'])]
|
||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentAttestationFiscale = null;
|
||||
|
||||
/**
|
||||
@ -409,7 +409,7 @@ class CSPerson
|
||||
*
|
||||
* @Assert\Valid()
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\DocStoreBundle\Entity\StoredObject::class, cascade: ['persist'])]
|
||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentPermis = null;
|
||||
|
||||
/**
|
||||
@ -417,7 +417,7 @@ class CSPerson
|
||||
*
|
||||
* @Assert\Valid()
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\DocStoreBundle\Entity\StoredObject::class, cascade: ['persist'])]
|
||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentAttestationCAAF = null;
|
||||
|
||||
/**
|
||||
@ -425,7 +425,7 @@ class CSPerson
|
||||
*
|
||||
* @Assert\Valid()
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\DocStoreBundle\Entity\StoredObject::class, cascade: ['persist'])]
|
||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentContraTravail = null;
|
||||
|
||||
/**
|
||||
@ -433,7 +433,7 @@ class CSPerson
|
||||
*
|
||||
* @Assert\Valid()
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\DocStoreBundle\Entity\StoredObject::class, cascade: ['persist'])]
|
||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentAttestationFormation = null;
|
||||
|
||||
/**
|
||||
@ -441,7 +441,7 @@ class CSPerson
|
||||
*
|
||||
* @Assert\Valid()
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\DocStoreBundle\Entity\StoredObject::class, cascade: ['persist'])]
|
||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentQuittanceLoyer = null;
|
||||
|
||||
/**
|
||||
@ -449,7 +449,7 @@ class CSPerson
|
||||
*
|
||||
* @Assert\Valid()
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\DocStoreBundle\Entity\StoredObject::class, cascade: ['persist'])]
|
||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentFactureElectricite = null;
|
||||
|
||||
/**
|
||||
@ -457,13 +457,13 @@ class CSPerson
|
||||
*
|
||||
* @Assert\Valid()
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\DocStoreBundle\Entity\StoredObject::class, cascade: ['persist'])]
|
||||
#[ORM\ManyToOne(targetEntity: StoredObject::class, cascade: ['persist'])]
|
||||
private ?\Chill\DocStoreBundle\Entity\StoredObject $documentAttestationSecuriteSociale = null;
|
||||
|
||||
/**
|
||||
* @var ThirdParty|null
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\ThirdPartyBundle\Entity\ThirdParty::class)]
|
||||
#[ORM\ManyToOne(targetEntity: ThirdParty::class)]
|
||||
private ?\Chill\ThirdPartyBundle\Entity\ThirdParty $prescripteur = null;
|
||||
|
||||
/**
|
||||
|
@ -24,7 +24,7 @@ use Symfony\Component\Validator\Constraints as Assert;
|
||||
#[ORM\Entity(repositoryClass: \Chill\ChillJobBundle\Repository\CVRepository::class)]
|
||||
class CV implements \Stringable
|
||||
{
|
||||
#[ORM\Column(name: 'id', type: 'integer')]
|
||||
#[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)]
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue(strategy: 'AUTO')]
|
||||
private ?int $id = null;
|
||||
@ -32,7 +32,7 @@ class CV implements \Stringable
|
||||
/**
|
||||
* @Assert\NotNull()
|
||||
*/
|
||||
#[ORM\Column(name: 'reportDate', type: 'date')]
|
||||
#[ORM\Column(name: 'reportDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE)]
|
||||
private ?\DateTimeInterface $reportDate = null;
|
||||
|
||||
public const FORMATION_LEVEL = [
|
||||
@ -49,7 +49,7 @@ class CV implements \Stringable
|
||||
/**
|
||||
* @Assert\NotBlank()
|
||||
*/
|
||||
#[ORM\Column(name: 'formationLevel', type: 'string', length: 255, nullable: true)]
|
||||
#[ORM\Column(name: 'formationLevel', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
||||
private ?string $formationLevel = null;
|
||||
|
||||
public const FORMATION_TYPE = [
|
||||
@ -57,30 +57,32 @@ class CV implements \Stringable
|
||||
'formation_continue',
|
||||
];
|
||||
|
||||
#[ORM\Column(name: 'formationType', type: 'string', length: 255, nullable: true)]
|
||||
#[ORM\Column(name: 'formationType', type: \Doctrine\DBAL\Types\Types::STRING, length: 255, nullable: true)]
|
||||
private ?string $formationType = null;
|
||||
|
||||
/**
|
||||
* @var string[]|null
|
||||
*/
|
||||
#[ORM\Column(name: 'spokenLanguages', type: 'json', nullable: true)]
|
||||
#[ORM\Column(name: 'spokenLanguages', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||
private $spokenLanguages;
|
||||
|
||||
#[ORM\Column(name: 'notes', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'notes', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $notes = null;
|
||||
|
||||
/**
|
||||
* @Assert\Valid(traverse=true)
|
||||
* @var \Doctrine\Common\Collections\Collection<int, \Chill\ChillJobBundle\Entity\CV\Formation>
|
||||
*/
|
||||
#[ORM\OneToMany(targetEntity: CV\Formation::class, mappedBy: 'CV', cascade: ['persist', 'remove', 'detach'], orphanRemoval: true)]
|
||||
#[ORM\OrderBy(['startDate' => 'DESC', 'endDate' => 'DESC'])]
|
||||
#[ORM\OrderBy(['startDate' => \Doctrine\Common\Collections\Criteria::DESC, 'endDate' => 'DESC'])]
|
||||
private Collection $formations;
|
||||
|
||||
/**
|
||||
* @Assert\Valid(traverse=true)
|
||||
* @var \Doctrine\Common\Collections\Collection<int, \Chill\ChillJobBundle\Entity\CV\Experience>
|
||||
*/
|
||||
#[ORM\OneToMany(targetEntity: CV\Experience::class, mappedBy: 'CV', cascade: ['persist', 'remove', 'detach'], orphanRemoval: true)]
|
||||
#[ORM\OrderBy(['startDate' => 'DESC', 'endDate' => 'DESC'])]
|
||||
#[ORM\OrderBy(['startDate' => \Doctrine\Common\Collections\Criteria::DESC, 'endDate' => 'DESC'])]
|
||||
private Collection $experiences;
|
||||
|
||||
#[ORM\ManyToOne(targetEntity: Person::class)]
|
||||
|
@ -22,24 +22,24 @@ use Symfony\Component\Validator\Constraints as Assert;
|
||||
#[ORM\Entity(repositoryClass: \Chill\ChillJobBundle\Repository\CV\ExperienceRepository::class)]
|
||||
class Experience
|
||||
{
|
||||
#[ORM\Column(name: 'id', type: 'integer')]
|
||||
#[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)]
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue(strategy: 'AUTO')]
|
||||
private ?int $id = null;
|
||||
|
||||
#[ORM\Column(name: 'poste', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'poste', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $poste = null;
|
||||
|
||||
#[ORM\Column(name: 'structure', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'structure', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $structure = null;
|
||||
|
||||
#[ORM\Column(name: 'startDate', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'startDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $startDate = null;
|
||||
|
||||
/**
|
||||
* @Assert\GreaterThan(propertyPath="startDate", message="La date de fin doit être postérieure à la date de début")
|
||||
*/
|
||||
#[ORM\Column(name: 'endDate', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'endDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $endDate = null;
|
||||
|
||||
public const CONTRAT_TYPE = [
|
||||
@ -58,10 +58,10 @@ class Experience
|
||||
'autres',
|
||||
];
|
||||
|
||||
#[ORM\Column(name: 'contratType', type: 'string', length: 100)]
|
||||
#[ORM\Column(name: 'contratType', type: \Doctrine\DBAL\Types\Types::STRING, length: 100)]
|
||||
private ?string $contratType = null;
|
||||
|
||||
#[ORM\Column(name: 'notes', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'notes', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $notes = null;
|
||||
|
||||
#[ORM\ManyToOne(targetEntity: CV::class, inversedBy: 'experiences')]
|
||||
|
@ -22,7 +22,7 @@ use Symfony\Component\Validator\Constraints as Assert;
|
||||
#[ORM\Entity(repositoryClass: \Chill\ChillJobBundle\Repository\CV\FormationRepository::class)]
|
||||
class Formation
|
||||
{
|
||||
#[ORM\Column(name: 'id', type: 'integer')]
|
||||
#[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)]
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue(strategy: 'AUTO')]
|
||||
private ?int $id = null;
|
||||
@ -32,33 +32,33 @@ class Formation
|
||||
*
|
||||
* @Assert\NotNull()
|
||||
*/
|
||||
#[ORM\Column(name: 'title', type: 'text')]
|
||||
#[ORM\Column(name: 'title', type: \Doctrine\DBAL\Types\Types::TEXT)]
|
||||
private ?string $title = null;
|
||||
|
||||
#[ORM\Column(name: 'startDate', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'startDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $startDate = null;
|
||||
|
||||
/**
|
||||
* @Assert\GreaterThan(propertyPath="startDate", message="La date de fin doit être postérieure à la date de début")
|
||||
*/
|
||||
#[ORM\Column(name: 'endDate', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'endDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $endDate = null;
|
||||
|
||||
public const DIPLOMA_OBTAINED = [
|
||||
'fr', 'non-fr', 'aucun',
|
||||
];
|
||||
|
||||
#[ORM\Column(name: 'diplomaObtained', type: 'string', nullable: true)]
|
||||
#[ORM\Column(name: 'diplomaObtained', type: \Doctrine\DBAL\Types\Types::STRING, nullable: true)]
|
||||
private ?string $diplomaObtained = null;
|
||||
|
||||
public const DIPLOMA_RECONNU = [
|
||||
'oui', 'non', 'nsp',
|
||||
];
|
||||
|
||||
#[ORM\Column(name: 'diplomaReconnue', type: 'string', length: 50, nullable: true)]
|
||||
#[ORM\Column(name: 'diplomaReconnue', type: \Doctrine\DBAL\Types\Types::STRING, length: 50, nullable: true)]
|
||||
private ?string $diplomaReconnue = null;
|
||||
|
||||
#[ORM\Column(name: 'organisme', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'organisme', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $organisme = null;
|
||||
|
||||
#[ORM\ManyToOne(targetEntity: CV::class, inversedBy: 'formations')]
|
||||
|
@ -23,7 +23,7 @@ use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
||||
#[ORM\Entity(repositoryClass: \Chill\ChillJobBundle\Repository\FreinRepository::class)]
|
||||
class Frein implements HasPerson, \Stringable
|
||||
{
|
||||
#[ORM\Column(name: 'id', type: 'integer')]
|
||||
#[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)]
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue(strategy: 'AUTO')]
|
||||
private ?int $id = null;
|
||||
@ -37,7 +37,7 @@ class Frein implements HasPerson, \Stringable
|
||||
* message="La date du rapport ne peut pas être plus de cinq ans dans le passé"
|
||||
* )
|
||||
*/
|
||||
#[ORM\Column(name: 'reportDate', type: 'date')]
|
||||
#[ORM\Column(name: 'reportDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE)]
|
||||
private ?\DateTimeInterface $reportDate = null;
|
||||
|
||||
public const FREINS_PERSO = [
|
||||
@ -53,10 +53,10 @@ class Frein implements HasPerson, \Stringable
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
#[ORM\Column(name: 'freinsPerso', type: 'json')]
|
||||
#[ORM\Column(name: 'freinsPerso', type: \Doctrine\DBAL\Types\Types::JSON)]
|
||||
private $freinsPerso = [];
|
||||
|
||||
#[ORM\Column(name: 'notesPerso', type: 'text')]
|
||||
#[ORM\Column(name: 'notesPerso', type: \Doctrine\DBAL\Types\Types::TEXT)]
|
||||
private ?string $notesPerso = '';
|
||||
|
||||
public const FREINS_EMPLOI = [
|
||||
@ -71,10 +71,10 @@ class Frein implements HasPerson, \Stringable
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
#[ORM\Column(name: 'freinsEmploi', type: 'json')]
|
||||
#[ORM\Column(name: 'freinsEmploi', type: \Doctrine\DBAL\Types\Types::JSON)]
|
||||
private $freinsEmploi = [];
|
||||
|
||||
#[ORM\Column(name: 'notesEmploi', type: 'text')]
|
||||
#[ORM\Column(name: 'notesEmploi', type: \Doctrine\DBAL\Types\Types::TEXT)]
|
||||
private ?string $notesEmploi = '';
|
||||
|
||||
/**
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
namespace Chill\ChillJobBundle\Entity;
|
||||
|
||||
use Chill\ChillJobBundle\Repository\ImmersionRepository;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Chill\ThirdPartyBundle\Entity\ThirdParty;
|
||||
use Chill\PersonBundle\Entity\Person;
|
||||
@ -14,7 +15,7 @@ use Chill\MainBundle\Validation\Constraint\PhonenumberConstraint;
|
||||
* Immersion
|
||||
*/
|
||||
#[ORM\Table(name: 'chill_csconnectes.immersion')]
|
||||
#[ORM\Entity(repositoryClass: \Chill\ChillJobBundle\Repository\ImmersionRepository::class)]
|
||||
#[ORM\Entity(repositoryClass: ImmersionRepository::class)]
|
||||
class Immersion implements \Stringable
|
||||
{
|
||||
public const YES_NO_NSP = [
|
||||
@ -26,7 +27,7 @@ class Immersion implements \Stringable
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
#[ORM\Column(name: 'id', type: 'integer')]
|
||||
#[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)]
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue(strategy: 'AUTO')]
|
||||
private ?int $id = null;
|
||||
@ -48,14 +49,14 @@ class Immersion implements \Stringable
|
||||
* @Assert\NotNull()
|
||||
* @Assert\Length(min=2)
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\ThirdPartyBundle\Entity\ThirdParty::class)]
|
||||
#[ORM\ManyToOne(targetEntity: ThirdParty::class)]
|
||||
private ?\Chill\ThirdPartyBundle\Entity\ThirdParty $entreprise = null;
|
||||
|
||||
|
||||
/**
|
||||
* @var User|null
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\MainBundle\Entity\User::class)]
|
||||
#[ORM\ManyToOne(targetEntity: User::class)]
|
||||
private ?\Chill\MainBundle\Entity\User $referent = null;
|
||||
|
||||
|
||||
@ -66,7 +67,7 @@ class Immersion implements \Stringable
|
||||
* @Assert\NotNull()
|
||||
* @Assert\Length(min=2)
|
||||
*/
|
||||
#[ORM\Column(name: 'domaineActivite', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'domaineActivite', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $domaineActivite = null;
|
||||
|
||||
/**
|
||||
@ -75,7 +76,7 @@ class Immersion implements \Stringable
|
||||
* @Assert\NotNull()
|
||||
* @Assert\Length(min=2)
|
||||
*/
|
||||
#[ORM\Column(name: 'tuteurName', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'tuteurName', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $tuteurName = null;
|
||||
|
||||
/**
|
||||
@ -84,7 +85,7 @@ class Immersion implements \Stringable
|
||||
* @Assert\NotNull()
|
||||
* @Assert\Length(min=2)
|
||||
*/
|
||||
#[ORM\Column(name: 'tuteurFonction', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'tuteurFonction', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $tuteurFonction = null;
|
||||
|
||||
/**
|
||||
@ -93,40 +94,40 @@ class Immersion implements \Stringable
|
||||
* @Assert\NotNull()
|
||||
* @Assert\NotBlank()
|
||||
*/
|
||||
#[ORM\Column(name: 'tuteurPhoneNumber', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'tuteurPhoneNumber', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
#[PhonenumberConstraint(type: 'any')]
|
||||
private ?string $tuteurPhoneNumber = null;
|
||||
|
||||
/**
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'structureAccName', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'structureAccName', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $structureAccName = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'structureAccPhonenumber', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'structureAccPhonenumber', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
#[PhonenumberConstraint(type: 'any')]
|
||||
private ?string $structureAccPhonenumber = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'structureAccEmail', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'structureAccEmail', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $structureAccEmail = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var Address|null
|
||||
*/
|
||||
#[ORM\ManyToOne(targetEntity: \\Chill\MainBundle\Entity\Address::class, cascade: ['persist', 'remove'])]
|
||||
#[ORM\ManyToOne(targetEntity: Address::class, cascade: ['persist', 'remove'])]
|
||||
private ?\Chill\MainBundle\Entity\Address $structureAccAddress = null;
|
||||
|
||||
/**
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'posteDescriptif', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'posteDescriptif', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $posteDescriptif = null;
|
||||
|
||||
/**
|
||||
@ -135,7 +136,7 @@ class Immersion implements \Stringable
|
||||
* @Assert\NotNull()
|
||||
* @Assert\Length(min=2)
|
||||
*/
|
||||
#[ORM\Column(name: 'posteTitle', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'posteTitle', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $posteTitle = null;
|
||||
|
||||
/**
|
||||
@ -144,7 +145,7 @@ class Immersion implements \Stringable
|
||||
* @Assert\NotNull()
|
||||
* @Assert\Length(min=2)
|
||||
*/
|
||||
#[ORM\Column(name: 'posteLieu', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'posteLieu', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $posteLieu = null;
|
||||
|
||||
/**
|
||||
@ -152,7 +153,7 @@ class Immersion implements \Stringable
|
||||
*
|
||||
* @Assert\NotNull()
|
||||
*/
|
||||
#[ORM\Column(name: 'debutDate', type: 'date', nullable: true)]
|
||||
#[ORM\Column(name: 'debutDate', type: \Doctrine\DBAL\Types\Types::DATE_MUTABLE, nullable: true)]
|
||||
private ?\DateTimeInterface $debutDate = null;
|
||||
|
||||
/**
|
||||
@ -160,7 +161,7 @@ class Immersion implements \Stringable
|
||||
*
|
||||
* @Assert\NotNull()
|
||||
*/
|
||||
#[ORM\Column(name: 'duration', type: 'dateinterval', nullable: true)]
|
||||
#[ORM\Column(name: 'duration', type: \Doctrine\DBAL\Types\Types::DATEINTERVAL, nullable: true)]
|
||||
private $duration;
|
||||
|
||||
/**
|
||||
@ -169,7 +170,7 @@ class Immersion implements \Stringable
|
||||
* @Assert\NotNull()
|
||||
* @Assert\Length(min=2)
|
||||
*/
|
||||
#[ORM\Column(name: 'horaire', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'horaire', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $horaire = null;
|
||||
|
||||
public const OBJECTIFS = [
|
||||
@ -184,21 +185,21 @@ class Immersion implements \Stringable
|
||||
/**
|
||||
* @var array|null
|
||||
*/
|
||||
#[ORM\Column(name: 'objectifs', type: 'json', nullable: true)]
|
||||
#[ORM\Column(name: 'objectifs', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||
private $objectifs;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'objectifsAutre', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'objectifsAutre', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $objectifsAutre = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
#[ORM\Column(name: 'is_bilan_fullfilled', type: 'boolean', options: ['default' => false])]
|
||||
#[ORM\Column(name: 'is_bilan_fullfilled', type: \Doctrine\DBAL\Types\Types::BOOLEAN, options: ['default' => false])]
|
||||
private ?bool $isBilanFullfilled = false;
|
||||
|
||||
public const SAVOIR_ETRE = [
|
||||
@ -213,44 +214,44 @@ class Immersion implements \Stringable
|
||||
/**
|
||||
* @var array|null
|
||||
*/
|
||||
#[ORM\Column(name: 'savoirEtre', type: 'json', nullable: true)]
|
||||
#[ORM\Column(name: 'savoirEtre', type: \Doctrine\DBAL\Types\Types::JSON, nullable: true)]
|
||||
private $savoirEtre;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'savoirEtreNote', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'savoirEtreNote', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $savoirEtreNote = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'noteimmersion', type: 'text')]
|
||||
#[ORM\Column(name: 'noteimmersion', type: \Doctrine\DBAL\Types\Types::TEXT)]
|
||||
private ?string $noteImmersion = '';
|
||||
|
||||
/**
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'principalesActivites', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'principalesActivites', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $principalesActivites = null;
|
||||
|
||||
/**
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'competencesAcquises', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'competencesAcquises', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $competencesAcquises = null;
|
||||
|
||||
/**
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'competencesADevelopper', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'competencesADevelopper', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $competencesADevelopper = null;
|
||||
|
||||
/**
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'noteBilan', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'noteBilan', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $noteBilan = null;
|
||||
|
||||
public const PONCTUALITE_SALARIE = [
|
||||
@ -263,14 +264,14 @@ class Immersion implements \Stringable
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'ponctualite_salarie', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'ponctualite_salarie', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $ponctualiteSalarie = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'ponctualite_salarie_note', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'ponctualite_salarie_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $ponctualiteSalarieNote = null;
|
||||
|
||||
public const ASSIDUITE = [
|
||||
@ -283,28 +284,28 @@ class Immersion implements \Stringable
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'assiduite', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'assiduite', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $assiduite = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'assiduite_note', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'assiduite_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $assiduiteNote = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'interet_activite', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'interet_activite', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $interetActivite = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'interet_activite_note', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'interet_activite_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $interetActiviteNote = null;
|
||||
|
||||
public const INTEGRE_REGLE = [
|
||||
@ -317,112 +318,112 @@ class Immersion implements \Stringable
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'integre_regle', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'integre_regle', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $integreRegle = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'integre_regle_note', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'integre_regle_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $integreRegleNote = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'esprit_initiative', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'esprit_initiative', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $espritInitiative = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'esprit_initiative_note', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'esprit_initiative_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $espritInitiativeNote = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'organisation', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'organisation', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $organisation = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'organisation_note', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'organisation_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $organisationNote = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'capacite_travail_equipe', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'capacite_travail_equipe', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $capaciteTravailEquipe = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'capacite_travail_equipe_note', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'capacite_travail_equipe_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $capaciteTravailEquipeNote = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'style_vestimentaire', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'style_vestimentaire', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $styleVestimentaire = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'style_vestimentaire_note', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'style_vestimentaire_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $styleVestimentaireNote = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'langage_prof', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'langage_prof', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $langageProf = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'langage_prof_note', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'langage_prof_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $langageProfNote = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'applique_consigne', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'applique_consigne', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $appliqueConsigne = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'applique_consigne_note', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'applique_consigne_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $appliqueConsigneNote = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'respect_hierarchie', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'respect_hierarchie', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $respectHierarchie = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
#[ORM\Column(name: 'respect_hierarchie_note', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'respect_hierarchie_note', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $respectHierarchieNote = null;
|
||||
|
||||
/**
|
||||
|
@ -11,6 +11,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace Chill\ChillJobBundle\Entity;
|
||||
|
||||
use Chill\ChillJobBundle\Repository\ProjetProfessionnelRepository;
|
||||
use Doctrine\DBAL\Types\Types;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
@ -22,10 +24,10 @@ use Chill\ChillJobBundle\Entity\Rome\Appellation;
|
||||
* ProjetProfessionnel.
|
||||
*/
|
||||
#[ORM\Table(name: 'chill_csconnectes.projet_professionnel')]
|
||||
#[ORM\Entity(repositoryClass: \Chill\ChillJobBundle\Repository\ProjetProfessionnelRepository::class)]
|
||||
#[ORM\Entity(repositoryClass: ProjetProfessionnelRepository::class)]
|
||||
class ProjetProfessionnel implements \Stringable
|
||||
{
|
||||
#[ORM\Column(name: 'id', type: 'integer')]
|
||||
#[ORM\Column(name: 'id', type: Types::INTEGER)]
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue(strategy: 'AUTO')]
|
||||
private ?int $id = null;
|
||||
@ -43,14 +45,17 @@ class ProjetProfessionnel implements \Stringable
|
||||
/**
|
||||
* @Assert\NotNull()
|
||||
*/
|
||||
#[ORM\Column(name: 'reportDate', type: 'date')]
|
||||
#[ORM\Column(name: 'reportDate', type: Types::DATE_MUTABLE)]
|
||||
private ?\DateTimeInterface $reportDate = null;
|
||||
|
||||
/**
|
||||
* @var \Doctrine\Common\Collections\Collection<int, \Chill\ChillJobBundle\Entity\Rome\Appellation>
|
||||
*/
|
||||
#[ORM\JoinTable(name: 'chill_csconnectes.projetprofessionnel_souhait')]
|
||||
#[ORM\ManyToMany(targetEntity: Appellation::class, cascade: ['persist'])]
|
||||
private Collection $souhait;
|
||||
|
||||
#[ORM\Column(name: 'domaineActiviteSouhait', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'domaineActiviteSouhait', type: \Doctrine\DBAL\Types\Types::TEXT, nullable: true)]
|
||||
private ?string $domaineActiviteSouhait = null;
|
||||
|
||||
public const TYPE_CONTRAT = [
|
||||
@ -64,10 +69,10 @@ class ProjetProfessionnel implements \Stringable
|
||||
*
|
||||
* @Assert\Count(min=1, minMessage="Indiquez au moins un type de contrat")
|
||||
*/
|
||||
#[ORM\Column(name: 'typeContrat', type: 'json', nullable: true)]
|
||||
#[ORM\Column(name: 'typeContrat', type: Types::JSON, nullable: true)]
|
||||
private $typeContrat;
|
||||
|
||||
#[ORM\Column(name: 'typeContratNotes', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'typeContratNotes', type: Types::TEXT, nullable: true)]
|
||||
private ?string $typeContratNotes = null;
|
||||
|
||||
public const VOLUME_HORAIRES = [
|
||||
@ -80,29 +85,32 @@ class ProjetProfessionnel implements \Stringable
|
||||
*
|
||||
* @Assert\Count(min=1, minMessage="Indiquez un volume horaire souhaité")
|
||||
*/
|
||||
#[ORM\Column(name: 'volumeHoraire', type: 'json', nullable: true)]
|
||||
#[ORM\Column(name: 'volumeHoraire', type: Types::JSON, nullable: true)]
|
||||
private $volumeHoraire;
|
||||
|
||||
#[ORM\Column(name: 'volumeHoraireNotes', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'volumeHoraireNotes', type: Types::TEXT, nullable: true)]
|
||||
private ?string $volumeHoraireNotes = null;
|
||||
|
||||
#[ORM\Column(name: 'idee', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'idee', type: Types::TEXT, nullable: true)]
|
||||
private ?string $idee = null;
|
||||
|
||||
#[ORM\Column(name: 'enCoursConstruction', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'enCoursConstruction', type: Types::TEXT, nullable: true)]
|
||||
private ?string $enCoursConstruction = null;
|
||||
|
||||
/**
|
||||
* @var \Doctrine\Common\Collections\Collection<int, \Chill\ChillJobBundle\Entity\Rome\Appellation>
|
||||
*/
|
||||
#[ORM\JoinTable(name: 'chill_csconnectes.projetprofessionnel_valide')]
|
||||
#[ORM\ManyToMany(targetEntity: Appellation::class)]
|
||||
private Collection $valide;
|
||||
|
||||
#[ORM\Column(name: 'domaineActiviteValide', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'domaineActiviteValide', type: Types::TEXT, nullable: true)]
|
||||
private ?string $domaineActiviteValide = null;
|
||||
|
||||
#[ORM\Column(name: 'valideNotes', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'valideNotes', type: Types::TEXT, nullable: true)]
|
||||
private ?string $valideNotes = null;
|
||||
|
||||
#[ORM\Column(name: 'projetProfessionnelNote', type: 'text', nullable: true)]
|
||||
#[ORM\Column(name: 'projetProfessionnelNote', type: Types::TEXT, nullable: true)]
|
||||
private ?string $projetProfessionnelNote = null;
|
||||
|
||||
public function __construct()
|
||||
|
@ -20,15 +20,15 @@ use Doctrine\ORM\Mapping as ORM;
|
||||
#[ORM\Entity(repositoryClass: \Chill\ChillJobBundle\Repository\Rome\AppellationRepository::class)]
|
||||
class Appellation implements \Stringable
|
||||
{
|
||||
#[ORM\Column(name: 'id', type: 'integer')]
|
||||
#[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)]
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue(strategy: 'AUTO')]
|
||||
private ?int $id = null;
|
||||
|
||||
#[ORM\Column(name: 'code', type: 'string', length: 40, unique: true)]
|
||||
#[ORM\Column(name: 'code', type: \Doctrine\DBAL\Types\Types::STRING, length: 40, unique: true)]
|
||||
private ?string $code = '';
|
||||
|
||||
#[ORM\Column(name: 'libelle', type: 'text')]
|
||||
#[ORM\Column(name: 'libelle', type: \Doctrine\DBAL\Types\Types::TEXT)]
|
||||
private ?string $libelle = '';
|
||||
|
||||
#[ORM\ManyToOne(targetEntity: Metier::class, inversedBy: 'appellations', cascade: ['persist'])]
|
||||
@ -106,6 +106,6 @@ class Appellation implements \Stringable
|
||||
|
||||
public function __toString(): string
|
||||
{
|
||||
return $this->libelle;
|
||||
return (string) $this->libelle;
|
||||
}
|
||||
}
|
||||
|
@ -21,17 +21,20 @@ use Doctrine\Common\Collections\ArrayCollection;
|
||||
#[ORM\Entity(repositoryClass: \Chill\ChillJobBundle\Repository\Rome\MetierRepository::class)]
|
||||
class Metier
|
||||
{
|
||||
#[ORM\Column(name: 'id', type: 'integer')]
|
||||
#[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)]
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue(strategy: 'AUTO')]
|
||||
private ?int $id = null;
|
||||
|
||||
#[ORM\Column(name: 'libelle', type: 'text')]
|
||||
#[ORM\Column(name: 'libelle', type: \Doctrine\DBAL\Types\Types::TEXT)]
|
||||
private ?string $libelle = '';
|
||||
|
||||
#[ORM\Column(name: 'code', type: 'string', length: 20, unique: true)]
|
||||
#[ORM\Column(name: 'code', type: \Doctrine\DBAL\Types\Types::STRING, length: 20, unique: true)]
|
||||
private ?string $code = '';
|
||||
|
||||
/**
|
||||
* @var \Doctrine\Common\Collections\Collection<int, \Chill\ChillJobBundle\Entity\Rome\Appellation>
|
||||
*/
|
||||
#[ORM\OneToMany(targetEntity: Appellation::class, mappedBy: 'metier')]
|
||||
private readonly \Doctrine\Common\Collections\Collection $appellations;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user