diff --git a/be/src/main/java/buddyguard/mybuddyguard/weight/entity/Weight.java b/be/src/main/java/buddyguard/mybuddyguard/weight/entity/Weight.java index c49d5025..6fe9ef6d 100644 --- a/be/src/main/java/buddyguard/mybuddyguard/weight/entity/Weight.java +++ b/be/src/main/java/buddyguard/mybuddyguard/weight/entity/Weight.java @@ -22,17 +22,17 @@ public class Weight { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) - long id; + Long id; - long petId; + Long petId; LocalDateTime recordedAt; - double weight; + Double weight; String description; - public Weight(long petId, LocalDateTime recordedAt, double weight, String description) { + public Weight(Long petId, LocalDateTime recordedAt, Double weight, String description) { this.petId = petId; this.recordedAt = recordedAt; this.weight = weight;