package com.gitrekt.resort.model.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "resort.guest_packages")

//Class for a guest's package
public class Package {
    
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    
    @Column(name = "name")
    private String name;
    
    @Column(name = "price_per_person")
    private double pricePerPerson;
    
    //The constructor for this class
    public Package(String name, double pricePerPerson){
        this.name = name;
        this.pricePerPerson = pricePerPerson;
    }
    
    //Returns the name assocociated with the package
    public String getName(){
        return name;
    }
    
    //Returns the price rate per person for the package
    public double getPricePerPerson(){
        return pricePerPerson;
    }
}

@@ -281,14 +281,8 @@
 ort.
-guest_
 pack
@@ -291,39 +291,8 @@
 es%22)
-%0A%0A//Class for a guest's package
 %0Apub
@@ -546,45 +546,8 @@
    %0A
-    //The constructor for this class%0A
     
@@ -680,66 +680,13 @@
   %7D%0A
+
     %0A
-    //Returns the name assocociated with the package%0A
     

Fix minor issues in package class