Skip to content

Commit

Permalink
refactor: 체중 엔티티 필드값 private 추가 #8
Browse files Browse the repository at this point in the history
  • Loading branch information
shimbaa committed Sep 19, 2024
1 parent 429708b commit 75dbc95
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ public class Weight {

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Long id;
private Long id;

Long petId;
private Long petId;

LocalDateTime recordedAt;
private LocalDateTime recordedAt;

Double weight;
private Double weight;

String description;
private String description;

public Weight(Long petId, LocalDateTime recordedAt, Double weight, String description) {
this.petId = petId;
Expand Down

0 comments on commit 75dbc95

Please sign in to comment.