<?php
namespace Plugin\CourcesManagerPlugin\Entity;
use Doctrine\ORM\Mapping as ORM;
use Eccube\Entity\AbstractEntity;
/**
* @ORM\Entity
* @ORM\Table(name="tjo_course")
* @ORM\InheritanceType("SINGLE_TABLE")
* @ORM\DiscriminatorColumn(name="discriminator_type", type="string", length=255)
* @ORM\Entity(repositoryClass="Plugin\CourcesManagerPlugin\Repository\Admin\TjoCourseRepository")
*/
class TjoCourse extends AbstractEntity{
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
* @ORM\Column(name="name", type="string", length=255)
*/
private $name;
/**
* @var string
* @ORM\Column(name="car_type",type="string",length="255",nullable="true",options={"comment":"コース情報"}))
*/
private $car_type;
/**
* @var string
* @ORM\Column(name="description",type="string",length="1000",nullable="true"))
* 説明
* eccube_mltext_len
*/
private $description;
/**
* @var string
* @ORM\Column(name="map",type="string",length="255",nullable="true"))
* 地図ファイル名
*/
private $map;
/**
* @var int
* @ORM\Column(name="length",type="integer",nullable="true"))
*/
private $length;
/**
* @var int
* @ORM\Column(name="straight",type="integer",nullable="true"))
* 最大直線長
*/
private $straight;
/**
* @var int
* @ORM\Column(name="height",type="integer",nullable="true"))
* 高低差
*/
private $height;
/**
* @var string
* @ORM\Column(name="width",type="string",length="50",nullable="true"))
* 幅員
* eccube_id_max_len
*/
private $width;
/**
* @var string
* @ORM\Column(name="fee1_title",type="string",length="50",nullable="true"))
* 料金1タイトル
* eccube_id_max_len
*/
private $fee1_title;
/**
* @var string
* @ORM\Column(name="fee1",type="string",length="1000",nullable="true"))
* 料金1
* eccube_mltext_len
*/
private $fee1;
/**
* @var string
* @ORM\Column(name="fee2_title",type="string",length="50",nullable="true"))
* 料金2タイトル
* eccube_id_max_len
*/
private $fee2_title;
/**
* @var string
* @ORM\Column(name="fee2",type="string",length="1000",nullable="true"))
* 料金2
* eccube_mltext_len
*/
private $fee2;
/**
* @var string
* @ORM\Column(name="comment1",type="string",length="200",nullable="true"))
* コメント1
* eccube_mtext_len
*/
private $comment1;
/**
* @var string
* @ORM\Column(name="comment2",type="string",length="200",nullable="true"))
* コメント2
* eccube_mtext_len
*/
private $comment2;
/**
* @var string
* @ORM\Column(name="comment3",type="string",length="200",nullable="true"))
* コメント3
* eccube_mtext_len
*/
private $comment3;
/**
* @var string
* @ORM\Column(name="license",type="string",length="200",nullable="true"))
* コメント3
* eccube_mtext_len
*/
private $license;
/**
* @var string
* @ORM\Column(name="note1",type="string",length="200",nullable="true"))
* コメント1
* eccube_mtext_len
*/
private $note1;
/**
* @var string
* @ORM\Column(name="note2",type="string",length="200",nullable="true"))
* コメント2
* eccube_mtext_len
*/
private $note2;
/**
* @var string
* @ORM\Column(name="note3",type="string",length="200",nullable="true"))
* コメント3
* eccube_mtext_len
*/
private $note3;
/**
* @var string
* @ORM\Column(name="image_before1",type="string",length="255",nullable="true"))
* 前半画像
*/
private $image_before1;
/**
* @var string
* @ORM\Column(name="image_before2",type="string",length="255",nullable="true"))
* 前半画像
*/
private $image_before2;
/**
* @var string
* @ORM\Column(name="image_after1",type="string",length="255",nullable="true"))
* 前半画像
*/
private $image_after1;
/**
* @var string
* @ORM\Column(name="image_after2",type="string",length="255",nullable="true"))
* 前半画像
*/
private $image_after2;
/**
* @var boolean
* @ORM\Column(name="enable", type="boolean", options={"default":true})
*/
private $enable = true;
/**
* @var int
* @ORM\Column(name="sort_no", type="integer")
*/
private $sort_no;
/** @return int|null */
public function getId() : int|null {return $this->id;}
/** @return string */
public function getName() : string {return $this->name;}
/**
* @param string $name
* @return $this;
*/
public function setName($name) : TjoCourse {
$this->name = $name;
return $this;
}
/** @return string|null */
public function getCarType() : string|null {return $this->car_type;}
/**
* @param string $car_type
* @return $this;
*/
public function setCarType($car_type) : TjoCourse {
$this->car_type = $car_type;
return $this;
}
/** @return string|null */
public function getDescription() : string|null {return $this->description;}
/**
* @param string $description
* @return $this;
*/
public function setDescription($description) : TjoCourse {
$this->description = $description;
return $this;
}
/** @return string|null */
public function getMap() : string|null {return $this->map;}
/**
* @param string $map
* @return $this;
*/
public function setMap($map) : TjoCourse {
$this->map = $map;
return $this;
}
/** @return int */
public function getLength(){return $this->length;}
/**
* @param int $length
* @return $this;
*/
public function setLength($length) : TjoCourse {
$this->length = $length;
return $this;
}
/** @return int */
public function getStraight(){return $this->straight;}
/**
* @param int $straight
* @return $this;
*/
public function setStraight($straight) : TjoCourse {
$this->straight = $straight;
return $this;
}
/** @return int */
public function getHeight(){return $this->height;}
/**
* @param int $height
* @return $this;
*/
public function setHeight($height) : TjoCourse {
$this->height = $height;
return $this;
}
/** @return string */
public function getWidth(){return $this->width;}
/**
* @param string $width
* @return $this;
*/
public function setWidth($width) : TjoCourse {
$this->width = $width;
return $this;
}
/** @return string|null */
public function getFee1Title() : string|null {return $this->fee1_title;}
/**
* @param string $fee1_title
* @return $this;
*/
public function setFee1Title($fee1_title) : TjoCourse {
$this->fee1_title = $fee1_title;
return $this;
}
/** @return string|null */
public function getFee1() : string|null {return $this->fee1;}
/**
* @param string $fee1
* @return $this;
*/
public function setFee1($fee1) : TjoCourse {
$this->fee1 = $fee1;
return $this;
}
/** @return string|null */
public function getFee2Title() : string|null {return $this->fee2_title;}
/**
* @param string $fee2_title
* @return $this;
*/
public function setFee2Title($fee2_title) : TjoCourse {
$this->fee2_title = $fee2_title;
return $this;
}
/** @return string|null */
public function getFee2() : string|null {return $this->fee2;}
/**
* @param string $fee2
* @return $this;
*/
public function setFee2($fee2) : TjoCourse {
$this->fee2 = $fee2;
return $this;
}
/** @return string|null */
public function getComment1() : string|null {return $this->comment1;}
/**
* @param string $comment1
* @return $this;
*/
public function setComment1($comment1) : TjoCourse {
$this->comment1 = $comment1;
return $this;
}
/** @return string|null */
public function getComment2() : string|null {return $this->comment2;}
/**
* @param string $comment2
* @return $this;
*/
public function setComment2($comment2) : TjoCourse {
$this->comment2 = $comment2;
return $this;
}
/** @return string|null */
public function getComment3() : string|null {return $this->comment3;}
/**
* @param string $comment3
* @return $this;
*/
public function setComment3($comment3) : TjoCourse {
$this->comment3 = $comment3;
return $this;
}
/** @return string|null */
public function getLicense() : string|null {return $this->license;}
/**
* @param string $license
* @return $this;
*/
public function setLicense($license) : TjoCourse {
$this->license = $license;
return $this;
}
/** @return string|null */
public function getNote1() : string|null {return $this->note1;}
/**
* @param string $note1
* @return $this;
*/
public function setNote1($note1) : TjoCourse {
$this->note1 = $note1;
return $this;
}
/** @return string|null */
public function getNote2() : string|null {return $this->note2;}
/**
* @param string $note2
* @return $this;
*/
public function setNote2($note2) : TjoCourse {
$this->note2 = $note2;
return $this;
}
/** @return string|null */
public function getNote3() : string|null {return $this->note3;}
/**
* @param string $note3
* @return $this;
*/
public function setNote3($note3) : TjoCourse {
$this->note3 = $note3;
return $this;
}
/** @return string|null */
public function getImageBefore1() : string|null {return $this->image_before1;}
/**
* @param string $image_before1
* @return $this;
*/
public function setImageBefore1($image_before1) : TjoCourse {
$this->image_before1 = $image_before1;
return $this;
}
/** @return string|null */
public function getImageBefore2() : string|null {return $this->image_before2;}
/**
* @param string $image_before2
* @return $this;
*/
public function setImageBefore2($image_before2) : TjoCourse {
$this->image_before2 = $image_before2;
return $this;
}
/** @return string|null */
public function getImageAfter1() : string|null {return $this->image_after1;}
/**
* @param string $image_after1
* @return $this;
*/
public function setImageAfter1($image_after1) : TjoCourse {
$this->image_after1 = $image_after1;
return $this;
}
/** @return string|null */
public function getImageAfter2() : string|null {return $this->image_after2;}
/**
* @param string $image_after2
* @return $this;
*/
public function setImageAfter2($image_after2) : TjoCourse {
$this->image_after2 = $image_after2;
return $this;
}
/**
* Get enable.
* @return boolean
*/
public function isEnable(){return $this->enable;}
/**
* @param boolean $enable
* @return $this
*/
public function setEnable(bool $enable){
$this->enable = $enable;
return $this;
}
/**
* Get sort_no.
* @return int
*/
public function getSortNo(){return $this->sort_no;}
/**
* Set sort no.
* @param int $sortNo
* @return Brand
*/
public function setSortNo($sortNo){
$this->sort_no = $sortNo;
return $this;
}
}