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
*
* @ORM\Entity
* @ORM\Table(name="devise_min_api_crypto_compare")
* @property int $id
*
*
*
* {"Id":"4321","Url":"/coins/42/overview","ImageUrl":"/media/35650717/42.jpg","ContentCreatedOn":1427211129,"Name":"42","Symbol":"42","CoinName":"42 Coin","FullName":"42 Coin (42)","Description":"Everything about 42 coin is 42 - apart from the transaction fees and difficulty retargetting - 0.00000001 and 7.5mins. A scrypt coin with 42 coins max, a 42 second block time, with superblocks giving 10 times the standard block reward of 0.0000420 42's.42 coin is a cryptocurrency with completed emission, fair distribution (no ICO, premine or instamine) and both private and public transaction support. The maximum supply of 42 coins makes the remaining 41.99 extremely rare. The innovative deflationary model provides a constant rise in incentives both for miners and long term investors. 42-coin delivers a hybrid of Proof-of-Work and Proof-of-Stake transaction confirmation methods and represents a new way of securing the network against 51% attacks.","AssetTokenStatus":"N/A","Algorithm":"Scrypt","ProofType":"PoW/PoS","SortOrder":"34","Sponsored":false,"Taxonomy":{"Access":"","FCA":"","FINMA":"","Industry":"","CollateralizedAsset":"","CollateralizedAssetType":"","CollateralType":"","CollateralInfo":""},"Rating":{"Weiss":{"Rating":"","TechnologyAdoptionRating":"","MarketPerformanceRating":""}},"IsTrading":true,"TotalCoinsMined":0,"BlockNumber":0,"NetHashesPerSecond":0,"BlockReward":0,"BlockTime":0,"AssetLaunchDate":"0000-00-00","MaxSupply":0,"MktCapPenalty":0},
*/
class DeviseMinApiCryptoCompare
{
/**
* @ORM\Id
* @ORM\Column(type="integer", name="id");
*/
protected $id;
/**
* @ORM\Column(type="string", name="url")
*/
protected $url;
/**
* @ORM\Column(type="string", name="imageUrl")
*/
protected $imageUrl;
/**
* @ORM\Column(type="datetime", nullable=true, name="contentCreatedOn")
* @ORM\Version
* */
protected $contentCreatedOn;
/**
* @ORM\Column(type="string", name="name")
*/
protected $name;
/**
* @ORM\Column(type="string", name="symbol")
*/
protected $symbol;
/**
* @ORM\Column(type="string", name="coinName")
*/
protected $coinName;
/**
* @ORM\Column(type="string", name="fullName")
*/
protected $fullName;
/**
* @ORM\Column(type="string", name="description")
*/
protected $description;
/**
* @ORM\Column(type="string", name="algorithm")
*/
protected $algorithm;
/**
* @ORM\Column(type="string", name="proofType")
*/
protected $proofType;
public function __construct($parameter)
{
if (!empty($parameter)) {
foreach (get_object_vars($this) as $attr => $val) {
$this->$attr = isset($parameter[ucfirst($attr)]) ? $parameter[ucfirst($attr)] : null;
}
}
}
/**
* @return int
*/
public function getId(): int
{
return $this->id;
}
/**
* @param int $id
*/
public function setId(int $id): void
{
$this->id = $id;
}
/**
* @return mixed
*/
public function getUrl()
{
return $this->url;
}
/**
* @param mixed $url
*/
public function setUrl($url): void
{
$this->url = $url;
}
/**
* @return mixed
*/
public function getImageUrl()
{
return $this->imageUrl;
}
/**
* @param mixed $imageUrl
*/
public function setImageUrl($imageUrl): void
{
$this->imageUrl = $imageUrl;
}
/**
* @return mixed
*/
public function getContentCreatedOn()
{
return $this->contentCreatedOn;
}
/**
* @param mixed $contentCreatedOn
*/
public function setContentCreatedOn($contentCreatedOn): void
{
$this->contentCreatedOn = $contentCreatedOn;
}
/**
* @return mixed
*/
public function getName()
{
return $this->name;
}
/**
* @param mixed $name
*/
public function setName($name): void
{
$this->name = $name;
}
/**
* @return mixed
*/
public function getSymbol()
{
return $this->symbol;
}
/**
* @param mixed $symbol
*/
public function setSymbol($symbol): void
{
$this->symbol = $symbol;
}
/**
* @return mixed
*/
public function getCoinName()
{
return $this->coinName;
}
/**
* @param mixed $coinName
*/
public function setCoinName($coinName): void
{
$this->coinName = $coinName;
}
/**
* @return mixed
*/
public function getFullName()
{
return $this->fullName;
}
/**
* @param mixed $fullName
*/
public function setFullName($fullName): void
{
$this->fullName = $fullName;
}
/**
* @return mixed
*/
public function getDescription()
{
return $this->description;
}
/**
* @param mixed $description
*/
public function setDescription($description): void
{
$this->description = $description;
}
/**
* @return mixed
*/
public function getAlgorithm()
{
return $this->algorithm;
}
/**
* @param mixed $algorithm
*/
public function setAlgorithm($algorithm): void
{
$this->algorithm = $algorithm;
}
/**
* @return mixed
*/
public function getProofType()
{
return $this->proofType;
}
/**
* @param mixed $proofType
*/
public function setProofType($proofType): void
{
$this->proofType = $proofType;
}
}