package com.ssj.service.kmt.correctsys.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class HomeworkCheckSubjectDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private String date;

    private String subject;

    private List<HomeworkCheckStudentDto> students = new ArrayList<>();

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public List<HomeworkCheckStudentDto> getStudents() {
        return students;
    }

    public void setStudents(List<HomeworkCheckStudentDto> students) {
        this.students = students;
    }

    public void addStudent (HomeworkCheckStudentDto student){
        this.students.add(student);
    }
}
