Skip to content

Commit 6771de5

Browse files
committed
feat: 이벤트 추가 시작
1 parent 27276a0 commit 6771de5

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
package cmf.commitField.domain.commit.scheduler;
22

3+
import lombok.Getter;
34
import org.springframework.context.ApplicationEvent;
45

6+
@Getter
57
public class CommitUpdateEvent extends ApplicationEvent {
68
private final Long userId;
79
private final int commitCount;
@@ -12,11 +14,4 @@ public CommitUpdateEvent(Object source, Long userId, int commitCount) {
1214
this.commitCount = commitCount;
1315
}
1416

15-
public Long getUserId() {
16-
return userId;
17-
}
18-
19-
public int getCommitCount() {
20-
return commitCount;
21-
}
2217
}

0 commit comments

Comments
 (0)