com.se452group4.db.Accessories.java Source code

Java tutorial

Introduction

Here is the source code for com.se452group4.db.Accessories.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.se452group4.db;

import com.mongodb.BasicDBObject;
import org.springframework.data.annotation.Id;

/**
 *
 * @author duely
 */
public class Accessories extends BasicDBObject {
    @Id
    public String accessoriesId;
    public String type;
    public String brandName;
    public Integer price;
    public String gender;
    public Integer quantity;

    public Accessories() {
        super();
    }

    public Accessories(String accessoriesId, String type, String brandName, Integer price, String gender,
            Integer quantity) {
        super();
        this.accessoriesId = accessoriesId;
        this.type = type;
        this.brandName = brandName;
        this.price = price;
        this.gender = gender;
        this.quantity = quantity;
    }
}