Skip to content
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

entity에 base entity 적용 #26

Open
2 tasks
jdi022222 opened this issue Oct 12, 2022 · 0 comments
Open
2 tasks

entity에 base entity 적용 #26

jdi022222 opened this issue Oct 12, 2022 · 0 comments
Assignees
Labels
설계 설계에 관련된 이슈

Comments

@jdi022222
Copy link
Collaborator

jdi022222 commented Oct 12, 2022

이슈 내용

  • Audit : 모든 entity에 base entity 적용

상세 내용

  • 생성일, 수정일, 최초 등록한 사람, 마지막 수정한 사람의 정보를 포함한 base entity를 생성 후 기존의 각 entity에 상속한다
  • 각 데이터의 생성, 수정 정보를 저장하고 관리하기 위함
  • DB에서 문제가 발생했을 때 추적을 하는데 용이하게 쓸 수 있음
    @CreatedDate
    @Column(updatable = false)
    private LocalDateTime createDate;

    @LastModifiedDate
    private LocalDateTime modifyDate;

    @CreatedBy
    @Column(updatable = false)
    private String createdBy;
    
    @LastModifiedBy
    private String lastModifiedBy;

체크리스트

@jdi022222 jdi022222 added the 설계 설계에 관련된 이슈 label Oct 12, 2022
@jdi022222 jdi022222 self-assigned this Oct 12, 2022
@jdi022222 jdi022222 changed the title base entity 적용 각 entity에 base entity 적용 Oct 12, 2022
@jdi022222 jdi022222 changed the title 각 entity에 base entity 적용 entity에 base entity 적용 Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
설계 설계에 관련된 이슈
Projects
None yet
Development

No branches or pull requests

1 participant