?? GreyFile — Mystic File Browser

Current path: home/webdevt/cryptoimpot.fr/module/Application/src/Entity/



?? Go up: /home/webdevt/cryptoimpot.fr/module/Application/src

?? Viewing: API.php

<?php

namespace Application\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;

/**
 * Un statut de document
 *
 * @ORM\Entity
 * @ORM\Table(name="exchange")
 * @property int $id
 * @property string $name
 */
class API {

    /**
     * @ORM\Id
     * @ORM\Column(type="integer", name="id");
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    public $id;

    /**
     * @var Exchange $exchange
     *
     * @ORM\ManyToOne(targetEntity="Application\Entity\Exchange", inversedBy="ledgio", cascade={"persist", "merge"})
     * @ORM\JoinColumns({
     * @ORM\JoinColumn(name="exchange_id", referencedColumnName="id")
     * })
     */
    public $exchange;

    /**
     * @ORM\ManyToOne(targetEntity="\User\Entity\User", inversedBy="ledgios")
     * @ORM\JoinColumn(nullable=false)
     */
    public $user;

    /**
     * @ORM\Column(type="string")
     */
    public $public;

    /**
     * @ORM\Column(type="string")
     */
    public $secret;

    public function getId() {
        return $this->id;
    }

    public function getExchange(): Exchange {
        return $this->exchange;
    }

    public function getUser() {
        return $this->user;
    }

    public function getPublic() {
        return $this->public;
    }

    public function getSecret() {
        return $this->secret;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function setExchange(Exchange $exchange) {
        $this->exchange = $exchange;
    }

    public function setUser($user) {
        $this->user = $user;
    }

    public function setPublic($public) {
        $this->public = $public;
    }

    public function setSecret($secret) {
        $this->secret = $secret;
    }



}


??

??