package ru.job4j.professions;

/**
 * This subclass inherits members of Professional.
 * @author Bulat Yusupov (yusupovbulat@gmail.com)
 * @since 05/11/17
 * @version 0.1
 */
public class Teacher extends Professions {
    /**
     * @param name Teacher name.
     * @param specialization Teacher specialization
     * @param jobInCompany job in company.
     * @param experience Teacher experience
     */
    public Teacher(String name, String specialization, String jobInCompany, int experience) {
        super(name, specialization, jobInCompany, experience);
    }

    /**
     * @param student студент.
     * @return class Teach.
     */
    public Teach schooling(Student student) {
        return new Teach();
    }
}
