Skip to content

Commit

Permalink
Merge pull request #36 from HongDam-org/feat/group-controller
Browse files Browse the repository at this point in the history
Feat/group controller
  • Loading branch information
jinjoo-lab authored Oct 9, 2023
2 parents ce01d90 + a151e16 commit 5f45211
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import com.twtw.backend.domain.group.service.GroupService;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

Expand All @@ -13,4 +15,8 @@ public class GroupController {
public GroupController(GroupService groupService) {
this.groupService = groupService;
}

// 자신이 속한 그룹 반환 API
@GetMapping("/get/{id}")
public void getMyGroups(@PathVariable String id) {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package com.twtw.backend.domain.group.dto;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.util.UUID;

@Getter
@NoArgsConstructor
@AllArgsConstructor
public class GroupInfoDto {
private UUID id;
private String name;
private String groupImage;
}

0 comments on commit 5f45211

Please sign in to comment.