package com.demo.demo.model.obj.demo.iface;
import com.demo.demo.model.obj.demo.Order;
import java.util.Set;


/** 
 * Object interface mapping for hibernate-handled table: customer.
 * @author autogenerated
 */

public interface ICustomer {



    /**
     * Return the value associated with the column: order.
     * @return A Set<Order> object (this.order)
     */
    Set<Order> getOrders();
    
    /**
     * Adds a bi-directional link of type Order to the orders set.
     * @param order item to add
     */
    void addOrder(Order order);

  
    /**  
     * Set the value related to the column: order.
     * @param order the order value you wish to set
     */
    void setOrders(final Set<Order> order);

    /**
     * Return the value associated with the column: id.
     * @return A Long object (this.id)
     */
    Long getId();
    

  
    /**  
     * Set the value related to the column: id.
     * @param id the id value you wish to set
     */
    void setId(final Long id);

    /**
     * Return the value associated with the column: name.
     * @return A String object (this.name)
     */
    String getName();
    

  
    /**  
     * Set the value related to the column: name.
     * @param name the name value you wish to set
     */
    void setName(final String name);

    /**
     * Return the value associated with the column: surname.
     * @return A String object (this.surname)
     */
    String getSurname();
    

  
    /**  
     * Set the value related to the column: surname.
     * @param surname the surname value you wish to set
     */
    void setSurname(final String surname);

    // end of interface
}