<?php
declare(strict_types=1);
namespace App\Entity\System;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Repository\System\FtpStatusRepository")
*
* @ORM\Table(name="ftp_status")
*/
class FtpStatus
{
public const STATUS_ACTIVE = 1;
public const STATUS_INACTIVE = 2;
/**
* @ORM\Id
*
* @ORM\Column(type="integer", name="id_ftp_status")
*/
private int $id;
/**
* @ORM\Column(type="string")
*/
private string $name;
public function getId(): int
{
return $this->id;
}
public function setId(int $id): FtpStatus
{
$this->id = $id;
return $this;
}
public function getName(): string
{
return $this->name;
}
public function setName(string $name): FtpStatus
{
$this->name = $name;
return $this;
}
}