대여기간 - 15일로 변경
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(7)
|
endDate = startDate.plusDays(15)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user