src/Entity/usl.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. #[ORM\Entity]
  5. #[ORM\Table(name"usl"options: ["comment"=> "Les tentatives de login"])]
  6. class usl
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue(strategy"IDENTITY")]
  10.     #[ORM\Column(name"uslid"type"integer"options: ["comment" => "Id usl"])]
  11.     private $uslid;
  12.     #[ORM\Column(name"uslip"type"string"length255options: ["comment"=> "IP ddeur (externe si dispo)"])]
  13.     private $uslip;
  14.     #[ORM\Column(name"usldat"type"datetime"nullablefalseoptions: ["comment"=> "Date dde"])]
  15.     private $usldat;
  16.     #[ORM\Column(name"usllogin"type"string"length50nullabletrueoptions: ["comment"=> "login si tentative échouée"])]
  17.     private $usllogin;
  18.     #[ORM\Column(name"uslctx"type"string"length10nullabletrueoptions: ["comment"=> "contexte : start, login, error, logout"])]
  19.     private $uslctx;
  20.     #[ORM\Column(name"uslcook"type"string"length255nullabletrueoptions: ["comment"=> "phpsessid, cookie session"])]
  21.     private $uslcook;
  22.     
  23.     public function __construct()
  24.     {
  25.         //parent::__construct();
  26.     }
  27.     
  28.     
  29.     /**
  30.      * Get uslid
  31.      */
  32.     public function getUslid(): ?int
  33.     {
  34.         return $this->uslid;
  35.     }
  36.     
  37.     /**
  38.      * Get uslip
  39.      */
  40.     public function getUslip(): ?string
  41.     {
  42.         return $this->usllip;
  43.     }
  44.     /**
  45.      * Set uslip
  46.      */
  47.     public function setUslip($uslip): static
  48.     {
  49.         $this->uslip $uslip;
  50.         return $this;
  51.     }
  52.     
  53.     /**
  54.      * Get Usldat
  55.      */
  56.     public function getUsldat(): ?\DateTimeInterface
  57.     {
  58.         return $this->usldat;
  59.     }
  60.     /**
  61.      * Set usldat
  62.      */
  63.     public function setUsldat($usldat): static
  64.     {
  65.         $this->usldat $usldat;
  66.         return $this;
  67.     }
  68.     /**
  69.      * Get usllogin
  70.      */
  71.     public function getUsllogin(): ?string
  72.     {
  73.         return $this->usllogin;
  74.     }
  75.     /**
  76.      * Set usllogin
  77.      */
  78.     public function setUsllogin($usllogin): static
  79.     {
  80.         $this->usllogin $usllogin;
  81.         return $this;
  82.     }
  83.     
  84.     /**
  85.      * Get uslctx
  86.      */
  87.     public function getUslctx(): ?string
  88.     {
  89.         return $this->uslctx;
  90.     }
  91.     /**
  92.      * Set uslctx
  93.      */
  94.     public function setUslctx($uslctx)
  95.     {
  96.         $this->uslctx $uslctx;
  97.         return $this;
  98.     }
  99.     
  100.     /**
  101.      * Get uslcook
  102.      */
  103.     public function getUslcook(): ?string
  104.     {
  105.         return $this->uslcook;
  106.     }
  107.     /**
  108.      * Set uslcook
  109.      */
  110.     public function setUslcook($uslcook)
  111.     {
  112.         $this->uslcook $uslcook;
  113.         return $this;
  114.     }
  115.     
  116. }