src/Entity/UserSat.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\UserSatRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassUserSatRepository::class)]
  7. class UserSat
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column(type'integer')]
  12.     private ?int $id;
  13.     #[ORM\ManyToOne(targetEntityUserInfo::class)]
  14.     private ?UserInfo $userInfo;
  15.     #[ORM\Column(type'integer'nullabletrue)]
  16.     private ?int $satYear;
  17.     #[ORM\Column(type'string'length255nullabletrue)]
  18.     private ?string $satCode;
  19.     #[ORM\Column(type'string'length255)]
  20.     private ?string $satPassword;
  21.     #[ORM\Column(type'json'nullabletrue)]
  22.     private ?array $satData;
  23.     #[ORM\Column(type'boolean')]
  24.     private ?bool $isConfirm;
  25.     #[ORM\Column(type'boolean')]
  26.     private ?bool $isDeleted;
  27.     #[ORM\ManyToOne(targetEntityUser::class)]
  28.     private ?User $userCreated;
  29.     #[ORM\Column(type'datetime'nullabletrue)]
  30.     private ?\DateTimeInterface $timeCreated;
  31.     public function getId(): ?int
  32.     {
  33.         return $this->id;
  34.     }
  35.     public function getSatCode(): ?string
  36.     {
  37.         return $this->satCode;
  38.     }
  39.     public function setSatCode(string $satCode): self
  40.     {
  41.         $this->satCode $satCode;
  42.         return $this;
  43.     }
  44.     public function getSatPassword(): ?string
  45.     {
  46.         return $this->satPassword;
  47.     }
  48.     public function setSatPassword(string $satPassword): self
  49.     {
  50.         $this->satPassword $satPassword;
  51.         return $this;
  52.     }
  53.     public function getUserInfo(): ?UserInfo
  54.     {
  55.         return $this->userInfo;
  56.     }
  57.     public function setUserInfo(?UserInfo $userInfo): self
  58.     {
  59.         $this->userInfo $userInfo;
  60.         return $this;
  61.     }
  62.     public function isIsDeleted(): ?bool
  63.     {
  64.         return $this->isDeleted;
  65.     }
  66.     public function setIsDeleted(?bool $isDeleted): self
  67.     {
  68.         $this->isDeleted $isDeleted;
  69.         return $this;
  70.     }
  71.     public function getSatYear(): ?int
  72.     {
  73.         return $this->satYear;
  74.     }
  75.     public function setSatYear(?int $satYear): self
  76.     {
  77.         $this->satYear $satYear;
  78.         return $this;
  79.     }
  80.     public function getSatData(): ?array
  81.     {
  82.         return $this->satData;
  83.     }
  84.     public function setSatData(?array $satData): self
  85.     {
  86.         $this->satData $satData;
  87.         return $this;
  88.     }
  89.     public function isIsConfirm(): ?bool
  90.     {
  91.         return $this->isConfirm;
  92.     }
  93.     public function setIsConfirm(bool $isConfirm): self
  94.     {
  95.         $this->isConfirm $isConfirm;
  96.         return $this;
  97.     }
  98.     public function getTimeCreated(): ?\DateTimeInterface
  99.     {
  100.         return $this->timeCreated;
  101.     }
  102.     public function setTimeCreated(?\DateTimeInterface $timeCreated): self
  103.     {
  104.         $this->timeCreated $timeCreated;
  105.         return $this;
  106.     }
  107.     public function getUserCreated(): ?User
  108.     {
  109.         return $this->userCreated;
  110.     }
  111.     public function setUserCreated(?User $userCreated): self
  112.     {
  113.         $this->userCreated $userCreated;
  114.         return $this;
  115.     }
  116. }