Current path: home/webdevt/cryptoimpot.fr/module/Application/src/Entity/
?? Go up: /home/webdevt/cryptoimpot.fr/module/Application/src
<?php
namespace Application\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Une devise Bittrex
* https://api.bittrex.com/api/v1.1/public/getcurrencies
*
* @ORM\Entity
* @ORM\Table(name="devise_bittrex")
* @property int $id
* @property Id $id
*/
class DeviseBittrex {
/**
* @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;
}
}