[EDIT] 目標の編集画面で期限の値が渡せてない問題の修正をしました。
This commit is contained in:
@@ -2,6 +2,8 @@ package com.example.demo.app.presentation.form;
|
|||||||
|
|
||||||
import java.time.LocalDate;
|
import java.time.LocalDate;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import com.example.demo.app.domain.model.GoalModel;
|
import com.example.demo.app.domain.model.GoalModel;
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
@@ -20,7 +22,8 @@ public class GoalForm {
|
|||||||
private String goalSubtitle;
|
private String goalSubtitle;
|
||||||
|
|
||||||
private Integer targetAmount;
|
private Integer targetAmount;
|
||||||
|
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
private LocalDate deadline;
|
private LocalDate deadline;
|
||||||
|
|
||||||
private Integer goalComplete;
|
private Integer goalComplete;
|
||||||
|
|||||||
Reference in New Issue
Block a user