1 | <?php |
||
28 | class DeliveryTime extends \Eccube\Entity\AbstractEntity |
||
29 | { |
||
30 | public function __toString() |
||
34 | |||
35 | /** |
||
36 | * @var int |
||
37 | * |
||
38 | * @ORM\Column(name="id", type="integer", options={"unsigned":true}) |
||
39 | * @ORM\Id |
||
40 | * @ORM\GeneratedValue(strategy="IDENTITY") |
||
41 | */ |
||
42 | private $id; |
||
43 | |||
44 | /** |
||
45 | * @var string |
||
46 | * |
||
47 | * @ORM\Column(name="delivery_time", type="string", length=255) |
||
48 | */ |
||
49 | private $delivery_time; |
||
50 | |||
51 | /** |
||
52 | * @var \Eccube\Entity\Delivery |
||
53 | * |
||
54 | * @ORM\ManyToOne(targetEntity="Eccube\Entity\Delivery", inversedBy="DeliveryTimes") |
||
55 | * @ORM\JoinColumns({ |
||
56 | * @ORM\JoinColumn(name="delivery_id", referencedColumnName="id") |
||
57 | * }) |
||
58 | */ |
||
59 | private $Delivery; |
||
60 | |||
61 | /** |
||
62 | * @var int |
||
63 | * |
||
64 | * @ORM\Column(name="sort_no", type="smallint", options={"unsigned":true}) |
||
65 | */ |
||
66 | protected $sort_no; |
||
67 | |||
68 | /** |
||
69 | * @var boolean |
||
70 | * |
||
71 | * @ORM\Column(name="visible", type="boolean", options={"default":true}) |
||
72 | */ |
||
73 | private $visible; |
||
74 | |||
75 | /** |
||
76 | * @var \DateTime |
||
77 | * |
||
78 | * @ORM\Column(name="create_date", type="datetimetz") |
||
79 | */ |
||
80 | private $create_date; |
||
81 | |||
82 | /** |
||
83 | * @var \DateTime |
||
84 | * |
||
85 | * @ORM\Column(name="update_date", type="datetimetz") |
||
86 | */ |
||
87 | private $update_date; |
||
88 | |||
89 | /** |
||
90 | * Get id. |
||
91 | * |
||
92 | * @return int |
||
93 | */ |
||
94 | public function getId() |
||
98 | |||
99 | /** |
||
100 | * Set deliveryTime. |
||
101 | * |
||
102 | * @param string $deliveryTime |
||
103 | * |
||
104 | * @return DeliveryTime |
||
105 | */ |
||
106 | public function setDeliveryTime($deliveryTime) |
||
112 | |||
113 | /** |
||
114 | * Get deliveryTime. |
||
115 | * |
||
116 | * @return string |
||
117 | */ |
||
118 | public function getDeliveryTime() |
||
122 | |||
123 | /** |
||
124 | * Set delivery. |
||
125 | * |
||
126 | * @param \Eccube\Entity\Delivery|null $delivery |
||
127 | * |
||
128 | * @return DeliveryTime |
||
129 | */ |
||
130 | public function setDelivery(\Eccube\Entity\Delivery $delivery = null) |
||
136 | |||
137 | /** |
||
138 | * Get delivery. |
||
139 | * |
||
140 | * @return \Eccube\Entity\Delivery|null |
||
141 | */ |
||
142 | public function getDelivery() |
||
146 | |||
147 | /** |
||
148 | * Set sort_no. |
||
149 | * |
||
150 | * @param int $sort_no |
||
151 | * |
||
152 | * @return $this |
||
153 | */ |
||
154 | public function setSortNo($sort_no) |
||
160 | |||
161 | /** |
||
162 | * Get sort_no. |
||
163 | * |
||
164 | * @return int |
||
165 | */ |
||
166 | public function getSortNo() |
||
170 | |||
171 | /** |
||
172 | * Set visible |
||
173 | * |
||
174 | * @param boolean $visible |
||
175 | * |
||
176 | * @return DeliveryTime |
||
177 | */ |
||
178 | public function setVisible($visible) |
||
184 | |||
185 | /** |
||
186 | * Is the visibility visible? |
||
187 | * |
||
188 | * @return boolean |
||
189 | */ |
||
190 | public function isVisible() |
||
194 | |||
195 | /** |
||
196 | * Set createDate. |
||
197 | * |
||
198 | * @param \DateTime $createDate |
||
199 | * |
||
200 | * @return DeliveryTime |
||
201 | */ |
||
202 | public function setCreateDate($createDate) |
||
208 | |||
209 | /** |
||
210 | * Get createDate. |
||
211 | * |
||
212 | * @return \DateTime |
||
213 | */ |
||
214 | public function getCreateDate() |
||
218 | |||
219 | /** |
||
220 | * Set updateDate. |
||
221 | * |
||
222 | * @param \DateTime $updateDate |
||
223 | * |
||
224 | * @return DeliveryTime |
||
225 | */ |
||
226 | public function setUpdateDate($updateDate) |
||
232 | |||
233 | /** |
||
234 | * Get updateDate. |
||
235 | * |
||
236 | * @return \DateTime |
||
237 | */ |
||
238 | public function getUpdateDate() |
||
242 | } |
||
243 | } |
||
244 |