Skip to content

Commit

Permalink
UMC-EWHA#31 Feat: Upload models
Browse files Browse the repository at this point in the history
  • Loading branch information
JoongHyun-Kim committed Nov 24, 2022
1 parent 70910fd commit 173eaaf
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/main/java/umc/crud/src/user/model/PatchUserReq.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package umc.crud.src.user.model;

import lombok.*;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
/**
* PATCH
* 회원 정보 수정 요청
*/
public class PatchUserReq {
private int userIdx;
private String nickname;
}
13 changes: 13 additions & 0 deletions src/main/java/umc/crud/src/user/model/PostLoginReq.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package umc.crud.src.user.model;

import lombok.*;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
public class PostLoginReq {
private String email;
private String password;
private String nickname;
}
12 changes: 12 additions & 0 deletions src/main/java/umc/crud/src/user/model/PostLoginRes.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package umc.crud.src.user.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@AllArgsConstructor
public class PostLoginRes {
private int userIdx;
}

0 comments on commit 173eaaf

Please sign in to comment.