-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCar.php
121 lines (106 loc) · 3.18 KB
/
Car.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<?php
class Car {
private $ownername;
private $plotNo;
private $Brand;
private $Model;
private $bodyNo;
private $motorNo;
private $motorCapacity;
private $color;
private $fuelType;
private $startDate;
private $endDate;
private $transimisionType;
public function __construct($ownername,$plotNo,$Model,$bodyNo,$motorNo,$motorCapacity,$color,$fuelType,$startDate,$endDate,$transimisionType){
$this->ownername=$ownername;
$this->plotNo=$plotNo;
$this->Model=$Model;
$this->bodyNo=$bodyNo;
$this->motorNo=$motorNo;
$this->motorCapacity=$motorCapacity;
$this->color=$color;
$this->fuelType=$fuelType;
$this->startDate=$startDate;
$this->endDate=$endDate;
$this->transimisionType=$transimisionType;
}
//
public function setownername($ownername){
$this->ownername=$ownername;
}
public function getownername(){
return $this->ownername;
}
//
public function setplotNo($plotNo){
$this->plotNo=$plotNo;
}
public function getplotNo(){
return $this->plotNo;
}
//
public function setModel($Model){
$this->Model=$Model;
}
public function getModel(){
return $this->Model;
}
//
public function setbodyNo($bodyNo){
$this->bodyNo=$bodyNo;
}
public function getbodyNo(){
return $this->bodyNo;
}
//
public function setmotorNo($motorNo){
$this->motorNo=$motorNo;
}
public function getmotorNo(){
return $this->motorNo;
}
//
public function setmotorCapacity($motorCapacity){
$this->motorCapacity=$motorCapacity;
}
public function getmotorCapacity(){
return $this->motorCapacity;
}
//
public function setcolor($color){
$this->color=$color;
}
public function getcolor(){
return $this->color;
}
//
public function setfuelType($fuelType){
$this->fuelType=$fuelType;
}
public function getfuelType(){
return $this->fuelType;
}
//
public function setstartDate($startDate){
$this->startDate=$startDate;
}
public function getstartDate(){
return $this->startDate;
}
//
public function setendDate($endDate){
$this->endDate=$endDate;
}
public function getendDate(){
return $this->endDate;
}
//
public function settransimisionType($transimisionType){
$this->transimisionType=$transimisionType;
}
public function gettransimisionType(){
return $this->transimisionType;
}
}
?>