UNPKG
nodram
Version:
latest (0.0.1)
0.0.1
A Really MEAN Web Framework
github.com/oreofeolurin/ream
oreofeolurin/ream
nodram
/
src
/
framework
/
browser
/
app
/
models
/
Vehicle.ts
18 lines
(13 loc)
•
302 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/** * Created by EdgeTech on 2/11/2016. */
export
class
Vehicle
{
private
model: string;
private
make: string;
private
year: number;
constructor
(
data
){
this
.model =
data
[
"model"
];
this
.make =
data
[
"make"
];
this
.year =
data
[
"year"
]; } }