Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.217.117
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
src /
ContactBundle /
Entity /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
ContactMethod.php
1.14
KB
-rwxrwxr-x
2026-05-25 12:28
ContactReason.php
1.14
KB
-rwxrwxr-x
2026-05-25 12:28
MailChimpBatch.php
3.4
KB
-rwxrwxr-x
2026-04-02 11:48
Message.php
15.03
KB
-rwxrwxr-x
2026-05-18 12:51
MessageAttachment.php
1.78
KB
-rwxrwxr-x
2026-05-18 12:51
MessageCredit.php
6.23
KB
-rwxrwxr-x
2026-05-18 12:51
MessageEmbeddedImage.php
1.64
KB
-rwxrwxr-x
2026-05-18 12:51
MessageError.php
2.37
KB
-rwxrwxr-x
2026-05-18 12:51
MessageRecipient.php
8.45
KB
-rwxrwxr-x
2026-05-18 12:51
MessageStat.php
6.03
KB
-rwxrwxr-x
2026-05-18 12:51
MessageType.php
1.18
KB
-rwxrwxr-x
2026-05-25 12:28
Save
Rename
<?php namespace App\ContactBundle\Entity; use App\UserBundle\Entity\UserList; use Doctrine\DBAL\Types\Types; use Doctrine\ORM\Mapping as ORM; /** * MessageCredit * * @ORM\Table(name="contact_message_credit") * @ORM\Entity(repositoryClass="App\ContactBundle\Repository\MessageCreditRepository") * @ORM\HasLifecycleCallbacks */ class MessageCredit { /** * @ORM\Id * @ORM\Column(type="string", unique=true) * @ORM\GeneratedValue(strategy="CUSTOM") * @ORM\CustomIdGenerator(class="Ramsey\Uuid\Doctrine\UuidGenerator") */ private $id; /** * @ORM\Column(type="integer", options={"default": 0}) */ private $credit_number; /** * @ORM\Column(type="integer", options={"default": 0}) */ private $credit_used; /** * @ORM\Column(type="integer", options={"default": 0}) */ private $credit_remaining; /** * @ORM\Column(type="text", nullable=true) */ private $description; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $created_by; /** * @ORM\Column(type="datetime") */ private $created_at; /** * @ORM\Column(type="datetime") */ private $updated_at; /** * @ORM\ManyToOne(targetEntity="MessageType") * @ORM\JoinColumn(name="message_type_id", referencedColumnName="id") */ private $message_type; /** * @ORM\ManyToOne(targetEntity="App\UserBundle\Entity\UserList") * @ORM\JoinColumn(name="owner_id", referencedColumnName="id") */ private $owner; /** * Get id * * @return string */ public function getId() { return $this->id; } /** * Set credit_number * * @param integer $creditNumber * @return MessageCredit */ public function setCreditNumber($creditNumber) { $this->credit_number = $creditNumber; return $this; } /** * Get credit_number * * @return integer */ public function getCreditNumber() { return $this->credit_number; } /** * Set credit_used * * @param integer $creditUsed * @return MessageCredit */ public function setCreditUsed($creditUsed) { $this->credit_used = $creditUsed; return $this; } /** * Get credit_used * * @return integer */ public function getCreditUsed() { return $this->credit_used; } /** * Set credit_remaining * * @param integer $creditRemaining * @return MessageCredit */ public function setCreditRemaining($creditRemaining) { $this->credit_remaining = $creditRemaining; return $this; } /** * Get credit_remaining * * @return integer */ public function getCreditRemaining() { return $this->credit_remaining; } /** * Set created_by * * @param string $createdBy * @return MessageCredit */ public function setCreatedBy($createdBy) { $this->created_by = $createdBy; return $this; } /** * Get created_by * * @return string */ public function getCreatedBy() { return $this->created_by; } /** * Set created_at * * @param \DateTime $createdAt * @return MessageCredit */ public function setCreatedAt($createdAt) { $this->created_at = $createdAt; return $this; } /** * Get created_at * * @return \DateTime */ public function getCreatedAt() { return $this->created_at; } /** * Set updated_at * * @param \DateTime $updatedAt * @return MessageCredit */ public function setUpdatedAt($updatedAt) { $this->updated_at = $updatedAt; return $this; } /** * Get updated_at * * @return \DateTime */ public function getUpdatedAt() { return $this->updated_at; } /** * Set message_type * * @param \App\ContactBundle\Entity\ContactMessageType $messageType * @return MessageCredit */ public function setMessageType(?\App\ContactBundle\Entity\MessageType $messageType = null) { $this->message_type = $messageType; return $this; } /** * Get message_type * * @return \App\ContactBundle\Entity\ContactMessageType */ public function getMessageType() { return $this->message_type; } /** * Set owner * * @param \App\UserBundle\Entity\UserList $owner * @return MessageCredit */ public function setOwner(?\App\UserBundle\Entity\UserList $owner = null) { $this->owner = $owner; return $this; } /** * Get owner * * @return \App\UserBundle\Entity\UserList */ public function getOwner() { return $this->owner; } /** * @ORM\PrePersist */ public function setCreatedAtValue() { $this->setCreatedAt(new \DateTime()); } /** * @ORM\PrePersist */ public function setUpdatedAtValue() { $this->setUpdatedAt(new \DateTime()); } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): self { $this->description = $description; return $this; } /** * Get as array. * * @return array */ public function getArray() { $arr = array( 'id' => $this->getId(), 'creditNumber' => $this->getCreditNumber(), 'creditUsed' => $this->getCreditUsed(), 'creditRemaining' => $this->getCreditRemaining(), 'description' => $this->getDescription(), 'messageType' => null, 'owner' => null, 'createdBy' => $this->getCreatedBy(), 'createdAt' => $this->getCreatedAt(), 'updatedAt' => $this->getUpdatedAt(), ); if (is_object($this->getMessageType())) { $arr['messageType'] = $this->getMessageType(); } if (is_object($this->getOwner())) { $arr['owner'] = $this->getOwner(); } return $arr; } }