@codelytv/primitives-type
Version:
Type entity primitives from value objects
15 lines • 357 B
JavaScript
var Product = (function () {
function Product(active, name) {
this.active = active;
this.name = name;
}
Product.prototype.toPrimitives = function () {
return {
active: this.active,
name: this.name,
};
};
return Product;
}());
export { Product };
//# sourceMappingURL=Product.js.map