Files
tp-javascript-crm/models/Company.js
2025-07-12 11:22:38 +02:00

19 lines
456 B
JavaScript

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; }
}