유저테이블 변경
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.kamco.cd.kamcoback.auth;
|
||||
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/auth")
|
||||
public class AuthApiController {
|
||||
|
||||
@PostMapping("/signup")
|
||||
public void signup() {
|
||||
|
||||
}
|
||||
}
|
||||
35
src/main/java/com/kamco/cd/kamcoback/auth/dto/AuthDto.java
Normal file
35
src/main/java/com/kamco/cd/kamcoback/auth/dto/AuthDto.java
Normal file
@@ -0,0 +1,35 @@
|
||||
package com.kamco.cd.kamcoback.auth.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
|
||||
public class AuthDto {
|
||||
|
||||
@Getter
|
||||
public static class Signup {
|
||||
private String userAuth;
|
||||
private String userNm;
|
||||
private String userId;
|
||||
private String userPw;
|
||||
private String empId;
|
||||
private String userEmail;
|
||||
|
||||
public Signup(
|
||||
String userAuth,
|
||||
String userNm,
|
||||
String userId,
|
||||
String userPw,
|
||||
String empId,
|
||||
String userEmail
|
||||
) {
|
||||
this.userAuth = userAuth;
|
||||
this.userNm = userNm;
|
||||
this.userId = userId;
|
||||
this.userPw = userPw;
|
||||
this.empId = empId;
|
||||
this.userEmail = userEmail;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user