Compare commits
2 Commits
d2cf2e6e98
...
1160af5711
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1160af5711 | ||
| 69213bcf9c |
@@ -2,6 +2,8 @@ package com.example.demo.app.presentation.form;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import com.example.demo.app.domain.model.GoalModel;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
@@ -21,6 +23,7 @@ public class GoalForm {
|
||||
|
||||
private Integer targetAmount;
|
||||
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate deadline;
|
||||
|
||||
private Integer goalComplete;
|
||||
|
||||
Reference in New Issue
Block a user