src/Entity/ProfitwellUser.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ProfitwellUserRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassProfitwellUserRepository::class)]
  6. class ProfitwellUser
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length255)]
  13.     private $profitwell_id;
  14.     #[ORM\Column(type'datetime'nullabletrue)]
  15.     private $updatedAt;
  16.     #[ORM\Column(type'string'length255)]
  17.     private $profitwell_subscription_id;
  18.     #[ORM\Column(type'string'length255nullabletrue)]
  19.     private $status;
  20.     #[ORM\ManyToOne(targetEntityUser::class, inversedBy'profitwellUsers')]
  21.     #[ORM\JoinColumn(nullablefalse)]
  22.     private $user;
  23.     public function getId(): ?int
  24.     {
  25.         return $this->id;
  26.     }
  27.     public function getProfitwellId(): ?string
  28.     {
  29.         return $this->profitwell_id;
  30.     }
  31.     public function setProfitwellId(string $profitwell_id): self
  32.     {
  33.         $this->profitwell_id $profitwell_id;
  34.         return $this;
  35.     }
  36.     public function getUpdatedAt(): ?\DateTimeInterface
  37.     {
  38.         return $this->updatedAt;
  39.     }
  40.     public function setUpdatedAt(?\DateTimeInterface $updatedAt): self
  41.     {
  42.         $this->updatedAt $updatedAt;
  43.         return $this;
  44.     }
  45.     public function getProfitwellSubscriptionId(): ?string
  46.     {
  47.         return $this->profitwell_subscription_id;
  48.     }
  49.     public function setProfitwellSubscriptionId(string $profitwell_subscription_id): self
  50.     {
  51.         $this->profitwell_subscription_id $profitwell_subscription_id;
  52.         return $this;
  53.     }
  54.     public function getStatus(): ?string
  55.     {
  56.         return $this->status;
  57.     }
  58.     public function setStatus(?string $status): self
  59.     {
  60.         $this->status $status;
  61.         return $this;
  62.     }
  63.     public function getUser(): ?User
  64.     {
  65.         return $this->user;
  66.     }
  67.     public function setUser(?User $user): self
  68.     {
  69.         $this->user $user;
  70.         return $this;
  71.     }
  72. }