public Task(String taskName, Type type, Statuss status, Customer customer, User user, Date startDate, Date endDate, int estimatedtime, int priority, String description) {
        this.taskName = taskName;
        this.type = type;
        this.status = status;
        this.customer = customer;
        this.user = user;
        this.startDate = startDate;
        this.endDate = endDate;
        this.estimatedtime = estimatedtime;
        this.priority = priority;
        this.description = description;
        taskList = new ArrayList<>();
    }