data-validator-js
Version:
Validation Methods for all types of Data
16 lines (15 loc) • 528 B
JavaScript
;
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;