-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: ReservationTicketUiModel 사용하지 않도록 리팩터링
- Loading branch information
Showing
7 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...app/src/main/java/com/festago/festago/presentation/ui/ticketreserve/TicketReserveEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 3 additions & 6 deletions
9
...c/main/java/com/festago/festago/presentation/ui/ticketreserve/TicketReserveItemUiState.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
package com.festago.festago.presentation.ui.ticketreserve | ||
|
||
import android.os.Parcelable | ||
import com.festago.festago.presentation.model.ReservationTicketUiModel | ||
import kotlinx.parcelize.Parcelize | ||
import com.festago.festago.model.ReservationTicket | ||
import java.time.LocalDateTime | ||
|
||
@Parcelize | ||
data class TicketReserveItemUiState( | ||
val id: Int, | ||
val lineUp: String, | ||
val startTime: LocalDateTime, | ||
val ticketOpenTime: LocalDateTime, | ||
val reservationTickets: List<ReservationTicketUiModel>, | ||
val reservationTickets: List<ReservationTicket>, | ||
val canReserve: Boolean, | ||
val isSigned: Boolean, | ||
val onShowStageTickets: (stageId: Int, stageStartTime: LocalDateTime) -> Unit, | ||
) : Parcelable | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../com/festago/festago/presentation/ui/ticketreserve/bottomsheet/TicketReserveBottomItem.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package com.festago.festago.presentation.ui.ticketreserve.bottomsheet | ||
|
||
import com.festago.festago.presentation.model.ReservationTicketUiModel | ||
import com.festago.festago.presentation.ui.ticketreserve.ReservationTicketArg | ||
|
||
data class TicketReserveBottomItem( | ||
val ticket: ReservationTicketUiModel, | ||
val ticket: ReservationTicketArg, | ||
val isSelected: Boolean = false, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters