com.se452group4.db.Shoes.java Source code

Java tutorial

Introduction

Here is the source code for com.se452group4.db.Shoes.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 Shoes extends BasicDBObject {
    @Id
    public String shoesId;
    public String type;
    public String brandName;
    public Integer price;
    public String gender;
    public Integer quantity;

    public Shoes() {
        super();
    }

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