콘텐츠 대여기간
- 15 -> 5일로 변경
This commit is contained in:
@@ -52,7 +52,7 @@ data class Order(
|
|||||||
override fun prePersist() {
|
override fun prePersist() {
|
||||||
super.prePersist()
|
super.prePersist()
|
||||||
if (type == OrderType.RENTAL) {
|
if (type == OrderType.RENTAL) {
|
||||||
endDate = startDate.plusDays(15)
|
endDate = startDate.plusDays(5)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user