Step3-kakao-tech-campus / Team3_BE

[카테캠 1기] 번개 지향 볼링 모집 커뮤니티 "번개볼링"의 백엔드 서버입니다.
2 stars 4 forks source link

신청 API 구현 #17

Closed xcelxlorx closed 1 year ago

xcelxlorx commented 1 year ago

Summary

신청 API를 구현했습니다.

Description

신청자 목록 조회

모집글에 대한 신청

테스트

INSERT INTO post_tb (title) VALUES ('제목');
@Entity
@Getter
@DynamicInsert
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Table(name = "post_tb")
public class Post {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(length = 100)
    private String title;
}

위의 코드처럼 적당히 post에 넣고 유니크 조건이랑 신청 중복 부분 주석 처리하면 한 사용자마다 post 요청 여러 번 할 수 있어서 페이징 결과 확인하실 수 있습니다!

Related Issue

Issue Number: close #13

xcelxlorx commented 1 year ago

수정했습니다 확인 부탁드립니다!