Updated booking
This commit is contained in:
		
							parent
							
								
									f69b8a2a1d
								
							
						
					
					
						commit
						944c1226b7
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -46,6 +46,7 @@ public class Booking {
 | 
			
		|||
        this.year = year;
 | 
			
		||||
        this.serviceprovider = serviceprovider;
 | 
			
		||||
        this.homeowner = homeowner;
 | 
			
		||||
        this.service = service;
 | 
			
		||||
        this.status = Status.PENDING;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -118,12 +119,14 @@ public class Booking {
 | 
			
		|||
        return homeowner;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public Service getService(){ return service; }
 | 
			
		||||
 | 
			
		||||
    public void setHomeowner(HomeOwner homeowner) {
 | 
			
		||||
        this.homeowner = homeowner;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public Service getService(){ return service; }
 | 
			
		||||
 | 
			
		||||
    public void setService(Service service) { this.service = service;}
 | 
			
		||||
 | 
			
		||||
    public void setStatus(Status status){
 | 
			
		||||
        this.status = status;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue