You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SAE_2A_FA-Reseau_ALICA/php/metier/Offre.php

71 lines
1.2 KiB

<?php
class Offre
{
/**
* @var string intitulé de l'offre
*/
private string $name;
/**
* @var string Entreprise de l'offre
*/
private string $company;
/**
* @var Compte recruteur
*/
private Compte $recruiter;
/**
* @var string description de l'offre
*/
private string $description;
public function __construct(string $offername,string $offercompany,
string $offermanager,string $description)
{
$this->name = $offername;
$this->company = $offercompany;
$this->recruiter = $offermanager;
$this->description = $description;
}
/**
* @return string
*/
public function getName(): string
{
return $this->name;
}
/**
* @return string
*/
public function getCompany(): string
{
return $this->company;
}
/**
* @return Compte|string
*/
public function getRecruiter(): Compte|string
{
return $this->recruiter;
}
/**
* @return string
*/
public function getDescription(): string
{
return $this->description;
}
}