-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from KUIT-Space/develop
24.08.12 16:50 ๋ฐฐํฌ
- Loading branch information
Showing
10 changed files
with
350 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
src/main/java/space/space_spring/dto/space/PostSpaceJoinDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package space.space_spring.dto.space; | ||
|
||
import jakarta.annotation.Nullable; | ||
import jakarta.validation.constraints.NotBlank; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import org.hibernate.validator.constraints.Length; | ||
import org.springframework.web.multipart.MultipartFile; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public class PostSpaceJoinDto { | ||
|
||
private String userProfileImg; | ||
|
||
private String userName; | ||
|
||
private String userProfileMsg; | ||
|
||
@Getter | ||
@Setter | ||
@NoArgsConstructor | ||
public static class Request { | ||
|
||
@Nullable | ||
private MultipartFile userProfileImg; | ||
|
||
@NotBlank(message = "์ ์ ์ด๋ฆ์ ๊ณต๋ฐฑ์ผ ์ ์์ต๋๋ค.") | ||
@Length(min = 1, max = 10, message = "์ด๋ฆ์ 10์์ด๋ด์ ๋ฌธ์์ด์ด์ด์ผ ํฉ๋๋ค.") | ||
private String userName; | ||
|
||
@Nullable | ||
@Length(max = 50, message = "ํ๋กํ ์ํ๋ฉ์์ง๋ 50์์ด๋ด์ ๋ฌธ์์ด์ด์ด์ผ ํฉ๋๋ค.") | ||
private String userProfileMsg; | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
src/main/java/space/space_spring/dto/userSpace/GetUserProfileInSpaceDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package space.space_spring.dto.userSpace; | ||
|
||
import com.amazonaws.services.ec2.model.CpuOptionsRequest; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public class GetUserProfileInSpaceDto { | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public static class Response { | ||
|
||
private String userProfileImg; | ||
|
||
private String userName; | ||
|
||
private String userAuth; | ||
|
||
private String userProfileMsg; | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
src/main/java/space/space_spring/dto/userSpace/PutUserProfileInSpaceDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
package space.space_spring.dto.userSpace; | ||
|
||
import jakarta.annotation.Nullable; | ||
import jakarta.validation.constraints.NotBlank; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import org.hibernate.validator.constraints.Length; | ||
import org.springframework.web.multipart.MultipartFile; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public class PutUserProfileInSpaceDto { | ||
|
||
private String userName; | ||
|
||
private String userProfileImg; | ||
|
||
private String userProfileMsg; | ||
|
||
@Getter | ||
@Setter | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public static class Request { | ||
|
||
@Nullable | ||
private MultipartFile userProfileImg; | ||
|
||
@NotBlank(message = "์ ์ ์ด๋ฆ์ ๊ณต๋ฐฑ์ผ ์ ์์ต๋๋ค.") | ||
@Length(min = 1, max = 10, message = "์ด๋ฆ์ 10์์ด๋ด์ ๋ฌธ์์ด์ด์ด์ผ ํฉ๋๋ค.") | ||
private String userName; | ||
|
||
@Nullable | ||
@Length(max = 50, message = "ํ๋กํ ์ํ๋ฉ์์ง๋ 50์์ด๋ด์ ๋ฌธ์์ด์ด์ด์ผ ํฉ๋๋ค.") | ||
private String userProfileMsg; | ||
} | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public static class Response { | ||
|
||
private String userProfileImg; | ||
|
||
private String userAuth; | ||
|
||
private String userName; | ||
|
||
private String userProfileMsg; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.