prokuranepal/inventory_app

View on GitHub
src/models/item.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class Item {
    constructor(_id, title, price, company, image, quantity, description, type
    ) {
        this._id = _id;
        this.title = title;
        this.price = price;
        this.company = company;
        this.image = image;
        this.quantity = quantity;
        this.description = description;
        this.type = type
    }
}
export default Item;