package ru.pravvich.models;

public class Task extends Item {
	public Task(String nameUser, int id) {
		this.nameUser = nameUser;
		this.id = id;
	}

	public String calculatePrise() {
		return "1 000 000";
	}
}
package ru.pravvich.models;

public class Task extends Item {
    public Task(String header ) {
        this.header = header;

    }

    public String calculatePrise() {
        return "1 000 000";
    }
}

add chapter_002/tracker/src/main/java/ru/pravvich/models/Task.java