<?phpnamespace App\Entity\Telegram\AgentPublicBot;use App\Entity\BaseEntity;use App\Repository\Telegram\AgentPublicBot\BotAnalyticsRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;use Symfony\Bridge\Doctrine\IdGenerator\UuidGenerator;#[ORM\Entity(repositoryClass: BotAnalyticsRepository::class)]class BotAnalytics extends BaseEntity{ #[ORM\Id] #[ORM\Column(type: 'guid', unique: true)] #[ORM\GeneratedValue(strategy: 'CUSTOM')] #[ORM\CustomIdGenerator(class: UuidGenerator::class)] private ?string $id = null; #[ORM\Column(type: Types::DATE_MUTABLE)] private ?\DateTimeInterface $date = null; #[ORM\Column(type: Types::BIGINT)] private ?string $walletIncrease = null; #[ORM\Column] private ?int $boughtService = null; #[ORM\Column] private ?int $v2ray = null; #[ORM\Column] private ?int $open = null; #[ORM\Column] private ?int $ocServ = null; #[ORM\Column] private ?int $vip = null; #[ORM\Column(type: Types::BIGINT)] private ?string $boughtVolume = null; #[ORM\Column] private ?int $v2rayUnlimited = null; #[ORM\Column] private ?int $openUnlimited = null; #[ORM\Column] private ?int $ocServUnlimited = null; #[ORM\ManyToOne(inversedBy: 'botAnalytics')] #[ORM\JoinColumn(nullable: false)] private ?Bot $bot = null; #[ORM\Column] private ?int $testService = null; public function __construct() { parent::__construct(); $this->walletIncrease = 0; $this->boughtService = 0; $this->v2ray = 0; $this->open = 0; $this->ocServ = 0; $this->vip = 0; $this->boughtVolume = 0; $this->v2rayUnlimited = 0; $this->openUnlimited = 0; $this->ocServUnlimited = 0; $this->testService = 0; } public function getId(): ?string { return $this->id; } public function getDate(): ?\DateTimeInterface { return $this->date; } public function setDate(\DateTimeInterface $date): static { $this->date = $date; return $this; } public function getWalletIncrease(): ?string { return $this->walletIncrease; } public function setWalletIncrease(string $walletIncrease): static { $this->walletIncrease = $walletIncrease; return $this; } public function getBoughtService(): ?int { return $this->boughtService; } public function setBoughtService(int $boughtService): static { $this->boughtService = $boughtService; return $this; } public function getV2ray(): ?int { return $this->v2ray; } public function setV2ray(int $v2ray): static { $this->v2ray = $v2ray; return $this; } public function getOpen(): ?int { return $this->open; } public function setOpen(int $open): static { $this->open = $open; return $this; } public function getOcServ(): ?int { return $this->ocServ; } public function setOcServ(int $ocServ): static { $this->ocServ = $ocServ; return $this; } public function getVip(): ?int { return $this->vip; } public function setVip(int $vip): static { $this->vip = $vip; return $this; } public function getBoughtVolume(): ?string { return $this->boughtVolume; } public function setBoughtVolume(string $boughtVolume): static { $this->boughtVolume = $boughtVolume; return $this; } public function getV2rayUnlimited(): ?int { return $this->v2rayUnlimited; } public function setV2rayUnlimited(int $v2rayUnlimited): static { $this->v2rayUnlimited = $v2rayUnlimited; return $this; } public function getOpenUnlimited(): ?int { return $this->openUnlimited; } public function setOpenUnlimited(int $openUnlimited): static { $this->openUnlimited = $openUnlimited; return $this; } public function getOcServUnlimited(): ?int { return $this->ocServUnlimited; } public function setOcServUnlimited(int $ocServUnlimited): static { $this->ocServUnlimited = $ocServUnlimited; return $this; } public function getBot(): ?Bot { return $this->bot; } public function setBot(?Bot $bot): static { $this->bot = $bot; return $this; } public function getTestService(): ?int { return $this->testService; } public function setTestService(int $testService): static { $this->testService = $testService; return $this; }}