added rating
This commit is contained in:
		
							parent
							
								
									7bb04d516b
								
							
						
					
					
						commit
						f5c191a781
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
					@ -30,6 +30,7 @@ public class ServiceProvider extends UserType {
 | 
				
			||||||
    private String companyname;
 | 
					    private String companyname;
 | 
				
			||||||
    private boolean licensed;
 | 
					    private boolean licensed;
 | 
				
			||||||
    private String description;
 | 
					    private String description;
 | 
				
			||||||
 | 
					    private int rating
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -162,4 +163,12 @@ public class ServiceProvider extends UserType {
 | 
				
			||||||
        this.description = description;
 | 
					        this.description = description;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    public int getRating() {
 | 
				
			||||||
 | 
					        return rating;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    public void setRating(int rating) {
 | 
				
			||||||
 | 
					        this.rating = rating;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue