<?php
namespace App\Entity;
use App\Repository\UserRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: UserRepository::class)]
#[ORM\Table(name: '`user`')]
class User
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $Login = null;
#[ORM\Column(length: 255)]
private ?string $Password = null;
public function getId(): ?int
{
return $this->id;
}
public function getLogin(): ?string
{
return $this->Login;
}
public function setLogin(string $Login): self
{
$this->Login = $Login;
return $this;
}
public function getPassword(): ?string
{
return $this->Password;
}
public function setPassword(string $Password): self
{
$this->Password = $Password;
return $this;
}
}