All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.springdoc.sample1.ItemDTO Maven / Gradle / Ivy

There is a newer version: 3.1.2
Show newest version
package org.springdoc.sample1;

import java.io.Serializable;

/**
 * @author 472957
 *
 */
public class ItemDTO implements Serializable {

    /**
     * serialVersionUID of type long
     */
    private static final long serialVersionUID = 1L;

    /**
     * itemID of type String
     */
    private String itemID;

    /**
     * description of type String
     */
    private String description;

    /**
     * price of type int
     */
    private int price;

    /**
     * 
     */
    public ItemDTO() {
    }

    /**
   * @param description description
   * @param price price
   */
    public ItemDTO(final String description, final int price) {
        this.description = description;
        this.price = price;
    }

    /**
   * @param itemID itemID
   * @param description description
   * @param price price
   */
    public ItemDTO(final String itemID, final String description, final int price) {
        this.itemID = itemID;
        this.description = description;
        this.price = price;
    }

	/**
     * @return
     */
    public String getDescription() {
        return description;
    }

    /**
     * @return
     */
    public String getItemID() {
        return itemID;
    }

    /**
     * @return
     */
    public int getPrice() {
        return price;
    }

    /**
   * @param description description
   */
    public void setDescription(final String description) {
        this.description = description;
    }

    /**
   * @param itemID itemID
   */
    public void setItemID(final String itemID) {
        this.itemID = itemID;
    }

    /**
   * @param price price
   */
    public void setPrice(final int price) {
        this.price = price;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy