src/Entity/SystemConfig.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SystemConfigRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=SystemConfigRepository::class)
  7.  */
  8. class SystemConfig
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=100, nullable=true, options={"comment"="站点名称"})
  18.      */
  19.     private $siteName;
  20.     /**
  21.      * @ORM\Column(type="text", nullable=true, options={"comment"="关键词"})
  22.      */
  23.     private $keywords;
  24.     /**
  25.      * @ORM\Column(type="string", length=150, nullable=true, options={"comment"="logo"})
  26.      */
  27.     private $logo;
  28.     /**
  29.      * @ORM\Column(type="string", length=100, nullable=true, options={"comment"="后台站点名称"})
  30.      */
  31.     private $adminSiteName;
  32.     /**
  33.      * @ORM\Column(type="string", length=100, nullable=true, options={"comment"="前端网址http[s]"})
  34.      */
  35.     private $domain;
  36.     /**
  37.      * @ORM\Column(type="integer", nullable=true, options={"comment"="提现手续费", "default"=0})
  38.      */
  39.     private $cashoutRate 0;
  40.     /**
  41.      * @ORM\Column(type="string", length=150, nullable=true, options={"comment"="客服图片"})
  42.      */
  43.     private $wechat;
  44.     /**
  45.      * @ORM\Column(type="decimal", precision=6, scale=2, nullable=true, options={"comment"="自提点每单奖励", "default"=0.5})
  46.      */
  47.     private $rewardMoneyZiti 0.5;
  48.     /**
  49.      * @ORM\Column(type="text", nullable=true, options={"comment"="签到说明"})
  50.      */
  51.     private $signin;
  52.     /**
  53.      * @ORM\Column(type="string", length=100, nullable=true)
  54.      */
  55.     private $yichadan;
  56.     
  57.     public function getId(): ?int
  58.     {
  59.         return $this->id;
  60.     }
  61.     public function getSiteName(): ?string
  62.     {
  63.         return $this->siteName;
  64.     }
  65.     public function setSiteName(?string $siteName): self
  66.     {
  67.         $this->siteName $siteName;
  68.         return $this;
  69.     }
  70.     public function getKeywords(): ?string
  71.     {
  72.         return $this->keywords;
  73.     }
  74.     public function setKeywords(?string $keywords): self
  75.     {
  76.         $this->keywords $keywords;
  77.         return $this;
  78.     }
  79.     public function getLogo(): ?string
  80.     {
  81.         return $this->logo;
  82.     }
  83.     public function setLogo(?string $logo): self
  84.     {
  85.         $this->logo $logo;
  86.         return $this;
  87.     }
  88.     public function getAdminSiteName(): ?string
  89.     {
  90.         return $this->adminSiteName;
  91.     }
  92.     public function setAdminSiteName(?string $adminSiteName): self
  93.     {
  94.         $this->adminSiteName $adminSiteName;
  95.         return $this;
  96.     }
  97.     public function getDomain(): ?string
  98.     {
  99.         return $this->domain;
  100.     }
  101.     public function setDomain(?string $domain): self
  102.     {
  103.         $this->domain $domain;
  104.         return $this;
  105.     }
  106.     public function getCashoutRate(): ?string
  107.     {
  108.         return $this->cashoutRate;
  109.     }
  110.     public function setCashoutRate(?string $cashoutRate): self
  111.     {
  112.         $this->cashoutRate $cashoutRate;
  113.         return $this;
  114.     }
  115.     public function getWechat(): ?string
  116.     {
  117.         return $this->wechat;
  118.     }
  119.     public function setWechat(?string $wechat): self
  120.     {
  121.         $this->wechat $wechat;
  122.         return $this;
  123.     }
  124.     public function getRewardMoneyZiti(): ?string
  125.     {
  126.         return $this->rewardMoneyZiti;
  127.     }
  128.     public function setRewardMoneyZiti(?string $rewardMoneyZiti): self
  129.     {
  130.         $this->rewardMoneyZiti $rewardMoneyZiti;
  131.         return $this;
  132.     }
  133.     public function getSignin(): ?string
  134.     {
  135.         return $this->signin;
  136.     }
  137.     public function setSignin(?string $signin): self
  138.     {
  139.         $this->signin $signin;
  140.         return $this;
  141.     }
  142.     public function getYichadan(): ?string
  143.     {
  144.         return $this->yichadan;
  145.     }
  146.     public function setYichadan(?string $yichadan): self
  147.     {
  148.         $this->yichadan $yichadan;
  149.         return $this;
  150.     }
  151. }