<?php
namespace App\Entity;
use App\Repository\SystemConfigRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=SystemConfigRepository::class)
*/
class SystemConfig
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=100, nullable=true, options={"comment"="站点名称"})
*/
private $siteName;
/**
* @ORM\Column(type="text", nullable=true, options={"comment"="关键词"})
*/
private $keywords;
/**
* @ORM\Column(type="string", length=150, nullable=true, options={"comment"="logo"})
*/
private $logo;
/**
* @ORM\Column(type="string", length=100, nullable=true, options={"comment"="后台站点名称"})
*/
private $adminSiteName;
/**
* @ORM\Column(type="string", length=100, nullable=true, options={"comment"="前端网址http[s]"})
*/
private $domain;
/**
* @ORM\Column(type="integer", nullable=true, options={"comment"="提现手续费", "default"=0})
*/
private $cashoutRate = 0;
/**
* @ORM\Column(type="string", length=150, nullable=true, options={"comment"="客服图片"})
*/
private $wechat;
/**
* @ORM\Column(type="decimal", precision=6, scale=2, nullable=true, options={"comment"="自提点每单奖励", "default"=0.5})
*/
private $rewardMoneyZiti = 0.5;
/**
* @ORM\Column(type="text", nullable=true, options={"comment"="签到说明"})
*/
private $signin;
/**
* @ORM\Column(type="string", length=100, nullable=true)
*/
private $yichadan;
public function getId(): ?int
{
return $this->id;
}
public function getSiteName(): ?string
{
return $this->siteName;
}
public function setSiteName(?string $siteName): self
{
$this->siteName = $siteName;
return $this;
}
public function getKeywords(): ?string
{
return $this->keywords;
}
public function setKeywords(?string $keywords): self
{
$this->keywords = $keywords;
return $this;
}
public function getLogo(): ?string
{
return $this->logo;
}
public function setLogo(?string $logo): self
{
$this->logo = $logo;
return $this;
}
public function getAdminSiteName(): ?string
{
return $this->adminSiteName;
}
public function setAdminSiteName(?string $adminSiteName): self
{
$this->adminSiteName = $adminSiteName;
return $this;
}
public function getDomain(): ?string
{
return $this->domain;
}
public function setDomain(?string $domain): self
{
$this->domain = $domain;
return $this;
}
public function getCashoutRate(): ?string
{
return $this->cashoutRate;
}
public function setCashoutRate(?string $cashoutRate): self
{
$this->cashoutRate = $cashoutRate;
return $this;
}
public function getWechat(): ?string
{
return $this->wechat;
}
public function setWechat(?string $wechat): self
{
$this->wechat = $wechat;
return $this;
}
public function getRewardMoneyZiti(): ?string
{
return $this->rewardMoneyZiti;
}
public function setRewardMoneyZiti(?string $rewardMoneyZiti): self
{
$this->rewardMoneyZiti = $rewardMoneyZiti;
return $this;
}
public function getSignin(): ?string
{
return $this->signin;
}
public function setSignin(?string $signin): self
{
$this->signin = $signin;
return $this;
}
public function getYichadan(): ?string
{
return $this->yichadan;
}
public function setYichadan(?string $yichadan): self
{
$this->yichadan = $yichadan;
return $this;
}
}