cleaning
[RRRRHHHH_Code] / ruralHouses / src / domain / Booking.java
index cdde621..68575c6 100644 (file)
@@ -15,9 +15,7 @@ public class Booking implements Serializable  {
        private Offer offer;
        
        
-       public Booking() {
-       }
-
+       
        public Booking(int bN , Offer offer,Client client) {
                
                this.bookingNumber = bN;
@@ -27,12 +25,6 @@ public class Booking implements Serializable  {
                this.bookingDate= new java.util.Date(System.currentTimeMillis());
        }
        
-       public void imprimete(){
-               System.out.println(bookingNumber);
-               System.out.println(bookingDate);
-               System.out.println(client.toString());
-               System.out.println(offer);      
-       }
 
        public int getBookNumber() {
                return this.bookingNumber;
@@ -46,10 +38,7 @@ public class Booking implements Serializable  {
                return this.offer;
        }
 
-       public float getPrice() {
-               return this.offer.getPrice();
-       }
-       
+
        public void setBookDate(Date bookDate) {
                this.bookingDate = bookDate;
        }