-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathServiceProvider.java
More file actions
44 lines (40 loc) · 1.88 KB
/
Copy pathServiceProvider.java
File metadata and controls
44 lines (40 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package model;
import java.util.List;
public abstract class ServiceProvider {
private String id;
private String name;
private String bio;
private List<String> specialties;
private List<String> availability;
private List<String> sampleMedia;
private double rating;
private String providerType;
public ServiceProvider(String id, String name, String bio, List<String> specialties,
List<String> availability, List<String> sampleMedia, double rating, String providerType) {
this.id = id;
this.name = name;
this.bio = bio;
this.specialties = specialties;
this.availability = availability;
this.sampleMedia = sampleMedia;
this.rating = rating;
this.providerType = providerType;
}
// Getters and setters
public String getId() { return id; }
public void setId(String id) { this.id = id; }
public String getName() { return name; }
public void setName(String name) { this.name = name; }
public String getBio() { return bio; }
public void setBio(String bio) { this.bio = bio; }
public List<String> getSpecialties() { return specialties; }
public void setSpecialties(List<String> specialties) { this.specialties = specialties; }
public List<String> getAvailability() { return availability; }
public void setAvailability(List<String> availability) { this.availability = availability; }
public List<String> getSampleMedia() { return sampleMedia; }
public void setSampleMedia(List<String> sampleMedia) { this.sampleMedia = sampleMedia; }
public double getRating() { return rating; }
public void setRating(double rating) { this.rating = rating; }
public String getProviderType() { return providerType; }
public void setProviderType(String providerType) { this.providerType = providerType; }
}