first commit with existing project files
This commit is contained in:
19
models/Company.js
Normal file
19
models/Company.js
Normal file
@@ -0,0 +1,19 @@
|
||||
export class Company {
|
||||
constructor(name, catchPhrase, bs) {
|
||||
this._name = name;
|
||||
this._catchPhrase = catchPhrase;
|
||||
this._bs = bs;
|
||||
}
|
||||
|
||||
get name() { return this._name; }
|
||||
|
||||
get catchPhrase() { return this._catchPhrase; }
|
||||
|
||||
get bs() { return this._bs; }
|
||||
|
||||
set name(name) { this._name = name; }
|
||||
|
||||
set catchPhrase(catchPhrase) { this._catchPhrase = catchPhrase; }
|
||||
|
||||
set bs(bs) { this._bs = bs; }
|
||||
}
|
||||
Reference in New Issue
Block a user