?? GreyFile — Mystic File Browser

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



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

?? Viewing: DeviseKraken.php

<?php

namespace Application\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Une devise Kraken
 *
 * @ORM\Entity
 * @ORM\Table(name="devise_kraken")
 * @property int $id
 * @property Id $id
 */
class DeviseKraken {
    
    /**
     * @ORM\Id
     * @ORM\Column(type="integer", name="id");
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    public $id;
    
    /**
     * @ORM\Column(type="string", name="code")
     */
    protected $code;

    /**
     * @ORM\Column(type="string", columnDefinition="CHAR(255) NOT NULL")
     */
    public $nom;
    
    /**
     * @ORM\OneToOne(targetEntity="\Application\Entity\Devise")
     * @ORM\JoinColumn(name="devise_id", referencedColumnName="id", nullable=false)
     */
    public $devise;
    
    public function getId() {
        return $this->id;
    }

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

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

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

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

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

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

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


    
}


??

??