Files
2025-07-12 11:22:38 +02:00

42 lines
1.0 KiB
JavaScript

export class User {
constructor(id, name, username, email, address, phone, website, company) {
this._id = id;
this._name = name;
this._username = username;
this._email = email;
this._address = address;
this._phone = phone;
this._website = website;
this._company = company;
}
get id() {return this._id;}
get name() {return this._name;}
get username() {return this._username;}
get email() {return this._email;}
get address() {return this._address;}
get phone() {return this._phone;}
get website() {return this._website;}
get company() {return this._company;}
set name(name) {this._name = name;}
set username(username) {this._username = username;}
set email(email) {this._email = email;}
set address(address) {this._address = address;}
set phone(phone) {this._phone = phone;}
set website(website) {this._website = website;}
set company(company) {this._company = company;}
}