<?php
namespace App\Entity;
use App\Repository\ParametreCentreRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ParametreCentreRepository::class)
*/
class ParametreCentre
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=100, nullable=true)
*/
private $pc_entete;
/**
* @ORM\Column(type="string", length=25, nullable=true)
*/
private $pc_nomIcone1;
/**
* @ORM\Column(type="string", length=25, nullable=true)
*/
private $pc_nomIcone2;
/**
* @ORM\Column(type="string", length=25, nullable=true)
*/
private $pc_nomIcone3;
/**
* @ORM\Column(type="string", length=100, nullable=true)
*/
private $pc_titre1;
/**
* @ORM\Column(type="string", length=100, nullable=true)
*/
private $pc_titre2;
/**
* @ORM\Column(type="string", length=100, nullable=true)
*/
private $pc_titre3;
/**
* @ORM\Column(type="string", length=500, nullable=true)
*/
private $pc_texte1;
/**
* @ORM\Column(type="string", length=500, nullable=true)
*/
private $pc_texte2;
/**
* @ORM\Column(type="string", length=500, nullable=true)
*/
private $pc_texte3;
/**
* @ORM\Column(type="string", length=50, nullable=true)
*/
private $pc_url_twitter;
/**
* @ORM\Column(type="string", length=50, nullable=true)
*/
private $pc_url_google;
/**
* @ORM\Column(type="string", length=60, nullable=true)
*/
private $pc_url_facebook;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $pc_chemin_img_centre;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $pc_chemin_logo_centre;
/**
* @ORM\Column(type="boolean")
*/
private $pc_affiche_logo;
/**
* @ORM\Column(type="boolean")
*/
private $display_tarif_from_fo;
/**
* @ORM\Column(type="boolean")
*/
private $display_tarif_from_bo;
/**
* @ORM\Column(type="boolean")
*/
private $display_tarif_email_from_bo;
/**
* @ORM\Column(type="boolean")
*/
private $display_msg_rdv_move_on_blc_bo;
/**
* @ORM\Column(type="boolean")
*/
private $is_block_rdv;
/**
* @ORM\Column(type="boolean")
*/
private $can_edit_rdv_without_set_user;
/**
* @ORM\Column(type="integer", options={"default" : 0})
*/
private $nb_hours_block_rdv;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $nb_hours_before_block_rdv;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $hour_start_block_rdv;
/**
* @ORM\Column(type="array", nullable=true, )
*/
private $holidays;
/**
* @ORM\Column(type="array", nullable=true)
*/
private $energies;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $pc_auto_planning_api_key;
/**
* @ORM\Column(type="boolean")
*/
private $pc_affiche_message_info;
/**
* @ORM\Column(type="boolean")
*/
private $pc_envoi_sms;
/**
* @ORM\Column(type="boolean")
*/
private $pc_rappel_sms;
/**
* @ORM\Column(type="boolean")
*/
private $paiement_en_ligne;
/**
* @ORM\Column(type="boolean")
*/
private $garantie_paiement;
/**
* @ORM\Column(type="smallint", nullable=true)
*/
private $pc_duree_max_rdv;
/**
* @ORM\Column(type="boolean")
*/
private $pc_envoi_notif_rdv;
/**
* @ORM\Column(type="boolean")
*/
private $pc_telephone_non_obligatoire;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $pc_conditions_chemin;
/**
* @ORM\OneToOne(targetEntity=Centre::class, mappedBy="ctr_parametre_centre", cascade={"persist", "remove"})
*/
private $centre;
/**
* @ORM\Column(type="string", length=80, nullable=true)
*/
private $pc_url_instagram;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $pcg_chemin_fichier;
/**
* @ORM\Column(type="boolean")
*/
private $pcAfficheRdv6Jours;
/**
* @ORM\Column(type="boolean")
*/
private $paiement_en_centre;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $pc_opt_deux_fois;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $pc_opt_deux_fois_montant;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $pc_opt_assurance_cv;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $pc_opt_assurance_cv_montant;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $pc_opt_rdv_modifiable;
/**
* @ORM\Column(type="float", nullable=true)
*/
private $pc_opt_rdv_modifiable_montant;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $pc_google_buisness;
/**
* @ORM\Column(type="boolean")
*/
private $pc_avis_google;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $pc_time_before_rdv;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $pc_utl_default;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $pc_aff_percent;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $pc_aff_montant;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $pc_force_immat;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $pc_code_promo;
/**
* @ORM\ManyToOne(targetEntity=Utilisateur::class)
*/
private $pc_utl;
/**
* @ORM\Column(type="string", length=300, nullable=true)
*/
private $pc_message_conf_sms;
/**
* @ORM\Column(type="string", length=300, nullable=true)
*/
private $pc_message_rappel_sms;
/**
* @ORM\Column(type="string", length=300, nullable=true)
*/
private $pc_message_annul_sms;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $pc_envoi_sms_avis;
/**
* @ORM\Column(type="string", length=300, nullable=true)
*/
private $pc_message_avis_google_sms;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $pc_envoi_email_avis;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
private $pc_envoi_sms_confirm;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $pc_email_conf_custom;
public function getId(): ?int
{
return $this->id;
}
public function getPcEntete(): ?string
{
return $this->pc_entete;
}
public function setPcEntete(?string $pc_entete): self
{
$this->pc_entete = $pc_entete;
return $this;
}
public function getPcNomIcone1(): ?string
{
return $this->pc_nomIcone1;
}
public function setPcNomIcone1(?string $pc_nomIcone1): self
{
$this->pc_nomIcone1 = $pc_nomIcone1;
return $this;
}
public function getPcNomIcone2(): ?string
{
return $this->pc_nomIcone2;
}
public function setPcNomIcone2(?string $pc_nomIcone2): self
{
$this->pc_nomIcone2 = $pc_nomIcone2;
return $this;
}
public function getPcNomIcone3(): ?string
{
return $this->pc_nomIcone3;
}
public function setPcNomIcone3(?string $pc_nomIcone3): self
{
$this->pc_nomIcone3 = $pc_nomIcone3;
return $this;
}
public function getPcTitre1(): ?string
{
return $this->pc_titre1;
}
public function setPcTitre1(?string $pc_titre1): self
{
$this->pc_titre1 = $pc_titre1;
return $this;
}
public function getPcTitre2(): ?string
{
return $this->pc_titre2;
}
public function setPcTitre2(?string $pc_titre2): self
{
$this->pc_titre2 = $pc_titre2;
return $this;
}
public function getPcTitre3(): ?string
{
return $this->pc_titre3;
}
public function setPcTitre3(?string $pc_titre3): self
{
$this->pc_titre3 = $pc_titre3;
return $this;
}
public function getPcTexte1(): ?string
{
return $this->pc_texte1;
}
public function setPcTexte1(?string $pc_texte1): self
{
$this->pc_texte1 = $pc_texte1;
return $this;
}
public function getPcTexte2(): ?string
{
return $this->pc_texte2;
}
public function setPcTexte2(?string $pc_texte2): self
{
$this->pc_texte2 = $pc_texte2;
return $this;
}
public function getPcTexte3(): ?string
{
return $this->pc_texte3;
}
public function setPcTexte3(?string $pc_texte3): self
{
$this->pc_texte3 = $pc_texte3;
return $this;
}
public function getPcUrlTwitter(): ?string
{
return $this->pc_url_twitter;
}
public function setPcUrlTwitter(?string $pc_url_twitter): self
{
$this->pc_url_twitter = $pc_url_twitter;
return $this;
}
public function getPcUrlGoogle(): ?string
{
return $this->pc_url_google;
}
public function setPcUrlGoogle(?string $pc_url_google): self
{
$this->pc_url_google = $pc_url_google;
return $this;
}
public function getPcUrlFacebook(): ?string
{
return $this->pc_url_facebook;
}
public function setPcUrlFacebook(?string $pc_url_facebook): self
{
$this->pc_url_facebook = $pc_url_facebook;
return $this;
}
public function getPcCheminImgCentre(): ?string
{
return $this->pc_chemin_img_centre;
}
public function setPcCheminImgCentre(?string $pc_chemin_img_centre): self
{
$this->pc_chemin_img_centre = $pc_chemin_img_centre;
return $this;
}
public function getPcCheminLogoCentre(): ?string
{
return $this->pc_chemin_logo_centre;
}
public function setPcCheminLogoCentre(?string $pc_chemin_logo_centre): self
{
$this->pc_chemin_logo_centre = $pc_chemin_logo_centre;
return $this;
}
public function isPcAfficheLogo(): ?bool
{
return $this->pc_affiche_logo;
}
public function setPcAfficheLogo(bool $pc_affiche_logo): self
{
$this->pc_affiche_logo = $pc_affiche_logo;
return $this;
}
public function isDisplayTarifFromFo(): ?bool
{
return $this->display_tarif_from_fo;
}
public function setDisplayTarifFromFo(bool $display_tarif_from_fo): self
{
$this->display_tarif_from_fo = $display_tarif_from_fo;
return $this;
}
public function isDisplayTarifFromBo(): ?bool
{
return $this->display_tarif_from_bo;
}
public function setDisplayTarifFromBo(bool $display_tarif_from_bo): self
{
$this->display_tarif_from_bo = $display_tarif_from_bo;
return $this;
}
public function isDisplayTarifEmailFromBo(): ?bool
{
return $this->display_tarif_email_from_bo;
}
public function setDisplayTarifEmailFromBo(bool $display_tarif_email_from_bo): self
{
$this->display_tarif_email_from_bo = $display_tarif_email_from_bo;
return $this;
}
public function isDisplayMsgRdvMoveOnBlcBo(): ?bool
{
return $this->display_msg_rdv_move_on_blc_bo;
}
public function setDisplayMsgRdvMoveOnBlcBo(bool $display_msg_rdv_move_on_blc_bo): self
{
$this->display_msg_rdv_move_on_blc_bo = $display_msg_rdv_move_on_blc_bo;
return $this;
}
public function isIsBlockRdv(): ?bool
{
return $this->is_block_rdv;
}
public function setIsBlockRdv(bool $is_block_rdv): self
{
$this->is_block_rdv = $is_block_rdv;
return $this;
}
public function isCanEditRdvWithoutSetUser(): ?bool
{
return $this->can_edit_rdv_without_set_user;
}
public function setCanEditRdvWithoutSetUser(bool $can_edit_rdv_without_set_user): self
{
$this->can_edit_rdv_without_set_user = $can_edit_rdv_without_set_user;
return $this;
}
public function getNbHoursBlockRdv(): ?int
{
return $this->nb_hours_block_rdv;
}
public function setNbHoursBlockRdv(?int $nb_hours_block_rdv): self
{
$this->nb_hours_block_rdv = $nb_hours_block_rdv;
return $this;
}
public function getNbHoursBeforeBlockRdv(): ?int
{
return $this->nb_hours_before_block_rdv;
}
public function setNbHoursBeforeBlockRdv(?int $nb_hours_before_block_rdv): self
{
$this->nb_hours_before_block_rdv = $nb_hours_before_block_rdv;
return $this;
}
public function getHourStartBlockRdv(): ?int
{
return $this->hour_start_block_rdv;
}
public function setHourStartBlockRdv(?int $hour_start_block_rdv): self
{
$this->hour_start_block_rdv = $hour_start_block_rdv;
return $this;
}
public function getHolidays(): ?array
{
return $this->holidays;
}
public function setHolidays(?array $holidays): self
{
$this->holidays = $holidays;
return $this;
}
public function getEnergies(): ?array
{
return $this->energies;
}
public function setEnergies(?array $energies): self
{
$this->energies = $energies;
return $this;
}
public function getPcAutoPlanningApiKey(): ?string
{
return $this->pc_auto_planning_api_key;
}
public function setPcAutoPlanningApiKey(?string $pc_auto_planning_api_key): self
{
$this->pc_auto_planning_api_key = $pc_auto_planning_api_key;
return $this;
}
public function isPcAfficheMessageInfo(): ?bool
{
return $this->pc_affiche_message_info;
}
public function setPcAfficheMessageInfo(bool $pc_affiche_message_info): self
{
$this->pc_affiche_message_info = $pc_affiche_message_info;
return $this;
}
public function isPcEnvoiSms(): ?bool
{
return $this->pc_envoi_sms;
}
public function setPcEnvoiSms(bool $pc_envoi_sms): self
{
$this->pc_envoi_sms = $pc_envoi_sms;
return $this;
}
public function isPcRappelSms(): ?bool
{
return $this->pc_rappel_sms;
}
public function setPcRappelSms(bool $pc_rappel_sms): self
{
$this->pc_rappel_sms = $pc_rappel_sms;
return $this;
}
public function isPaiementEnLigne(): ?bool
{
return $this->paiement_en_ligne;
}
public function setPaiementEnLigne(bool $paiement_en_ligne): self
{
$this->paiement_en_ligne = $paiement_en_ligne;
return $this;
}
public function isGarantiePaiement(): ?bool
{
return $this->garantie_paiement;
}
public function setGarantiePaiement(bool $garantie_paiement): self
{
$this->garantie_paiement = $garantie_paiement;
return $this;
}
public function getPcDureeMaxRdv(): ?int
{
return $this->pc_duree_max_rdv;
}
public function setPcDureeMaxRdv(?int $pc_duree_max_rdv): self
{
$this->pc_duree_max_rdv = $pc_duree_max_rdv;
return $this;
}
public function isPcEnvoiNotifRdv(): ?bool
{
return $this->pc_envoi_notif_rdv;
}
public function setPcEnvoiNotifRdv(bool $pc_envoi_notif_rdv): self
{
$this->pc_envoi_notif_rdv = $pc_envoi_notif_rdv;
return $this;
}
public function isPcTelephoneNonObligatoire(): ?bool
{
return $this->pc_telephone_non_obligatoire;
}
public function setPcTelephoneNonObligatoire(bool $pc_telephone_non_obligatoire): self
{
$this->pc_telephone_non_obligatoire = preg_replace('/\D/', '', $pc_telephone_non_obligatoire);
return $this;
}
public function getPcConditionsChemin(): ?string
{
return $this->pc_conditions_chemin;
}
public function setPcConditionsChemin(?string $pc_conditions_chemin): self
{
$this->pc_conditions_chemin = $pc_conditions_chemin;
return $this;
}
public function getCentre(): ?Centre
{
return $this->centre;
}
public function setCentre(Centre $centre): self
{
// set the owning side of the relation if necessary
if ($centre->getCtrParametreCentre() !== $this) {
$centre->setCtrParametreCentre($this);
}
$this->centre = $centre;
return $this;
}
public function getPcUrlInstagram(): ?string
{
return $this->pc_url_instagram;
}
public function setPcUrlInstagram(?string $pc_url_instagram): self
{
$this->pc_url_instagram = $pc_url_instagram;
return $this;
}
public function getPcgCheminFichier(): ?string
{
return $this->pcg_chemin_fichier;
}
public function setPcgCheminFichier(?string $pcg_chemin_fichier): self
{
$this->pcg_chemin_fichier = $pcg_chemin_fichier;
return $this;
}
public function isPcAfficheRdv6Jours(): ?bool
{
return $this->pcAfficheRdv6Jours;
}
public function setPcAfficheRdv6Jours(bool $pcAfficheRdv6Jours): self
{
$this->pcAfficheRdv6Jours = $pcAfficheRdv6Jours;
return $this;
}
public function isPaiementEnCentre(): ?bool
{
return $this->paiement_en_centre;
}
public function setPaiementEnCentre(bool $paiement_en_centre): self
{
$this->paiement_en_centre = $paiement_en_centre;
return $this;
}
public function isPcOptDeuxFois(): ?bool
{
return $this->pc_opt_deux_fois;
}
public function setPcOptDeuxFois(bool $pc_opt_deux_fois): self
{
$this->pc_opt_deux_fois = $pc_opt_deux_fois;
return $this;
}
public function getPcOptDeuxFoisMontant(): ?float
{
return $this->pc_opt_deux_fois_montant;
}
public function setPcOptDeuxFoisMontant(?float $pc_opt_deux_fois_montant): self
{
$this->pc_opt_deux_fois_montant = $pc_opt_deux_fois_montant;
return $this;
}
public function isPcOptAssuranceCv(): ?bool
{
return $this->pc_opt_assurance_cv;
}
public function setPcOptAssuranceCv(?bool $pc_opt_assurance_cv): self
{
$this->pc_opt_assurance_cv = $pc_opt_assurance_cv;
return $this;
}
public function getPcOptAssuranceCvMontant(): ?float
{
return $this->pc_opt_assurance_cv_montant;
}
public function setPcOptAssuranceCvMontant(?float $pc_opt_assurance_cv_montant): self
{
$this->pc_opt_assurance_cv_montant = $pc_opt_assurance_cv_montant;
return $this;
}
public function isPcOptRdvModifiable(): ?bool
{
return $this->pc_opt_rdv_modifiable;
}
public function setPcOptRdvModifiable(?bool $pc_opt_rdv_modifiable): self
{
$this->pc_opt_rdv_modifiable = $pc_opt_rdv_modifiable;
return $this;
}
public function getPcOptRdvModifiableMontant(): ?float
{
return $this->pc_opt_rdv_modifiable_montant;
}
public function setPcOptRdvModifiableMontant(?float $pc_opt_rdv_modifiable_montant): self
{
$this->pc_opt_rdv_modifiable_montant = $pc_opt_rdv_modifiable_montant;
return $this;
}
public function getPcGoogleBuisness(): ?string
{
return $this->pc_google_buisness;
}
public function setPcGoogleBuisness(?string $pc_google_buisness): self
{
$this->pc_google_buisness = $pc_google_buisness;
return $this;
}
public function isPcAvisGoogle(): ?bool
{
return $this->pc_avis_google;
}
public function setPcAvisGoogle(bool $pc_avis_google): self
{
$this->pc_avis_google = $pc_avis_google;
return $this;
}
/**
* @return mixed
*/
public function getPcTimeBeforeRdv()
{
return $this->pc_time_before_rdv;
}
/**
* @param mixed $pc_time_before_rdv
*/
public function setPcTimeBeforeRdv($pc_time_before_rdv): void
{
$this->pc_time_before_rdv = $pc_time_before_rdv;
}
public function isPcUtlDefault(): ?bool
{
return $this->pc_utl_default;
}
public function setPcUtlDefault(?bool $pc_utl_default): self
{
$this->pc_utl_default = $pc_utl_default;
return $this;
}
public function isPcAffPercent(): ?bool
{
return $this->pc_aff_percent;
}
public function setPcAffPercent(?bool $pc_aff_percent): self
{
$this->pc_aff_percent = $pc_aff_percent;
return $this;
}
public function isPcAffMontant(): ?bool
{
return $this->pc_aff_montant;
}
public function setPcAffMontant(?bool $pc_aff_montant): self
{
$this->pc_aff_montant = $pc_aff_montant;
return $this;
}
public function isPcForceImmat(): ?bool
{
return $this->pc_force_immat;
}
public function setPcForceImmat(?bool $pc_force_immat): self
{
$this->pc_force_immat = $pc_force_immat;
return $this;
}
public function isPcCodePromo(): ?bool
{
return $this->pc_code_promo;
}
public function setPcCodePromo(?bool $pc_code_promo): self
{
$this->pc_code_promo = $pc_code_promo;
return $this;
}
public function getPcUtl(): ?Utilisateur
{
return $this->pc_utl;
}
public function setPcUtl(?Utilisateur $pc_utl): self
{
$this->pc_utl = $pc_utl;
return $this;
}
public function getPcMessageConfSms(): ?string
{
return $this->pc_message_conf_sms;
}
public function setPcMessageConfSms(?string $pc_message_conf_sms): self
{
$this->pc_message_conf_sms = $pc_message_conf_sms;
return $this;
}
public function getPcMessageRappelSms(): ?string
{
return $this->pc_message_rappel_sms;
}
public function setPcMessageRappelSms(?string $pc_message_rappel_sms): self
{
$this->pc_message_rappel_sms = $pc_message_rappel_sms;
return $this;
}
public function getPcMessageAnnulSms(): ?string
{
return $this->pc_message_annul_sms;
}
public function setPcMessageAnnulSms(?string $pc_message_annul_sms): self
{
$this->pc_message_annul_sms = $pc_message_annul_sms;
return $this;
}
public function isPcEnvoiSmsAvis(): ?bool
{
return $this->pc_envoi_sms_avis;
}
public function setPcEnvoiSmsAvis(?bool $pc_envoi_sms_avis): self
{
$this->pc_envoi_sms_avis = $pc_envoi_sms_avis;
return $this;
}
public function getPcMessageAvisGoogleSms(): ?string
{
return $this->pc_message_avis_google_sms;
}
public function setPcMessageAvisGoogleSms(?string $pc_message_avis_google_sms): self
{
$this->pc_message_avis_google_sms = $pc_message_avis_google_sms;
return $this;
}
public function isPcEnvoiEmailAvis(): ?bool
{
return $this->pc_envoi_email_avis;
}
public function setPcEnvoiEmailAvis(?bool $pc_envoi_email_avis): self
{
$this->pc_envoi_email_avis = $pc_envoi_email_avis;
return $this;
}
public function isPcEnvoiSmsConfirm(): ?bool
{
return $this->pc_envoi_sms_confirm;
}
public function setPcEnvoiSmsConfirm(?bool $pc_envoi_sms_confirm): self
{
$this->pc_envoi_sms_confirm = $pc_envoi_sms_confirm;
return $this;
}
public function getPcEmailConfCustom(): ?string
{
return $this->pc_email_conf_custom;
}
public function setPcEmailConfCustom(?string $pc_email_conf_custom): self
{
$this->pc_email_conf_custom = $pc_email_conf_custom;
return $this;
}
}