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
*/
1 year ago
private string $name;
/**
* @var string Entreprise de l'offre
*/
1 year ago
private string $company;
/**
1 year ago
* @var Compte recruteur
*/
1 year ago
private Compte $recruiter;
/**
1 year ago
* @var string description de l'offre
*/
1 year ago
private string $description;
1 year ago
public function __construct(string $offername,string $offercompany,
string $offermanager,string $description)
{
1 year ago
$this->name = $offername;
$this->company = $offercompany;
$this->recruiter = $offermanager;
$this->description = $description;
}
1 year ago
/**
* @return string
*/
public function getName(): string
{
1 year ago
return $this->name;
}
1 year ago
/**
* @return string
*/
public function getCompany(): string
{
1 year ago
return $this->company;
}
1 year ago
/**
* @return Compte|string
*/
public function getRecruiter(): Compte|string
{
1 year ago
return $this->recruiter;
}
1 year ago
/**
* @return string
*/
public function getDescription(): string
{
return $this->description;
}
}