-
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.
Browse files
Browse the repository at this point in the history
* feat: 구분에 대한 정렬 우선순위 정의 * feat: 파트에 대한 정렬 우선순위 정의 * feat: 액티브 멤버, 비액티브 멤버 Comparable 구현 메서드 추가 * feat: JPA auditing 기능 추가 * feat: 멤버 도메인 및 엔티티에 auditing 적용 * feat: 졸업 멤버, 탈퇴 멤버 Comparable 구현 메서드 추가 * feat: 상태별 멤버 목록 조회 및 검색 시 정렬된 상태로 반환하는 기능 추가 * feat: 1멤버 n파트인 경우 파트를 정렬된 상태로 갖도록 SortedSet으로 변경 * feat: 멤버 도메인 엔티티에 멤버 상태 변경 시간을 기록하는 필드 추가 * fix: 졸업 멤버, 탈퇴 멤버 정렬 시 상태 변경 시간을 기준으로 정렬하도록 수정 * refactor: toString() 제거 및 compareTo()에서 this 명시 * style: 코드 재정렬
- Loading branch information
1 parent
5494b63
commit 460dd40
Showing
43 changed files
with
221 additions
and
181 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
2 changes: 1 addition & 1 deletion
2
...ain/kotlin/com/yourssu/scouter/ats/application/domain/applicant/CreateApplicantRequest.kt
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
2 changes: 1 addition & 1 deletion
2
...ain/kotlin/com/yourssu/scouter/ats/application/domain/applicant/UpdateApplicantRequest.kt
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
2 changes: 1 addition & 1 deletion
2
...ain/kotlin/com/yourssu/scouter/common/application/domain/semester/ReadSemesterResponse.kt
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
7 changes: 7 additions & 0 deletions
7
src/main/kotlin/com/yourssu/scouter/common/implement/domain/basetime/BaseCreateTime.kt
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,7 @@ | ||
package com.yourssu.scouter.common.implement.domain.basetime | ||
|
||
import java.time.LocalDateTime | ||
|
||
open class BaseCreateTime( | ||
val createdTime: LocalDateTime? = null | ||
) |
8 changes: 8 additions & 0 deletions
8
src/main/kotlin/com/yourssu/scouter/common/implement/domain/basetime/BaseTime.kt
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,8 @@ | ||
package com.yourssu.scouter.common.implement.domain.basetime | ||
|
||
import java.time.LocalDateTime | ||
|
||
open class BaseTime( | ||
createdTime: LocalDateTime? = null, | ||
val updatedTime: LocalDateTime? = null | ||
) : BaseCreateTime(createdTime) |
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
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
18 changes: 18 additions & 0 deletions
18
src/main/kotlin/com/yourssu/scouter/common/storage/domain/basetime/BaseCreateTimeEntity.kt
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,18 @@ | ||
package com.yourssu.scouter.common.storage.domain.basetime | ||
|
||
import jakarta.persistence.Column | ||
import jakarta.persistence.EntityListeners | ||
import jakarta.persistence.MappedSuperclass | ||
import java.time.LocalDateTime | ||
import org.springframework.data.annotation.CreatedDate | ||
import org.springframework.data.jpa.domain.support.AuditingEntityListener | ||
|
||
@EntityListeners(AuditingEntityListener::class) | ||
@MappedSuperclass | ||
class BaseCreateTimeEntity { | ||
|
||
@CreatedDate | ||
@Column(updatable = false, nullable = false) | ||
var createdTime: LocalDateTime? = null | ||
protected set | ||
} |
18 changes: 18 additions & 0 deletions
18
src/main/kotlin/com/yourssu/scouter/common/storage/domain/basetime/BaseTimeEntity.kt
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,18 @@ | ||
package com.yourssu.scouter.common.storage.domain.basetime | ||
|
||
import jakarta.persistence.Column | ||
import jakarta.persistence.EntityListeners | ||
import jakarta.persistence.MappedSuperclass | ||
import java.time.LocalDateTime | ||
import org.springframework.data.annotation.LastModifiedDate | ||
import org.springframework.data.jpa.domain.support.AuditingEntityListener | ||
|
||
@EntityListeners(AuditingEntityListener::class) | ||
@MappedSuperclass | ||
class BaseTimeEntity : BaseCreateTimeEntity() { | ||
|
||
@LastModifiedDate | ||
@Column(nullable = false) | ||
var updatedTime: LocalDateTime? = null | ||
protected set | ||
} |
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
Oops, something went wrong.