package io.nrkv.HypeAPI.task.model

import java.util.*

/**
 * Created by Ivan Nyrkov on 08/06/17.
 */
interface TaskRequest {
    var title: String
    var description: String
    var dueDate: Date

    fun update(newValues: TaskRequest) {
        title = newValues.title
        description = newValues.description
        dueDate = newValues.dueDate
    }
}