package com.example.todolist.form;

import javax.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TaskData {
    private Integer id;

    @NotBlank
    private String title;

    private String deadline;
    private String done;

}
