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_anglais/Project/php/model/Group.php

56 lines
908 B

<?php
namespace model;
class Group
{
protected int $id;
protected int $num;
protected int $year;
protected string $sector;
/**
* @param int $id
* @param int $num
* @param int $year
* @param string $sector
*/
public function __construct(int $id, int $num, int $year, string $sector)
{
$this->id = $id;
$this->num = $num;
$this->year = $year;
$this->sector = $sector;
}
/**
* @return int
*/
public function getId(): int
{
return $this->id;
}
/**
* @return int
*/
public function getNum(): int
{
return $this->num;
}
/**
* @return int
*/
public function getYear(): int
{
return $this->year;
}
/**
* @return string
*/
public function getSector(): string
{
return $this->sector;
}
}