<?phpnamespace App\Entity\Telegram\AgentPublicBot;use App\Entity\BaseEntity;use App\Repository\Telegram\AgentPublicBot\BotTransactionRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;use Symfony\Bridge\Doctrine\IdGenerator\UuidGenerator;#[ORM\Entity(repositoryClass: BotTransactionRepository::class)]class BotTransaction extends BaseEntity{ #[ORM\Id] #[ORM\Column(type: 'guid', unique: true)] #[ORM\GeneratedValue(strategy: 'CUSTOM')] #[ORM\CustomIdGenerator(class: UuidGenerator::class)] private ?string $id = null; #[ORM\ManyToOne(inversedBy: 'botTransactions')] #[ORM\JoinColumn(nullable: false)] private ?BotUser $botUser = null; #[ORM\Column] private ?int $type = null; #[ORM\Column(type: Types::BIGINT)] private ?string $price = null; #[ORM\Column(length: 255)] private ?string $description = null; #[ORM\Column(type: Types::BIGINT)] private ?string $beforeWallet = null; #[ORM\Column(type: Types::BIGINT)] private ?string $afterWallet = null; #[ORM\ManyToOne(inversedBy: 'botTransactions')] #[ORM\JoinColumn(nullable: false)] private ?Bot $bot = null; public function getId(): ?string { return $this->id; } public function getBotUser(): ?BotUser { return $this->botUser; } public function setBotUser(?BotUser $botUser): static { $this->botUser = $botUser; return $this; } public function getType(): ?int { return $this->type; } public function setType(int $type): static { $this->type = $type; return $this; } public function getPrice(): ?string { return $this->price; } public function setPrice(string $price): static { $this->price = $price; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(string $description): static { $this->description = $description; return $this; } public function getBeforeWallet(): ?string { return $this->beforeWallet; } public function setBeforeWallet(string $beforeWallet): static { $this->beforeWallet = $beforeWallet; return $this; } public function getAfterWallet(): ?string { return $this->afterWallet; } public function setAfterWallet(string $afterWallet): static { $this->afterWallet = $afterWallet; return $this; } public function getBot(): ?Bot { return $this->bot; } public function setBot(?Bot $bot): static { $this->bot = $bot; return $this; }}