fix typo in friendship model

This commit is contained in:
2025-12-11 20:38:32 +01:00
parent 7b360dc83a
commit 03b5d8924d
@@ -25,17 +25,17 @@ public class Friendship {
private FriendShipStatus status;
@Column(nullable = false)
private LocalDateTime createAt;
private LocalDateTime createdAt;
public Friendship() {
}
public Friendship(Long id, User user, User friend, FriendShipStatus status, LocalDateTime createAt) {
public Friendship(Long id, User user, User friend, FriendShipStatus status, LocalDateTime createdAt) {
this.id = id;
this.user = user;
this.friend = friend;
this.status = status;
this.createAt = createAt;
this.createdAt = createdAt;
}
public Long getId() {
@@ -70,11 +70,11 @@ public class Friendship {
this.status = status;
}
public LocalDateTime getCreateAt() {
return createAt;
public LocalDateTime getCreatedAt() {
return createdAt;
}
public void setCreateAt(LocalDateTime createAt) {
this.createAt = createAt;
public void setCreatedAt(LocalDateTime createAt) {
this.createdAt = createAt;
}
}