[EDIT] 目標の編集画面で期限の値が渡せてない問題の修正をしました。
This commit is contained in:
@@ -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