package sg.ncl.testbed_interface;

/**
 * 
 * Team model
 * @author yeoteye
 *
 */
public class Team {
    
    private long id;
    private String name;
    private String description;
    private String website;
    private String organizationType;
    private boolean isApproved;
    
    public Team() {
        id = 0;
    }
    
    public Team(long id, String name, String description, String website, String organizationType, boolean isApproved) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.website = website;
        this.organizationType = organizationType;
        this.isApproved = isApproved;
    }
    
    public long getId() {
        return id;
    }
    
    public void setId(long id) {
        this.id = id;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    
    public String getWebsite() {
        return website;
    }
    
    public void setWebsite(String website) {
        this.website = website;
    }
    
    public String getOrganizationType() {
        return organizationType;
    }
    
    public void setOrganizationType(String organizationType) {
        this.organizationType = organizationType;
    }
    
    public boolean getIsApproved() {
        return isApproved;
    }
    
    public void setIsApproved(boolean isApproved) {
        this.isApproved = isApproved;
    }
}

@@ -1645,10 +1645,352 @@
 ;%0A    %7D%0A
+    %0A    @Override%0A    public String toString() %7B%0A        return %22Team %7B%22 + %0A                %22id=%22 + id +%0A                %22, name=%22 + name +%0A                %22, description=%22 + description +%0A                %22, website=%22 + website +%0A                %22, organizationType=%22 + organizationType +%0A                %22, isApproved=%22 + isApproved;%0A    %7D%0A
 %7D%0A

add tostring method for Team model (#82)