Skip to content

Commit 85ad57d

Browse files
committed
feat : 알람 데이터 알람코드 값 추가
1 parent e852488 commit 85ad57d

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

data/src/main/java/com/stop/data/local/model/Alarm.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ data class Alarm(
88
val startPosition: String,
99
val endPosition: String,
1010
val routes: List<String>,
11-
val lastTime: String,
12-
val alarmTime: String,
11+
val lastTime: String, // 막차 시간 -> 23:30:15 시분초
12+
val alarmTime: Int, // 10분 전 알람 설정 -> 10
13+
val alarmCode: Int, // 알람을 식별하기 위한 알람 ID
1314
val alarmMethod: Boolean,
1415
val isMission: Boolean,
1516
) {
@@ -20,6 +21,7 @@ data class Alarm(
2021
routes,
2122
lastTime,
2223
alarmTime,
24+
alarmCode,
2325
alarmMethod,
2426
isMission
2527
)

data/src/main/java/com/stop/data/model/alarm/AlarmRepositoryItem.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ data class AlarmRepositoryItem(
77
val startPosition: String,
88
val endPosition: String,
99
val routes: List<String>,
10-
val lastTime: String,
11-
val alarmTime: String,
10+
val lastTime: String, // 막차 시간 -> 23:30:15 시분초
11+
val alarmTime: Int, // 10분 전 알람 설정 -> 10
12+
val alarmCode: Int, // 알람을 식별하기 위한 알람 ID
1213
val alarmMethod: Boolean,
1314
val isMission: Boolean,
1415
) {
@@ -19,6 +20,7 @@ data class AlarmRepositoryItem(
1920
routes,
2021
lastTime,
2122
alarmTime,
23+
alarmCode,
2224
alarmMethod,
2325
isMission
2426
)
@@ -29,6 +31,7 @@ data class AlarmRepositoryItem(
2931
routes,
3032
lastTime,
3133
alarmTime,
34+
alarmCode,
3235
alarmMethod,
3336
isMission
3437
)

domain/src/main/java/com/stop/domain/model/alarm/AlarmUseCaseItem.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ data class AlarmUseCaseItem(
44
val startPosition: String,
55
val endPosition: String,
66
val routes: List<String>,
7-
val lastTime: String,
8-
val alarmTime: String,
7+
val lastTime: String, // 막차 시간 -> 23:30:15 시분초
8+
val alarmTime: Int, // 10분 전 알람 설정 -> 10
9+
val alarmCode: Int, // 알람을 식별하기 위한 알람 ID
910
val alarmMethod: Boolean,
1011
val isMission: Boolean,
1112
)

0 commit comments

Comments
 (0)