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.
WF-Website/src/Entity/sourceEntity.php

78 lines
1.3 KiB

<?php
namespace Entity;
class SourceEntity
{
private int $id_source;
private string $title;
private string $date;
/**
* @param int $id_source
* @param string $title
* @param string $date
*/
public function __construct(int $id_source, string $title, string $date)
{
$this->id_source = $id_source;
$this->title = $title;
$this->date = $date;
}
/**
* @return int
*/
public function getIdSource(): int
{
return $this->id_source;
}
/**
* @param int $id_source
*/
public function setIdSource(int $id_source): void
{
$this->id_source = $id_source;
}
/**
* @return string
*/
public function getTitle(): string
{
return $this->title;
}
/**
* @param string $title
*/
public function setTitle(string $title): void
{
$this->title = $title;
}
/**
* @return string
*/
public function getDate(): string
{
return $this->date;
}
/**
* @param string $date
*/
public function setDate(string $date): void
{
$this->date = $date;
}
}