UNPKG

data-validator-js

Version:
16 lines (15 loc) 528 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Customer = /** @class */ (function () { function Customer(id, firstName, lastName, phoneNumber) { if (firstName === void 0) { firstName = ""; } if (lastName === void 0) { lastName = ""; } this.id = id; this.firstName = firstName; this.lastName = lastName; this.phoneNumber = phoneNumber; this.fullName = lastName + firstName; } return Customer; }()); exports.default = Customer;