[ADD] 目標のためのModelを作成しました。

This commit is contained in:
2026-09-17 14:22:06 +09:00
parent 0b336dcf5a
commit 54b909d00d
2 changed files with 25 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
package com.example.demo.app.domain.model;
import java.time.LocalDate;
import lombok.AllArgsConstructor;
import lombok.Getter;
@Getter
@AllArgsConstructor
public class GoalModel {
private Long goalId;
private String goalTitle;
private String goalSubtitle;
private Integer targetAmount;
private LocalDate deadline;
private Integer goalComplete;
}

View File

@@ -7,5 +7,5 @@ import com.example.demo.app.infra.entity.GoalEntity;
@Repository
public interface GoalRepository extends JpaRepository<GoalEntity, Long> {
//aaa
}