diff --git a/src/main/java/com/umc/naoman/domain/shareGroup/controller/ShareGroupController.java b/src/main/java/com/umc/naoman/domain/shareGroup/controller/ShareGroupController.java index c4d8ec7..7477dbc 100644 --- a/src/main/java/com/umc/naoman/domain/shareGroup/controller/ShareGroupController.java +++ b/src/main/java/com/umc/naoman/domain/shareGroup/controller/ShareGroupController.java @@ -1,7 +1,5 @@ package com.umc.naoman.domain.shareGroup.controller; -import com.umc.naoman.domain.member.converter.MemberConverter; -import com.umc.naoman.domain.member.dto.MemberResponse; import com.umc.naoman.domain.member.entity.Member; import com.umc.naoman.domain.shareGroup.converter.ShareGroupConverter; import com.umc.naoman.domain.shareGroup.dto.ShareGroupRequest; @@ -10,7 +8,6 @@ import com.umc.naoman.domain.shareGroup.entity.ShareGroup; import com.umc.naoman.domain.shareGroup.service.ShareGroupService; import com.umc.naoman.global.result.ResultResponse; -import com.umc.naoman.global.result.code.MemberResultCode; import com.umc.naoman.global.result.code.ShareGroupResultCode; import com.umc.naoman.global.security.annotation.LoginMember; import io.swagger.v3.oas.annotations.Operation; @@ -18,9 +15,12 @@ import io.swagger.v3.oas.annotations.Parameters; import jakarta.validation.Valid; import lombok.RequiredArgsConstructor; -import org.springframework.security.core.annotation.AuthenticationPrincipal; -import org.springframework.validation.annotation.Validated; -import org.springframework.web.bind.annotation.*; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; import java.util.List; diff --git a/src/main/java/com/umc/naoman/domain/shareGroup/entity/Profile.java b/src/main/java/com/umc/naoman/domain/shareGroup/entity/Profile.java index 29e4e67..47a5ff3 100644 --- a/src/main/java/com/umc/naoman/domain/shareGroup/entity/Profile.java +++ b/src/main/java/com/umc/naoman/domain/shareGroup/entity/Profile.java @@ -35,7 +35,7 @@ public class Profile { @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "share_group_id") private ShareGroup shareGroup; - @Column(name = "joined_at", nullable = false, updatable = false) + @Column(name = "joined_at") private LocalDateTime joinedAt; @Column(name = "deleted_at") private LocalDateTime deletedAt;