Added type into AssignmentDetailedResponse.java
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
		@@ -13,6 +13,7 @@ public class AssignmentDetailedResponse {
 | 
				
			|||||||
    private String time;
 | 
					    private String time;
 | 
				
			||||||
    private String endTime;
 | 
					    private String endTime;
 | 
				
			||||||
    private String lecturer;
 | 
					    private String lecturer;
 | 
				
			||||||
 | 
					    private String type;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * @param assignment Assignment instance to map
 | 
					     * @param assignment Assignment instance to map
 | 
				
			||||||
@@ -24,7 +25,15 @@ public class AssignmentDetailedResponse {
 | 
				
			|||||||
        this.day = group.getDay().label;
 | 
					        this.day = group.getDay().label;
 | 
				
			||||||
        this.time = group.getTimeString();
 | 
					        this.time = group.getTimeString();
 | 
				
			||||||
        this.endTime = group.getEndTimeString();
 | 
					        this.endTime = group.getEndTimeString();
 | 
				
			||||||
        this.lecturer = group.getLecturer().toString();
 | 
						this.lecturer = group.getLecturer().toString();
 | 
				
			||||||
 | 
						this.type = group.getType().toString();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * @return type of the lecture
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    public String getType() {
 | 
				
			||||||
 | 
						return type;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user