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

refactor : 공연 기본 정보 수정 정책 변경 #368

Merged
merged 3 commits into from
Feb 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ public class Event extends BaseTimeEntity {
@Enumerated(EnumType.STRING)
private EventStatus status = PREPARING;

private Boolean isUpdated = false;

public LocalDateTime getStartAt() {
if (this.eventBasic == null) {
return null;
Expand Down Expand Up @@ -72,10 +70,6 @@ public Boolean isPreparing() {
}

public void setEventBasic(EventBasic eventBasic) {
if (isUpdated) {
throw CannotModifyEventBasicException.EXCEPTION;
}
this.isUpdated = true;
this.eventBasic = eventBasic;
}

Expand All @@ -85,7 +79,6 @@ public void setEventDetail(EventDetail eventDetail) {
}

public void setEventPlace(EventPlace eventPlace) {
// 정보 한 번 등록시 변경 불가
this.eventPlace = eventPlace;
}

Expand Down