src/Entity/Website/Analytics.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Website;
  3. use App\Entity\Website\Website\Website;
  4. use App\Repository\AnalyticsRepository;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. use Symfony\Bridge\Doctrine\IdGenerator\UuidGenerator;
  8. use App\Entity\BaseEntity;
  9. #[ORM\Entity(repositoryClassAnalyticsRepository::class)]
  10. class Analytics extends BaseEntity
  11. {
  12.     #[ORM\Id]
  13.     #[ORM\GeneratedValue(strategy'CUSTOM')]
  14.     #[ORM\CustomIdGenerator(class: UuidGenerator::class)]
  15.     #[ORM\Column(type'guid'uniquetrue)]
  16.     private ?string $id null;
  17.     #[ORM\Column(typeTypes::DATE_MUTABLE)]
  18.     private ?\DateTimeInterface $date null;
  19.     #[ORM\Column(typeTypes::BIGINT)]
  20.     private ?string $walletIncrease null;
  21.     #[ORM\Column(typeTypes::BIGINT)]
  22.     private ?string $boughtService null;
  23.     #[ORM\Column]
  24.     private ?int $v2ray null;
  25.     #[ORM\Column]
  26.     private ?int $open null;
  27.     #[ORM\Column]
  28.     private ?int $ocServ null;
  29.     #[ORM\Column]
  30.     private ?int $vip null;
  31.     #[ORM\Column(typeTypes::BIGINTnullabletrue)]
  32.     private ?string $boughtVolume null;
  33.     #[ORM\Column(typeTypes::BIGINTnullabletrue)]
  34.     private ?string $v2rayUnlimited null;
  35.     #[ORM\Column(typeTypes::BIGINTnullabletrue)]
  36.     private ?string $openUnlimited null;
  37.     #[ORM\Column(typeTypes::BIGINTnullabletrue)]
  38.     private ?string $ocServUnlimited null;
  39.     #[ORM\ManyToOne(inversedBy'analytics')]
  40.     #[ORM\JoinColumn(nullablefalse)]
  41.     private ?Website $website null;
  42.     public function getId(): ?string
  43.     {
  44.         return $this->id;
  45.     }
  46.     public function getDate(): ?\DateTimeInterface
  47.     {
  48.         return $this->date;
  49.     }
  50.     public function setDate(\DateTimeInterface $date): self
  51.     {
  52.         $this->date $date;
  53.         return $this;
  54.     }
  55.     public function getWalletIncrease(): ?string
  56.     {
  57.         return $this->walletIncrease;
  58.     }
  59.     public function setWalletIncrease(string $walletIncrease): self
  60.     {
  61.         $this->walletIncrease $walletIncrease;
  62.         return $this;
  63.     }
  64.     public function getBoughtService(): ?string
  65.     {
  66.         return $this->boughtService;
  67.     }
  68.     public function setBoughtService(string $boughtService): self
  69.     {
  70.         $this->boughtService $boughtService;
  71.         return $this;
  72.     }
  73.     public function getV2ray(): ?int
  74.     {
  75.         return $this->v2ray;
  76.     }
  77.     public function setV2ray(int $v2ray): self
  78.     {
  79.         $this->v2ray $v2ray;
  80.         return $this;
  81.     }
  82.     public function getOpen(): ?int
  83.     {
  84.         return $this->open;
  85.     }
  86.     public function setOpen(int $open): self
  87.     {
  88.         $this->open $open;
  89.         return $this;
  90.     }
  91.     public function getOcServ(): ?int
  92.     {
  93.         return $this->ocServ;
  94.     }
  95.     public function setOcServ(int $ocServ): self
  96.     {
  97.         $this->ocServ $ocServ;
  98.         return $this;
  99.     }
  100.     public function getVip(): ?int
  101.     {
  102.         return $this->vip;
  103.     }
  104.     public function setVip(int $vip): self
  105.     {
  106.         $this->vip $vip;
  107.         return $this;
  108.     }
  109.     public function getBoughtVolume(): ?string
  110.     {
  111.         return $this->boughtVolume;
  112.     }
  113.     public function setBoughtVolume(?string $boughtVolume): static
  114.     {
  115.         $this->boughtVolume $boughtVolume;
  116.         return $this;
  117.     }
  118.     public function getV2rayUnlimited(): ?string
  119.     {
  120.         return $this->v2rayUnlimited;
  121.     }
  122.     public function setV2rayUnlimited(?string $v2rayUnlimited): static
  123.     {
  124.         $this->v2rayUnlimited $v2rayUnlimited;
  125.         return $this;
  126.     }
  127.     public function getOpenUnlimited(): ?string
  128.     {
  129.         return $this->openUnlimited;
  130.     }
  131.     public function setOpenUnlimited(?string $openUnlimited): static
  132.     {
  133.         $this->openUnlimited $openUnlimited;
  134.         return $this;
  135.     }
  136.     public function getOcServUnlimited(): ?string
  137.     {
  138.         return $this->ocServUnlimited;
  139.     }
  140.     public function setOcServUnlimited(?string $ocServUnlimited): static
  141.     {
  142.         $this->ocServUnlimited $ocServUnlimited;
  143.         return $this;
  144.     }
  145.     public function getWebsite(): ?Website
  146.     {
  147.         return $this->website;
  148.     }
  149.     public function setWebsite(?Website $website): static
  150.     {
  151.         $this->website $website;
  152.         return $this;
  153.     }
  154. }