-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Week6 조서영 기능 구현
- Loading branch information
Showing
65 changed files
with
1,680 additions
and
594 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
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
73 changes: 73 additions & 0 deletions
73
src/main/java/team1/BE/seamless/DTO/MemberDetailResponseDTO.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,73 @@ | ||
package team1.BE.seamless.DTO; | ||
|
||
import java.util.List; | ||
import team1.BE.seamless.entity.ProjectEntity; | ||
import team1.BE.seamless.entity.TaskEntity; | ||
|
||
public class MemberDetailResponseDTO { | ||
|
||
private String email; | ||
private String role; | ||
private String name; | ||
private String imageURL; | ||
private ProjectEntity projectEntity; | ||
private List<TaskEntity> taskEntities; | ||
|
||
public MemberDetailResponseDTO(String email, String role, String name, | ||
String imageURL, ProjectEntity projectEntity, List<TaskEntity> taskEntities) { | ||
this.email = email; | ||
this.role = role; | ||
this.name = name; | ||
this.imageURL = imageURL; | ||
this.projectEntity = projectEntity; | ||
this.taskEntities = taskEntities; | ||
} | ||
|
||
public String getEmail() { | ||
return email; | ||
} | ||
|
||
public void setEmail(String email) { | ||
this.email = email; | ||
} | ||
|
||
public String getRole() { | ||
return role; | ||
} | ||
|
||
public void setRole(String role) { | ||
this.role = role; | ||
} | ||
|
||
public String getImageURL() { | ||
return imageURL; | ||
} | ||
|
||
public void setImageURL(String imageURL) { | ||
this.imageURL = imageURL; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public ProjectEntity getProjectEntity() { | ||
return projectEntity; | ||
} | ||
|
||
public void setProjectEntity(ProjectEntity projectEntity) { | ||
this.projectEntity = projectEntity; | ||
} | ||
|
||
public List<TaskEntity> getTaskEntities() { | ||
return taskEntities; | ||
} | ||
|
||
public void setTaskEntities(List<TaskEntity> taskEntities) { | ||
this.taskEntities = taskEntities; | ||
} | ||
} |
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,96 @@ | ||
package team1.BE.seamless.DTO; | ||
|
||
import jakarta.validation.constraints.Email; | ||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.Size; | ||
import team1.BE.seamless.util.page.PageParam; | ||
|
||
public class MemberRequestDTO { | ||
|
||
public static class getMemberList extends PageParam { | ||
|
||
} | ||
|
||
public static class CreateMember { | ||
|
||
@NotBlank(message = "이름은 필수 입력 사항입니다.") | ||
@Size(max = 15, message = "이름은 공백 포함 최대 15글자까지 가능합니다.") | ||
private String name; | ||
|
||
@NotBlank(message = "역할은 필수 입력 사항입니다.") | ||
@Size(max = 15, message = "역할은 공백 포함 최대 15글자까지 가능합니다.") | ||
private String role; | ||
|
||
@Email(message = "유효한 이메일 주소를 입력해주세요.") | ||
@NotBlank(message = "이메일은 필수 입력 사항입니다.") | ||
private String email; | ||
|
||
private String imageURL; | ||
|
||
public CreateMember() { | ||
} | ||
|
||
public CreateMember(String name, String role, String email, String imageURL) { | ||
this.name = name; | ||
this.role = role; | ||
this.email = email; | ||
this.imageURL = imageURL; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public String getRole() { | ||
return role; | ||
} | ||
|
||
public String getEmail() { | ||
return email; | ||
} | ||
|
||
public String getImageURL() { | ||
return imageURL; | ||
} | ||
} | ||
|
||
public static class UpdateMember { | ||
|
||
@Size(max = 15, message = "이름은 공백 포함 최대 15글자까지 가능합니다.") | ||
private String name; | ||
|
||
@Size(max = 15, message = "역할은 공백 포함 최대 15글자까지 가능합니다.") | ||
private String role; | ||
|
||
@Email(message = "유효한 이메일 주소를 입력해주세요.") | ||
private String email; | ||
|
||
private String imageURL; | ||
|
||
public UpdateMember() { | ||
} | ||
|
||
public UpdateMember(String name, String role, String email, String imageURL) { | ||
this.name = name; | ||
this.role = role; | ||
this.email = email; | ||
this.imageURL = imageURL; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public String getRole() { | ||
return role; | ||
} | ||
|
||
public String getEmail() { | ||
return email; | ||
} | ||
|
||
public String getImageURL() { | ||
return imageURL; | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package team1.BE.seamless.DTO; | ||
|
||
public class OptionDTO { | ||
|
||
public static class OptionCreate { | ||
|
||
private String name; | ||
|
||
private String eventType; | ||
|
||
public OptionCreate() { | ||
|
||
} | ||
|
||
public OptionCreate(String name, String eventType) { | ||
this.name = name; | ||
this.eventType = eventType; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public String getEventType() { | ||
return eventType; | ||
} | ||
|
||
} | ||
|
||
} |
Oops, something went wrong.