Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist
이슈들 보다가 해볼만 한 것 같아서 구현해봤습니다
toString, hashCode, equals 를 따로 구현하지 않아도 되도록합니다
toString 은 reflection 을 사용해서 성능이 조금 떨어지긴 할텐데, 어차피 toString 을 사용하는 곳이 별로 없을거라.. 그냥 조금 더 편한 길로 가봅니다 ㅎㅎ
독립적인 abstract class 로 관리하고 싶었는데, 코틀린에서 abstract class 는 한개밖에 상속을 받지 못해서 TimeAuditingBaseEntity 가 상속받도록 했습니다
만약
TimeAuditingBaseEntity
를 상속받는 모델이면 두 기능 (createdAt
,updatedAt
이 트래킹되는 기능과, toString 이 다이나믹하게 구현되는 기능) 을 사용하게 되고, 만약TimeAuditingBaseEntity
를 사용하지 않는다면,AbstractDomainModel
만 가져다가 쓰면 될 것 같습니다resolves add abstract class for domain model #75
충분한 양의 자동화 테스트를 작성했는가?