-
Notifications
You must be signed in to change notification settings - Fork 0
[Feat] 프로세스, 워크스페이스 엔티티 설계 및 DTO 정의 #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| import java.time.LocalDate; | ||
| import java.util.List; | ||
|
|
||
| public record ProcessCreateReqDTO( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
기존 DTO들이 Dto처럼 소문자 형태를 띄고 있어서 이 부분 통일되면 좋을 듯 합니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네 통일 시켜놓겠습니다
| @@ -0,0 +1,5 @@ | |||
| package com.nect.core.entity.team; | |||
|
|
|||
| public class ProjectUser { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
엔티티인듯 한데, 최소한의 어노테이션이나 필드는 달아주세요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵 지금 수정하겠습니다!
| private String fileName; | ||
|
|
||
| @Column(name = "file_ext", length = 10, nullable = false) | ||
| private String fileExt; // jpg, png, pdf, zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확장자는 enum으로 두고 관리하는건 어떨까요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네 그게 좋을 것 같네요. 이것도 수정해 놓겠습니다
| // @JoinColumn(name = "created_by", nullable = false) | ||
| // private User createdBy; | ||
|
|
||
| @Lob |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TEXT로 안 두고 Lob으로 둔 이유가 있을까요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
columnDefinition="TEXT"으로 수정했어야 됐는데 수정을 못했습니다 수정해놓겠습니다
| this.status = ProcessFeedbackStatus.OPEN; | ||
| } | ||
|
|
||
| void setProcess(Process process) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기는 기본 접근제어자로 두는건가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵 기본 접근제어자로 두고 addTaskItem 메소드 같은 편의 메서드 내에서만 호출되도록 제한했습니다!
ggamnunq
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Feat/team/team-init 팀 프로세스, 워크스페이스 관련 엔티티 설계 및 DTO 정의
🎯 작업 내용
주요 변경사항
상세 내용
✅ 체크리스트
💬 리뷰 요청사항