diff --git a/build.gradle b/build.gradle index d969c70f..7f1dad24 100644 --- a/build.gradle +++ b/build.gradle @@ -114,7 +114,9 @@ tasks.register("copyTextToSecurity") { doLast { def openapi3File = file(openapi3Path) def securityFile = file("src/test/resources/security.yaml") - openapi3File.append securityFile.text + if (!openapi3File.text.contains("securitySchemes")) { + openapi3File.append securityFile.text + } } } diff --git a/src/main/java/com/coolpeace/domain/accommodation/entity/Accommodation.java b/src/main/java/com/coolpeace/domain/accommodation/entity/Accommodation.java index 063ac9ac..d0f974bd 100644 --- a/src/main/java/com/coolpeace/domain/accommodation/entity/Accommodation.java +++ b/src/main/java/com/coolpeace/domain/accommodation/entity/Accommodation.java @@ -1,16 +1,27 @@ package com.coolpeace.domain.accommodation.entity; +import com.coolpeace.domain.accommodation.entity.type.AccommodationType; +import com.coolpeace.domain.coupon.entity.Coupon; import com.coolpeace.domain.member.entity.Member; import com.coolpeace.domain.room.entity.Room; import com.coolpeace.global.common.BaseTimeEntity; -import jakarta.persistence.*; +import jakarta.persistence.CascadeType; +import jakarta.persistence.Entity; +import jakarta.persistence.EnumType; +import jakarta.persistence.Enumerated; +import jakarta.persistence.FetchType; +import jakarta.persistence.GeneratedValue; +import jakarta.persistence.GenerationType; +import jakarta.persistence.Id; +import jakarta.persistence.JoinColumn; +import jakarta.persistence.ManyToOne; +import jakarta.persistence.OneToMany; +import java.util.ArrayList; +import java.util.List; import lombok.AccessLevel; import lombok.Getter; import lombok.NoArgsConstructor; -import java.util.ArrayList; -import java.util.List; - @Getter @Entity @NoArgsConstructor(access = AccessLevel.PROTECTED) @@ -32,6 +43,9 @@ public class Accommodation extends BaseTimeEntity { private String address; + @Enumerated(EnumType.STRING) + private AccommodationType accommodationType; + @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "member_id") private Member member; @@ -39,6 +53,9 @@ public class Accommodation extends BaseTimeEntity { @OneToMany(mappedBy = "accommodation", fetch = FetchType.LAZY, cascade = CascadeType.ALL) private List rooms = new ArrayList<>(); + @OneToMany(mappedBy = "accommodation", fetch = FetchType.LAZY) + private List coupons = new ArrayList<>(); + public Accommodation(Long id, String name, String address, Member member) { this.id = id; this.name = name; @@ -58,4 +75,8 @@ public static Accommodation from(String name, Sido sido, Sigungu sigungu, String return new Accommodation(name, sido, sigungu, address, member); } + public void setType(AccommodationType accommodationType) { + this.accommodationType = accommodationType; + } + } diff --git a/src/main/java/com/coolpeace/domain/accommodation/entity/type/AccommodationType.java b/src/main/java/com/coolpeace/domain/accommodation/entity/type/AccommodationType.java new file mode 100644 index 00000000..87f80e67 --- /dev/null +++ b/src/main/java/com/coolpeace/domain/accommodation/entity/type/AccommodationType.java @@ -0,0 +1,16 @@ +package com.coolpeace.domain.accommodation.entity.type; + +import lombok.Getter; +import lombok.RequiredArgsConstructor; + +@Getter +@RequiredArgsConstructor +public enum AccommodationType { + + MOTEL, + HOTEL, + RESORT, + PENSION, + VILLA + +} diff --git a/src/main/java/com/coolpeace/domain/batch/job/MonthlyStatisticsConfig.java b/src/main/java/com/coolpeace/domain/batch/job/MonthlyStatisticsConfig.java index 14bbde3a..068e1c13 100644 --- a/src/main/java/com/coolpeace/domain/batch/job/MonthlyStatisticsConfig.java +++ b/src/main/java/com/coolpeace/domain/batch/job/MonthlyStatisticsConfig.java @@ -2,6 +2,7 @@ import com.coolpeace.domain.batch.tasklet.CompleteSettlementTasklet; import com.coolpeace.domain.batch.tasklet.CouponDownloadTop3Tasklet; +import com.coolpeace.domain.batch.tasklet.LocalCouponAvgTasklet; import com.coolpeace.domain.batch.tasklet.LocalCouponDownloadTasklet; import com.coolpeace.domain.batch.tasklet.MonthlySumTasklet; import com.coolpeace.domain.statistics.service.MonthlyStatisticsService; @@ -14,7 +15,6 @@ import org.springframework.batch.core.step.builder.StepBuilder; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; -import org.springframework.security.core.parameters.P; import org.springframework.transaction.PlatformTransactionManager; @Slf4j @@ -34,6 +34,7 @@ public Job monthlyStatisticsJob(JobRepository jobRepository, .next(monthlySumStep(jobRepository, platformTransactionManager)) .next(localCouponDownloadStep(jobRepository, platformTransactionManager)) .next(couponDownloadTop3Step(jobRepository,platformTransactionManager)) + .next(localCouponAvgStep(jobRepository,platformTransactionManager)) .build(); } @@ -80,4 +81,14 @@ public Step completeSettlementStep(JobRepository jobRepository, .build(); } + @Bean + public Step localCouponAvgStep(JobRepository jobRepository, + PlatformTransactionManager platformTransactionManager) { + log.info("LocalCouponAvg step start"); + return new StepBuilder("localCouponAvgStep", jobRepository) + .tasklet(new LocalCouponAvgTasklet(monthlyStatisticsService), + platformTransactionManager) + .listener(customStepListener) + .build(); + } } diff --git a/src/main/java/com/coolpeace/domain/batch/tasklet/CompleteSettlementTasklet.java b/src/main/java/com/coolpeace/domain/batch/tasklet/CompleteSettlementTasklet.java index 5e3db31d..681c8d2b 100644 --- a/src/main/java/com/coolpeace/domain/batch/tasklet/CompleteSettlementTasklet.java +++ b/src/main/java/com/coolpeace/domain/batch/tasklet/CompleteSettlementTasklet.java @@ -9,10 +9,11 @@ import org.springframework.batch.core.scope.context.ChunkContext; import org.springframework.batch.core.step.tasklet.Tasklet; import org.springframework.batch.repeat.RepeatStatus; +import org.springframework.stereotype.Component; @Slf4j @RequiredArgsConstructor -@Transactional +@Component public class CompleteSettlementTasklet implements Tasklet, StepExecutionListener { private final MonthlyStatisticsService monthlyStatisticsService; diff --git a/src/main/java/com/coolpeace/domain/batch/tasklet/CouponDownloadTop3Tasklet.java b/src/main/java/com/coolpeace/domain/batch/tasklet/CouponDownloadTop3Tasklet.java index e52e519f..6ba49e0c 100644 --- a/src/main/java/com/coolpeace/domain/batch/tasklet/CouponDownloadTop3Tasklet.java +++ b/src/main/java/com/coolpeace/domain/batch/tasklet/CouponDownloadTop3Tasklet.java @@ -1,8 +1,6 @@ package com.coolpeace.domain.batch.tasklet; -import com.coolpeace.domain.statistics.service.DailyStatisticsService; import com.coolpeace.domain.statistics.service.MonthlyStatisticsService; -import jakarta.transaction.Transactional; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.batch.core.StepContribution; @@ -10,10 +8,11 @@ import org.springframework.batch.core.scope.context.ChunkContext; import org.springframework.batch.core.step.tasklet.Tasklet; import org.springframework.batch.repeat.RepeatStatus; +import org.springframework.stereotype.Component; @Slf4j @RequiredArgsConstructor -@Transactional +@Component public class CouponDownloadTop3Tasklet implements Tasklet, StepExecutionListener { private final MonthlyStatisticsService monthlyStatisticsService; diff --git a/src/main/java/com/coolpeace/domain/batch/tasklet/CouponTasklet.java b/src/main/java/com/coolpeace/domain/batch/tasklet/CouponTasklet.java index 9da41348..cd3c3318 100644 --- a/src/main/java/com/coolpeace/domain/batch/tasklet/CouponTasklet.java +++ b/src/main/java/com/coolpeace/domain/batch/tasklet/CouponTasklet.java @@ -9,10 +9,11 @@ import org.springframework.batch.core.scope.context.ChunkContext; import org.springframework.batch.core.step.tasklet.Tasklet; import org.springframework.batch.repeat.RepeatStatus; +import org.springframework.stereotype.Component; @Slf4j @RequiredArgsConstructor -@Transactional +@Component public class CouponTasklet implements Tasklet, StepExecutionListener { private final DailyStatisticsService dailyStatisticsService; diff --git a/src/main/java/com/coolpeace/domain/batch/tasklet/LocalCouponAvgTasklet.java b/src/main/java/com/coolpeace/domain/batch/tasklet/LocalCouponAvgTasklet.java new file mode 100644 index 00000000..9df910d0 --- /dev/null +++ b/src/main/java/com/coolpeace/domain/batch/tasklet/LocalCouponAvgTasklet.java @@ -0,0 +1,32 @@ +package com.coolpeace.domain.batch.tasklet; + +import com.coolpeace.domain.statistics.service.DailyStatisticsService; +import com.coolpeace.domain.statistics.service.MonthlyStatisticsService; +import jakarta.transaction.Transactional; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.batch.core.StepContribution; +import org.springframework.batch.core.StepExecutionListener; +import org.springframework.batch.core.scope.context.ChunkContext; +import org.springframework.batch.core.step.tasklet.Tasklet; +import org.springframework.batch.repeat.RepeatStatus; +import org.springframework.stereotype.Component; + +@Slf4j +@RequiredArgsConstructor +@Component +public class LocalCouponAvgTasklet implements Tasklet, StepExecutionListener { + + private final MonthlyStatisticsService monthlyStatisticsService; + + @Override + public RepeatStatus execute(StepContribution contribution, ChunkContext chunkContext) + throws Exception { + log.info("지역 쿠폰 평균 갯수 Tasklet 시작"); + monthlyStatisticsService.updateLocalCouponAvg(); + + return RepeatStatus.FINISHED; + } + + +} \ No newline at end of file diff --git a/src/main/java/com/coolpeace/domain/coupon/dto/response/CouponDailyResponse.java b/src/main/java/com/coolpeace/domain/coupon/dto/response/CouponDailyResponse.java index 9f9f2772..0df5ad55 100644 --- a/src/main/java/com/coolpeace/domain/coupon/dto/response/CouponDailyResponse.java +++ b/src/main/java/com/coolpeace/domain/coupon/dto/response/CouponDailyResponse.java @@ -7,13 +7,14 @@ @Builder public record CouponDailyResponse( + int conditionNum, CouponDailyCondition condition, List couponTitles ) { - public static CouponDailyResponse from(CouponDailyCondition condition,List couponTitles) { - return new CouponDailyResponse(condition, couponTitles); + public static CouponDailyResponse from(int conditionNum, CouponDailyCondition condition,List couponTitles) { + return new CouponDailyResponse(conditionNum, condition, couponTitles); } - public static CouponDailyResponse from(CouponDailyCondition condition) { - return new CouponDailyResponse(condition, Collections.emptyList()); + public static CouponDailyResponse from(int conditionNum, CouponDailyCondition condition) { + return new CouponDailyResponse(conditionNum, condition, Collections.emptyList()); } } diff --git a/src/main/java/com/coolpeace/domain/coupon/repository/CouponRepository.java b/src/main/java/com/coolpeace/domain/coupon/repository/CouponRepository.java index 9e11b291..bb996446 100644 --- a/src/main/java/com/coolpeace/domain/coupon/repository/CouponRepository.java +++ b/src/main/java/com/coolpeace/domain/coupon/repository/CouponRepository.java @@ -2,10 +2,12 @@ import com.coolpeace.domain.accommodation.entity.Accommodation; import com.coolpeace.domain.coupon.entity.Coupon; +import java.time.LocalDate; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; public interface CouponRepository extends JpaRepository,CouponRepositoryCustom { boolean existsByMemberIdAndCouponNumber(Long memberId, String couponNumber); List findAllByAccommodation(Accommodation accommodation); + List findAllByExposureStartDateGreaterThanEqual(LocalDate localDate); } diff --git a/src/main/java/com/coolpeace/domain/coupon/service/CouponQueryService.java b/src/main/java/com/coolpeace/domain/coupon/service/CouponQueryService.java index b2e867af..1299f0db 100644 --- a/src/main/java/com/coolpeace/domain/coupon/service/CouponQueryService.java +++ b/src/main/java/com/coolpeace/domain/coupon/service/CouponQueryService.java @@ -16,24 +16,23 @@ public class CouponQueryService { private final CouponRepository couponRepository; - /* 메소드 복잡도를 낮추는 방법 고안 중 */ public CouponDailyResponse dailyReport(String jwtPrincipal, Long accommodationId) { Long memberId = Long.valueOf(jwtPrincipal); if (Boolean.TRUE.equals(couponRepository.noRegister(memberId, accommodationId))) { - return CouponDailyResponse.from(CouponDailyCondition.NO_REGISTER); + return CouponDailyResponse.from(1,CouponDailyCondition.NO_REGISTER); } List expiration3daysCoupons = couponRepository.expiration3days(memberId, accommodationId); if (!expiration3daysCoupons.isEmpty()) { - return CouponDailyResponse.from(CouponDailyCondition.EXPIRATION_3DAYS, + return CouponDailyResponse.from(3, CouponDailyCondition.EXPIRATION_3DAYS, expiration3daysCoupons.stream().map(Coupon::getCouponTitle).toList()); } if (Boolean.TRUE.equals(couponRepository.noExposure(memberId, accommodationId))) { - return CouponDailyResponse.from(CouponDailyCondition.NO_EXPOSURE); + return CouponDailyResponse.from(2, CouponDailyCondition.NO_EXPOSURE); } List exposureCoupons = couponRepository.exposureCoupons(memberId, accommodationId); - return CouponDailyResponse.from(CouponDailyCondition.NO_CONDITION, + return CouponDailyResponse.from(4, CouponDailyCondition.NO_CONDITION, exposureCoupons.stream().map(Coupon::getCouponTitle).toList()); } } diff --git a/src/main/java/com/coolpeace/domain/dashboard/controller/DashboardController.java b/src/main/java/com/coolpeace/domain/dashboard/controller/DashboardController.java index 40fc350b..4d63bbc1 100644 --- a/src/main/java/com/coolpeace/domain/dashboard/controller/DashboardController.java +++ b/src/main/java/com/coolpeace/domain/dashboard/controller/DashboardController.java @@ -4,7 +4,6 @@ import com.coolpeace.domain.dashboard.service.DashboardService; import com.coolpeace.global.jwt.security.JwtPrincipal; import com.coolpeace.global.resolver.AuthJwtPrincipal; -import lombok.Getter; import lombok.RequiredArgsConstructor; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; @@ -42,12 +41,20 @@ public ResponseEntity dailyCouponReport(@PathVariable("accommodation_id") Lon .dailyReport(jwtPrincipal.getMemberId(), accommodationId)); } - @GetMapping("/{accommodation_id}/coupons/download") + @GetMapping("/{accommodation_id}/coupons/local/download") public ResponseEntity downloadCouponTop3(@PathVariable("accommodation_id") Long accommodationId, @AuthJwtPrincipal JwtPrincipal jwtPrincipal){ return ResponseEntity.ok().body(dashboardService .downloadCouponTop3(jwtPrincipal.getMemberId(), accommodationId)); } + + @GetMapping("/{accommodation_id}/coupons/local/count") + public ResponseEntity couponCountAvg(@PathVariable("accommodation_id") Long accommodationId, + @AuthJwtPrincipal JwtPrincipal jwtPrincipal){ + return ResponseEntity.ok().body(dashboardService + .couponCountAvg(jwtPrincipal.getMemberId(), accommodationId)); + } + @GetMapping("/{accommodation_id}/reports/year") public ResponseEntity byYearCumulativeData(@PathVariable("accommodation_id") Long accommodationId, @AuthJwtPrincipal JwtPrincipal jwtPrincipal,int year){ diff --git a/src/main/java/com/coolpeace/domain/dashboard/dto/response/CouponCountAvgResponse.java b/src/main/java/com/coolpeace/domain/dashboard/dto/response/CouponCountAvgResponse.java new file mode 100644 index 00000000..13e22bc4 --- /dev/null +++ b/src/main/java/com/coolpeace/domain/dashboard/dto/response/CouponCountAvgResponse.java @@ -0,0 +1,15 @@ +package com.coolpeace.domain.dashboard.dto.response; + +public record CouponCountAvgResponse( + String address, + String couponAvg +) { + public static CouponCountAvgResponse from(int couponCount, int accommodationCount, + String address) { + String couponAvg = "0"; + if(accommodationCount!=0){ + couponAvg = String.format("%.1f", ((double)couponCount / accommodationCount)); + } + return new CouponCountAvgResponse(address, couponAvg); + } +} diff --git a/src/main/java/com/coolpeace/domain/dashboard/service/DashboardService.java b/src/main/java/com/coolpeace/domain/dashboard/service/DashboardService.java index 74ddd424..977a2199 100644 --- a/src/main/java/com/coolpeace/domain/dashboard/service/DashboardService.java +++ b/src/main/java/com/coolpeace/domain/dashboard/service/DashboardService.java @@ -2,11 +2,12 @@ import com.coolpeace.domain.accommodation.entity.Accommodation; +import com.coolpeace.domain.accommodation.entity.type.AccommodationType; import com.coolpeace.domain.accommodation.exception.AccommodationNotFoundException; import com.coolpeace.domain.accommodation.exception.AccommodationNotMatchMemberException; import com.coolpeace.domain.accommodation.repository.AccommodationRepository; -import com.coolpeace.domain.coupon.repository.CouponRepository; import com.coolpeace.domain.dashboard.dto.response.ByYearCumulativeDataResponse; +import com.coolpeace.domain.dashboard.dto.response.CouponCountAvgResponse; import com.coolpeace.domain.dashboard.dto.response.CumulativeDataResponse; import com.coolpeace.domain.dashboard.dto.response.MonthlyCouponDownloadResponse; import com.coolpeace.domain.dashboard.dto.response.MonthlyDataLightResponse; @@ -16,9 +17,12 @@ import com.coolpeace.domain.member.exception.MemberNotFoundException; import com.coolpeace.domain.member.repository.MemberRepository; import com.coolpeace.domain.statistics.entity.DailyStatistics; +import com.coolpeace.domain.statistics.entity.LocalCouponDownload; import com.coolpeace.domain.statistics.entity.MonthlyStatistics; +import com.coolpeace.domain.statistics.exception.LocalCouponDownloadNotFoundException; import com.coolpeace.domain.statistics.exception.MonthlyStatisticsNotFoundException; import com.coolpeace.domain.statistics.repository.DailyStatisticsRepository; +import com.coolpeace.domain.statistics.repository.LocalCouponDownloadRepository; import com.coolpeace.domain.statistics.repository.MonthlyStatisticsRepository; import java.time.LocalDate; import java.time.LocalDateTime; @@ -36,6 +40,7 @@ public class DashboardService { private final DailyStatisticsRepository dailyStatisticsRepository; private final MemberRepository memberRepository; private final AccommodationRepository accommodationRepository; + private final LocalCouponDownloadRepository localCouponDownloadRepository; public List monthlyData(String memberId, Long accommodationId) { Accommodation accommodation = checkAccommodationMatchMember(memberId, accommodationId); @@ -72,6 +77,17 @@ public MonthlyCouponDownloadResponse downloadCouponTop3(String memberId, Long ac } + public CouponCountAvgResponse couponCountAvg(String memberId,Long accommodationId) { + Accommodation accommodation = checkAccommodationMatchMember(memberId, accommodationId); + String address = accommodation.getSigungu().getName(); + AccommodationType type = accommodation.getAccommodationType(); + LocalCouponDownload localCouponDownload = localCouponDownloadRepository + .findByRegion(address).orElseThrow(LocalCouponDownloadNotFoundException::new); + + return getCouponCountAvgResponse(type, localCouponDownload, address); + } + + public ByYearCumulativeDataResponse byYearCumulativeData(int year, String memberId, Long accommodationId) { Accommodation accommodation = checkAccommodationMatchMember(memberId, accommodationId); List monthlyStatisticsList = monthlyStatisticsRepository @@ -123,6 +139,20 @@ public Accommodation checkAccommodationMatchMember(String memberId, Long accommo return accommodation; } + private CouponCountAvgResponse getCouponCountAvgResponse(AccommodationType type, + LocalCouponDownload localCouponDownload, String address) { + if (type.equals(AccommodationType.MOTEL)) { + return CouponCountAvgResponse.from(localCouponDownload.getMotelCouponCount(), + localCouponDownload.getMotelAccommodationCount(), address); + } + if (type.equals(AccommodationType.PENSION) || (type.equals(AccommodationType.VILLA))) { + return CouponCountAvgResponse.from(localCouponDownload.getPensionAndVillaCouponCount(), + localCouponDownload.getPensionAndVillaAccommodationCount(), address); + } + return CouponCountAvgResponse.from(localCouponDownload.getHotelAndResortCouponCount(), + localCouponDownload.getHotelAndResortAccommodationCount(), address); + } + public int[] findLast6Months(int year, int month) { if (month >= 7) return new int[]{year, month - 6, year, month - 1}; if (month == 1) return new int[]{year - 1, 7, year - 1, 12}; diff --git a/src/main/java/com/coolpeace/domain/reservation/controller/ReservationController.java b/src/main/java/com/coolpeace/domain/reservation/controller/ReservationController.java new file mode 100644 index 00000000..0800ce84 --- /dev/null +++ b/src/main/java/com/coolpeace/domain/reservation/controller/ReservationController.java @@ -0,0 +1,49 @@ +package com.coolpeace.domain.reservation.controller; + +import com.coolpeace.domain.reservation.dto.request.ReservationCreateRequest; +import com.coolpeace.domain.reservation.dto.request.ReservationStatusChangeRequest; +import com.coolpeace.domain.reservation.dto.response.ReservationPageResponse; +import com.coolpeace.domain.reservation.dto.response.ReservationResponse; +import com.coolpeace.domain.reservation.service.ReservationService; +import jakarta.validation.Valid; +import lombok.RequiredArgsConstructor; +import org.springframework.data.domain.Page; +import org.springframework.data.domain.Pageable; +import org.springframework.data.web.PageableDefault; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.*; + +import java.net.URI; + +@RestController +@RequestMapping("/v1/reservations") +@RequiredArgsConstructor +public class ReservationController { + private final ReservationService reservationService; + + @GetMapping + public ResponseEntity getAllReservations( + @PageableDefault Pageable pageable + ) { + Page allReservations = reservationService.getAllReservations(pageable); + return ResponseEntity.ok() + .body(ReservationPageResponse.from(allReservations)); + } + + @PostMapping + public ResponseEntity createReservation( + @Valid @RequestBody ReservationCreateRequest createRequest + ) { + reservationService.createReservation(createRequest); + return ResponseEntity.created(URI.create("/")).build(); + } + + @PutMapping("/{reservation_id}") + public ResponseEntity changeReservationStatus( + @PathVariable("reservation_id") Long reservationId, + @Valid @RequestBody ReservationStatusChangeRequest changeRequest + ) { + reservationService.changeReservationStatus(reservationId, changeRequest); + return ResponseEntity.ok().build(); + } +} diff --git a/src/main/java/com/coolpeace/domain/reservation/dto/request/ReservationCreateRequest.java b/src/main/java/com/coolpeace/domain/reservation/dto/request/ReservationCreateRequest.java new file mode 100644 index 00000000..6878545f --- /dev/null +++ b/src/main/java/com/coolpeace/domain/reservation/dto/request/ReservationCreateRequest.java @@ -0,0 +1,28 @@ +package com.coolpeace.domain.reservation.dto.request; + +import com.fasterxml.jackson.annotation.JsonFormat; +import jakarta.validation.constraints.NotEmpty; +import jakarta.validation.constraints.NotNull; + +import java.time.LocalDateTime; +import java.util.List; + +public record ReservationCreateRequest( + @NotNull(message = "예약 시작 날짜를 입력해야 합니다.") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm") + LocalDateTime startDate, + @NotNull(message = "예약 종료 날짜를 입력해야 합니다.") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm") + LocalDateTime endDate, + @NotNull(message = "숙박업소의 ID를 입력해야 합니다.") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm") + Long accommodationId, + @NotEmpty(message = "예약할 방 번호 리스트를 입력해야 합니다.") + List rooms +) { + public record ReservationRoomNumberWithCoupon ( + String roomNumber, + String couponNumber + ) { + } +} diff --git a/src/main/java/com/coolpeace/domain/reservation/dto/request/ReservationStatusChangeRequest.java b/src/main/java/com/coolpeace/domain/reservation/dto/request/ReservationStatusChangeRequest.java new file mode 100644 index 00000000..71c752ea --- /dev/null +++ b/src/main/java/com/coolpeace/domain/reservation/dto/request/ReservationStatusChangeRequest.java @@ -0,0 +1,8 @@ +package com.coolpeace.domain.reservation.dto.request; + +import com.coolpeace.domain.reservation.entity.type.ReservationStatusType; + +public record ReservationStatusChangeRequest( + ReservationStatusType status +) { +} diff --git a/src/main/java/com/coolpeace/domain/reservation/dto/response/ReservationPageResponse.java b/src/main/java/com/coolpeace/domain/reservation/dto/response/ReservationPageResponse.java new file mode 100644 index 00000000..af58d70d --- /dev/null +++ b/src/main/java/com/coolpeace/domain/reservation/dto/response/ReservationPageResponse.java @@ -0,0 +1,32 @@ +package com.coolpeace.domain.reservation.dto.response; + +import org.springframework.data.domain.Page; + +import java.util.List; + +public record ReservationPageResponse( + List reservations, + int totalPages, + long totalElements, + int size, + int number, + int numberOfElements, + boolean empty, + boolean first, + boolean last +) { + public static ReservationPageResponse from(Page reservationPage) { + + return new ReservationPageResponse( + reservationPage.getContent(), + reservationPage.getTotalPages(), + reservationPage.getTotalElements(), + reservationPage.getSize(), + reservationPage.getNumber(), + reservationPage.getNumberOfElements(), + reservationPage.isEmpty(), + reservationPage.isFirst(), + reservationPage.isLast() + ); + } +} diff --git a/src/main/java/com/coolpeace/domain/reservation/dto/response/ReservationResponse.java b/src/main/java/com/coolpeace/domain/reservation/dto/response/ReservationResponse.java new file mode 100644 index 00000000..4d45e0f6 --- /dev/null +++ b/src/main/java/com/coolpeace/domain/reservation/dto/response/ReservationResponse.java @@ -0,0 +1,26 @@ +package com.coolpeace.domain.reservation.dto.response; + +import com.coolpeace.domain.reservation.entity.Reservation; +import com.coolpeace.domain.reservation.entity.type.ReservationStatusType; + +import java.time.LocalDateTime; + +public record ReservationResponse ( + Long id, + LocalDateTime startDate, + LocalDateTime endDate, + int totalPrice, + int discountPrice, + ReservationStatusType reservationStatus +) { + public static ReservationResponse from(Reservation reservation) { + return new ReservationResponse( + reservation.getId(), + reservation.getStartDate(), + reservation.getEndDate(), + reservation.getTotalPrice(), + reservation.getDiscountPrice(), + reservation.getReservationStatus() + ); + } +} diff --git a/src/main/java/com/coolpeace/domain/reservation/entity/Reservation.java b/src/main/java/com/coolpeace/domain/reservation/entity/Reservation.java index 71a04168..5251f50e 100644 --- a/src/main/java/com/coolpeace/domain/reservation/entity/Reservation.java +++ b/src/main/java/com/coolpeace/domain/reservation/entity/Reservation.java @@ -1,26 +1,16 @@ package com.coolpeace.domain.reservation.entity; -import com.coolpeace.domain.accommodation.entity.Accommodation; -import com.coolpeace.domain.room.entity.Room; +import com.coolpeace.domain.reservation.entity.type.ReservationStatusType; import com.coolpeace.domain.room.entity.RoomReservation; import com.coolpeace.global.common.BaseTimeEntity; -import jakarta.persistence.Column; -import jakarta.persistence.Entity; -import jakarta.persistence.FetchType; -import jakarta.persistence.GeneratedValue; -import jakarta.persistence.GenerationType; -import jakarta.persistence.Id; -import jakarta.persistence.JoinColumn; -import jakarta.persistence.ManyToOne; -import jakarta.persistence.OneToMany; -import jakarta.persistence.OneToOne; -import java.time.LocalDateTime; -import java.util.List; -import jdk.dynalink.linker.LinkerServices; +import jakarta.persistence.*; import lombok.AccessLevel; import lombok.Getter; import lombok.NoArgsConstructor; +import java.time.LocalDateTime; +import java.util.List; + @Getter @Entity @NoArgsConstructor(access = AccessLevel.PROTECTED) @@ -30,7 +20,10 @@ public class Reservation extends BaseTimeEntity { @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; + @Column(nullable = false) private LocalDateTime startDate; + + @Column(nullable = false) private LocalDateTime endDate; @Column(nullable = false) @@ -39,7 +32,31 @@ public class Reservation extends BaseTimeEntity { @Column(nullable = false) private int discountPrice = 0; - @OneToMany(mappedBy = "reservation", fetch = FetchType.LAZY) + @Column(nullable = false) + private ReservationStatusType reservationStatus = ReservationStatusType.PENDING; + + @OneToMany(mappedBy = "reservation", fetch = FetchType.LAZY, + cascade = {CascadeType.PERSIST, CascadeType.MERGE}) private List roomReservations; + public Reservation(LocalDateTime startDate, + LocalDateTime endDate) { + this.startDate = startDate; + this.endDate = endDate; + } + + public static Reservation from(LocalDateTime startDate, + LocalDateTime endDate) { + return new Reservation(startDate, endDate); + } + + public void updateRoomReservationAndPrices(List roomReservations, int roomTotalPrice) { + this.roomReservations = roomReservations; + this.discountPrice = this.roomReservations.stream().mapToInt(RoomReservation::getDiscountPrice).sum(); + this.totalPrice = Math.max(0, roomTotalPrice - this.discountPrice); + } + + public void updateReservation(ReservationStatusType reservationStatus) { + this.reservationStatus = reservationStatus; + } } diff --git a/src/main/java/com/coolpeace/domain/reservation/entity/type/ReservationStatusType.java b/src/main/java/com/coolpeace/domain/reservation/entity/type/ReservationStatusType.java new file mode 100644 index 00000000..1e77a7a9 --- /dev/null +++ b/src/main/java/com/coolpeace/domain/reservation/entity/type/ReservationStatusType.java @@ -0,0 +1,14 @@ +package com.coolpeace.domain.reservation.entity.type; + +import lombok.Getter; +import lombok.RequiredArgsConstructor; + +@Getter +@RequiredArgsConstructor +public enum ReservationStatusType { + PENDING("결제 예정"), + CONFIRMED("예약 완료"), + CANCELLED("예약 취소"); + + private final String value; +} diff --git a/src/main/java/com/coolpeace/domain/reservation/exception/ReservationNotFoundException.java b/src/main/java/com/coolpeace/domain/reservation/exception/ReservationNotFoundException.java new file mode 100644 index 00000000..6e24210e --- /dev/null +++ b/src/main/java/com/coolpeace/domain/reservation/exception/ReservationNotFoundException.java @@ -0,0 +1,10 @@ +package com.coolpeace.domain.reservation.exception; + +import com.coolpeace.global.exception.ApplicationException; +import com.coolpeace.global.exception.ErrorCode; + +public class ReservationNotFoundException extends ApplicationException { + public ReservationNotFoundException() { + super(ErrorCode.RESERVATION_NOT_FOUND); + } +} diff --git a/src/main/java/com/coolpeace/domain/reservation/service/ReservationService.java b/src/main/java/com/coolpeace/domain/reservation/service/ReservationService.java new file mode 100644 index 00000000..2d87551e --- /dev/null +++ b/src/main/java/com/coolpeace/domain/reservation/service/ReservationService.java @@ -0,0 +1,77 @@ +package com.coolpeace.domain.reservation.service; + +import com.coolpeace.domain.accommodation.exception.AccommodationNotFoundException; +import com.coolpeace.domain.accommodation.repository.AccommodationRepository; +import com.coolpeace.domain.coupon.entity.Coupon; +import com.coolpeace.domain.coupon.exception.CouponNotFoundException; +import com.coolpeace.domain.coupon.repository.CouponRepository; +import com.coolpeace.domain.reservation.dto.request.ReservationCreateRequest; +import com.coolpeace.domain.reservation.dto.request.ReservationStatusChangeRequest; +import com.coolpeace.domain.reservation.dto.response.ReservationResponse; +import com.coolpeace.domain.reservation.entity.Reservation; +import com.coolpeace.domain.reservation.exception.ReservationNotFoundException; +import com.coolpeace.domain.reservation.repository.ReservationRepository; +import com.coolpeace.domain.room.entity.Room; +import com.coolpeace.domain.room.entity.RoomReservation; +import com.coolpeace.domain.room.exception.RoomNotFoundException; +import com.coolpeace.domain.room.repository.RoomRepository; +import lombok.RequiredArgsConstructor; +import org.springframework.data.domain.Page; +import org.springframework.data.domain.Pageable; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.util.List; + +@Service +@RequiredArgsConstructor +public class ReservationService { + private final ReservationRepository reservationRepository; + private final AccommodationRepository accommodationRepository; + private final CouponRepository couponRepository; + private final RoomRepository roomRepository; + + @Transactional(readOnly = true) + public Page getAllReservations(Pageable pageable) { + return reservationRepository.findAll(pageable).map(ReservationResponse::from); + } + + @Transactional + public void createReservation(ReservationCreateRequest request) { + Reservation newReservation = Reservation.from(request.startDate(), request.endDate()); + if (!accommodationRepository.existsById(request.accommodationId())) { + throw new AccommodationNotFoundException(); + } + + List roomReservations = request.rooms().stream().map(roomWithCoupon -> { + String roomNumberStr = roomWithCoupon.roomNumber(); + int roomNumber = getRoomNumberFromStr(roomNumberStr); + Room room = roomRepository.findByRoomNumber(roomNumber).orElseThrow(RoomNotFoundException::new); + Coupon coupon = couponRepository.findByCouponNumber(roomWithCoupon.couponNumber()) + .orElseThrow(CouponNotFoundException::new); + return RoomReservation.from(room, newReservation, coupon); + }).toList(); + int totalPrice = roomReservations.stream() + .mapToInt(roomRes -> roomRes.getRoom().getPrice()).sum(); + + newReservation.updateRoomReservationAndPrices(roomReservations, totalPrice); + reservationRepository.save(newReservation); + } + + @Transactional + public void changeReservationStatus(Long reservationId, ReservationStatusChangeRequest changeRequest) { + Reservation reservation = reservationRepository.findById(reservationId) + .orElseThrow(ReservationNotFoundException::new); + reservation.updateReservation(changeRequest.status()); + } + + private int getRoomNumberFromStr(String roomNumberStr) { + int roomNumber; + if (roomNumberStr.endsWith("호")) { + roomNumber = Integer.parseInt(roomNumberStr.substring(0, roomNumberStr.length() - 1)); + } else { + roomNumber = Integer.parseInt(roomNumberStr); + } + return roomNumber; + } +} \ No newline at end of file diff --git a/src/main/java/com/coolpeace/domain/room/entity/RoomReservation.java b/src/main/java/com/coolpeace/domain/room/entity/RoomReservation.java index d1fcb4ff..26923519 100644 --- a/src/main/java/com/coolpeace/domain/room/entity/RoomReservation.java +++ b/src/main/java/com/coolpeace/domain/room/entity/RoomReservation.java @@ -2,13 +2,7 @@ import com.coolpeace.domain.coupon.entity.Coupon; import com.coolpeace.domain.reservation.entity.Reservation; -import jakarta.persistence.Entity; -import jakarta.persistence.GeneratedValue; -import jakarta.persistence.GenerationType; -import jakarta.persistence.Id; -import jakarta.persistence.JoinColumn; -import jakarta.persistence.ManyToOne; -import jakarta.persistence.OneToOne; +import jakarta.persistence.*; import lombok.AccessLevel; import lombok.Getter; import lombok.NoArgsConstructor; @@ -22,18 +16,37 @@ public class RoomReservation { @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; - private int discountPrice; + @Column(nullable = false) + private int discountPrice = 0; - @ManyToOne - @JoinColumn(name = "room_id") + @ManyToOne(fetch = FetchType.LAZY) + @JoinColumn(name = "room_id", nullable = false) private Room room; - @ManyToOne - @JoinColumn(name = "reservation_id") + @ManyToOne(fetch = FetchType.LAZY) + @JoinColumn(name = "reservation_id", nullable = false) private Reservation reservation; - @OneToOne + @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "coupon_id") private Coupon coupon; + public RoomReservation(Room room, Reservation reservation) { + this.room = room; + this.reservation = reservation; + } + + public RoomReservation(Room room, Reservation reservation, Coupon coupon) { + this.room = room; + this.reservation = reservation; + this.coupon = coupon; + this.discountPrice = switch (coupon.getDiscountType()) { + case FIXED_RATE -> room.getPrice() * coupon.getDiscountValue(); + case FIXED_PRICE -> coupon.getDiscountValue(); + }; + } + + public static RoomReservation from(Room room, Reservation reservation, Coupon coupon) { + return new RoomReservation(room, reservation, coupon); + } } diff --git a/src/main/java/com/coolpeace/domain/settlement/repository/SettlementRepository.java b/src/main/java/com/coolpeace/domain/settlement/repository/SettlementRepository.java index 56c8f65a..aae078ce 100644 --- a/src/main/java/com/coolpeace/domain/settlement/repository/SettlementRepository.java +++ b/src/main/java/com/coolpeace/domain/settlement/repository/SettlementRepository.java @@ -8,13 +8,13 @@ import org.springframework.data.jpa.repository.JpaRepository; public interface SettlementRepository extends JpaRepository,SettlementRepositoryCustom { - Page findAllByAccommodationAndCouponUseDateAfterAndCouponUseDateBeforeOrderBySumPriceDesc + Page findAllByAccommodationAndCouponUseDateGreaterThanEqualAndCouponUseDateLessThanEqualOrderBySumPriceDesc (Pageable pageable, Accommodation accommodation, LocalDate startDate, LocalDate endDate); - Page findAllByAccommodationAndCouponUseDateAfterAndCouponUseDateBeforeOrderByCompleteAtDesc + Page findAllByAccommodationAndCouponUseDateGreaterThanEqualAndCouponUseDateLessThanEqualOrderByCompleteAtDesc (Pageable pageable, Accommodation accommodation, LocalDate startDate, LocalDate endDate); - Page findAllByAccommodationAndCouponUseDateAfterAndCouponUseDateBeforeOrderByCouponCountDesc + Page findAllByAccommodationAndCouponUseDateGreaterThanEqualAndCouponUseDateLessThanEqualOrderByCouponCountDesc (Pageable pageable, Accommodation accommodation, LocalDate startDate, LocalDate endDate); - Page findAllByAccommodationAndCouponUseDateAfterAndCouponUseDateBeforeOrderByCouponUseDateDesc + Page findAllByAccommodationAndCouponUseDateGreaterThanEqualAndCouponUseDateLessThanEqualOrderByCouponUseDateDesc (Pageable pageable, Accommodation accommodation, LocalDate startDate, LocalDate endDate); } diff --git a/src/main/java/com/coolpeace/domain/settlement/service/SettlementService.java b/src/main/java/com/coolpeace/domain/settlement/service/SettlementService.java index 00a0eb57..ef946c43 100644 --- a/src/main/java/com/coolpeace/domain/settlement/service/SettlementService.java +++ b/src/main/java/com/coolpeace/domain/settlement/service/SettlementService.java @@ -63,16 +63,16 @@ public List searchSettlement(String memberId, Long accommoda Page settlements = switch (searchSettlementParams.orderBy()) { case COMPLETE_AT -> settlementRepository - .findAllByAccommodationAndCouponUseDateAfterAndCouponUseDateBeforeOrderByCompleteAtDesc + .findAllByAccommodationAndCouponUseDateGreaterThanEqualAndCouponUseDateLessThanEqualOrderByCompleteAtDesc (PageRequest.of(page,pageSize), accommodation, startDate, endDate); case SUM_PRICE -> settlementRepository - .findAllByAccommodationAndCouponUseDateAfterAndCouponUseDateBeforeOrderBySumPriceDesc + .findAllByAccommodationAndCouponUseDateGreaterThanEqualAndCouponUseDateLessThanEqualOrderBySumPriceDesc (PageRequest.of(page,pageSize), accommodation, startDate, endDate); case COUPON_USE_DATE -> settlementRepository - .findAllByAccommodationAndCouponUseDateAfterAndCouponUseDateBeforeOrderByCouponUseDateDesc + .findAllByAccommodationAndCouponUseDateGreaterThanEqualAndCouponUseDateLessThanEqualOrderByCouponUseDateDesc (PageRequest.of(page,pageSize), accommodation, startDate, endDate); case COUPON_COUNT -> settlementRepository - .findAllByAccommodationAndCouponUseDateAfterAndCouponUseDateBeforeOrderByCouponCountDesc + .findAllByAccommodationAndCouponUseDateGreaterThanEqualAndCouponUseDateLessThanEqualOrderByCouponCountDesc (PageRequest.of(page,pageSize), accommodation, startDate, endDate); }; return settlements.stream().map(SettlementResponse::from).toList(); diff --git a/src/main/java/com/coolpeace/domain/statistics/entity/LocalCouponDownload.java b/src/main/java/com/coolpeace/domain/statistics/entity/LocalCouponDownload.java index 087df69b..3f8c0e1e 100644 --- a/src/main/java/com/coolpeace/domain/statistics/entity/LocalCouponDownload.java +++ b/src/main/java/com/coolpeace/domain/statistics/entity/LocalCouponDownload.java @@ -1,5 +1,6 @@ package com.coolpeace.domain.statistics.entity; +import com.coolpeace.domain.accommodation.entity.type.AccommodationType; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; @@ -8,7 +9,6 @@ import lombok.AccessLevel; import lombok.Getter; import lombok.NoArgsConstructor; -import lombok.Setter; @Getter @Entity @@ -34,6 +34,24 @@ public class LocalCouponDownload { private Long thirdCouponId; + @Column(nullable = false) + private int motelCouponCount = 0; + + @Column(nullable = false) + private int motelAccommodationCount = 0; + + @Column(nullable = false) + private int pensionAndVillaCouponCount = 0; + + @Column(nullable = false) + private int pensionAndVillaAccommodationCount = 0; + + @Column(nullable = false) + private int hotelAndResortCouponCount = 0; + + @Column(nullable = false) + private int hotelAndResortAccommodationCount = 0; + public LocalCouponDownload(String region) { this.region = region; } @@ -80,6 +98,7 @@ public void setAllCoupon(String firstCouponTitle, Long firstCouponId, this.thirdCouponTitle = localCouponDownload.getSecondCouponTitle(); this.thirdCouponId = localCouponDownload.getSecondCouponId(); } + public void setSecondAndThirdCoupon(String secondCouponTitle, Long secondCouponId, LocalCouponDownload localCouponDownload) { this.secondCouponTitle = secondCouponTitle; @@ -88,4 +107,19 @@ public void setSecondAndThirdCoupon(String secondCouponTitle, Long secondCouponI this.thirdCouponId = localCouponDownload.getSecondCouponId(); } + public void setCount(int couponCount, AccommodationType type) { + if (type.equals(AccommodationType.MOTEL)) { + this.motelCouponCount += couponCount; + this.motelAccommodationCount +=1; + } + if (type.equals(AccommodationType.PENSION) || (type.equals(AccommodationType.VILLA))) { + this.pensionAndVillaCouponCount += couponCount; + this.pensionAndVillaAccommodationCount += 1; + } + if (type.equals(AccommodationType.HOTEL) || (type.equals(AccommodationType.RESORT))) { + this.hotelAndResortCouponCount += couponCount; + this.hotelAndResortCouponCount += 1; + } + } + } diff --git a/src/main/java/com/coolpeace/domain/statistics/exception/LocalCouponDownloadNotFoundException.java b/src/main/java/com/coolpeace/domain/statistics/exception/LocalCouponDownloadNotFoundException.java new file mode 100644 index 00000000..5ad7dfde --- /dev/null +++ b/src/main/java/com/coolpeace/domain/statistics/exception/LocalCouponDownloadNotFoundException.java @@ -0,0 +1,9 @@ +package com.coolpeace.domain.statistics.exception; + +import com.coolpeace.global.exception.ApplicationException; +import com.coolpeace.global.exception.ErrorCode; + +public class LocalCouponDownloadNotFoundException extends ApplicationException { + public LocalCouponDownloadNotFoundException(){super(ErrorCode.LOCAL_COUPON_DOWNLOAD_NOT_FOUND);} + +} diff --git a/src/main/java/com/coolpeace/domain/statistics/service/MonthlyStatisticsService.java b/src/main/java/com/coolpeace/domain/statistics/service/MonthlyStatisticsService.java index f7c37bfd..8ed05846 100644 --- a/src/main/java/com/coolpeace/domain/statistics/service/MonthlyStatisticsService.java +++ b/src/main/java/com/coolpeace/domain/statistics/service/MonthlyStatisticsService.java @@ -92,7 +92,8 @@ public void updateCouponDownloadTop3() { public void updateLocalCouponDownload() { localCouponDownloadRepository.deleteAllInBatch(); - List coupons = couponRepository.findAll(); + List coupons = couponRepository + .findAllByExposureStartDateGreaterThanEqual(LocalDate.now().minusMonths(1)); for (Coupon coupon : coupons) { String address = coupon.getAccommodation().getSigungu().getName(); LocalCouponDownload localCouponDownload = localCouponDownloadRepository @@ -126,8 +127,21 @@ private void updateLocalCouponTitle(Coupon coupon, LocalCouponDownload localCoup } + public void updateLocalCouponAvg() { + localCouponDownloadRepository.findAll().forEach(localCouponDownload -> { + List accommodations = accommodationRepository.findAllBySigunguName( + localCouponDownload.getRegion()); + for (Accommodation accommodation : accommodations) { + localCouponDownload.setCount(couponRepository.exposureCoupons + (accommodation.getMember().getId(), accommodation.getId()).size(), + accommodation.getAccommodationType()); + } + }); + } + private int getDownloadCountFromId(Long couponId) { return couponRepository.findById(couponId) .orElseThrow(CouponNotFoundException::new).getDownloadCount(); } + } diff --git a/src/main/java/com/coolpeace/global/exception/ErrorCode.java b/src/main/java/com/coolpeace/global/exception/ErrorCode.java index 700e78fc..8f42be1a 100644 --- a/src/main/java/com/coolpeace/global/exception/ErrorCode.java +++ b/src/main/java/com/coolpeace/global/exception/ErrorCode.java @@ -38,10 +38,12 @@ public enum ErrorCode { // SETTLEMENT // RESERVATION + RESERVATION_NOT_FOUND(HttpStatus.NOT_FOUND, "해당 예약의 정보를 찾을 수 없습니다."), //statistics DAILY_STATISTICS_NOT_FOUND(HttpStatus.NOT_FOUND, "해당 일별 통계를 찾을 수 없습니다."), - MONTHLY_STATISTICS_NOT_FOUND(HttpStatus.NOT_FOUND, "해당 월별 통계를 찾을 수 없습니다."), + MONTHLY_STATISTICS_NOT_FOUND(HttpStatus.NOT_FOUND, "아직 월별 통계 집계가 되지 않았습니다."), + LOCAL_COUPON_DOWNLOAD_NOT_FOUND(HttpStatus.NOT_FOUND, "아직 월별 쿠폰 집계가 되지 않았습니다"), // JWT JWT_INVALID_REFRESH_TOKEN(HttpStatus.UNAUTHORIZED, "유효하지 않은 리프레시 토큰입니다."), diff --git a/src/main/resources/import.sql b/src/main/resources/import.sql index 80e52bf5..cc939ec4 100644 --- a/src/main/resources/import.sql +++ b/src/main/resources/import.sql @@ -27,157 +27,76 @@ INSERT INTO fc_coolpeace.sigungu(id, sido, name) values (267, 18, ''), (269, 18, --회원 추가 INSERT INTO fc_coolpeace.member (is_deleted, email, name, password) VALUES (0, 'testowner@test.com', 'testowner', 'pass123'); +insert into fc_coolpeace.member_role (member_id, role_id) values (1, 2); +INSERT INTO fc_coolpeace.member (is_deleted, email, name, password) VALUES (0, 'testowner2@test.com', 'testowner2', 'pass123'); +insert into fc_coolpeace.member_role (member_id, role_id) values (2, 2); +INSERT INTO fc_coolpeace.member (is_deleted, email, name, password) VALUES (0, 'testowner3@test.com', 'testowner3', 'pass123'); +insert into fc_coolpeace.member_role (member_id, role_id) values (3, 2); +INSERT INTO fc_coolpeace.member (is_deleted, email, name, password) VALUES (0, 'testowner4@test.com', 'testowner4', 'pass123'); +insert into fc_coolpeace.member_role (member_id, role_id) values (4, 2); +INSERT INTO fc_coolpeace.member (is_deleted, email, name, password) VALUES (0, 'testowner5@test.com', 'testowner5', 'pass123'); +insert into fc_coolpeace.member_role (member_id, role_id) values (5, 2); +INSERT INTO fc_coolpeace.member (is_deleted, email, name, password) VALUES (0, 'testowner6@test.com', 'testowner6', 'pass123'); +insert into fc_coolpeace.member_role (member_id, role_id) values (6, 2); +INSERT INTO fc_coolpeace.member (is_deleted, email, name, password) VALUES (0, 'testowner7@test.com', 'testowner7', 'pass123'); +insert into fc_coolpeace.member_role (member_id, role_id) values (7, 2); +INSERT INTO fc_coolpeace.member (is_deleted, email, name, password) VALUES (0, 'testowner8@test.com', 'testowner8', 'pass123'); +insert into fc_coolpeace.member_role (member_id, role_id) values (8, 2); +INSERT INTO fc_coolpeace.member (is_deleted, email, name, password) VALUES (0, 'testowner9@test.com', 'testowner9', 'pass123'); +insert into fc_coolpeace.member_role (member_id, role_id) values (9, 2); +INSERT INTO fc_coolpeace.member (is_deleted, email, name, password) VALUES (0, 'testowner10@test.com', 'testowner10', 'pass123'); +insert into fc_coolpeace.member_role (member_id, role_id) values (10, 2); --1번회원 숙소 2개 추가 -insert into fc_coolpeace.accommodation (member_id, name, sido, sigungu, address) values (1, '테스트숙박1', 1, 2, '테스트 상세 주소 1번지'), (1, '테스트숙박2', 1, 2, '테스트 상세 주소 2번지'); - ---숙소당 객실 2개 추가 -insert into room (price, room_number, accommodation_id, created_at, room_type) values (100000, 101, 1, now(), '테스트룸타입1-1'), (150000, 102, 1, now(), '테스트룸타입1-2'); -insert into room (price, room_number, accommodation_id, created_at, room_type) values (200000, 201, 2, now(), '테스트룸타입1-1'), (250000, 202, 1, now(), '테스트룸타입2-2'); - - ---쿠폰 추가 -insert into coupon(coupon_expiration, coupon_room_type, coupon_use_condition_days, discount_value, download_count, exposure_end_date, exposure_start_date, minimum_reservation_price, use_count, accommodation_id, created_at, member_id, coupon_number, coupon_status, customer_type, discount_type, title) values (14, 0, 3, 30000, 100, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 100000, 30, 1, now(), 1, 'CC0000001', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '테스트쿠폰1'); -insert into coupon(coupon_expiration, coupon_room_type, coupon_use_condition_days, discount_value, download_count, exposure_end_date, exposure_start_date, minimum_reservation_price, use_count, accommodation_id, created_at, member_id, coupon_number, coupon_status, customer_type, discount_type, title) values (21, 1, 127, 30, 200, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 50000, 40, 1, now(), 1, 'CC0000002', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '테스트쿠폰2'); -insert into coupon(coupon_expiration, coupon_room_type, coupon_use_condition_days, discount_value, download_count, exposure_end_date, exposure_start_date, minimum_reservation_price, use_count, accommodation_id, created_at, member_id, coupon_number, coupon_status, customer_type, discount_type, title) values (14, 0, 99, 10000, 300, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 200000, 20, 2, now(), 1, 'CC0000003', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '테스트쿠폰3'); -insert into coupon(coupon_expiration, coupon_room_type, coupon_use_condition_days, discount_value, download_count, exposure_end_date, exposure_start_date, minimum_reservation_price, use_count, accommodation_id, created_at, member_id, coupon_number, coupon_status, customer_type, discount_type, title) values (14, 2, 124, 20, 400, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 100000, 50, 2, now(), 1, 'CC0000004', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '테스트쿠폰4'); -insert into coupon(coupon_expiration, coupon_room_type, coupon_use_condition_days, discount_value, download_count, exposure_end_date, exposure_start_date, minimum_reservation_price, use_count, accommodation_id, created_at, member_id, coupon_number, coupon_status, customer_type, discount_type, title) values (7, 1, 107, 10000, 300, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 10000, 100, 1, now(), 1, 'CC0000005', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '테스트쿠폰5'); -insert into coupon(coupon_expiration, coupon_room_type, coupon_use_condition_days, discount_value, download_count, exposure_end_date, exposure_start_date, minimum_reservation_price, use_count, accommodation_id, created_at, member_id, coupon_number, coupon_status, customer_type, discount_type, title) values (3, 1, 55, 10, 500, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 100000, 43, 1, now(), 1, 'CC0000006', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '테스트쿠폰6'); -insert into coupon(coupon_expiration, coupon_room_type, coupon_use_condition_days, discount_value, download_count, exposure_end_date, exposure_start_date, minimum_reservation_price, use_count, accommodation_id, created_at, member_id, coupon_number, coupon_status, customer_type, discount_type, title) values (30, 0, 123, 10000, 1000, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 250000, 160, 2, now(), 1, 'CC0000007', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '테스트쿠폰7'); -insert into coupon(coupon_expiration, coupon_room_type, coupon_use_condition_days, discount_value, download_count, exposure_end_date, exposure_start_date, minimum_reservation_price, use_count, accommodation_id, created_at, member_id, coupon_number, coupon_status, customer_type, discount_type, title) values (100, 2, 26, 10, 50, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 60000, 50, 2, now(), 1, 'CC0000008', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '테스트쿠폰8'); - ---예약(reservaion) 추가 -insert into reservation(discount_price, total_price, created_at, end_date, start_date) values (10000, 100000, now(), '2024-12-31 23:00:00', '2024-12-01 07:00:00'); -insert into reservation(discount_price, total_price, created_at, end_date, start_date) values (20000, 100000, now(), '2024-12-31 23:00:00', '2024-12-01 07:00:00'); -insert into reservation(discount_price, total_price, created_at, end_date, start_date) values (10000, 150000, now(), '2024-12-31 23:00:00', '2024-12-01 07:00:00'); -insert into reservation(discount_price, total_price, created_at, end_date, start_date) values (20000, 150000, now(), '2024-12-31 23:00:00', '2024-12-01 07:00:00'); -insert into reservation(discount_price, total_price, created_at, end_date, start_date) values (10000, 200000, now(), '2024-12-31 23:00:00', '2024-12-01 07:00:00'); -insert into reservation(discount_price, total_price, created_at, end_date, start_date) values (20000, 200000, now(), '2024-12-31 23:00:00', '2024-12-01 07:00:00'); -insert into reservation(discount_price, total_price, created_at, end_date, start_date) values (10000, 250000, now(), '2024-12-31 23:00:00', '2024-12-01 07:00:00'); -insert into reservation(discount_price, total_price, created_at, end_date, start_date) values (20000, 250000, now(), '2024-12-31 23:00:00', '2024-12-01 07:00:00'); - ---예약 객실(room_servervaion) -insert into room_reservation(discount_price, coupon_id, reservation_id, room_id) values (10000, 1, 1, 1); -insert into room_reservation(discount_price, coupon_id, reservation_id, room_id) values (20000, 2, 2, 1); -insert into room_reservation(discount_price, coupon_id, reservation_id, room_id) values (30000, 3, 3, 2); -insert into room_reservation(discount_price, coupon_id, reservation_id, room_id) values (40000, 4, 4, 2); -insert into room_reservation(discount_price, coupon_id, reservation_id, room_id) values (10000, 5, 5, 3); -insert into room_reservation(discount_price, coupon_id, reservation_id, room_id) values (20000, 6, 6, 3); -insert into room_reservation(discount_price, coupon_id, reservation_id, room_id) values (30000, 7, 7, 4); -insert into room_reservation(discount_price, coupon_id, reservation_id, room_id) values (40000, 8, 8, 4); - --- INSERT INTO fc_coolpeace.room (accommodation_id, room_number, price, room_type) VALUES (1, 101, 50000, 'Single'), (1, 102, 60000, 'Double'), (1, 103, 70000, 'Suite'); -insert into settlement(cancel_price, complete_at, coupon_count, coupon_use_date, discount_price, sum_price, supply_price, accommodation_id, coupon_id, created_at) values (0, '2024-02-01 00:00:00', 2, '2024-01-02 00:00:00', 10000, 20000, 3000, 1, 1, now() ); -insert into settlement(cancel_price, complete_at, coupon_count, coupon_use_date, discount_price, sum_price, supply_price, accommodation_id, coupon_id, created_at) values (0, '2024-02-01 00:00:00', 3, '2024-01-17 00:00:00', 5000, 15000, 2000, 2, 2, now() ); -insert into settlement(cancel_price, complete_at, coupon_count, coupon_use_date, discount_price, sum_price, supply_price, accommodation_id, coupon_id, created_at) values (0, '2024-02-01 00:00:00', 4, '2024-01-05 00:00:00', 20000, 80000, 330000, 1, 3, now() ); -insert into settlement(cancel_price, complete_at, coupon_count, coupon_use_date, discount_price, sum_price, supply_price, accommodation_id, coupon_id, created_at) values (0, '2024-02-01 00:00:00', 5, '2024-01-10 00:00:00', 30000, 100000, 32000, 2, 4, now() ); -insert into settlement(cancel_price, complete_at, coupon_count, coupon_use_date, discount_price, sum_price, supply_price, accommodation_id, coupon_id, created_at) values (0, '2024-02-01 00:00:00', 6, '2024-01-11 00:00:00', 40000, 200000, 31000, 1, 5, now() ); -insert into settlement(cancel_price, complete_at, coupon_count, coupon_use_date, discount_price, sum_price, supply_price, accommodation_id, coupon_id, created_at) values (0, '2024-02-01 00:00:00', 7, '2024-01-30 00:00:00', 50000, 350000, 20000, 2, 6, now() ); -insert into settlement(cancel_price, complete_at, coupon_count, coupon_use_date, discount_price, sum_price, supply_price, accommodation_id, coupon_id, created_at) values (0, '2024-02-01 00:00:00', 8, '2024-01-21 00:00:00', 60000, 490000, 300000, 1, 7, now() ); -insert into settlement(cancel_price, complete_at, coupon_count, coupon_use_date, discount_price, sum_price, supply_price, accommodation_id, coupon_id, created_at) values (0, '2024-02-01 00:00:00', 9, '2024-01-16 00:00:00', 70000, 420000, 100000, 2, 8, now() ); - - - --- INSERT INTO fc_coolpeace.coupon (id, coupon_number, custom_title, title, coupon_status, discount_type, discount_value, coupon_room_type, customer_type, coupon_use_room, coupon_room_type, minimum_reservation_price, coupon_use_condition_days, exposure_start_date, exposure_end_date, expiration_date, download_count, use_count) --- VALUES --- (1, 'CC0000001', '오션뷰쿠폰', '모든 고객 3000원 할인 쿠폰', 'ON', '정액', 3000, '0', '0000000', '45302', '45323', '14', '23', '2') --- ,(2, 'CC0000002', '봄봄할인', '모든 고객 3000원 할인 쿠폰', '삭제', '정액', 3000, '0', '0000011', '45267', '45344', '14', '4', '1') --- ,(3, 'CC0000003', '10% 선착순 쿠폰', '첫방문 고객 2000원 할인 쿠폰', '대기중', '정액', 2000, '0', '0000010', '45391', '45486', '45500', '0', '0') --- ,(4, 'CC0000004', '프리미엄고객전용', '모든 고객 30% 할인 쿠폰', 'OFF', '정률', 30, '1', '1111100', '45240', '45333', '45347', '31', '2') --- ,(5, 'CC0000005', '오션뷰쿠폰', '모든 고객 3000원 할인 쿠폰', '대기중', '정액', 3000, '1', '0010000', '45364', '45379', '45393', '41', '11') --- ,(6, 'CC0000006', '첫방문고객 2000 할인 쿠폰', '첫방문 고객 2000원 할인 쿠폰', '대기중', '정액', 2000, '1', '1000000', '45373', '45391', '45405', '22', '7') --- ,(7, 'CC0000007', '럭셔리스테이5000', '첫방문 고객 5000원 할인 쿠폰', 'OFF', '정액', 5000, '2', '0000100', '45308', '45332', '45346', '13', '8') --- ,(8, 'CC0000008', '휴가떠나자3000', '모든 고객 3000원 할인 쿠폰', 'OFF', '정액', 3000, '0', '1000000', '45248', '45334', '45348', '27', '3') --- ,(9, 'CC0000009', '프리미엄고객전용', '모든 고객 3000원 할인 쿠폰', 'ON', '정액', 3000, '0', '0000100', '45247', '45332', '45346', '49', '2') --- ,(10, 'CC0000010', '힐링쿠폰30%', '모든 고객 30% 할인 쿠폰', 'ON', '정률', 30, '0', '0000011', '45293', '45342', '45356', '11', '1') --- ,(11, 'CC0000011', '프리미엄고객전용', '첫방문 고객 25% 할인 쿠폰', '대기중', '정률', 25, '0', '1111100', '45336', '45351', '45365', '46', '3') --- ,(12, 'CC0000012', '모든 고객 3000 할인 쿠폰', '모든 고객 3000원 할인 쿠폰', 'ON', '정액', 3000, '2', '0000010', '45251', '45344', '45358', '24', '3') --- ,(13, 'CC0000013', '미드나잇스페셜', '재방문 고객 1000원 할인 쿠폰', 'OFF', '정액', 1000, '1', '0001000', '45237', '45346', '45360', '55', '1') --- ,(14, 'CC0000014', '힐링쿠폰20000', '첫방문 고객 20000원 할인 쿠폰', '대기중', '정액', 20000, '1', '0000100', '45504', '45518', '45532', '25', '0') --- ,(15, 'CC0000015', '럭셔리스테이2000', '첫방문 고객 2000원 할인 쿠폰', 'OFF', '정액', 2000, '2', '1111100', '45291', '45352', '45366', '45', '22') --- ,(16, 'CC0000016', '소중한여행20000', '첫방문 고객 20000원 할인 쿠폰', '대기중', '정액', 20000, '0', '0000011', '45539', '45561', '45575', '34', '2') --- ,(17, 'CC0000017', '모든고객3000원', '모든 고객 3000원 할인 쿠폰', 'OFF', '정액', 3000, '1', '0000000', '45317', '45372', '45386', '6', '0') --- ,(18, 'CC0000018', '재방문1000원', '재방문 고객 1000원 할인 쿠폰', '대기중', '정액', 1000, '0', '0100000', '45393', '45412', '45426', '220', '61') --- ,(19, 'CC0000019', '휴가떠나자10%', '모든 고객 15% 할인 쿠폰', 'ON', '정률', 15, '0', '0000010', '45274', '45329', '45343', '66', '2') --- ,(20, 'CC0000020', '모든 고객 2000원 할인 쿠폰', '첫방문 고객 2000원 할인 쿠폰', 'OFF', '정액', 2000, '2', '0001000', '45270', '45347', '45361', '48', '3') --- ,(21, 'CC0000021', '오션뷰쿠폰', '첫방문 고객 25% 할인 쿠폰', 'ON', '정률', 25, '2', '0000010', '45252', '45337', '45351', '26', '6') --- ,(22, 'CC0000022', '봄봄할인', '재방문 고객 1000원 할인 쿠폰', '대기중', '정액', 1000, '0', '0000000', '45427', '45456', '45470', '1', '0') --- ,(23, 'CC0000023', '신혼부부쿠폰15%', '모든 고객 15% 할인 쿠폰', '삭제', '정률', 15, '0', '0000001', '45230', '45332', '45346', '10', '7') --- ,(24, 'CC0000024', '미드나잇스페셜', '모든 고객 10% 할인 쿠폰', 'ON', '정률', 10, '0', '0000001', '45296', '45339', '45353', '4', '1') --- ,(25, 'CC0000025', '미드나잇스페셜', '첫방문 고객 25% 할인 쿠폰', 'OFF', '정률', 25, '0', '0010000', '45290', '45330', '45344', '1232', '123') --- ,(26, 'CC0000026', '신혼부부쿠폰2000', '첫방문 고객 2000원 할인 쿠폰', '대기중', '정액', 2000, '2', '0100000', '45413', '45428', '45442', '0', '0') --- ,(27, 'CC0000027', '첫방문 고객2000 할인 쿠폰', '첫방문 고객 2000원 할인 쿠폰', '대기중', '정액', 2000, '2', '0010000', '45541', '45551', '45565', '13', '2') --- ,(28, 'CC0000028', '힐링쿠폰3000원', '모든 고객 3000원 할인 쿠폰', 'OFF', '정액', 3000, '2', '0000010', '45270', '45357', '45371', '47', '10') --- ,(29, 'CC0000029', '프리미엄고객전용', '첫방문 고객 40% 할인 쿠폰', '대기중', '정률', 40, '1', '0010000', '45449', '45471', '45485', '40', '22') --- ,(30, 'CC0000030', '소중한여행30%', '모든 고객 30% 할인 쿠폰', '대기중', '정률', 30, '0', '1000000', '45626', '45651', '45665', '44', '3') --- ,(31, 'CC0000031', '5000원 선착순 쿠폰', '첫방문 고객 5000원 할인 쿠폰', 'OFF', '정액', 5000, '0', '0001000', '45256', '45369', '45383', '46', '7') --- ,(32, 'CC0000032', '2000원 선착순 쿠폰', '첫방문 고객 2000원 할인 쿠폰', 'OFF', '정액', 2000, '0', '1000000', '45238', '45358', '45372', '2', '1') --- ,(33, 'CC0000033', '휴가떠나자30%', '재방문 고객 30% 할인 쿠폰', 'OFF', '정률', 30, '2', '1000000', '45256', '45338', '45352', '33', '6') --- ,(34, 'CC0000034', '봄봄할인', '모든 고객 30% 할인 쿠폰', 'OFF', '정률', 30, '0', '0000010', '45269', '45355', '45369', '27', '5') --- ,(35, 'CC0000035', '10% 선착순 쿠폰', '모든 고객 10% 할인 쿠폰', 'ON', '정률', 10, '2', '0000000', '45313', '45331', '45345', '55', '2') --- ,(36, 'CC0000036', '럭셔리스테이20000', '첫방문 고객 20000원 할인 쿠폰', 'ON', '정액', 20000, '2', '0000100', '45246', '45337', '45351', '64', '32') --- ,(37, 'CC0000037', '오션뷰쿠폰', '재방문 고객 1000원 할인 쿠폰', '대기중', '정액', 1000, '0', '0001000', '45485', '45524', '45538', '22', '3') --- ,(38, 'CC0000038', '소중한여행30%', '재방문 고객 30% 할인 쿠폰', 'ON', '정률', 30, '1', '1000000', '45232', '45323', '45337', '64', '22') --- ,(39, 'CC0000039', '미드나잇스페셜', '모든 고객 15% 할인 쿠폰', 'ON', '정률', 15, '2', '0010000', '45291', '45332', '45346', '69', '12') --- ,(40, 'CC0000040', '럭셔리스테이3000', '모든 고객 3000원 할인 쿠폰', 'ON', '정액', 3000, '2', '1000000', '45230', '45320', '45334', '69', '7') --- ,(41, 'CC0000041', '휴가떠나자5000', '첫방문 고객 5000원 할인 쿠폰', 'OFF', '정액', 5000, '0', '0000000', '45237', '45349', '45363', '80', '2') --- ,(42, 'CC0000042', '힐링쿠폰10%', '모든 고객 10% 할인 쿠폰', 'ON', '정률', 10, '1', '0000010', '45256', '45337', '45351', '1', '0') --- ,(43, 'CC0000043', '봄봄할인', '첫방문 고객 25% 할인 쿠폰', '대기중', '정률', 25, '1', '0000000', '45528', '45546', '45560', '97', '8') --- ,(44, 'CC0000044', '가족여행쿠폰20000', '첫방문 고객 20000원 할인 쿠폰', 'ON', '정액', 20000, '0', '0000000', '45282', '45332', '45346', '11', '1') --- ,(45, 'CC0000045', '여름신상10%', '모든 고객 10% 할인 쿠폰', 'OFF', '정률', 10, '0', '0010000', '45295', '45336', '45350', '32', '6') --- ,(46, 'CC0000046', '오션뷰쿠폰', '첫방문 고객 2000원 할인 쿠폰', 'OFF', '정액', 2000, '0', '0000000', '45291', '45364', '45378', '42', '4') --- ,(47, 'CC0000047', '즉시할인쿠폰3000', '모든 고객 3000원 할인 쿠폰', '대기중', '정액', 3000, '1', '0001000', '45404', '45418', '45432', '10', '1') --- ,(48, 'CC0000048', '특별감사쿠폰', '재방문 고객 1000원 할인 쿠폰', '대기중', '정액', 1000, '0', '0010000', '45410', '45424', '45438', '87', '3') --- ,(49, 'CC0000049', '여름신상3000', '모든 고객 3000원 할인 쿠폰', 'ON', '정액', 3000, '1', '0100000', '45295', '45322', '45336', '68', '6') --- ,(50, 'CC0000050', '프라이빗빌라쿠폰', '첫방문 고객 2000원 할인 쿠폰', 'OFF', '정액', 2000, '0', '0000000', '45297', '45325', '45339', '36', '3') --- ,(51, 'CC0000051', '오션뷰쿠폰', '모든 고객 30% 할인 쿠폰', '대기중', '정률', 30, '0', '0000001', '45474', '45488', '45502', '30', '5') --- ,(52, 'CC0000052', '소중한여행40%', '첫방문 고객 40% 할인 쿠폰', 'OFF', '정률', 40, '1', '0000010', '45277', '45372', '45386', '59', '5') --- ,(53, 'CC0000053', '가족여행쿠폰3000', '모든 고객 3000원 할인 쿠폰', 'OFF', '정액', 3000, '2', '0000010', '45251', '45377', '45391', '16', '1') --- ,(54, 'CC0000054', '바다향쿠폰', '첫방문 고객 5000원 할인 쿠폰', 'ON', '정액', 5000, '2', '0000000', '45248', '45348', '45362', '5', '0') --- ,(55, 'CC0000055', '스파플리스25%', '첫방문 고객 25% 할인 쿠폰', '대기중', '정률', 25, '0', '0000100', '45321', '45335', '45349', '28', '2') --- ,(56, 'CC0000056', '미드나잇스페셜', '첫방문 고객 2000원 할인 쿠폰', '대기중', '정액', 2000, '0', '0000011', '45541', '45555', '45569', '25', '7') --- ,(57, 'CC0000057', '즉시할인쿠폰30%', '모든 고객 30% 할인 쿠폰', 'ON', '정률', 30, '2', '0001000', '45271', '45326', '45340', '47', '4') --- ,(58, 'CC0000058', '특급스윗룸2000', '첫방문 고객 2000원 할인 쿠폰', 'OFF', '정액', 2000, '1', '0000010', '45231', '45336', '45350', '14', '1') --- ,(59, 'CC0000059', '바다향쿠폰', '첫방문 고객 20000원 할인 쿠폰', 'OFF', '정액', 20000, '0', '0000100', '45315', '45348', '45362', '75', '5') --- ,(60, 'CC0000060', '소중한여행20000', '첫방문 고객 20000원 할인 쿠폰', '대기중', '정액', 20000, '0', '1000000', '45576', '45590', '45604', '60', '6') --- ,(61, 'CC0000061', '얼리버드특가', '모든 고객 30% 할인 쿠폰', 'ON', '정률', 30, '0', '1000000', '45250', '45341', '45355', '61', '6') --- ,(62, 'CC0000062', '가족여행쿠폰2000', '첫방문 고객 2000원 할인 쿠폰', '대기중', '정액', 2000, '0', '1111100', '45300', '45314', '45328', '7', '0') --- ,(63, 'CC0000063', '특급스윗룸15%', '모든 고객 15% 할인 쿠폰', 'ON', '정률', 15, '0', '0001000', '45262', '45339', '45353', '51', '3') --- ,(64, 'CC0000064', '미드나잇스페셜', '첫방문 고객 40% 할인 쿠폰', '대기중', '정률', 40, '0', '0100000', '45458', '45472', '45486', '58', '5') --- ,(65, 'CC0000065', '즉시할인쿠폰30%', '모든 고객 30% 할인 쿠폰', '대기중', '정률', 30, '0', '0000100', '45552', '45566', '45580', '48', '3') --- ,(66, 'CC0000066', '스파플리스30%', '모든 고객 30% 할인 쿠폰', '대기중', '정률', 30, '1', '0100000', '45612', '45626', '45640', '58', '11') --- ,(67, 'CC0000067', '소중한여행1000', '재방문 고객 1000원 할인 쿠폰', 'OFF', '정액', 1000, '0', '1000000', '45238', '45370', '45384', '69', '11') --- ,(68, 'CC0000068', '미드나잇스페셜', '재방문 고객 1000원 할인 쿠폰', 'ON', '정액', 1000, '0', '0010000', '45239', '45321', '45335', '76', '70') --- ,(69, 'CC0000069', '주중스테이쿠폰', '모든 고객 30% 할인 쿠폰', '삭제', '정률', 30, '0', '0010000', '45273', '45343', '45357', '88', '3') --- ,(70, 'CC0000070', '프라이빗빌라쿠폰', '첫방문 고객 25% 할인 쿠폰', '대기중', '정률', 25, '0', '0000011', '45608', '45622', '45636', '522', '71') --- ,(71, 'CC0000071', '특별감사쿠폰', '첫방문 고객 5000원 할인 쿠폰', 'OFF', '정액', 5000, '0', '0000001', '45248', '45345', '45359', '23', '4') --- ,(72, 'CC0000072', '가족여행쿠폰10%', '모든 고객 10% 할인 쿠폰', 'OFF', '정률', 10, '0', '0000001', '45313', '45368', '45382', '30', '3') --- ,(73, 'CC0000073', '특급스윗룸30%', '모든 고객 30% 할인 쿠폰', '대기중', '정률', 30, '2', '0010000', '45465', '45479', '45493', '31', '2') --- ,(74, 'CC0000074', '로맨틱게스트쿠폰', '첫방문 고객 25% 할인 쿠폰', 'OFF', '정률', 25, '0', '0001000', '45237', '45352', '45366', '4', '0') --- ,(75, 'CC0000075', '소중한여행5000', '첫방문 고객 5000원 할인 쿠폰', 'ON', '정액', 5000, '0', '1111100', '45246', '45343', '45357', '7', '2') --- ,(76, 'CC0000076', '여름신상20000', '첫방문 고객 20000원 할인 쿠폰', 'OFF', '정액', 20000, '0', '0010000', '45250', '45367', '45381', '70', '1') --- ,(77, 'CC0000077', '특별감사쿠폰', '재방문 고객 30% 할인 쿠폰', 'OFF', '정률', 30, '1', '0000001', '45268', '45332', '45346', '14', '1') --- ,(78, 'CC0000078', '얼리버드특가', '재방문 고객 1000원 할인 쿠폰', 'OFF', '정액', 1000, '1', '0000000', '45294', '45363', '45377', '22', '11') --- ,(79, 'CC0000079', '가족여행쿠폰5000', '첫방문 고객 5000원 할인 쿠폰', 'ON', '정액', 5000, '0', '0000001', '45259', '45347', '45361', '27', '2') --- ,(80, 'CC0000080', '프라이빗빌라쿠폰', '모든 고객 15% 할인 쿠폰', 'ON', '정률', 15, '0', '0000000', '45315', '45342', '45356', '58', '2') --- ,(81, 'CC0000081', '로맨틱게스트쿠폰', '첫방문 고객 2000원 할인 쿠폰', '대기중', '정액', 2000, '0', '0100000', '45630', '45644', '45658', '40', '4') --- ,(82, 'CC0000082', '주중스테이쿠폰', '모든 고객 30% 할인 쿠폰', 'ON', '정률', 30, '2', '0000000', '45242', '45327', '45341', '42', '6') --- ,(83, 'CC0000083', '주중스테이쿠폰', '모든 고객 15% 할인 쿠폰', '대기중', '정률', 15, '0', '0000011', '45469', '45483', '45497', '24', '0') --- ,(84, 'CC0000084', '얼리버드특가', '첫방문 고객 40% 할인 쿠폰', '대기중', '정률', 40, '0', '0000010', '45440', '45454', '45468', '37', '1') --- ,(85, 'CC0000085', '스파플리스1000', '재방문 고객 1000원 할인 쿠폰', 'OFF', '정액', 1000, '2', '1111100', '45256', '45369', '45383', '82', '2') --- ,(86, 'CC0000086', '로맨틱게스트쿠폰', '재방문 고객 30% 할인 쿠폰', '대기중', '정률', 30, '0', '0010000', '45554', '45568', '45582', '86', '8') --- ,(87, 'CC0000087', '오션뷰쿠폰', '모든 고객 3000원 할인 쿠폰', 'ON', '정액', 3000, '1', '1000000', '45262', '45340', '45354', '11', '6') --- ,(88, 'CC0000088', '바다향쿠폰', '모든 고객 15% 할인 쿠폰', 'ON', '정률', 15, '2', '0000100', '45247', '45340', '45354', '11', '3') --- ,(89, 'CC0000089', '비즈니스트립15%', '모든 고객 15% 할인 쿠폰', '대기중', '정률', 15, '0', '1000000', '45492', '45506', '45520', '32', '3') --- ,(90, 'CC0000090', '친구모임3000', '모든 고객 3000원 할인 쿠폰', 'ON', '정액', 3000, '1', '0000100', '45258', '45344', '45358', '38', '5') --- ,(91, 'CC0000091', '하와이안스파30%', '모든 고객 30% 할인 쿠폰', '대기중', '정률', 30, '2', '0000011', '45442', '45456', '45470', '14', '1') --- ,(92, 'CC0000092', '산속숙소15%', '모든 고객 15% 할인 쿠폰', '대기중', '정률', 15, '1', '1111100', '45530', '45544', '45558', '21', '2') --- ,(93, 'CC0000093', '빈티지스타일30%', '재방문 고객 30% 할인 쿠폰', 'ON', '정률', 30, '0', '0000010', '45291', '45342', '45356', '55', '11') --- ,(94, 'CC0000094', '빈티지스타일15%', '모든 고객 15% 할인 쿠폰', '대기중', '정률', 15, '0', '0001000', '45311', '45325', '45339', '33', '4') --- ,(95, 'CC0000095', '친구모임1000', '재방문 고객 1000원 할인 쿠폰', 'ON', '정액', 1000, '2', '0000100', '45258', '45327', '45341', '31', '7') --- ,(96, 'CC0000096', '힐링휴가쿠폰', '모든 고객 3000원 할인 쿠폰', 'ON', '정액', 3000, '1', '1111100', '45277', '45338', '45352', '61', '2') --- ,(97, 'CC0000097', '업그레이드무료', '첫방문 고객 20000원 할인 쿠폰', 'ON', '정액', 20000, '0', '0000011', '45296', '45346', '45360', '16', '4') --- ,(98, 'CC0000098', '비즈니스트립15%', '모든 고객 15% 할인 쿠폰', 'ON', '정률', 15, '1', '0000000', '45300', '45331', '45345', '25', '2') --- ,(99, 'CC0000099', '업그레이드무료', '재방문 고객 30% 할인 쿠폰', 'OFF', '정률', 30, '2', '0100000', '45291', '45368', '45382', '0', '0') --- ,(100, 'CC0000100', '인생여행쿠폰', '모든 고객 10% 할인 쿠폰', '대기중', '정률', 10, '0', '0000010', '45477', '45491', '45505', '882', '80') +insert into fc_coolpeace.accommodation (member_id, name, sido, sigungu, address, accommodation_type) values (1, '테스트숙박1', 1, 2, '테스트 상세 주소 1번지', 'MOTEL'), (1, '테스트숙박2', 1, 2, '테스트 상세 주소 21번지', 'RESORT'); +insert into fc_coolpeace.accommodation (member_id, name, sido, sigungu, address, accommodation_type) values (2, '테스트숙박3', 1, 2, '테스트 상세 주소 2번지', 'PENSION'), (2, '테스트숙박4', 1, 3, '테스트 상세 주소 22번지', 'HOTEL'); +insert into fc_coolpeace.accommodation (member_id, name, sido, sigungu, address, accommodation_type) values (3, '테스트숙박5', 1, 2, '테스트 상세 주소 3번지', 'MOTEL'), (3, '테스트숙박6', 1, 4, '테스트 상세 주소 23번지', 'VILLA'); +insert into fc_coolpeace.accommodation (member_id, name, sido, sigungu, address, accommodation_type) values (4, '테스트숙박7', 1, 3, '테스트 상세 주소 4번지', 'PENSION'), (4, '테스트숙박8', 1, 5, '테스트 상세 주소 24번지', 'PENSION'); +insert into fc_coolpeace.accommodation (member_id, name, sido, sigungu, address, accommodation_type) values (5, '테스트숙박9', 1, 3, '테스트 상세 주소 5번지', 'RESORT'), (5, '테스트숙박10', 1, 5, '테스트 상세 주소 25번지', 'VILLA'); +insert into fc_coolpeace.accommodation (member_id, name, sido, sigungu, address, accommodation_type) values (6, '테스트숙박11', 1, 3, '테스트 상세 주소 6번지', 'RESORT'), (6, '테스트숙박12', 1, 2, '테스트 상세 주소 26번지', 'PENSION'); +insert into fc_coolpeace.accommodation (member_id, name, sido, sigungu, address, accommodation_type) values (7, '테스트숙박13', 1, 4, '테스트 상세 주소 7번지', 'PENSION'), (7, '테스트숙박14', 1, 3, '테스트 상세 주소 27번지', 'HOTEL'); +insert into fc_coolpeace.accommodation (member_id, name, sido, sigungu, address, accommodation_type) values (8, '테스트숙박15', 1, 4, '테스트 상세 주소 8번지', 'MOTEL'), (8, '테스트숙박16', 1, 5, '테스트 상세 주소 28번지', 'RESORT'); +insert into fc_coolpeace.accommodation (member_id, name, sido, sigungu, address, accommodation_type) values (9, '테스트숙박17', 1, 4, '테스트 상세 주소 9번지', 'MOTEL'), (9, '테스트숙박18', 1, 3, '테스트 상세 주소 29번지', 'VILLA'); +insert into fc_coolpeace.accommodation (member_id, name, sido, sigungu, address, accommodation_type) values (10, '테스트숙박19', 1, 4, '테스트 상세 주소 10번지', 'PENSION'), (10, '테스트숙박20', 1, 1, '테스트 상세 주소 20번지', 'VILLA'); + +--객실 193개 추가 +insert into fc_coolpeace.room (price, room_number, accommodation_id, created_at, room_type) values (179000, 1, 2, now(), '노멀 커플'), (22000, 3, 18, now(), '비지니스 패밀리'), (105000, 4, 20, now(), '노멀 더블'), (197000, 5, 16, now(), 'VIP 트윈'), (34000, 6, 5, now(), '비지니스 더블'), (45000, 7, 17, now(), 'VIP 커플'), (134000, 8, 9, now(), '비지니스 패밀리'), (138000, 2, 8, now(), '프리미엄 패밀리'), (85000, 9, 10, now(), '프리미엄 더블'), (51000, 10, 7, now(), '프리미엄 트윈'), (62000, 11, 19, now(), '비지니스 패밀리'), (52000, 12, 14, now(), '디럭스 더블'), (125000, 13, 3, now(), '노멀 패밀리'), (61000, 14, 5, now(), '디럭스 커플'), (47000, 15, 17, now(), '노멀 더블'), (60000, 16, 20, now(), 'VIP 커플'), (146000, 17, 8, now(), '프리미엄 더블'), (105000, 18, 3, now(), '프리미엄 패밀리'), (92000, 19, 8, now(), '비지니스 커플'), (55000, 20, 11, now(), '프리미엄 커플'), (72000, 21, 18, now(), '비지니스 트윈'), (151000, 22, 15, now(), '노멀 더블'), (50000, 23, 16, now(), '디럭스 더블'), (105000, 24, 14, now(), '노멀 더블'), (149000, 25, 9, now(), '프리미엄 커플'), (99000, 26, 20, now(), '디럭스 커플'), (30000, 27, 6, now(), '프리미엄 트윈'), (145000, 28, 16, now(), 'VIP 패밀리'), (183000, 29, 6, now(), '디럭스 더블'), (138000, 30, 9, now(), 'VIP 더블'), (88000, 31, 8, now(), '디럭스 패밀리'), (39000, 32, 6, now(), '프리미엄 패밀리'), (62000, 33, 14, now(), '비지니스 트윈'), (153000, 34, 13, now(), 'VIP 커플'), (188000, 35, 1, now(), '프리미엄 트윈'), (99000, 36, 1, now(), '비지니스 더블'), (111000, 37, 2, now(), 'VIP 커플'), (64000, 38, 11, now(), 'VIP 트윈'), (64000, 39, 6, now(), '노멀 트윈'), (124000, 40, 12, now(), '비지니스 더블'), (137000, 41, 16, now(), '비지니스 커플'), (126000, 42, 19, now(), '디럭스 더블'), (55000, 43, 13, now(), '디럭스 패밀리'), (117000, 44, 8, now(), '프리미엄 더블'), (109000, 45, 3, now(), '노멀 커플'), (115000, 46, 19, now(), '프리미엄 커플'), (159000, 47, 13, now(), '디럭스 더블'), (21000, 48, 2, now(), '프리미엄 패밀리'), (173000, 49, 18, now(), '노멀 커플'), (97000, 50, 20, now(), 'VIP 패밀리'), (136000, 51, 14, now(), 'VIP 커플'), (66000, 52, 20, now(), '디럭스 커플'), (138000, 53, 20, now(), '프리미엄 커플'), (148000, 54, 20, now(), '비지니스 더블'), (114000, 55, 2, now(), '디럭스 더블'), (86000, 56, 14, now(), 'VIP 패밀리'), (134000, 57, 19, now(), '프리미엄 트윈'), (37000, 58, 20, now(), '프리미엄 패밀리'), (32000, 59, 16, now(), 'VIP 패밀리'), (197000, 60, 19, now(), '노멀 트윈'), (79000, 61, 6, now(), '비지니스 트윈'), (172000, 62, 11, now(), '디럭스 패밀리'), (89000, 63, 4, now(), '비지니스 트윈'), (116000, 64, 1, now(), '프리미엄 더블'), (99000, 65, 6, now(), '프리미엄 커플'), (84000, 66, 3, now(), '비지니스 커플'), (150000, 67, 12, now(), '노멀 패밀리'), (107000, 68, 6, now(), '비지니스 더블'), (69000, 69, 20, now(), 'VIP 더블'), (177000, 70, 2, now(), 'VIP 트윈'), (108000, 71, 1, now(), '비지니스 커플'), (175000, 72, 3, now(), 'VIP 커플'), (198000, 73, 20, now(), '프리미엄 패밀리'), (94000, 74, 13, now(), 'VIP 패밀리'), (23000, 75, 3, now(), '노멀 패밀리'), (163000, 76, 13, now(), '노멀 커플'), (150000, 77, 13, now(), '노멀 트윈'), (137000, 78, 8, now(), '노멀 더블'), (72000, 79, 2, now(), '디럭스 커플'), (147000, 80, 19, now(), '프리미엄 트윈'), (180000, 81, 1, now(), '비지니스 트윈'), (157000, 82, 15, now(), '디럭스 트윈'), (76000, 83, 3, now(), '디럭스 더블'), (76000, 84, 8, now(), '노멀 트윈'), (46000, 85, 20, now(), '노멀 커플'), (95000, 86, 8, now(), '프리미엄 더블'), (56000, 87, 17, now(), '노멀 더블'), (31000, 88, 4, now(), '노멀 트윈'), (66000, 89, 11, now(), '프리미엄 트윈'), (143000, 90, 7, now(), 'VIP 더블'), (38000, 91, 4, now(), '비지니스 트윈'), (193000, 92, 3, now(), '디럭스 더블'), (155000, 93, 3, now(), '노멀 커플'), (88000, 94, 12, now(), '노멀 커플'), (134000, 95, 17, now(), '노멀 더블'), (184000, 96, 18, now(), '디럭스 더블'), (177000, 97, 20, now(), 'VIP 커플'), (24000, 98, 16, now(), '프리미엄 더블'), (175000, 99, 5, now(), 'VIP 더블'), (184000, 100, 16, now(), '디럭스 트윈'), (126000, 101, 3, now(), '프리미엄 패밀리'), (64000, 102, 6, now(), 'VIP 더블'), (43000, 103, 17, now(), '노멀 패밀리'), (167000, 104, 13, now(), '노멀 트윈'), (157000, 105, 10, now(), 'VIP 트윈'), (131000, 106, 13, now(), '노멀 커플'), (165000, 107, 19, now(), '프리미엄 커플'), (53000, 108, 11, now(), '비지니스 더블'), (159000, 109, 15, now(), '비지니스 더블'), (36000, 110, 5, now(), '디럭스 커플'), (186000, 111, 6, now(), '디럭스 더블'), (107000, 112, 10, now(), '디럭스 커플'), (131000, 113, 10, now(), '비지니스 더블'), (76000, 114, 18, now(), '노멀 커플'), (141000, 115, 6, now(), '프리미엄 트윈'), (61000, 116, 13, now(), '디럭스 더블'), (117000, 117, 11, now(), 'VIP 커플'), (82000, 118, 6, now(), '노멀 패밀리'), (152000, 119, 12, now(), '비지니스 커플'), (59000, 120, 14, now(), 'VIP 트윈'), (129000, 121, 5, now(), '비지니스 패밀리'), (95000, 122, 19, now(), 'VIP 트윈'), (84000, 123, 7, now(), '디럭스 커플'), (158000, 124, 12, now(), '디럭스 더블'), (105000, 125, 5, now(), '디럭스 커플'), (117000, 126, 3, now(), '노멀 더블'), (181000, 127, 5, now(), '비지니스 트윈'), (192000, 128, 17, now(), '디럭스 트윈'), (29000, 129, 17, now(), '비지니스 더블'), (67000, 130, 16, now(), '노멀 더블'), (135000, 131, 13, now(), '노멀 트윈'), (162000, 132, 11, now(), '프리미엄 패밀리'), (192000, 133, 5, now(), '노멀 더블'), (30000, 134, 2, now(), '비지니스 트윈'), (122000, 135, 15, now(), 'VIP 트윈'), (31000, 136, 14, now(), '비지니스 패밀리'), (135000, 137, 5, now(), '디럭스 패밀리'), (42000, 138, 1, now(), 'VIP 더블'), (125000, 139, 7, now(), '디럭스 더블'), (24000, 140, 5, now(), '프리미엄 패밀리'), (62000, 141, 11, now(), '디럭스 패밀리'), (196000, 142, 18, now(), 'VIP 더블'), (36000, 143, 1, now(), '프리미엄 트윈'), (27000, 144, 2, now(), '노멀 커플'), (38000, 145, 8, now(), '비지니스 커플'), (162000, 146, 4, now(), '비지니스 트윈'), (29000, 147, 18, now(), '프리미엄 트윈'), (122000, 148, 10, now(), '디럭스 트윈'), (25000, 149, 8, now(), '비지니스 트윈'), (43000, 150, 15, now(), '프리미엄 커플'), (177000, 151, 19, now(), 'VIP 패밀리'), (148000, 152, 2, now(), '프리미엄 더블'), (136000, 153, 16, now(), '비지니스 트윈'), (196000, 154, 14, now(), 'VIP 더블'), (97000, 155, 4, now(), '프리미엄 더블'), (60000, 156, 20, now(), '디럭스 트윈'), (160000, 157, 4, now(), '노멀 트윈'), (105000, 158, 18, now(), '디럭스 트윈'), (147000, 159, 20, now(), '노멀 패밀리'), (141000, 160, 19, now(), '프리미엄 커플'), (91000, 161, 4, now(), '비지니스 더블'), (89000, 162, 19, now(), '노멀 커플'), (116000, 163, 5, now(), '프리미엄 커플'), (81000, 164, 13, now(), '비지니스 패밀리'), (163000, 165, 4, now(), '노멀 트윈'), (60000, 166, 12, now(), 'VIP 더블'), (151000, 167, 18, now(), '노멀 더블'), (88000, 168, 19, now(), 'VIP 패밀리'), (166000, 169, 15, now(), '프리미엄 패밀리'), (154000, 170, 11, now(), '노멀 패밀리'), (154000, 171, 17, now(), '디럭스 트윈'), (139000, 172, 14, now(), '프리미엄 트윈'), (135000, 173, 10, now(), '프리미엄 더블'), (197000, 174, 12, now(), '노멀 패밀리'), (188000, 175, 9, now(), 'VIP 패밀리'), (67000, 176, 2, now(), 'VIP 커플'), (136000, 177, 11, now(), '디럭스 커플'), (142000, 178, 2, now(), '노멀 커플'), (194000, 179, 13, now(), 'VIP 커플'), (147000, 180, 17, now(), 'VIP 트윈'), (35000, 181, 13, now(), '디럭스 커플'), (152000, 182, 5, now(), '비지니스 패밀리'), (117000, 183, 18, now(), '비지니스 커플'), (160000, 184, 12, now(), '디럭스 커플'), (78000, 185, 9, now(), 'VIP 패밀리'), (175000, 186, 8, now(), 'VIP 더블'), (118000, 187, 15, now(), 'VIP 커플'), (159000, 188, 15, now(), '비지니스 더블'), (51000, 189, 12, now(), 'VIP 패밀리'), (118000, 190, 13, now(), '비지니스 더블'), (199000, 191, 11, now(), 'VIP 패밀리'), (33000, 192, 19, now(), '노멀 트윈'), (145000, 193, 7, now(), '프리미엄 패밀리'); + + +--쿠폰 추가 (1008건) +insert into coupon(coupon_expiration, coupon_room_type, coupon_use_condition_days, discount_value, download_count, exposure_end_date, exposure_start_date, minimum_reservation_price, use_count, accommodation_id, created_at, member_id, coupon_number, coupon_status, customer_type, discount_type, title) values (14, 0, 3, 30000, 100, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 100000, 30, 1, now(), 1, 'CC0000001', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '테스트쿠폰1'), (21, 1, 127, 30, 200, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 50000, 40, 1, now(), 1, 'CC0000002', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '테스트쿠폰2'), (14, 0, 99, 10000, 300, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 200000, 20, 2, now(), 1, 'CC0000003', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '테스트쿠폰3'), (14, 2, 124, 20, 400, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 100000, 50, 2, now(), 1, 'CC0000004', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '테스트쿠폰4'), (7, 1, 107, 10000, 300, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 10000, 100, 1, now(), 1, 'CC0000005', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '테스트쿠폰5'), (3, 1, 55, 10, 500, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 100000, 43, 1, now(), 1, 'CC0000006', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '테스트쿠폰6'), (30, 0, 123, 10000, 1000, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 250000, 160, 2, now(), 1, 'CC0000007', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '테스트쿠폰7'), (100, 2, 26, 10, 50, '2024-12-31 00:00:00', '2024-01-01 00:00:00', 60000, 50, 2, now(), 1, 'CC0000008', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '테스트쿠폰8'), (302, 1, 107, 10, 561, '2024-02-14','2023-12-17', 85000, 377, 12, now(), 3, 'CC0000531', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (302, 2, 114, 15000, 2620, '2024-02-04','2024-01-05', 61000, 203, 12, now(), 7, 'CC0000824', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '따뜻한겨울쿠폰'), (155, 2, 47, 25000, 8342, '2024-02-08','2023-12-14', 59000, 706, 20, now(), 1, 'CC0000546', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (204, 2, 44, 20000, 7924, '2024-02-20','2023-12-04', 59000, 5811, 17, now(), 8, 'CC0000830', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (289, 0, 60, 16, 3199, '2024-03-13','2023-12-30', 50000, 21, 5, now(), 9, 'CC0000553', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (333, 1, 19, 15000, 220, '2024-02-17','2023-11-22', 58800, 149, 3, now(), 9, 'CC0000831', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (104, 2, 49, 13, 3466, '2024-02-06','2023-11-16', 30000, 645, 15, now(), 10, 'CC0000515', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (176, 0, 34, 15000, 9031, '2024-02-17','2023-11-21', 27000, 6957, 13, now(), 8, 'CC0000801', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '특급이벤트'), (217, 0, 90, 19, 8394, '2024-02-23','2023-11-22', 75000, 3476, 3, now(), 4, 'CC0000530', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (180, 1, 21, 16, 1367, '2024-03-12','2023-12-11', 94000, 764, 19, now(), 6, 'CC0000823', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (151, 0, 105, 5, 1193, '2024-11-25','2024-11-11', 61000, 410, 19, now(), 1, 'CC0000469', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (344, 1, 126, 19, 5632, '2024-02-21','2024-01-02', 50000, 595, 16, now(), 1, 'CC0000743', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (175, 0, 107, 10000, 4894, '2024-03-07','2024-01-29', 23500, 4869, 9, now(), 3, 'CC0000508', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '가을바람할인쿠폰'), (254, 1, 80, 8, 5947, '2024-04-13','2024-03-14', 40000, 351, 16, now(), 2, 'CC0000792', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (36, 1, 15, 8, 3217, '2024-03-13','2024-02-28', 144000, 1491, 4, now(), 8, 'CC0000529', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (341, 2, 29, 10000, 5297, '2024-09-10','2024-08-11', 82000, 5142, 3, now(), 9, 'CC0000822', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '따뜻한겨울쿠폰'), (138, 2, 107, 30000, 55, '2024-09-20','2024-09-06', 10000, 9, 4, now(), 1, 'CC0000513', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (229, 0, 47, 12, 5981, '2025-01-10','2024-12-11', 88000, 4067, 19, now(), 5, 'CC0000794', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (282, 2, 13, 10000, 4271, '2024-02-26','2023-12-26', 50000, 1137, 9, now(), 8, 'CC0000519', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (82, 1, 72, 20000, 1482, '2024-02-07','2024-01-15', 75000, 755, 6, now(), 4, 'CC0000807', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', 'EVENT'), (121, 1, 6, 7, 6773, '2024-02-28','2024-01-01', 100000, 4760, 7, now(), 7, 'CC0000544', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (238, 0, 111, 5, 593, '2024-01-31','2023-12-22', 44000, 413, 11, now(), 8, 'CC0000829', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (365, 0, 85, 30000, 2839, '2024-02-02','2023-12-04', 70000, 928, 13, now(), 6, 'CC0000501', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '힐링휴가쿠폰'), (179, 1, 79, 16, 6690, '2024-06-06','2024-05-07', 10000, 3896, 10, now(), 5, 'CC0000784', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (62, 2, 124, 19, 2339, '2024-03-02','2023-12-06', 24000, 542, 12, now(), 7, 'CC0000502', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '업그레이드무료'), (198, 1, 69, 30000, 4429, '2024-05-25','2024-04-25', 75000, 692, 10, now(), 9, 'CC0000785', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (76, 1, 71, 6, 9665, '2024-02-22','2023-12-08', 32000, 5721, 3, now(), 7, 'CC0000532', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (309, 1, 117, 5, 9895, '2025-01-28','2024-12-29', 79000, 6213, 17, now(), 10, 'CC0000825', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '인생여행쿠폰'), (209, 2, 6, 17, 9656, '2024-01-29','2024-01-15', 94500, 5536, 19, now(), 9, 'CC0000509', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '가을바람할인쿠폰'), (220, 0, 114, 20000, 8612, '2024-02-25','2024-01-21', 60000, 8026, 15, now(), 2, 'CC0000793', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (45, 1, 30, 8, 6844, '2024-03-11','2023-11-01', 81000, 2319, 19, now(), 5, 'CC0000534', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (80, 2, 103, 30000, 8999, '2024-02-25','2023-12-13', 88000, 4749, 5, now(), 5, 'CC0000826', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (357, 2, 50, 30000, 2574, '2024-02-08','2023-12-30', 35000, 2203, 4, now(), 5, 'CC0000025', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '미드나잇스페셜'), (294, 2, 102, 10000, 4321, '2024-02-13','2024-01-03', 81000, 2735, 2, now(), 1, 'CC0000231', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (345, 0, 22, 20, 9603, '2024-02-07','2023-11-29', 72300, 3379, 6, now(), 10, 'CC0000324', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '따스한이벤트'), (137, 1, 100, 10000, 4954, '2024-03-22','2023-12-23', 80000, 4118, 5, now(), 5, 'CC0000585', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '인생여행쿠폰'), (318, 1, 4, 19, 7666, '2024-11-05','2024-10-22', 88000, 1785, 20, now(), 6, 'CC0000461', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (18, 1, 63, 20000, 2530, '2024-02-22','2023-11-02', 26000, 1884, 19, now(), 10, 'CC0000740', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (190, 0, 27, 20000, 1211, '2024-07-18','2024-07-04', 59000, 15, 13, now(), 4, 'CC0000100', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '인생여행쿠폰'), (199, 1, 34, 15000, 8968, '2024-03-18','2023-11-24', 63000, 7565, 19, now(), 5, 'CC0000327', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '2024특별이벤트'), (356, 0, 6, 30000, 9123, '2024-02-24','2023-12-09', 40000, 8640, 20, now(), 2, 'CC0000393', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (266, 0, 39, 16, 3716, '2024-10-08','2024-09-24', 92000, 2754, 2, now(), 2, 'CC0000688', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '여름이벤트'), (116, 2, 108, 10000, 7150, '2024-05-02','2024-04-18', 20000, 1152, 19, now(), 8, 'CC0000522', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (92, 0, 76, 20, 5542, '2024-01-30','2024-01-27', 99000, 2863, 19, now(), 7, 'CC0000817', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (95, 0, 64, 10000, 5594, '2024-03-17','2023-11-30', 40000, 76, 9, now(), 6, 'CC0000517', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (74, 2, 55, 10, 2128, '2024-02-15','2024-01-19', 10000, 1252, 15, now(), 1, 'CC0000806', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '수능이벤트'), (340, 0, 73, 19, 6367, '2024-02-13','2024-01-03', 62200, 3679, 9, now(), 5, 'CC0000503', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (128, 1, 82, 18, 8977, '2024-12-06','2024-11-06', 62000, 5487, 13, now(), 10, 'CC0000786', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (55, 0, 119, 10000, 1258, '2024-11-26','2024-11-12', 42000, 996, 4, now(), 4, 'CC0000070', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '프라이빗빌라쿠폰'), (85, 0, 109, 11, 4807, '2024-02-04','2023-12-17', 94000, 226, 3, now(), 4, 'CC0000288', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '고객만족쿠폰'), (251, 0, 73, 14, 2311, '2024-02-26','2023-12-20', 32000, 2227, 19, now(), 9, 'CC0000360', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '고객만족쿠폰'), (331, 0, 124, 10, 8304, '2024-02-29','2024-01-04', 23000, 5299, 15, now(), 3, 'CC0000646', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '봄이벤트'), (144, 1, 43, 10000, 2965, '2024-08-25','2024-08-11', 79000, 2455, 7, now(), 6, 'CC0000127', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '비즈니스트립10%'), (178, 0, 11, 7, 9235, '2024-02-23','2023-11-14', 144000, 8311, 10, now(), 5, 'CC0000364', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (248, 0, 67, 18, 877, '2024-01-31','2023-12-25', 80000, 533, 17, now(), 6, 'CC0000425', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (236, 1, 20, 15000, 7354, '2024-02-08','2023-11-28', 50000, 6495, 15, now(), 10, 'CC0000709', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '인생여행쿠폰'), (85, 2, 56, 10, 3039, '2024-02-01','2024-01-24', 70000, 2604, 12, now(), 8, 'CC0000506', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '인생여행쿠폰'), (358, 1, 99, 25000, 2046, '2024-02-22','2023-12-26', 190000, 591, 11, now(), 8, 'CC0000526', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (200, 1, 97, 15000, 5012, '2024-01-31','2024-01-01', 220000, 2488, 16, now(), 8, 'CC0000790', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (84, 0, 87, 30000, 8144, '2024-02-24','2023-12-04', 60000, 6870, 8, now(), 10, 'CC0000820', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '힐링휴가쿠폰'), (176, 0, 108, 15000, 2227, '2024-02-11','2023-12-15', 60000, 1506, 18, now(), 3, 'CC0000460', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', 'Springevent'), (85, 1, 24, 10, 1034, '2024-04-25','2024-03-26', 60000, 473, 20, now(), 2, 'CC0000739', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (99, 1, 99, 25000, 5962, '2024-02-02','2023-11-27', 70000, 1371, 14, now(), 8, 'CC0000542', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '신나는이벤트쿠폰'), (245, 0, 61, 10, 3518, '2024-11-13','2024-10-14', 96000, 1020, 10, now(), 5, 'CC0000828', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '가을바람할인쿠폰'), (32, 0, 36, 15000, 1841, '2024-02-20','2023-11-14', 32000, 489, 13, now(), 3, 'CC0000525', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (59, 1, 110, 14, 4003, '2024-09-13','2024-08-14', 33000, 2756, 13, now(), 6, 'CC0000818', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (113, 1, 82, 16, 6865, '2024-09-22','2024-09-08', 100000, 4638, 15, now(), 1, 'CC0000520', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (330, 2, 82, 15, 4661, '2024-03-12','2023-11-06', 53000, 2869, 4, now(), 4, 'CC0000810', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', 'Springevent'), (304, 0, 64, 30000, 6125, '2024-02-18','2024-01-06', 18000, 942, 5, now(), 5, 'CC0000521', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (339, 0, 25, 20000, 6577, '2024-03-24','2023-12-26', 60000, 4874, 5, now(), 4, 'CC0000815', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (10, 0, 100, 25000, 6843, '2024-04-30','2024-04-11', 66000, 3193, 11, now(), 7, 'CC0000018', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '재방문1000원'), (303, 0, 28, 25000, 5740, '2024-02-27','2023-11-06', 66000, 4157, 12, now(), 2, 'CC0000225', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '모던디자인10%'), (255, 2, 13, 25000, 1464, '2024-02-12','2024-01-22', 64200, 1261, 3, now(), 10, 'CC0000316', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (208, 0, 66, 30000, 6158, '2024-05-20','2024-05-06', 63000, 2568, 3, now(), 8, 'CC0000569', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (281, 0, 45, 10000, 5686, '2024-02-22','2023-11-09', 77000, 2861, 6, now(), 6, 'CC0000537', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (61, 1, 117, 8, 1201, '2025-01-19','2024-12-20', 79000, 68, 9, now(), 5, 'CC0000827', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '가을바람할인쿠폰'), (323, 1, 117, 6, 3830, '2024-02-09','2023-11-09', 63000, 3390, 16, now(), 6, 'CC0000527', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (235, 0, 48, 5, 397, '2024-02-05','2023-11-10', 61000, 390, 16, now(), 6, 'CC0000821', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '업그레이드무료'), (99, 1, 78, 15000, 5486, '2024-08-01','2024-07-02', 77000, 2999, 5, now(), 2, 'CC0000727', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '밸런타인데이스페셜'), (295, 1, 57, 14, 2761, '2024-02-19','2023-11-14', 62000, 1234, 16, now(), 7, 'CC0000808', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', 'DOUBLEJOY23'), (313, 2, 45, 20000, 3972, '2024-05-04','2024-04-27', 35000, 3120, 19, now(), 8, 'CC0000890', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (204, 2, 14, 12, 4908, '2024-12-01','2024-11-24', 190000, 3687, 15, now(), 1, 'CC0000923', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', 'EVENT'), (311, 2, 117, 20000, 4399, '2024-11-23','2024-11-16', 88000, 4303, 3, now(), 6, 'CC0000959', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '밸런타인데이스페셜'), (90, 1, 29, 15000, 4356, '2024-02-08','2023-11-10', 10000, 102, 10, now(), 9, 'CC0000555', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '재방문고객'), (128, 2, 12, 10000, 9481, '2024-03-12','2023-12-04', 40000, 3922, 9, now(), 6, 'CC0000558', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '따스한이벤트'), (340, 0, 119, 14, 8140, '2024-02-01','2024-01-17', 59000, 767, 20, now(), 2, 'CC0000610', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (24, 1, 44, 20, 8433, '2024-02-27','2024-01-01', 22000, 7986, 13, now(), 9, 'YC0000002', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (338, 0, 95, 13, 9267, '2024-02-01','2024-01-10', 60000, 3184, 12, now(), 8, 'CC0000946', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (37, 0, 125, 11, 1823, '2024-02-08','2023-12-12', 27000, 543, 17, now(), 5, 'CC0000779', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (280, 1, 121, 15000, 4542, '2024-02-04','2023-11-13', 60000, 3247, 5, now(), 4, 'CC0000809', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', 'ECOCHIC23'), (194, 0, 31, 10000, 8044, '2024-12-06','2024-11-29', 70000, 3917, 15, now(), 5, 'CC0000897', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (291, 0, 45, 19, 578, '2024-09-11','2024-08-24', 50000, 412, 14, now(), 4, 'CC0000043', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '봄봄할인'), (219, 1, 47, 20000, 9729, '2024-02-02','2024-01-17', 50000, 6742, 14, now(), 4, 'CC0000173', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'); +insert into coupon(coupon_expiration, coupon_room_type, coupon_use_condition_days, discount_value, download_count, exposure_end_date, exposure_start_date, minimum_reservation_price, use_count, accommodation_id, created_at, member_id, coupon_number, coupon_status, customer_type, discount_type, title) values (263, 1, 106, 20, 4939, '2024-02-24','2024-01-01', 77000, 1872, 20, now(), 7, 'CC0000414', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '2024특별이벤트'), (163, 0, 60, 14, 2691, '2024-11-24','2024-11-10', 190000, 1638, 17, now(), 9, 'CC0000568', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (173, 2, 78, 13, 9324, '2024-02-05','2024-01-26', 40000, 3646, 10, now(), 9, 'CC0000624', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (127, 0, 21, 11, 5319, '2024-02-27','2024-01-20', 88000, 4330, 19, now(), 10, 'CC0000636', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '바캉스특가쿠폰'), (148, 2, 122, 5, 8985, '2024-02-16','2023-12-27', 46000, 330, 1, now(), 4, 'CC0000670', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (117, 0, 67, 20, 338, '2024-02-08','2024-01-26', 23000, 166, 13, now(), 5, 'CC0000855', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (128, 0, 69, 15, 2301, '2024-02-14','2023-11-29', 53000, 425, 16, now(), 6, 'CC0000953', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (277, 2, 82, 20000, 890, '2024-03-19','2024-01-20', 55000, 813, 2, now(), 5, 'CC0000970', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (337, 2, 59, 20000, 6372, '2024-09-26','2024-09-12', 44000, 2087, 5, now(), 6, 'CC0000658', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (299, 0, 50, 10, 4243, '2024-02-16','2023-12-24', 100000, 1644, 7, now(), 6, 'CC0000586', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (199, 2, 111, 11, 6421, '2024-02-26','2024-01-27', 50000, 156, 8, now(), 5, 'CC0000746', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (262, 0, 35, 15000, 8794, '2024-02-07','2023-11-16', 50000, 1446, 5, now(), 8, 'CC0000750', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '스페셜이벤트쿠폰'), (358, 0, 3, 7, 751, '2024-08-20','2024-07-21', 42000, 497, 17, now(), 4, 'CC0000789', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (304, 0, 57, 6, 3750, '2024-10-24','2024-09-24', 30000, 947, 15, now(), 7, 'CC0000791', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (301, 0, 119, 8, 354, '2024-08-08','2024-07-09', 22000, 132, 18, now(), 4, 'CC0000854', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (270, 1, 25, 30000, 9362, '2024-02-04','2023-12-11', 75000, 7265, 7, now(), 6, 'CC0000595', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '가을바람할인쿠폰'), (226, 2, 114, 7, 6179, '2024-02-01','2023-11-20', 99000, 1111, 6, now(), 3, 'CC0000627', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (309, 2, 39, 8, 2733, '2024-10-17','2024-09-17', 22000, 533, 14, now(), 5, 'CC0000797', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (275, 2, 17, 20000, 5630, '2024-02-17','2023-11-10', 80000, 2549, 12, now(), 8, 'CC0000802', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '따스한이벤트'), (346, 0, 101, 5, 6356, '2024-02-28','2023-11-24', 66000, 5255, 5, now(), 3, 'CC0000883', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', 'DOUBLEJOY23'), (189, 0, 84, 30000, 6331, '2024-02-15','2023-12-01', 50000, 5522, 20, now(), 9, 'CC0000911', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (56, 1, 78, 25000, 6386, '2024-02-18','2023-12-13', 170000, 1481, 20, now(), 2, 'CC0000933', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (235, 0, 88, 20000, 7063, '2024-02-12','2023-12-16', 60000, 1898, 9, now(), 10, 'CC0000958', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '밸런타인데이스페셜'), (130, 2, 90, 25000, 6850, '2024-02-09','2023-12-11', 62000, 2215, 20, now(), 4, 'CC0000587', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '인생여행쿠폰'), (85, 1, 66, 20, 5486, '2024-11-21','2024-10-22', 26000, 2135, 9, now(), 8, 'CC0000782', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (326, 1, 107, 11, 6023, '2024-02-16','2024-01-11', 40000, 3122, 4, now(), 7, 'CC0000602', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (288, 0, 38, 17, 4025, '2024-02-02','2023-11-19', 60000, 1955, 4, now(), 3, 'CC0000619', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (213, 2, 31, 15, 8576, '2024-07-31','2024-07-17', 79000, 1725, 4, now(), 2, 'CC0000654', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (199, 2, 85, 20000, 5538, '2024-03-30','2023-12-30', 72300, 4850, 5, now(), 7, 'CC0000840', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (278, 1, 34, 25000, 5169, '2024-03-16','2023-12-02', 99000, 3876, 17, now(), 9, 'CC0000960', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (83, 2, 86, 10, 8091, '2024-03-24','2024-01-16', 70000, 5676, 4, now(), 8, 'CC0000137', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '가을바람할인쿠폰'), (134, 0, 105, 30000, 3121, '2024-02-18','2024-01-07', 42000, 2390, 13, now(), 9, 'CC0000254', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '로맨틱게스트쿠폰'), (321, 1, 84, 9, 1490, '2024-03-07','2024-02-22', 61000, 757, 4, now(), 4, 'CC0000488', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '로맨틱게스트쿠폰'), (51, 0, 56, 25000, 5432, '2024-02-16','2023-11-26', 40000, 3608, 4, now(), 4, 'CC0000582', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '바다향쿠폰'), (188, 2, 47, 10, 7315, '2024-02-03','2024-01-11', 60000, 4168, 5, now(), 4, 'CC0000597', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (13, 1, 30, 9, 726, '2024-02-21','2024-01-01', 60000, 505, 1, now(), 7, 'CC0000603', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (205, 1, 105, 25000, 2589, '2024-02-25','2024-01-05', 53000, 388, 16, now(), 5, 'CC0000620', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '신나는이벤트쿠폰'), (333, 2, 88, 7, 4791, '2024-05-26','2024-05-12', 24000, 641, 12, now(), 7, 'CC0000667', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '특별가족쿠폰'), (22, 2, 117, 5, 3937, '2024-01-31','2023-12-16', 60000, 1197, 10, now(), 8, 'CC0000803', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '봄이벤트'), (344, 0, 3, 18, 8515, '2024-07-04','2024-06-27', 37600, 6476, 16, now(), 8, 'CC0000865', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '소중한당신쿠폰'), (59, 0, 24, 15000, 2644, '2024-01-31','2024-01-04', 32000, 2218, 1, now(), 1, 'CC0000880', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '2024특별이벤트'), (210, 0, 18, 10000, 8500, '2024-12-23','2024-12-16', 62000, 1983, 1, now(), 10, 'CC0000900', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (136, 1, 50, 20, 56, '2024-02-29','2023-12-29', 60000, 10, 15, now(), 9, 'CC0000952', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '고객만족쿠폰'), (353, 0, 97, 13, 3873, '2024-08-25','2024-08-11', 61000, 2279, 20, now(), 3, 'CC0000121', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '여름신상3000'), (311, 0, 115, 9, 5230, '2024-03-01','2023-11-04', 80000, 677, 14, now(), 7, 'YC0000001', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (64, 2, 68, 10000, 6467, '2024-05-09','2024-04-25', 23000, 3557, 8, now(), 8, 'CC0000481', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (364, 0, 7, 15, 9953, '2024-02-05','2024-01-11', 100000, 4240, 3, now(), 5, 'CC0000554', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (13, 1, 89, 16, 6892, '2024-03-27','2024-01-20', 60000, 4968, 3, now(), 5, 'CC0000630', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (154, 2, 98, 25000, 6036, '2024-02-11','2024-01-24', 62200, 299, 20, now(), 3, 'CC0000649', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '수능이벤트'), (323, 1, 21, 18, 9633, '2024-08-20','2024-07-21', 40000, 5736, 5, now(), 6, 'CC0000706', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (49, 2, 92, 25000, 2731, '2024-05-06','2024-04-29', 45000, 2487, 5, now(), 6, 'CC0000938', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '따뜻한겨울쿠폰'), (321, 0, 123, 5, 7606, '2024-08-31','2024-08-24', 59000, 957, 5, now(), 7, 'CC0000943', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '가을바람할인쿠폰'), (193, 0, 91, 15000, 4278, '2024-02-07','2024-01-16', 96000, 2337, 13, now(), 5, 'YC0000004', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '따스한이벤트'), (148, 2, 90, 10, 7286, '2024-03-04','2023-12-31', 80000, 3486, 11, now(), 1, 'CC0000590', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (37, 2, 103, 8, 8160, '2024-06-21','2024-06-07', 94000, 7062, 16, now(), 2, 'CC0000652', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', 'ECOCHIC23'), (82, 1, 60, 9, 4968, '2024-01-31','2023-11-10', 78000, 4734, 17, now(), 4, 'CC0000685', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '특급이벤트'), (343, 0, 70, 5, 3294, '2024-08-05','2024-07-06', 100000, 249, 13, now(), 3, 'CC0000744', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (222, 2, 54, 16, 1579, '2024-06-27','2024-05-28', 42000, 742, 6, now(), 6, 'CC0000770', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (89, 2, 95, 20000, 7553, '2024-02-19','2023-11-26', 100000, 5124, 15, now(), 7, 'CC0000798', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (116, 2, 112, 14, 8454, '2024-02-21','2023-12-13', 77000, 2293, 15, now(), 1, 'CC0000069', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '주중스테이쿠폰'), (163, 2, 122, 15, 6428, '2024-02-04','2023-11-27', 24000, 3918, 12, now(), 5, 'CC0000138', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '단독이벤트쿠폰5000'), (69, 0, 93, 15, 7135, '2024-03-01','2024-01-11', 77000, 5036, 18, now(), 3, 'CC0000192', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '신나는불금1000원'), (357, 1, 5, 6, 9253, '2024-03-09','2023-12-26', 100000, 2275, 2, now(), 9, 'CC0000379', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (274, 0, 117, 10, 2615, '2024-02-10','2023-12-24', 40000, 463, 12, now(), 1, 'CC0000437', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (131, 2, 79, 15000, 130, '2024-02-15','2023-12-14', 88000, 74, 14, now(), 6, 'CC0000439', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (10, 0, 41, 25000, 9951, '2024-06-08','2024-05-09', 50000, 6842, 15, now(), 7, 'CC0000701', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (125, 2, 46, 30000, 9827, '2024-03-02','2024-01-19', 42000, 6319, 12, now(), 6, 'CC0000728', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (184, 2, 124, 7, 2128, '2024-12-05','2024-11-05', 80000, 38, 2, now(), 5, 'CC0000738', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (119, 2, 27, 11, 2261, '2024-02-15','2023-12-08', 55000, 54, 18, now(), 9, 'CC0000741', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (199, 1, 16, 12, 6071, '2024-02-13','2023-12-03', 53000, 4281, 9, now(), 9, 'CC0000788', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (87, 1, 54, 10, 6481, '2024-10-08','2024-10-01', 74000, 186, 12, now(), 5, 'CC0000878', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '봄이벤트'), (130, 1, 85, 13, 4841, '2024-05-12','2024-04-28', 40000, 2193, 5, now(), 5, 'CC0000048', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '특별감사쿠폰'), (287, 1, 53, 20000, 1559, '2024-02-21','2024-01-18', 18000, 855, 9, now(), 3, 'CC0000176', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '기념일할인30%'), (43, 1, 26, 10, 4856, '2024-02-19','2024-01-08', 70000, 1446, 12, now(), 4, 'CC0000419', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', 'Springevent'), (251, 1, 38, 30000, 4961, '2024-03-16','2024-01-02', 64200, 4194, 20, now(), 2, 'CC0000661', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '신나는이벤트쿠폰'), (208, 0, 70, 20, 8622, '2024-06-07','2024-05-24', 87000, 3521, 20, now(), 9, 'CC0000683', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '재방문고객'), (72, 0, 77, 10000, 1394, '2024-04-25','2024-04-18', 46000, 703, 12, now(), 7, 'CC0000860', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (346, 0, 33, 10000, 3108, '2024-10-03','2024-09-19', 62000, 1101, 17, now(), 8, 'CC0000086', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '로맨틱게스트쿠폰'), (254, 1, 76, 25000, 2750, '2024-01-29','2023-12-08', 60000, 2152, 7, now(), 5, 'CC0000120', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '가족여행쿠폰2000'), (280, 2, 96, 6, 1141, '2024-01-22','2024-01-08', 27000, 755, 17, now(), 1, 'CC0000244', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '소중한당신쿠폰'), (143, 1, 106, 18, 2841, '2024-09-30','2024-09-16', 62200, 1548, 1, now(), 10, 'CC0000304', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (69, 2, 48, 30000, 6192, '2024-08-08','2024-07-25', 42000, 5471, 7, now(), 2, 'CC0000373', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (221, 2, 104, 7, 5059, '2024-03-10','2023-11-15', 54800, 3160, 3, now(), 4, 'CC0000478', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '소중한당신쿠폰'), (334, 0, 3, 15000, 3072, '2024-02-19','2024-01-31', 22000, 2006, 6, now(), 4, 'CC0000607', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (326, 1, 44, 16, 2004, '2024-03-18','2023-11-09', 220000, 781, 12, now(), 8, 'CC0000622', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (15, 2, 52, 15000, 7113, '2024-02-05','2023-11-06', 88000, 2254, 1, now(), 7, 'CC0000626', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '특별가족쿠폰'), (273, 2, 87, 14, 8800, '2024-01-30','2023-11-25', 61000, 207, 15, now(), 1, 'CC0000653', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', 'Springevent'), (333, 2, 50, 15000, 5600, '2024-03-17','2024-01-16', 23000, 2284, 7, now(), 7, 'CC0000665', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (194, 2, 15, 9, 995, '2024-06-02','2024-05-03', 26000, 680, 17, now(), 3, 'CC0000804', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '여름이벤트'), (346, 1, 25, 14, 5848, '2024-04-03','2024-03-27', 85000, 4498, 17, now(), 7, 'CC0000928', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (45, 2, 57, 10000, 662, '2024-02-25','2024-01-30', 35000, 516, 7, now(), 8, 'CC0000936', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '힐링휴가쿠폰'), (347, 1, 125, 5, 2870, '2024-03-05','2024-01-10', 75000, 165, 14, now(), 4, 'CC0000572', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '주중스테이쿠폰'), (181, 0, 41, 15000, 3209, '2024-01-21','2024-01-07', 70000, 2447, 11, now(), 4, 'CC0000671', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (31, 0, 51, 15000, 3229, '2024-02-25','2024-01-16', 23000, 741, 6, now(), 3, 'CC0000677', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (130, 1, 58, 9, 5844, '2024-03-19','2024-03-12', 42000, 4645, 1, now(), 4, 'CC0000893', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (163, 1, 46, 5, 2646, '2024-02-14','2023-11-06', 30000, 1312, 15, now(), 7, 'CC0000912', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (30, 2, 110, 20, 5651, '2024-03-25','2023-11-27', 63000, 4970, 20, now(), 7, 'CC0000924', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', 'DOUBLEJOY23'), (137, 0, 111, 18, 26, '2024-02-15','2024-02-08', 32000, 22, 6, now(), 8, 'CC0000929', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '특별가족쿠폰'), (154, 0, 48, 10, 4002, '2024-02-03','2023-12-04', 80000, 2087, 18, now(), 10, 'CC0000940', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (72, 0, 67, 15000, 574, '2024-01-29','2024-01-20', 77000, 93, 5, now(), 10, 'CC0000579', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '주중스테이쿠폰'), (188, 1, 46, 10000, 7159, '2024-11-01','2024-10-18', 96000, 6421, 5, now(), 6, 'CC0000638', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (267, 0, 52, 19, 3131, '2024-03-15','2024-03-01', 96000, 2360, 14, now(), 6, 'CC0000639', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (291, 0, 23, 10000, 2011, '2024-02-05','2024-01-07', 96000, 408, 20, now(), 1, 'CC0000640', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (70, 0, 115, 16, 2816, '2024-09-24','2024-09-17', 96000, 2813, 14, now(), 3, 'CC0000641', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (230, 0, 120, 5, 3660, '2024-02-03','2023-11-26', 96000, 909, 4, now(), 9, 'CC0000642', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (150, 1, 35, 8, 4240, '2024-02-25','2024-01-12', 96000, 1876, 16, now(), 9, 'CC0000643', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '2024특별이벤트'), (352, 0, 43, 30000, 925, '2024-03-18','2023-11-26', 96000, 150, 9, now(), 3, 'CC0000644', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '스파플리스1000'), (70, 2, 124, 8, 8748, '2024-12-20','2024-12-06', 96000, 1526, 4, now(), 1, 'CC0000645', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (249, 2, 79, 7, 344, '2024-11-28','2024-11-14', 96000, 104, 3, now(), 9, 'CC0000646', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (75, 0, 38, 18, 6214, '2024-02-27','2023-11-30', 96000, 2104, 8, now(), 7, 'CC0000647', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '힐링휴가쿠폰'), (47, 0, 99, 25000, 7439, '2024-02-19','2023-12-06', 96000, 571, 14, now(), 5, 'CC0000648', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (41, 0, 74, 11, 2443, '2024-02-27','2024-01-10', 96000, 1225, 10, now(), 8, 'CC0000649', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (183, 0, 18, 15000, 4335, '2024-02-21','2023-12-01', 96000, 2738, 11, now(), 3, 'CC0000650', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '손님감사쿠폰'), (225, 0, 72, 15000, 2522, '2024-05-05','2024-04-21', 96000, 314, 19, now(), 1, 'CC0000651', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '프라이빗빌라쿠폰'), (48, 0, 77, 20000, 2493, '2024-03-13','2024-01-23', 96000, 2384, 18, now(), 10, 'CC0000652', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '가을바람할인쿠폰'), (54, 0, 44, 6, 9950, '2024-02-21','2023-11-12', 96000, 3839, 15, now(), 4, 'CC0000653', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (165, 1, 7, 9, 3432, '2024-01-29','2024-01-06', 96000, 368, 1, now(), 5, 'CC0000654', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (257, 1, 110, 14, 3752, '2024-02-02','2023-11-12', 96000, 3238, 19, now(), 9, 'CC0000655', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (22, 2, 117, 17, 2937, '2024-02-25','2023-11-20', 96000, 222, 4, now(), 3, 'CC0000656', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (155, 0, 105, 20000, 9473, '2024-02-04','2023-11-26', 96000, 1424, 12, now(), 6, 'CC0000657', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '따스한이벤트'), (291, 2, 67, 8, 2149, '2024-02-18','2023-12-23', 96000, 644, 1, now(), 1, 'CC0000658', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (72, 0, 71, 30000, 257, '2024-02-27','2023-11-07', 96000, 239, 14, now(), 8, 'CC0000659', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '휴가떠나자5000'), (235, 0, 29, 20000, 5575, '2024-02-20','2023-11-19', 96000, 3364, 7, now(), 1, 'CC0000660', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '장기투숙15%'), (321, 1, 44, 15000, 8426, '2024-09-28','2024-09-14', 96000, 684, 16, now(), 9, 'CC0000661', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (106, 0, 25, 10, 1461, '2024-03-30','2023-10-31', 96000, 987, 3, now(), 5, 'CC0000662', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (170, 2, 100, 10000, 1954, '2024-03-16','2024-03-02', 96000, 617, 10, now(), 8, 'CC0000663', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (111, 2, 13, 18, 1919, '2024-02-20','2024-01-26', 96000, 1571, 10, now(), 9, 'CC0000664', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (37, 1, 36, 6, 8956, '2025-01-02','2024-12-19', 96000, 2612, 6, now(), 9, 'CC0000665', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (358, 0, 21, 25000, 9930, '2025-01-07','2024-12-24', 96000, 7820, 5, now(), 2, 'CC0000666', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (243, 0, 79, 30000, 9704, '2024-02-23','2023-12-21', 96000, 6339, 12, now(), 8, 'CC0000667', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (282, 1, 95, 30000, 3600, '2024-03-05','2023-11-04', 96000, 2162, 5, now(), 9, 'CC0000668', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (230, 0, 76, 15000, 7469, '2024-10-26','2024-09-26', 96000, 282, 4, now(), 8, 'CC0000669', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', 'ECOCHIC23'), (320, 0, 9, 14, 5819, '2024-12-06','2024-11-29', 96000, 2901, 12, now(), 10, 'CC0000670', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', 'ECOCHIC23'), (28, 1, 21, 20, 2317, '2024-09-28','2024-09-14', 96000, 1108, 16, now(), 10, 'CC0000671', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '가족여행쿠폰5000'), (178, 0, 51, 17, 4610, '2024-02-20','2024-01-18', 96000, 3567, 2, now(), 6, 'CC0000672', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (316, 2, 71, 10000, 3827, '2024-02-13','2023-11-29', 96000, 928, 4, now(), 10, 'CC0000673', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '오션뷰쿠폰'), (288, 1, 14, 19, 8081, '2024-03-08','2023-12-28', 96000, 3530, 6, now(), 3, 'CC0000674', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (286, 2, 65, 25000, 3366, '2024-02-16','2024-01-27', 96000, 957, 14, now(), 8, 'CC0000675', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (147, 0, 118, 11, 7416, '2024-02-02','2023-11-23', 96000, 1568, 15, now(), 1, 'CC0000676', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '2024특별이벤트'), (284, 1, 8, 15, 2595, '2024-02-16','2024-01-22', 96000, 2100, 11, now(), 10, 'CC0000677', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '로맨틱게스트쿠폰'), (199, 1, 96, 10000, 2565, '2024-02-13','2023-12-02', 96000, 2534, 10, now(), 4, 'CC0000678', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '특별가족쿠폰'), (33, 1, 72, 9, 2798, '2024-07-18','2024-06-18', 96000, 1707, 3, now(), 7, 'CC0000679', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (313, 0, 91, 15, 7550, '2024-07-08','2024-07-01', 96000, 7444, 15, now(), 9, 'CC0000680', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '특급이벤트'), (231, 0, 12, 19, 1940, '2024-02-16','2023-12-24', 96000, 1621, 10, now(), 1, 'CC0000681', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '바캉스특가쿠폰'), (65, 0, 55, 15000, 6124, '2024-02-05','2023-12-06', 96000, 4418, 11, now(), 10, 'CC0000682', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (344, 0, 62, 10000, 8225, '2024-02-28','2024-01-13', 96000, 3179, 10, now(), 4, 'CC0000683', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (184, 0, 78, 25000, 173, '2024-03-17','2023-12-20', 96000, 112, 14, now(), 9, 'CC0000684', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (240, 1, 44, 9, 4673, '2024-01-30','2023-11-09', 96000, 1946, 5, now(), 10, 'CC0000685', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '미드나잇스페셜'), (119, 0, 45, 10000, 5946, '2024-12-12','2024-11-28', 96000, 3989, 2, now(), 4, 'CC0000686', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (157, 0, 36, 25000, 8915, '2024-03-22','2024-03-08', 96000, 1936, 18, now(), 2, 'CC0000687', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '인생여행쿠폰'), (309, 1, 33, 13, 4302, '2024-02-27','2023-12-15', 96000, 2144, 18, now(), 10, 'CC0000688', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '따스한이벤트'), (236, 0, 82, 8, 4190, '2024-02-13','2024-01-09', 96000, 2032, 3, now(), 10, 'CC0000689', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (333, 1, 36, 6, 3457, '2024-02-29','2023-12-13', 96000, 780, 14, now(), 2, 'CC0000690', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (109, 1, 117, 16, 7450, '2024-02-26','2024-01-24', 96000, 3462, 15, now(), 1, 'CC0000691', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '바다향쿠폰'), (78, 2, 87, 15, 3693, '2024-02-08','2023-12-27', 96000, 105, 13, now(), 6, 'CC0000692', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '신나는불금3000원'), (329, 2, 114, 20000, 565, '2024-02-16','2024-02-02', 96000, 372, 7, now(), 3, 'CC0000693', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (314, 1, 94, 6, 7779, '2024-02-23','2023-12-28', 96000, 4038, 4, now(), 7, 'CC0000694', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '여름이벤트'), (236, 2, 12, 18, 1776, '2024-04-08','2024-03-25', 96000, 1642, 7, now(), 6, 'CC0000695', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '미드나잇스페셜'), (323, 1, 24, 5, 9913, '2024-02-01','2023-12-16', 96000, 1703, 16, now(), 4, 'CC0000696', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (350, 1, 35, 25000, 7418, '2024-02-02','2023-11-06', 96000, 2985, 13, now(), 9, 'CC0000697', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (10, 0, 4, 18, 9423, '2024-03-01','2023-12-26', 96000, 821, 3, now(), 2, 'CC0000698', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', 'Springevent'), (157, 2, 41, 16, 8937, '2024-03-25','2024-01-06', 96000, 8709, 2, now(), 10, 'CC0000699', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '특별가족쿠폰'), (294, 0, 47, 10000, 2401, '2024-02-29','2024-01-28', 96000, 661, 2, now(), 1, 'CC0000700', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (328, 1, 90, 25000, 6556, '2024-04-06','2024-03-30', 96000, 4121, 18, now(), 4, 'CC0000701', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '봄이벤트'), (15, 0, 15, 30000, 6580, '2024-02-07','2023-11-07', 96000, 2687, 15, now(), 10, 'CC0000702', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (98, 0, 96, 10000, 6556, '2024-02-11','2024-01-23', 96000, 76, 5, now(), 9, 'CC0000703', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '로맨틱게스트쿠폰'), (74, 1, 100, 7, 5569, '2024-06-05','2024-05-22', 96000, 2818, 18, now(), 3, 'CC0000704', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '힐링휴가쿠폰'), (77, 1, 33, 6, 6855, '2024-02-14','2023-12-29', 96000, 2824, 5, now(), 1, 'CC0000705', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (272, 1, 49, 20000, 6351, '2024-02-19','2024-01-20', 96000, 6111, 4, now(), 9, 'CC0000706', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', 'EVENT'), (116, 0, 34, 20000, 957, '2024-02-27','2023-11-09', 96000, 904, 8, now(), 8, 'CC0000707', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (278, 1, 30, 19, 5366, '2024-02-25','2023-12-01', 96000, 757, 3, now(), 10, 'CC0000708', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (204, 0, 67, 30000, 4519, '2024-02-28','2024-01-01', 96000, 4462, 4, now(), 6, 'CC0000709', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '따뜻한겨울쿠폰'), (176, 0, 126, 30000, 465, '2024-02-27','2023-12-03', 96000, 217, 20, now(), 9, 'CC0000710', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '로맨틱게스트쿠폰'), (262, 0, 44, 16, 5224, '2024-03-06','2024-01-08', 96000, 6, 18, now(), 2, 'CC0000711', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (133, 2, 110, 30000, 1891, '2024-02-12','2023-11-04', 96000, 367, 8, now(), 7, 'CC0000712', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (96, 2, 66, 20000, 3098, '2024-08-26','2024-08-12', 96000, 2219, 20, now(), 6, 'CC0000713', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (123, 2, 20, 10000, 3114, '2024-12-02','2024-11-18', 96000, 1014, 9, now(), 4, 'CC0000714', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', 'DOUBLEJOY23'), (273, 1, 10, 15000, 2935, '2024-02-13','2023-12-06', 96000, 1341, 2, now(), 8, 'CC0000715', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (174, 0, 104, 20000, 5560, '2024-01-30','2024-01-16', 96000, 3138, 8, now(), 9, 'CC0000716', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (67, 0, 122, 20, 2131, '2024-02-17','2023-11-17', 96000, 1114, 11, now(), 10, 'CC0000717', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (47, 1, 99, 12, 5561, '2024-03-30','2023-12-17', 96000, 2368, 14, now(), 2, 'CC0000718', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '특별가족쿠폰'), (274, 0, 65, 15000, 7861, '2024-11-20','2024-11-13', 96000, 6996, 8, now(), 8, 'CC0000719', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '특별가족쿠폰'), (11, 2, 68, 20000, 4381, '2024-03-16','2023-11-20', 96000, 132, 6, now(), 5, 'CC0000720', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '여름신상20000'), (301, 2, 110, 15000, 2557, '2024-08-12','2024-07-29', 96000, 1415, 14, now(), 5, 'CC0000721', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (179, 1, 1, 25000, 7950, '2024-01-31','2024-01-09', 96000, 1207, 18, now(), 6, 'CC0000722', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (201, 0, 66, 15000, 1503, '2024-12-02','2024-11-18', 96000, 310, 15, now(), 7, 'CC0000723', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (118, 1, 21, 15000, 2031, '2024-02-15','2024-01-02', 96000, 463, 10, now(), 10, 'CC0000724', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (139, 0, 100, 20000, 521, '2024-09-01','2024-08-25', 96000, 306, 5, now(), 8, 'CC0000725', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '손님감사쿠폰'), (343, 1, 105, 20000, 6687, '2024-06-13','2024-06-06', 96000, 4288, 3, now(), 9, 'CC0000726', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (25, 1, 56, 15000, 4264, '2024-03-30','2023-11-23', 96000, 2860, 5, now(), 8, 'CC0000727', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (301, 0, 19, 30000, 797, '2024-02-10','2023-12-31', 96000, 492, 18, now(), 5, 'CC0000728', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '미드나잇스페셜'), (290, 1, 25, 30000, 532, '2024-01-29','2023-10-31', 96000, 497, 8, now(), 6, 'CC0000729', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '럭셔리스테이3000'), (71, 1, 64, 15, 5405, '2024-03-19','2023-11-08', 96000, 2538, 14, now(), 1, 'CC0000730', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '소중한여행1000'), (121, 2, 109, 15000, 2443, '2024-02-02','2024-01-19', 96000, 1970, 11, now(), 9, 'CC0000731', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '손님감사쿠폰'), (139, 2, 14, 25000, 486, '2024-01-30','2024-01-13', 96000, 167, 19, now(), 2, 'CC0000732', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '황금연휴10%'), (93, 2, 97, 10000, 2335, '2024-02-21','2023-12-24', 96000, 2101, 14, now(), 4, 'CC0000733', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (231, 2, 86, 20000, 2997, '2024-02-09','2024-01-26', 96000, 1887, 16, now(), 1, 'CC0000734', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (222, 1, 49, 20000, 2301, '2024-02-22','2023-11-24', 96000, 1811, 10, now(), 7, 'CC0000735', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '여름이벤트'), (231, 2, 6, 12, 815, '2024-09-23','2024-09-09', 96000, 671, 17, now(), 1, 'CC0000736', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '특별가족쿠폰'), (258, 0, 124, 10000, 5869, '2024-12-19','2024-12-05', 96000, 1986, 4, now(), 10, 'CC0000737', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (210, 0, 47, 12, 775, '2024-02-24','2023-12-19', 96000, 369, 15, now(), 9, 'CC0000738', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (161, 1, 107, 10000, 948, '2024-02-20','2023-12-02', 96000, 927, 5, now(), 9, 'CC0000739', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '따스한이벤트'); +insert into coupon(coupon_expiration, coupon_room_type, coupon_use_condition_days, discount_value, download_count, exposure_end_date, exposure_start_date, minimum_reservation_price, use_count, accommodation_id, created_at, member_id, coupon_number, coupon_status, customer_type, discount_type, title) values (240, 1, 21, 10000, 9013, '2024-01-31','2024-01-04', 96000, 1343, 17, now(), 1, 'CC0000740', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '여름신상3000'), (42, 2, 106, 10000, 4343, '2024-02-11','2023-11-12', 96000, 2091, 20, now(), 8, 'CC0000741', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '가을바람할인쿠폰'), (13, 2, 119, 5, 6897, '2024-03-21','2023-12-17', 96000, 3375, 9, now(), 10, 'CC0000742', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '주중스테이쿠폰'), (49, 0, 27, 17, 8022, '2024-04-23','2024-04-09', 96000, 6787, 12, now(), 10, 'CC0000743', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '주중스테이쿠폰'), (190, 0, 65, 15000, 6659, '2024-03-03','2023-12-22', 96000, 476, 7, now(), 3, 'CC0000744', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '프라이빗빌라쿠폰'), (21, 1, 23, 12, 2698, '2024-02-26','2023-12-16', 96000, 2409, 16, now(), 9, 'CC0000745', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '특별감사쿠폰'), (273, 2, 13, 17, 7405, '2024-02-02','2023-11-22', 96000, 322, 13, now(), 10, 'CC0000746', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (236, 1, 121, 20000, 8220, '2024-01-19','2024-01-05', 96000, 1103, 6, now(), 6, 'CC0000747', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', 'ECOCHIC23'), (313, 0, 75, 7, 4677, '2024-01-29','2023-12-15', 96000, 2140, 8, now(), 10, 'CC0000748', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (242, 1, 114, 30000, 8324, '2024-03-06','2023-12-18', 96000, 7673, 3, now(), 5, 'CC0000749', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (92, 2, 54, 20000, 9622, '2024-09-21','2024-08-22', 96000, 2564, 15, now(), 3, 'CC0000750', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (130, 1, 25, 20, 256, '2024-03-01','2024-02-23', 96000, 43, 18, now(), 10, 'CC0000751', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (35, 1, 115, 20, 7321, '2024-02-09','2024-01-21', 96000, 2717, 3, now(), 2, 'CC0000752', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (356, 2, 9, 15, 5173, '2024-02-17','2024-01-31', 96000, 4903, 16, now(), 7, 'CC0000753', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '첫방문고객스페셜'), (339, 2, 76, 10, 752, '2024-03-08','2024-01-15', 96000, 526, 16, now(), 1, 'CC0000754', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '2024특별이벤트'), (131, 0, 57, 12, 7714, '2024-01-31','2023-12-27', 96000, 3501, 5, now(), 4, 'CC0000755', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (348, 2, 4, 15000, 7168, '2024-02-07','2023-12-14', 96000, 3068, 13, now(), 5, 'CC0000756', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '휴가떠나자10%'), (178, 2, 3, 11, 1452, '2024-08-17','2024-08-03', 96000, 1302, 19, now(), 2, 'CC0000757', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (102, 0, 74, 10000, 6529, '2024-03-15','2023-11-07', 96000, 6125, 17, now(), 8, 'CC0000758', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (114, 1, 49, 9, 3383, '2024-02-15','2024-01-20', 96000, 3246, 16, now(), 2, 'CC0000759', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '오션뷰쿠폰'), (88, 2, 22, 30000, 9646, '2024-02-17','2024-01-18', 96000, 7743, 11, now(), 6, 'CC0000760', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '로맨틱게스트쿠폰'), (305, 1, 10, 20000, 7957, '2024-08-19','2024-08-05', 96000, 1511, 11, now(), 8, 'CC0000761', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '업그레이드무료'), (54, 2, 60, 10, 2166, '2025-01-08','2024-12-09', 96000, 245, 9, now(), 3, 'CC0000762', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (206, 2, 58, 7, 1070, '2024-02-05','2024-01-13', 96000, 595, 12, now(), 3, 'CC0000763', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (51, 1, 16, 25000, 715, '2024-02-07','2023-11-26', 96000, 615, 9, now(), 3, 'CC0000764', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '신나는이벤트쿠폰'), (325, 0, 33, 16, 6043, '2024-03-08','2023-11-15', 96000, 1453, 7, now(), 10, 'CC0000765', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (351, 2, 31, 14, 4519, '2024-02-15','2023-11-16', 96000, 2258, 4, now(), 10, 'CC0000766', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '럭셔리스테이20000'), (214, 0, 6, 20000, 5029, '2024-02-01','2023-11-02', 96000, 4500, 17, now(), 8, 'CC0000767', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '소중한여행30%'), (75, 0, 2, 15, 8316, '2024-02-26','2023-12-06', 96000, 5678, 18, now(), 1, 'CC0000768', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '장기투숙10%'), (133, 0, 20, 30000, 1926, '2024-02-25','2023-11-06', 96000, 503, 14, now(), 4, 'CC0000769', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '별이빛나는밤30%'), (171, 1, 50, 15000, 3976, '2024-02-18','2024-01-09', 96000, 2554, 14, now(), 3, 'CC0000770', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '특급이벤트'), (355, 1, 85, 30000, 6341, '2024-02-24','2023-12-21', 96000, 2589, 17, now(), 10, 'CC0000771', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '따스한이벤트'), (299, 0, 14, 14, 7311, '2024-08-27','2024-08-13', 96000, 1731, 17, now(), 2, 'CC0000772', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '고객만족쿠폰'), (310, 0, 56, 7, 7378, '2024-02-21','2024-01-25', 96000, 5705, 13, now(), 7, 'CC0000773', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (25, 0, 25, 18, 5535, '2024-02-04','2023-12-12', 96000, 4652, 16, now(), 6, 'CC0000774', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (133, 0, 90, 25000, 6050, '2024-02-24','2023-12-28', 96000, 1872, 9, now(), 8, 'CC0000775', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '가을바람할인쿠폰'), (249, 0, 120, 15000, 364, '2024-09-07','2024-08-08', 96000, 94, 13, now(), 6, 'CC0000776', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (193, 2, 36, 20000, 7246, '2024-02-02','2023-12-09', 96000, 721, 4, now(), 7, 'CC0000777', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '여름이벤트'), (222, 2, 73, 20, 9659, '2024-02-15','2024-01-13', 96000, 94, 1, now(), 3, 'CC0000778', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (296, 1, 6, 15000, 4861, '2024-02-19','2023-11-20', 96000, 2043, 4, now(), 4, 'CC0000779', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '얼리버드특가'), (25, 0, 73, 7, 9956, '2024-02-16','2023-12-17', 96000, 5887, 15, now(), 8, 'CC0000780', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '힐링휴가쿠폰'), (159, 0, 120, 11, 7840, '2024-02-28','2023-12-14', 96000, 6321, 18, now(), 8, 'CC0000781', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '당일예약15%'), (186, 2, 117, 6, 3578, '2024-03-01','2024-02-16', 96000, 1981, 16, now(), 9, 'CC0000782', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '업그레이드무료'), (267, 2, 25, 8, 7220, '2024-07-18','2024-07-04', 96000, 3069, 5, now(), 4, 'CC0000783', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '고객만족쿠폰'), (113, 0, 81, 25000, 4103, '2024-12-13','2024-11-29', 96000, 3282, 20, now(), 10, 'CC0000784', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (268, 2, 36, 15000, 4415, '2024-12-13','2024-11-29', 96000, 502, 10, now(), 3, 'CC0000785', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '인생여행쿠폰'), (63, 1, 30, 13, 6056, '2024-07-29','2024-07-15', 96000, 3353, 3, now(), 1, 'CC0000786', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (86, 0, 22, 20, 4696, '2024-02-28','2023-11-02', 96000, 3903, 15, now(), 3, 'CC0000787', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (33, 2, 35, 10000, 8017, '2024-03-02','2024-01-29', 96000, 3329, 6, now(), 6, 'CC0000788', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (306, 1, 27, 11, 6812, '2024-01-27','2024-01-13', 96000, 2477, 5, now(), 10, 'CC0000789', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (114, 0, 60, 30000, 5572, '2024-02-02','2024-01-03', 96000, 1657, 15, now(), 4, 'CC0000790', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (199, 0, 75, 25000, 9184, '2024-02-26','2023-11-06', 96000, 8189, 7, now(), 2, 'CC0000791', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (256, 2, 90, 25000, 2034, '2024-03-23','2023-12-06', 96000, 271, 14, now(), 7, 'CC0000792', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (95, 1, 122, 10000, 4720, '2024-10-25','2024-10-11', 96000, 4302, 12, now(), 1, 'CC0000793', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '소중한여행20000'), (288, 1, 79, 10, 1909, '2024-04-01','2024-03-18', 96000, 1678, 10, now(), 3, 'CC0000794', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '별이빛나는밤15%'), (176, 0, 14, 15000, 9853, '2024-03-14','2024-02-29', 96000, 9169, 5, now(), 8, 'CC0000795', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (45, 0, 105, 10000, 8694, '2024-02-15','2023-12-16', 96000, 6493, 19, now(), 5, 'CC0000796', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (100, 1, 123, 14, 6324, '2024-03-21','2023-12-17', 96000, 405, 20, now(), 10, 'CC0000797', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '소중한여행40%'), (217, 2, 125, 25000, 3940, '2024-03-28','2024-01-16', 96000, 315, 11, now(), 3, 'CC0000798', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '산속숙소40%'), (273, 0, 78, 18, 9158, '2024-02-21','2023-11-26', 96000, 3604, 14, now(), 8, 'CC0000799', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '재방문 고객 15% 할인 쿠폰'), (24, 0, 30, 20, 2413, '2024-02-15','2023-11-29', 96000, 1872, 11, now(), 7, 'CC0000800', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '오션뷰쿠폰'), (157, 1, 79, 25000, 8113, '2024-02-09','2023-12-02', 96000, 6415, 18, now(), 1, 'CC0000801', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '로맨틱게스트쿠폰'), (180, 0, 33, 30000, 3933, '2024-02-07','2024-01-27', 96000, 3612, 8, now(), 1, 'CC0000802', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (99, 0, 122, 20000, 9844, '2024-03-06','2023-11-11', 96000, 5184, 15, now(), 3, 'CC0000803', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (305, 1, 20, 9, 5247, '2024-08-19','2024-08-05', 96000, 435, 3, now(), 5, 'CC0000804', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (288, 1, 61, 30000, 8898, '2024-09-16','2024-08-17', 96000, 4320, 9, now(), 10, 'CC0000805', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '2024특별이벤트'), (223, 0, 123, 20000, 8776, '2024-02-04','2023-12-08', 96000, 1854, 4, now(), 5, 'CC0000806', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '재방문고객'), (20, 2, 112, 25000, 7451, '2024-03-16','2023-12-14', 96000, 1333, 3, now(), 3, 'CC0000807', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '수능이벤트'), (292, 0, 51, 6, 5570, '2024-06-29','2024-06-15', 96000, 4482, 5, now(), 6, 'CC0000808', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '미드나잇스페셜'), (53, 0, 90, 15000, 4740, '2024-11-30','2024-11-16', 96000, 3320, 13, now(), 2, 'CC0000809', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '스파플리스30%'), (115, 2, 102, 7, 4689, '2024-02-20','2024-01-24', 96000, 4668, 1, now(), 10, 'CC0000810', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '프라이빗빌라쿠폰'), (261, 1, 36, 15, 9990, '2024-02-09','2024-01-07', 96000, 2862, 8, now(), 7, 'CC0000811', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (258, 2, 86, 9, 2766, '2024-02-02','2023-12-07', 96000, 1740, 6, now(), 1, 'CC0000812', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (123, 2, 112, 10000, 4882, '2024-02-10','2023-11-14', 96000, 4562, 3, now(), 7, 'CC0000813', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (349, 0, 117, 20000, 7880, '2024-02-25','2024-01-29', 96000, 6045, 7, now(), 1, 'CC0000814', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '따뜻한겨울쿠폰'), (112, 1, 13, 5, 9962, '2024-04-04','2024-03-21', 96000, 4855, 10, now(), 1, 'CC0000815', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (315, 0, 79, 30000, 9187, '2024-03-02','2024-01-31', 96000, 1016, 9, now(), 10, 'CC0000816', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (120, 2, 127, 20000, 2113, '2024-12-18','2024-12-04', 96000, 2104, 4, now(), 8, 'CC0000817', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (151, 2, 18, 14, 1536, '2024-07-06','2024-06-22', 96000, 286, 14, now(), 4, 'CC0000818', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (56, 2, 100, 30000, 1048, '2024-06-27','2024-06-13', 96000, 368, 4, now(), 7, 'CC0000819', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (128, 1, 47, 30000, 1529, '2024-02-05','2024-01-29', 96000, 527, 16, now(), 7, 'CC0000820', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '첫방문고객스페셜'), (106, 0, 92, 10000, 4257, '2024-02-26','2023-12-02', 96000, 1440, 20, now(), 1, 'CC0000821', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '손님감사쿠폰'), (59, 1, 35, 20000, 9319, '2024-12-27','2024-11-27', 96000, 7706, 3, now(), 4, 'CC0000822', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '재방문고객'), (15, 2, 80, 14, 3696, '2024-02-17','2024-01-05', 96000, 1177, 4, now(), 3, 'CC0000823', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (236, 2, 9, 10, 5026, '2024-02-04','2023-11-25', 96000, 2808, 14, now(), 5, 'CC0000824', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (241, 1, 17, 15000, 2542, '2024-03-28','2024-03-21', 96000, 2486, 10, now(), 7, 'CC0000825', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '재방문고객'), (118, 1, 19, 25000, 4048, '2024-03-06','2024-01-09', 96000, 3815, 8, now(), 4, 'CC0000826', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', 'Springevent'), (149, 2, 42, 15000, 2616, '2024-02-20','2023-11-19', 96000, 2273, 10, now(), 1, 'CC0000827', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (217, 2, 74, 14, 7896, '2024-08-08','2024-08-01', 96000, 5498, 11, now(), 4, 'CC0000828', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (107, 0, 81, 8, 5936, '2024-08-05','2024-07-20', 96000, 2780, 9, now(), 8, 'CC0000829', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (129, 2, 90, 15000, 1907, '2024-03-26','2023-11-05', 96000, 668, 8, now(), 10, 'CC0000830', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (327, 0, 75, 10000, 6044, '2024-03-07','2024-02-20', 96000, 2147, 15, now(), 3, 'CC0000831', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '특급이벤트'), (196, 1, 53, 25000, 3373, '2024-01-31','2024-01-23', 96000, 728, 11, now(), 4, 'CC0000832', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '봄이벤트'), (248, 0, 64, 17, 5923, '2024-04-25','2024-04-11', 96000, 3082, 6, now(), 1, 'CC0000833', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '따스한이벤트'), (221, 2, 60, 25000, 7162, '2024-02-22','2024-01-10', 96000, 338, 13, now(), 10, 'CC0000834', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '봄이벤트'), (196, 0, 73, 25000, 2507, '2024-02-24','2023-11-07', 96000, 583, 2, now(), 5, 'CC0000835', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '미드나잇스페셜'), (361, 2, 26, 30000, 8105, '2024-02-09','2024-01-22', 96000, 4884, 19, now(), 2, 'CC0000836', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '10% 선착순 쿠폰'), (135, 0, 114, 30000, 7952, '2024-02-20','2023-12-31', 96000, 5902, 14, now(), 9, 'CC0000837', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '빈티지스타일30%'), (326, 1, 110, 12, 4943, '2024-10-11','2024-09-27', 96000, 3610, 17, now(), 1, 'CC0000838', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '시그니처룸10%'), (14, 1, 66, 25000, 9483, '2024-11-29','2024-11-15', 96000, 7747, 11, now(), 8, 'CC0000839', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (315, 2, 2, 10000, 7684, '2024-02-22','2024-01-19', 96000, 35, 11, now(), 2, 'CC0000840', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (330, 1, 43, 18, 2307, '2024-03-09','2024-02-24', 96000, 1656, 5, now(), 4, 'CC0000841', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (203, 2, 83, 15000, 1981, '2024-02-24','2023-12-29', 96000, 1958, 17, now(), 2, 'CC0000842', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (32, 1, 103, 19, 6305, '2024-02-18','2024-01-24', 96000, 5180, 3, now(), 2, 'CC0000843', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '특급이벤트'), (262, 2, 5, 15000, 34, '2024-02-18','2023-12-26', 96000, 17, 14, now(), 6, 'CC0000844', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (103, 0, 66, 10, 9261, '2024-03-18','2023-12-11', 96000, 643, 5, now(), 8, 'CC0000845', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '고객만족쿠폰'), (20, 0, 117, 25000, 2346, '2024-03-02','2023-12-07', 96000, 35, 3, now(), 2, 'CC0000846', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (212, 0, 39, 10000, 5528, '2024-03-05','2024-01-23', 96000, 667, 17, now(), 8, 'CC0000847', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '특별가족쿠폰'), (151, 1, 65, 15, 538, '2024-02-06','2024-01-12', 96000, 68, 14, now(), 7, 'CC0000848', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (322, 2, 62, 10, 323, '2024-05-23','2024-05-09', 96000, 224, 19, now(), 10, 'CC0000849', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '감사쿠폰2000'), (152, 0, 49, 20000, 7720, '2024-03-23','2024-01-19', 96000, 128, 16, now(), 2, 'CC0000850', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (25, 2, 54, 10, 7516, '2024-03-16','2024-01-26', 96000, 2141, 7, now(), 4, 'CC0000851', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (80, 0, 15, 7, 1451, '2024-01-29','2023-11-10', 96000, 1001, 9, now(), 2, 'CC0000852', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '소중한당신쿠폰'), (331, 2, 21, 11, 112, '2024-11-27','2024-11-13', 96000, 55, 3, now(), 4, 'CC0000853', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (256, 2, 108, 12, 2506, '2024-03-04','2024-01-06', 96000, 1458, 15, now(), 7, 'CC0000854', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '바다향쿠폰'), (341, 2, 38, 20000, 8014, '2024-03-20','2024-01-16', 96000, 2579, 14, now(), 8, 'CC0000855', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '인생여행쿠폰'), (294, 2, 54, 17, 9595, '2024-03-22','2024-01-04', 96000, 5412, 17, now(), 3, 'CC0000856', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (17, 1, 106, 7, 280, '2024-07-03','2024-06-03', 96000, 275, 18, now(), 2, 'CC0000857', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (107, 1, 100, 12, 5029, '2024-05-17','2024-05-01', 96000, 917, 8, now(), 9, 'CC0000858', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (276, 2, 77, 15000, 7639, '2024-02-18','2023-12-15', 96000, 7536, 10, now(), 3, 'CC0000859', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '당일예약2000원'), (58, 1, 33, 19, 6962, '2024-02-22','2023-11-21', 96000, 2672, 12, now(), 10, 'CC0000860', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (20, 0, 94, 10000, 5372, '2024-02-19','2024-01-27', 96000, 2758, 19, now(), 4, 'CC0000861', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (207, 1, 120, 11, 5774, '2024-02-04','2023-11-30', 96000, 5609, 15, now(), 2, 'CC0000862', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '오션뷰쿠폰'), (164, 1, 30, 10000, 4866, '2024-02-16','2023-11-08', 96000, 4050, 17, now(), 7, 'CC0000863', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (274, 1, 5, 10, 8582, '2024-02-08','2023-12-08', 96000, 5823, 8, now(), 6, 'CC0000864', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (284, 1, 111, 30000, 4292, '2024-02-06','2024-01-18', 96000, 955, 2, now(), 10, 'CC0000865', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '2024특별이벤트'), (330, 2, 60, 10, 3813, '2024-07-09','2024-07-02', 96000, 180, 4, now(), 4, 'CC0000866', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (242, 0, 96, 25000, 2136, '2024-02-17','2023-12-02', 96000, 908, 15, now(), 10, 'CC0000867', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '특급스윗룸15%'), (170, 1, 114, 8, 9091, '2024-01-29','2024-01-05', 96000, 924, 16, now(), 3, 'CC0000868', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '황금연휴2000원'), (247, 0, 38, 11, 7722, '2024-02-18','2024-01-10', 96000, 3708, 11, now(), 3, 'CC0000869', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (224, 2, 27, 17, 8115, '2024-02-27','2023-11-16', 96000, 3895, 10, now(), 10, 'CC0000870', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (131, 0, 102, 30000, 897, '2024-03-25','2024-01-16', 96000, 831, 15, now(), 4, 'CC0000871', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (216, 2, 79, 9, 7999, '2024-02-19','2023-12-29', 96000, 3400, 2, now(), 4, 'CC0000872', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (187, 2, 9, 10, 8995, '2024-12-03','2024-11-03', 96000, 3716, 9, now(), 4, 'CC0000873', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (248, 0, 123, 20000, 6172, '2024-02-21','2023-12-10', 96000, 3163, 16, now(), 5, 'CC0000874', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '첫방문고객스페셜'), (47, 0, 86, 14, 4147, '2024-03-29','2023-11-17', 96000, 552, 20, now(), 9, 'CC0000875', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (158, 1, 94, 14, 4681, '2024-03-29','2023-12-07', 96000, 3186, 1, now(), 6, 'CC0000876', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', 'ECOCHIC23'), (358, 2, 52, 15000, 4904, '2024-02-14','2023-11-07', 96000, 3220, 7, now(), 8, 'CC0000877', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '인생여행쿠폰'), (313, 2, 3, 12, 6071, '2024-02-04','2024-01-26', 96000, 3723, 10, now(), 5, 'CC0000878', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '업그레이드무료'), (280, 1, 13, 16, 4597, '2024-02-03','2023-11-22', 96000, 1542, 17, now(), 1, 'CC0000879', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '수능이벤트'), (264, 0, 108, 10000, 6416, '2024-03-06','2024-01-04', 96000, 3812, 5, now(), 8, 'CC0000880', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '특급이벤트'), (11, 1, 59, 20, 1198, '2024-01-30','2023-11-28', 96000, 148, 12, now(), 2, 'CC0000881', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (275, 2, 58, 19, 6015, '2024-02-01','2023-11-28', 96000, 2728, 5, now(), 1, 'CC0000882', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (260, 2, 20, 10, 3172, '2024-02-10','2023-11-17', 96000, 1346, 16, now(), 4, 'CC0000883', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '프리미엄고객전용'), (61, 0, 1, 25000, 9189, '2024-12-27','2024-12-13', 96000, 3741, 14, now(), 9, 'CC0000884', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '따뜻한겨울쿠폰'), (167, 0, 124, 25000, 8250, '2024-03-15','2023-12-23', 96000, 7034, 18, now(), 2, 'CC0000885', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (34, 0, 123, 7, 9405, '2024-02-03','2024-01-11', 96000, 5275, 18, now(), 8, 'CC0000886', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '소중한당신쿠폰'), (181, 0, 77, 25000, 1288, '2024-06-09','2024-05-26', 96000, 414, 11, now(), 4, 'CC0000887', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (41, 0, 38, 10000, 8523, '2024-07-13','2024-06-29', 96000, 5062, 18, now(), 4, 'CC0000888', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '신나는이벤트쿠폰'), (270, 0, 3, 20000, 8860, '2024-02-06','2023-11-19', 96000, 7201, 2, now(), 2, 'CC0000889', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '프라이빗빌라쿠폰'), (66, 2, 26, 15, 4698, '2024-02-26','2023-11-22', 96000, 2285, 20, now(), 1, 'CC0000890', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '특급이벤트'), (166, 0, 66, 6, 6640, '2024-02-10','2023-12-10', 96000, 3334, 9, now(), 5, 'CC0000891', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (361, 1, 118, 20000, 194, '2024-02-16','2023-11-17', 96000, 24, 19, now(), 1, 'CC0000892', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (235, 1, 38, 25000, 9373, '2024-09-16','2024-08-17', 96000, 5001, 14, now(), 10, 'CC0000893', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '특별가족쿠폰'), (210, 1, 11, 20000, 6656, '2024-02-19','2023-11-26', 96000, 1871, 3, now(), 4, 'CC0000894', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (23, 1, 55, 12, 1813, '2024-02-21','2023-12-03', 96000, 1768, 13, now(), 4, 'CC0000895', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '특급이벤트'), (169, 1, 63, 20, 8363, '2024-07-16','2024-07-09', 96000, 1476, 20, now(), 5, 'CC0000896', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '여름이벤트'), (339, 2, 7, 10000, 1400, '2024-02-06','2024-01-30', 96000, 273, 4, now(), 4, 'CC0000897', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (61, 2, 56, 25000, 6887, '2024-02-25','2023-12-10', 96000, 5052, 3, now(), 5, 'CC0000898', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '모든 고객 2000원 할인 쿠폰'), (21, 2, 4, 19, 1729, '2024-10-01','2024-09-17', 96000, 1642, 15, now(), 10, 'CC0000899', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '즉시할인쿠폰30%'), (245, 2, 71, 15000, 716, '2024-12-21','2024-12-07', 96000, 28, 9, now(), 10, 'CC0000900', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '재방문 고객 3000 할인 쿠폰'), (343, 0, 82, 9, 5346, '2024-06-27','2024-06-13', 96000, 2733, 1, now(), 3, 'CC0000901', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (166, 0, 67, 30000, 864, '2024-02-08','2023-12-16', 96000, 702, 13, now(), 10, 'CC0000902', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (173, 0, 122, 9, 3493, '2024-02-20','2023-12-10', 96000, 2360, 9, now(), 2, 'CC0000903', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '인생여행쿠폰'), (122, 0, 47, 16, 5411, '2024-02-06','2023-12-06', 96000, 3957, 16, now(), 2, 'CC0000904', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (141, 0, 101, 9, 9717, '2024-10-12','2024-09-28', 96000, 349, 17, now(), 8, 'CC0000905', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '특별감사쿠폰'), (79, 1, 93, 25000, 8060, '2024-02-19','2023-12-09', 96000, 3953, 19, now(), 5, 'CC0000906', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '재방문고객'), (27, 1, 76, 13, 5024, '2024-02-20','2024-02-13', 96000, 4132, 14, now(), 7, 'CC0000907', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '업그레이드무료'), (36, 1, 117, 16, 6055, '2024-02-13','2023-11-02', 96000, 2795, 19, now(), 2, 'CC0000908', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (10, 2, 84, 15000, 9037, '2024-03-06','2023-12-10', 96000, 7878, 17, now(), 10, 'CC0000909', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '힐링쿠폰3000원'), (318, 0, 51, 15000, 9151, '2024-02-04','2023-12-11', 96000, 3646, 5, now(), 6, 'CC0000910', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '즉시할인쿠폰30%'), (181, 2, 114, 18, 1290, '2024-06-25','2024-06-11', 96000, 420, 1, now(), 4, 'CC0000911', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '친구모임10%'), (291, 0, 29, 15000, 5578, '2024-02-21','2023-11-15', 96000, 4555, 12, now(), 7, 'CC0000912', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (188, 2, 100, 10000, 6004, '2024-03-24','2024-03-10', 96000, 17, 16, now(), 9, 'CC0000913', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '인생여행쿠폰'), (200, 1, 101, 15000, 9414, '2024-08-01','2024-07-18', 96000, 2689, 8, now(), 9, 'CC0000914', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '여름이벤트'), (256, 2, 45, 25000, 9842, '2024-03-04','2024-01-29', 96000, 8019, 2, now(), 8, 'CC0000915', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '힐링휴가쿠폰'), (88, 1, 30, 10000, 2220, '2024-06-12','2024-05-29', 96000, 14, 11, now(), 6, 'CC0000916', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '가을바람할인쿠폰'), (284, 1, 98, 30000, 9151, '2024-02-26','2023-11-06', 96000, 3719, 7, now(), 7, 'CC0000917', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (101, 2, 35, 15, 8312, '2024-01-30','2024-01-16', 96000, 139, 1, now(), 1, 'CC0000918', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (85, 0, 107, 20, 7280, '2024-02-27','2024-01-09', 96000, 1369, 3, now(), 1, 'CC0000919', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (226, 1, 2, 30000, 9018, '2024-02-13','2023-11-08', 96000, 783, 8, now(), 6, 'CC0000920', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '따뜻한겨울쿠폰'), (343, 2, 30, 25000, 3872, '2024-02-17','2023-11-06', 96000, 720, 8, now(), 6, 'CC0000921', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '스페셜이벤트쿠폰'), (362, 0, 93, 9, 5932, '2024-03-26','2024-01-03', 96000, 5364, 1, now(), 8, 'CC0000922', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (163, 2, 53, 7, 947, '2024-02-29','2024-02-14', 96000, 843, 6, now(), 10, 'CC0000923', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '프리미엄고객전용'), (220, 0, 105, 17, 4622, '2024-03-18','2023-11-26', 96000, 1080, 18, now(), 5, 'CC0000924', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '5000원 선착순 쿠폰'), (137, 1, 99, 25000, 8676, '2024-01-30','2023-11-28', 96000, 8196, 3, now(), 7, 'CC0000925', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (149, 1, 66, 15000, 8314, '2024-02-09','2024-01-05', 96000, 6392, 15, now(), 10, 'CC0000926', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (197, 0, 102, 15, 4992, '2024-02-27','2024-01-06', 96000, 3625, 8, now(), 3, 'CC0000927', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (65, 0, 114, 25000, 6715, '2024-02-21','2023-11-10', 96000, 2883, 11, now(), 3, 'CC0000928', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (290, 1, 29, 20000, 6084, '2024-06-27','2024-06-13', 96000, 629, 1, now(), 1, 'CC0000929', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '따뜻한겨울쿠폰'), (183, 0, 97, 25000, 3538, '2024-02-01','2023-11-15', 96000, 628, 17, now(), 3, 'CC0000930', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (279, 1, 29, 15, 454, '2024-02-23','2023-11-27', 96000, 390, 7, now(), 9, 'CC0000931', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (354, 1, 117, 15000, 2831, '2024-03-01','2023-12-31', 96000, 2144, 5, now(), 5, 'CC0000932', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '럭셔리스테이2000'), (66, 2, 83, 10, 9964, '2024-11-13','2024-10-30', 96000, 2065, 8, now(), 8, 'CC0000933', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (332, 1, 41, 25000, 1872, '2024-03-17','2024-01-11', 96000, 534, 5, now(), 7, 'CC0000934', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (245, 2, 97, 30000, 590, '2024-06-06','2024-05-23', 96000, 359, 5, now(), 6, 'CC0000935', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (101, 2, 80, 17, 5536, '2024-12-25','2024-11-30', 96000, 3855, 14, now(), 6, 'CC0000936', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '소중한여행30%'), (101, 1, 25, 14, 9092, '2024-02-10','2023-11-21', 96000, 3024, 13, now(), 2, 'CC0000937', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (244, 2, 59, 20000, 4199, '2024-03-02','2023-12-12', 96000, 3953, 17, now(), 9, 'CC0000938', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (304, 0, 7, 11, 7365, '2024-02-23','2024-01-08', 96000, 2121, 17, now(), 6, 'CC0000939', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '고객만족쿠폰'); +insert into coupon(coupon_expiration, coupon_room_type, coupon_use_condition_days, discount_value, download_count, exposure_end_date, exposure_start_date, minimum_reservation_price, use_count, accommodation_id, created_at, member_id, coupon_number, coupon_status, customer_type, discount_type, title) values (206, 0, 7, 11, 7995, '2024-12-31','2024-12-01', 96000, 2404, 2, now(), 3, 'CC0000940', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (341, 0, 99, 19, 4532, '2024-03-20','2024-01-04', 96000, 2855, 11, now(), 10, 'CC0000941', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (253, 0, 22, 10000, 895, '2024-02-20','2023-12-28', 96000, 301, 14, now(), 5, 'CC0000942', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '별이빛나는밤10%'), (292, 2, 77, 10000, 7994, '2024-03-25','2023-12-30', 96000, 225, 1, now(), 5, 'CC0000943', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (14, 0, 95, 15000, 724, '2024-03-02','2024-02-17', 96000, 112, 1, now(), 2, 'CC0000944', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '신나는이벤트쿠폰'), (158, 0, 82, 13, 6156, '2024-02-28','2023-11-05', 96000, 5504, 7, now(), 6, 'CC0000945', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '고객만족쿠폰'), (97, 1, 63, 30000, 8000, '2024-02-15','2023-11-10', 96000, 3433, 8, now(), 8, 'CC0000946', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (269, 1, 100, 18, 6048, '2024-02-18','2024-01-26', 96000, 5315, 7, now(), 8, 'CC0000947', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (299, 2, 64, 9, 8844, '2024-06-12','2024-05-27', 96000, 2295, 14, now(), 3, 'CC0000948', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', 'DOUBLEJOY23'), (273, 1, 124, 15, 7273, '2024-03-13','2023-12-31', 96000, 2881, 6, now(), 2, 'CC0000949', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '오션뷰쿠폰'), (23, 1, 104, 17, 3554, '2024-02-05','2023-11-12', 96000, 3181, 9, now(), 5, 'CC0000950', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '주중스테이쿠폰'), (222, 2, 6, 8, 6119, '2024-02-16','2024-01-31', 96000, 3469, 19, now(), 3, 'CC0000951', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (363, 2, 15, 15000, 7440, '2024-02-16','2024-01-26', 96000, 3091, 10, now(), 4, 'CC0000952', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '특별감사쿠폰'), (62, 1, 22, 20000, 1528, '2024-12-02','2024-11-18', 96000, 1086, 17, now(), 1, 'CC0000953', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '주중스테이쿠폰'), (126, 1, 112, 15, 4461, '2024-02-04','2023-11-01', 96000, 1370, 5, now(), 5, 'CC0000954', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (232, 0, 22, 20000, 4099, '2024-09-12','2024-08-29', 96000, 1271, 5, now(), 1, 'CC0000955', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '인생여행쿠폰'), (179, 0, 103, 10000, 9471, '2024-03-11','2024-01-01', 96000, 4979, 7, now(), 7, 'CC0000956', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (12, 1, 41, 15000, 8137, '2024-02-04','2024-01-11', 96000, 460, 3, now(), 4, 'CC0000957', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '스페셜이벤트쿠폰'), (278, 1, 84, 10, 1331, '2024-03-18','2024-02-17', 96000, 228, 10, now(), 2, 'CC0000958', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '가을바람할인쿠폰'), (16, 2, 115, 8, 8823, '2024-09-05','2024-08-06', 96000, 5474, 7, now(), 8, 'CC0000959', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (190, 0, 2, 20, 6948, '2024-11-27','2024-11-20', 96000, 6268, 2, now(), 6, 'CC0000960', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (234, 0, 63, 9, 6944, '2024-03-28','2024-03-13', 96000, 4494, 14, now(), 5, 'CC0000961', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '오션뷰쿠폰'), (192, 0, 17, 15000, 1697, '2024-02-22','2023-11-27', 96000, 955, 6, now(), 5, 'CC0000962', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '가족여행쿠폰50000'), (28, 2, 124, 25000, 3867, '2024-01-26','2024-01-12', 96000, 3271, 5, now(), 5, 'CC0000963', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '신나는이벤트쿠폰'), (204, 2, 104, 30000, 3425, '2024-03-21','2024-03-07', 96000, 1741, 6, now(), 9, 'CC0000964', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (32, 2, 46, 14, 9750, '2024-02-12','2023-11-24', 96000, 6243, 16, now(), 1, 'CC0000965', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '힐링휴가쿠폰'), (135, 0, 127, 10, 2941, '2024-08-15','2024-08-01', 96000, 1708, 1, now(), 7, 'CC0000966', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '봄이벤트'), (293, 2, 40, 10000, 8248, '2024-05-25','2024-05-11', 96000, 2036, 11, now(), 8, 'CC0000967', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (314, 2, 96, 7, 6343, '2024-02-06','2024-01-07', 96000, 6043, 6, now(), 9, 'CC0000968', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (332, 0, 117, 11, 4946, '2024-06-28','2024-06-06', 96000, 97, 12, now(), 5, 'CC0000969', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '프리미엄고객전용'), (251, 2, 11, 13, 984, '2024-12-18','2024-12-04', 96000, 27, 12, now(), 10, 'CC0000970', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '로맨틱게스트쿠폰'), (41, 1, 14, 20000, 2274, '2024-02-16','2023-12-17', 96000, 271, 1, now(), 10, 'CC0000971', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (119, 0, 25, 30000, 6959, '2024-02-01','2023-11-02', 96000, 5903, 12, now(), 8, 'CC0000972', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '손님감사쿠폰'), (341, 2, 119, 15000, 1552, '2024-02-23','2024-01-26', 96000, 1386, 1, now(), 10, 'CC0000973', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (74, 2, 109, 15000, 3976, '2024-02-23','2023-12-04', 96000, 3685, 14, now(), 4, 'CC0000974', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (176, 1, 12, 12, 4257, '2024-07-11','2024-06-27', 96000, 743, 15, now(), 9, 'CC0000975', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '로맨틱게스트쿠폰'), (255, 0, 36, 25000, 2362, '2024-03-06','2023-11-11', 96000, 1702, 15, now(), 6, 'CC0000976', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (131, 2, 117, 10000, 6481, '2024-02-07','2023-11-10', 96000, 801, 17, now(), 7, 'CC0000977', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (321, 1, 97, 19, 2406, '2024-02-26','2023-12-27', 96000, 1242, 1, now(), 9, 'CC0000978', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '특별가족쿠폰'), (84, 0, 83, 13, 4100, '2024-12-05','2024-11-05', 96000, 2829, 4, now(), 7, 'CC0000979', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (249, 0, 9, 25000, 1937, '2024-02-10','2023-11-16', 96000, 991, 11, now(), 10, 'CC0000980', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (97, 2, 38, 20000, 5480, '2024-02-21','2023-12-18', 96000, 2040, 15, now(), 9, 'CC0000981', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (66, 1, 75, 15000, 2439, '2024-02-24','2024-01-20', 96000, 1239, 7, now(), 8, 'CC0000982', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '단독이벤트쿠폰25%'), (313, 0, 36, 10000, 8920, '2024-03-09','2024-01-30', 96000, 4253, 5, now(), 7, 'CC0000983', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '가을바람할인쿠폰'), (342, 0, 98, 8, 7830, '2024-02-29','2023-11-04', 96000, 5281, 8, now(), 1, 'CC0000984', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (38, 0, 95, 10000, 8769, '2024-02-06','2024-01-20', 96000, 7362, 8, now(), 6, 'CC0000985', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (164, 0, 8, 15000, 6736, '2024-02-26','2023-12-28', 96000, 1713, 11, now(), 3, 'CC0000986', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (355, 0, 112, 15000, 639, '2024-02-21','2024-01-07', 96000, 99, 16, now(), 1, 'CC0000987', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '손님감사쿠폰'), (126, 0, 97, 11, 9902, '2024-02-17','2023-12-14', 96000, 9699, 9, now(), 10, 'CC0000988', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (201, 2, 35, 14, 1464, '2024-02-22','2023-11-28', 96000, 387, 2, now(), 10, 'CC0000989', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '친구모임3000'), (110, 2, 5, 6, 4893, '2024-10-04','2024-09-20', 96000, 2772, 2, now(), 9, 'CC0000990', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '취향저격3000'), (121, 2, 66, 10000, 2312, '2024-03-21','2023-11-12', 96000, 176, 4, now(), 2, 'CC0000991', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (329, 1, 72, 20000, 4122, '2024-02-04','2024-01-10', 96000, 1212, 11, now(), 7, 'CC0000992', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '손님감사쿠폰'), (274, 1, 97, 30000, 3374, '2024-03-19','2023-11-15', 96000, 531, 20, now(), 1, 'CC0000993', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '손님감사쿠폰'), (178, 2, 93, 25000, 2272, '2024-02-17','2023-12-31', 96000, 521, 18, now(), 6, 'CC0000994', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', 'DOUBLEJOY23'), (342, 1, 22, 5, 4007, '2024-05-06','2024-04-22', 96000, 610, 17, now(), 6, 'CC0000995', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '주중스테이쿠폰'), (201, 2, 40, 20000, 4325, '2024-02-07','2023-12-03', 96000, 66, 16, now(), 9, 'CC0000996', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '밸런타인데이스페셜'), (112, 1, 81, 15000, 4302, '2024-03-09','2024-01-21', 96000, 684, 10, now(), 3, 'CC0000997', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (105, 1, 33, 16, 4420, '2024-03-21','2023-12-18', 96000, 3340, 10, now(), 4, 'CC0000998', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (91, 1, 122, 15000, 612, '2024-01-29','2023-11-22', 96000, 10, 8, now(), 5, 'CC0000999', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (188, 1, 91, 10000, 7532, '2024-02-26','2024-01-09', 96000, 7132, 7, now(), 4, 'CC0001000', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (19, 1, 15, 25000, 3859, '2024-06-11','2024-05-28', 96000, 3162, 11, now(), 2, 'CC0001001', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '얼리버드특가'), (111, 0, 59, 30000, 7203, '2024-02-02','2024-01-20', 96000, 3231, 13, now(), 8, 'CC0001002', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '원데이스테이2000원'), (161, 2, 103, 25000, 7368, '2024-02-03','2023-11-04', 96000, 1434, 1, now(), 6, 'CC0001003', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (219, 1, 39, 16, 1588, '2024-02-07','2023-12-29', 96000, 1458, 11, now(), 5, 'CC0001004', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (178, 2, 25, 15000, 5603, '2024-01-29','2023-11-19', 96000, 5284, 20, now(), 10, 'CC0001005', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (316, 2, 81, 10, 8334, '2024-02-03','2024-01-06', 96000, 2003, 6, now(), 10, 'CC0001006', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '프라이빗빌라쿠폰'), (186, 1, 18, 30000, 6808, '2024-02-24','2023-12-07', 96000, 761, 2, now(), 5, 'CC0001007', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '여름신상30%'), (282, 0, 101, 9, 439, '2024-05-31','2024-05-17', 96000, 217, 19, now(), 4, 'CC0001008', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (342, 0, 2, 20000, 5936, '2024-02-16','2024-01-11', 96000, 4907, 17, now(), 8, 'CC0001009', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '시그니처룸25%'), (123, 1, 116, 30000, 8059, '2024-02-17','2024-01-14', 96000, 45, 12, now(), 9, 'CC0001010', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '로맨틱게스트쿠폰'), (12, 2, 78, 25000, 8424, '2024-02-09','2024-01-26', 96000, 7025, 15, now(), 5, 'CC0001011', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '특별감사쿠폰'), (74, 1, 1, 18, 1283, '2024-10-01','2024-09-17', 96000, 72, 3, now(), 7, 'CC0001012', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (201, 1, 55, 12, 138, '2024-06-03','2024-05-20', 96000, 114, 11, now(), 4, 'CC0001013', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '수능이벤트'), (268, 2, 88, 5, 6004, '2024-02-07','2023-11-07', 96000, 5678, 8, now(), 1, 'CC0001014', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (22, 0, 122, 9, 5634, '2024-02-11','2024-01-03', 96000, 122, 13, now(), 3, 'CC0001015', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (12, 0, 24, 7, 8684, '2024-03-06','2023-12-09', 96000, 3201, 11, now(), 5, 'CC0001016', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (277, 2, 42, 14, 8288, '2024-02-16','2023-11-02', 96000, 738, 16, now(), 2, 'CC0001017', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (276, 0, 91, 15000, 8190, '2024-11-30','2024-10-31', 96000, 5323, 20, now(), 1, 'CC0001018', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (302, 0, 89, 30000, 4700, '2024-02-01','2023-12-26', 96000, 107, 10, now(), 8, 'CC0001019', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (125, 1, 114, 20000, 9067, '2024-01-29','2024-01-04', 96000, 5691, 18, now(), 3, 'CC0001020', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '신나는이벤트쿠폰'), (346, 0, 96, 20, 1640, '2024-01-27','2024-01-20', 96000, 1483, 7, now(), 7, 'CC0001021', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '따스한이벤트'), (365, 2, 3, 7, 6003, '2024-03-06','2023-12-22', 96000, 3379, 14, now(), 4, 'CC0001022', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (202, 0, 4, 20000, 6171, '2024-02-17','2023-11-25', 96000, 5061, 6, now(), 1, 'CC0001023', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', 'DOUBLEJOY23'), (130, 1, 95, 20000, 3678, '2024-11-02','2024-10-03', 96000, 294, 12, now(), 9, 'CC0001024', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (43, 0, 17, 25000, 8079, '2024-09-26','2024-09-04', 96000, 3620, 2, now(), 2, 'CC0001025', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '소중한여행20000'), (302, 0, 120, 17, 9260, '2024-04-20','2024-04-06', 96000, 4244, 17, now(), 9, 'CC0001026', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (63, 0, 116, 25000, 109, '2024-10-18','2024-10-04', 96000, 77, 6, now(), 7, 'CC0001027', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (172, 0, 100, 15000, 9236, '2024-11-15','2024-11-01', 96000, 8695, 1, now(), 7, 'CC0001028', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (305, 0, 49, 30000, 5647, '2024-03-11','2023-11-04', 96000, 1761, 17, now(), 9, 'CC0001029', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (299, 2, 122, 11, 2259, '2024-02-28','2023-12-13', 96000, 385, 13, now(), 6, 'CC0001030', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (20, 1, 12, 25000, 1197, '2024-02-06','2023-12-01', 96000, 387, 17, now(), 4, 'CC0001031', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (175, 1, 126, 10000, 6098, '2024-02-07','2023-11-02', 96000, 5737, 7, now(), 10, 'CC0001032', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (199, 0, 111, 30000, 9501, '2024-02-16','2023-11-26', 96000, 2469, 13, now(), 9, 'CC0001033', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '휴가떠나자30%'), (183, 0, 43, 20000, 5590, '2024-02-03','2024-01-20', 96000, 688, 5, now(), 9, 'CC0001034', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '빈티지스타일15%'), (314, 0, 16, 5, 9113, '2024-02-08','2023-12-02', 96000, 3919, 19, now(), 6, 'CC0001035', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '힐링휴가쿠폰'), (330, 0, 127, 10000, 6352, '2024-02-09','2023-11-03', 96000, 1581, 20, now(), 2, 'CC0001036', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '단독이벤트쿠폰10%'), (136, 1, 104, 10000, 1270, '2024-02-10','2024-01-02', 96000, 536, 13, now(), 1, 'CC0001037', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (168, 0, 118, 10000, 9182, '2024-03-27','2023-12-11', 96000, 593, 7, now(), 10, 'CC0001038', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '따뜻한겨울쿠폰'), (318, 0, 82, 10000, 4626, '2024-03-06','2023-12-01', 96000, 4261, 19, now(), 10, 'CC0001039', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '재방문고객'), (310, 1, 85, 8, 4789, '2024-02-19','2023-11-20', 96000, 1942, 2, now(), 5, 'CC0001040', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', 'EVENT'), (256, 2, 123, 15, 4624, '2024-02-26','2023-12-23', 96000, 2555, 9, now(), 3, 'CC0001041', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '봄이벤트'), (14, 2, 118, 5, 3109, '2024-02-15','2023-11-01', 96000, 1432, 13, now(), 8, 'CC0001042', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (198, 0, 32, 5, 1946, '2024-02-25','2023-11-07', 96000, 611, 15, now(), 4, 'CC0001043', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '힐링휴가쿠폰'), (327, 1, 24, 6, 1240, '2024-02-19','2023-12-12', 96000, 1136, 7, now(), 10, 'CC0001044', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (287, 2, 52, 30000, 7674, '2024-09-25','2024-08-26', 96000, 2825, 1, now(), 1, 'CC0001045', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '신나는이벤트쿠폰'), (330, 2, 65, 12, 8471, '2024-02-10','2024-02-03', 96000, 3643, 9, now(), 7, 'CC0001046', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (134, 0, 62, 30000, 8265, '2024-02-14','2024-01-04', 96000, 2821, 7, now(), 7, 'CC0001047', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '여름신상10%'), (264, 1, 99, 10000, 1227, '2024-08-02','2024-07-19', 96000, 359, 4, now(), 5, 'CC0001048', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '비즈니스트립15%'), (305, 2, 92, 7, 3194, '2024-02-14','2023-11-20', 96000, 735, 10, now(), 10, 'CC0001049', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '하와이안스파2000원'), (208, 1, 80, 8, 3708, '2024-03-16','2024-01-14', 96000, 1265, 4, now(), 10, 'CC0001050', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '장기투숙3000원'), (204, 1, 73, 30000, 9615, '2024-03-23','2023-11-29', 96000, 5376, 17, now(), 9, 'CC0001051', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '프라이빗빌라쿠폰'), (269, 2, 6, 17, 5718, '2024-08-23','2024-08-09', 96000, 2450, 17, now(), 9, 'CC0001052', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '주중스테이쿠폰'), (145, 2, 2, 5, 7331, '2024-03-09','2023-11-27', 96000, 1886, 16, now(), 10, 'CC0001053', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (24, 1, 43, 13, 9602, '2024-02-26','2023-12-09', 96000, 2676, 2, now(), 7, 'CC0001054', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '미드나잇스페셜'), (27, 2, 105, 17, 3946, '2024-02-09','2024-01-26', 96000, 2829, 6, now(), 8, 'CC0001055', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (214, 0, 11, 30000, 8959, '2024-11-27','2024-11-13', 96000, 5826, 17, now(), 8, 'CC0001056', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (91, 0, 70, 20000, 9906, '2024-02-12','2024-01-08', 96000, 3633, 9, now(), 6, 'CC0001057', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '신나는이벤트쿠폰'), (346, 1, 117, 5, 1197, '2024-02-16','2023-11-30', 96000, 915, 20, now(), 1, 'CC0001058', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '업그레이드무료'), (130, 1, 39, 25000, 1516, '2024-02-12','2023-11-25', 96000, 1235, 4, now(), 1, 'CC0001059', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (304, 1, 57, 8, 9257, '2024-09-05','2024-08-22', 96000, 9025, 13, now(), 2, 'CC0001060', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (269, 1, 103, 20000, 1168, '2024-02-13','2024-01-30', 96000, 893, 20, now(), 6, 'CC0001061', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (226, 1, 91, 15000, 5874, '2024-02-17','2023-12-29', 96000, 2842, 15, now(), 9, 'CC0001062', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (168, 2, 3, 20000, 2638, '2024-02-18','2024-01-24', 96000, 2548, 3, now(), 9, 'CC0001063', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '첫방문고객스페셜'), (33, 1, 62, 16, 5663, '2024-02-25','2023-12-06', 96000, 2248, 5, now(), 8, 'CC0001064', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '고객만족쿠폰'), (362, 0, 61, 6, 5095, '2024-03-08','2023-11-05', 96000, 3767, 5, now(), 3, 'CC0001065', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (43, 2, 72, 12, 107, '2024-02-11','2023-11-10', 96000, 39, 2, now(), 7, 'CC0001066', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '프리미엄고객전용'), (209, 1, 29, 9, 9788, '2024-07-06','2024-06-22', 96000, 7362, 7, now(), 1, 'CC0001067', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '특급스윗룸30%'), (266, 2, 62, 20000, 599, '2024-02-05','2023-11-28', 96000, 202, 4, now(), 1, 'CC0001068', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '친구모임1000'), (341, 2, 65, 14, 3891, '2024-03-17','2023-12-14', 96000, 3875, 16, now(), 4, 'CC0001069', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '업그레이드무료'), (270, 0, 35, 12, 436, '2024-07-20','2024-07-06', 96000, 416, 11, now(), 6, 'CC0001070', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '인생여행쿠폰'), (214, 0, 58, 6, 4849, '2024-11-05','2024-10-22', 96000, 615, 15, now(), 3, 'CC0001071', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (155, 1, 112, 20000, 852, '2024-02-23','2024-01-19', 96000, 333, 4, now(), 5, 'CC0001072', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '모던디자인15%'), (12, 1, 28, 8, 2151, '2024-02-27','2023-12-21', 96000, 1173, 10, now(), 5, 'CC0001073', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '특급하우스2000원'), (297, 2, 76, 9, 2838, '2024-02-09','2024-01-27', 96000, 703, 7, now(), 1, 'CC0001074', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (10, 1, 103, 20000, 7835, '2024-03-07','2024-01-12', 96000, 1968, 14, now(), 5, 'CC0001075', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '손님감사쿠폰'), (110, 1, 110, 25000, 774, '2024-12-12','2024-11-28', 96000, 498, 2, now(), 4, 'CC0001076', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '바다향쿠폰'), (319, 1, 110, 25000, 3586, '2024-02-03','2023-12-06', 96000, 691, 17, now(), 10, 'CC0001077', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '가을바람할인쿠폰'), (288, 2, 40, 15000, 2251, '2024-02-03','2023-12-21', 96000, 1964, 20, now(), 7, 'CC0001078', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (277, 0, 43, 12, 6479, '2024-02-07','2023-11-22', 96000, 135, 11, now(), 1, 'CC0001079', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '여름이벤트'), (296, 2, 79, 20000, 5681, '2024-04-29','2024-04-15', 96000, 728, 13, now(), 7, 'CC0001080', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (87, 1, 13, 13, 1365, '2024-02-12','2023-11-05', 96000, 494, 12, now(), 3, 'CC0001081', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '바캉스특가쿠폰'), (349, 2, 114, 15000, 3807, '2024-02-06','2023-11-11', 96000, 128, 8, now(), 2, 'CC0001082', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '여름이벤트'), (148, 0, 120, 16, 9249, '2024-06-09','2024-05-10', 96000, 4990, 8, now(), 1, 'CC0001083', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (265, 1, 99, 13, 1684, '2024-02-22','2023-11-30', 96000, 619, 9, now(), 5, 'CC0001084', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (200, 2, 74, 19, 4264, '2024-03-07','2023-12-11', 96000, 4185, 3, now(), 2, 'CC0001085', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '첫방문고객스페셜'), (238, 1, 111, 25000, 1618, '2024-07-15','2024-07-01', 96000, 1336, 8, now(), 3, 'CC0001086', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '오션뷰쿠폰'), (204, 2, 40, 15000, 5857, '2024-03-17','2024-01-22', 96000, 1933, 17, now(), 6, 'CC0001087', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '가족여행쿠폰10%'), (171, 0, 21, 25000, 2388, '2024-08-15','2024-08-01', 96000, 65, 7, now(), 2, 'CC0001088', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (167, 2, 114, 15000, 5427, '2024-03-07','2023-11-11', 96000, 2473, 11, now(), 5, 'CC0001089', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '특별가족쿠폰'), (79, 0, 11, 20000, 7167, '2024-03-13','2023-11-13', 96000, 5317, 1, now(), 2, 'CC0001090', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (170, 0, 91, 25000, 9277, '2024-03-27','2023-11-26', 96000, 1830, 4, now(), 9, 'CC0001091', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (43, 0, 20, 15000, 9825, '2024-02-12','2023-11-12', 96000, 1174, 18, now(), 4, 'CC0001092', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (11, 2, 117, 14, 7612, '2024-02-16','2023-11-26', 96000, 3591, 8, now(), 1, 'CC0001093', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '특급이벤트'), (289, 2, 103, 20000, 6044, '2024-05-06','2024-04-29', 96000, 5238, 15, now(), 3, 'CC0001094', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (218, 1, 118, 20000, 5204, '2024-03-27','2023-12-18', 96000, 133, 10, now(), 3, 'CC0001095', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '신나는이벤트쿠폰'), (48, 0, 121, 10, 3893, '2024-05-04','2024-04-27', 96000, 3397, 12, now(), 4, 'CC0001096', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '수능이벤트'), (135, 0, 120, 19, 5060, '2024-02-06','2024-01-30', 96000, 3305, 18, now(), 9, 'CC0001097', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (287, 2, 96, 12, 5046, '2024-02-06','2023-11-27', 96000, 1236, 8, now(), 6, 'CC0001098', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '첫방문고객스페셜'), (320, 2, 102, 14, 6543, '2024-02-13','2024-01-30', 96000, 2843, 20, now(), 2, 'CC0001099', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '스파플리스25%'), (171, 0, 105, 20000, 2457, '2024-07-11','2024-06-27', 96000, 1231, 13, now(), 10, 'CC0001100', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '따뜻한겨울쿠폰'), (233, 1, 52, 11, 4057, '2025-01-01','2024-12-18', 96000, 2918, 4, now(), 10, 'CC0001101', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '로맨틱게스트쿠폰'), (260, 1, 81, 15000, 8363, '2024-03-28','2024-01-08', 96000, 1421, 6, now(), 4, 'CC0001102', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (325, 1, 104, 10000, 9337, '2024-02-12','2023-11-18', 96000, 7321, 20, now(), 9, 'CC0001103', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '휴가떠나자3000'), (125, 2, 102, 20, 8812, '2024-03-04','2023-12-09', 96000, 931, 8, now(), 9, 'CC0001104', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '봄봄할인'), (159, 2, 94, 19, 8522, '2024-02-25','2023-11-29', 96000, 2960, 5, now(), 5, 'CC0001105', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '가족여행쿠폰5000'), (48, 1, 57, 16, 951, '2024-02-25','2023-12-17', 96000, 532, 3, now(), 5, 'CC0001106', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '하와이안스파3000원'), (18, 0, 9, 7, 2965, '2024-02-12','2023-11-29', 96000, 2752, 11, now(), 8, 'CC0001107', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (294, 1, 91, 10000, 4730, '2024-02-27','2023-11-01', 96000, 2400, 15, now(), 8, 'CC0001108', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '원데이스테이3000원'), (186, 2, 80, 30000, 369, '2024-02-03','2024-01-19', 96000, 148, 12, now(), 4, 'CC0001109', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '스페셜이벤트쿠폰'), (223, 0, 93, 7, 1859, '2024-02-05','2023-11-08', 96000, 1747, 3, now(), 7, 'CC0001110', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (279, 1, 69, 20000, 3521, '2024-02-28','2024-01-18', 96000, 1108, 10, now(), 9, 'CC0001111', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '밸런타인데이스페셜'), (298, 2, 115, 6, 4310, '2024-03-08','2023-11-05', 96000, 1865, 2, now(), 7, 'CC0001112', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '첫방문고객스페셜'), (332, 1, 14, 20000, 3789, '2024-02-10','2024-01-04', 96000, 729, 7, now(), 1, 'CC0001113', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (20, 0, 70, 12, 8199, '2024-04-25','2024-04-11', 96000, 4025, 10, now(), 2, 'CC0001114', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '바캉스특가쿠폰'), (215, 1, 48, 10000, 6748, '2024-05-08','2024-04-24', 96000, 5545, 14, now(), 7, 'CC0001115', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '첫방문고객스페셜'), (181, 1, 51, 11, 8122, '2024-03-17','2023-12-01', 96000, 6116, 3, now(), 3, 'CC0001116', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (101, 1, 92, 6, 1646, '2024-02-11','2023-11-08', 96000, 683, 4, now(), 10, 'CC0001117', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (140, 2, 106, 10000, 4588, '2024-02-26','2023-11-13', 96000, 167, 15, now(), 9, 'CC0001118', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (185, 1, 120, 10000, 5709, '2024-06-12','2024-06-05', 96000, 309, 6, now(), 10, 'CC0001119', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (204, 2, 82, 10000, 8656, '2024-02-15','2023-11-22', 96000, 4151, 13, now(), 2, 'CC0001120', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '오션뷰쿠폰'), (70, 1, 90, 9, 6440, '2024-02-21','2023-12-04', 96000, 5331, 4, now(), 1, 'CC0001121', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (54, 0, 64, 14, 2019, '2024-05-27','2024-05-13', 96000, 1567, 14, now(), 1, 'CC0001122', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '바캉스특가쿠폰'), (164, 1, 36, 17, 5021, '2024-10-27','2024-10-13', 96000, 1557, 12, now(), 6, 'CC0001123', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '바캉스특가쿠폰'), (283, 1, 90, 14, 7234, '2024-07-25','2024-07-11', 96000, 4555, 14, now(), 9, 'CC0001124', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '재방문고객'), (310, 0, 37, 6, 2403, '2024-02-11','2023-11-15', 96000, 2224, 19, now(), 1, 'CC0001125', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '바캉스특가쿠폰'), (104, 0, 36, 15000, 4536, '2024-02-28','2024-01-10', 96000, 3155, 1, now(), 4, 'CC0001126', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '특급하우스25%'), (151, 0, 85, 14, 2827, '2024-02-23','2023-12-12', 96000, 844, 15, now(), 3, 'CC0001127', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '프라이빗빌라쿠폰'), (210, 1, 61, 9, 5275, '2024-03-20','2024-02-19', 96000, 979, 15, now(), 2, 'CC0001128', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '가을바람할인쿠폰'), (337, 2, 41, 10000, 5795, '2024-03-18','2024-02-17', 96000, 4769, 13, now(), 7, 'CC0001129', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (159, 0, 39, 30000, 1467, '2024-09-17','2024-09-10', 96000, 515, 12, now(), 9, 'CC0001130', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (192, 1, 20, 30000, 4576, '2024-02-02','2024-01-20', 96000, 2104, 11, now(), 7, 'CC0001131', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (240, 1, 29, 30000, 899, '2024-08-14','2024-07-31', 96000, 757, 5, now(), 2, 'CC0001132', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '힐링쿠폰20000'), (255, 2, 67, 30000, 5561, '2024-09-20','2024-09-06', 96000, 2500, 3, now(), 10, 'CC0001133', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '미드나잇스페셜'), (319, 2, 62, 10000, 2719, '2024-02-09','2024-01-09', 96000, 909, 9, now(), 8, 'CC0001134', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '비즈니스트립15%'), (318, 2, 43, 9, 1078, '2024-02-18','2023-11-01', 96000, 432, 15, now(), 4, 'CC0001135', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (217, 1, 21, 15000, 8432, '2024-09-16','2024-09-02', 96000, 4938, 3, now(), 9, 'CC0001136', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (74, 1, 18, 12, 2322, '2024-11-16','2024-11-02', 96000, 669, 11, now(), 3, 'CC0001137', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (102, 2, 81, 8, 6930, '2024-02-13','2023-11-19', 96000, 4384, 19, now(), 3, 'CC0001138', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '가을바람할인쿠폰'); +insert into coupon(coupon_expiration, coupon_room_type, coupon_use_condition_days, discount_value, download_count, exposure_end_date, exposure_start_date, minimum_reservation_price, use_count, accommodation_id, created_at, member_id, coupon_number, coupon_status, customer_type, discount_type, title) values (140, 0, 121, 9, 4239, '2024-02-06','2023-12-18', 96000, 2584, 3, now(), 10, 'CC0001139', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (51, 2, 121, 11, 6817, '2024-05-20','2024-05-06', 96000, 5397, 3, now(), 4, 'CC0001140', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (172, 0, 33, 10000, 3049, '2024-02-09','2024-01-04', 96000, 2417, 4, now(), 7, 'CC0001141', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '특별가족쿠폰'), (49, 1, 77, 17, 5040, '2024-02-11','2023-12-16', 96000, 898, 15, now(), 7, 'CC0001142', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (199, 0, 63, 30000, 2669, '2024-02-26','2023-11-01', 96000, 2225, 5, now(), 4, 'CC0001143', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '오션뷰쿠폰'), (318, 0, 126, 14, 5966, '2024-03-08','2024-01-21', 96000, 5093, 13, now(), 8, 'CC0001144', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (33, 1, 118, 16, 6093, '2024-02-25','2023-12-03', 96000, 4445, 7, now(), 8, 'CC0001145', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (127, 1, 110, 10000, 185, '2024-02-04','2023-11-15', 96000, 66, 7, now(), 4, 'CC0001146', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '첫방문고객스페셜'), (257, 1, 120, 12, 2831, '2024-02-16','2023-12-29', 96000, 2827, 16, now(), 4, 'CC0001147', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (202, 1, 99, 9, 1812, '2024-02-28','2024-01-29', 96000, 1393, 18, now(), 9, 'CC0001148', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (164, 0, 118, 10000, 4089, '2024-03-15','2023-11-30', 96000, 725, 13, now(), 7, 'CC0001149', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '스페셜이벤트쿠폰'), (214, 1, 111, 11, 7041, '2024-02-12','2024-01-06', 96000, 5631, 18, now(), 4, 'CC0001150', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (272, 2, 25, 15000, 6071, '2024-02-22','2023-11-21', 96000, 3446, 15, now(), 6, 'CC0001151', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '모든 고객 3000 할인 쿠폰'), (12, 1, 67, 20000, 7570, '2024-07-10','2024-06-26', 96000, 2659, 13, now(), 2, 'CC0001152', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '주중스테이쿠폰'), (243, 0, 33, 30000, 8502, '2024-02-26','2024-01-08', 96000, 3998, 12, now(), 3, 'CC0001153', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (17, 1, 97, 15, 2668, '2024-03-26','2023-11-21', 96000, 699, 5, now(), 4, 'CC0001154', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '신나는불금30%'), (62, 2, 96, 19, 4252, '2024-03-20','2024-01-11', 96000, 1520, 13, now(), 6, 'CC0001155', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (304, 0, 6, 25000, 7870, '2024-02-26','2024-01-02', 96000, 22, 18, now(), 1, 'CC0001156', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '오션뷰쿠폰'), (27, 2, 93, 19, 4839, '2024-03-19','2024-03-05', 96000, 4824, 13, now(), 2, 'CC0001157', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '소중한당신쿠폰'), (121, 1, 58, 25000, 3364, '2024-02-09','2024-01-08', 96000, 1366, 14, now(), 6, 'CC0001158', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (312, 2, 30, 10000, 6541, '2024-12-22','2024-12-08', 96000, 3371, 9, now(), 4, 'CC0001159', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '프라이빗빌라쿠폰'), (185, 0, 119, 15, 5423, '2024-02-13','2023-11-29', 96000, 2346, 1, now(), 8, 'CC0001160', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '2024특별이벤트'), (211, 2, 15, 20000, 9604, '2024-08-30','2024-08-16', 96000, 2728, 8, now(), 2, 'CC0001161', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (239, 0, 82, 15000, 8687, '2024-02-22','2024-01-11', 96000, 8338, 5, now(), 4, 'CC0001162', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '손님감사쿠폰'), (34, 1, 115, 25000, 7669, '2024-05-30','2024-05-23', 96000, 7309, 8, now(), 3, 'CC0001163', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (172, 0, 122, 20000, 4137, '2024-02-03','2023-12-20', 96000, 1841, 9, now(), 8, 'CC0001164', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '인생여행쿠폰'), (73, 2, 64, 16, 6006, '2024-02-01','2024-01-11', 96000, 5590, 12, now(), 1, 'CC0001165', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '오션뷰쿠폰'), (320, 1, 98, 18, 1810, '2024-02-23','2023-11-18', 96000, 199, 10, now(), 3, 'CC0001166', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '특별감사쿠폰'), (56, 2, 68, 18, 2837, '2024-03-22','2024-01-05', 96000, 237, 18, now(), 2, 'CC0001167', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (112, 0, 56, 20000, 2199, '2024-02-01','2023-11-15', 96000, 918, 6, now(), 10, 'CC0001168', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '원데이스테이1000원'), (11, 0, 67, 5, 8877, '2024-07-08','2024-06-24', 96000, 4060, 14, now(), 3, 'CC0001169', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (70, 0, 78, 10000, 8206, '2024-02-16','2024-01-15', 96000, 5736, 3, now(), 10, 'CC0001170', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (18, 1, 120, 30000, 5382, '2024-02-23','2023-12-06', 96000, 2715, 18, now(), 10, 'CC0001171', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (249, 1, 28, 8, 5538, '2024-02-06','2023-11-03', 96000, 3977, 8, now(), 1, 'CC0001172', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '고객만족쿠폰'), (89, 0, 46, 15, 7413, '2024-04-12','2024-03-13', 96000, 4468, 2, now(), 7, 'CC0001173', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (107, 2, 120, 25000, 7551, '2024-03-12','2024-01-18', 96000, 5654, 6, now(), 5, 'CC0001174', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '여름이벤트'), (87, 0, 36, 20000, 115, '2024-04-09','2024-03-22', 96000, 41, 20, now(), 5, 'CC0001175', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '첫방문고객 2000 할인 쿠폰'), (282, 2, 17, 15000, 3144, '2024-08-20','2024-07-12', 96000, 1688, 10, now(), 10, 'CC0001176', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '오션뷰쿠폰'), (148, 1, 98, 18, 5295, '2024-03-12','2024-01-03', 96000, 1251, 5, now(), 7, 'CC0001177', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '얼리버드특가'), (199, 0, 71, 30000, 8308, '2024-03-24','2024-03-10', 96000, 954, 9, now(), 7, 'CC0001178', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '인생여행쿠폰'), (105, 0, 124, 12, 9728, '2024-03-12','2024-01-26', 96000, 5693, 6, now(), 4, 'CC0001179', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '하와이안스파20000'), (137, 1, 97, 19, 8823, '2024-03-13','2023-12-06', 96000, 3000, 6, now(), 8, 'CC0001180', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (51, 2, 29, 25000, 2750, '2024-02-17','2023-11-25', 96000, 1627, 19, now(), 7, 'CC0001181', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (63, 2, 43, 30000, 6615, '2024-02-22','2024-01-29', 96000, 938, 20, now(), 2, 'CC0001182', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '특급하우스25%'), (161, 0, 74, 20000, 228, '2024-02-27','2023-11-03', 96000, 186, 18, now(), 7, 'CC0001183', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (261, 2, 88, 25000, 7022, '2024-02-24','2023-12-12', 96000, 6034, 10, now(), 10, 'CC0001184', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (314, 1, 43, 20000, 9890, '2024-11-18','2024-11-04', 96000, 6011, 5, now(), 6, 'CC0001185', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (240, 1, 119, 8, 8517, '2024-02-17','2024-01-21', 96000, 8124, 8, now(), 3, 'CC0001186', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (200, 0, 124, 12, 806, '2024-10-01','2024-09-17', 96000, 594, 9, now(), 6, 'CC0001187', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (138, 0, 97, 7, 1957, '2024-06-30','2024-06-16', 96000, 740, 14, now(), 8, 'CC0001188', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', 'ECOCHIC23'), (262, 0, 1, 6, 4895, '2024-02-27','2023-12-31', 96000, 443, 4, now(), 4, 'CC0001189', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (119, 2, 70, 7, 798, '2024-03-09','2023-12-16', 96000, 735, 16, now(), 3, 'CC0001190', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (152, 2, 77, 14, 7951, '2024-03-08','2023-11-15', 96000, 795, 7, now(), 5, 'CC0001191', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (95, 2, 54, 20000, 7547, '2024-09-07','2024-08-24', 96000, 5224, 14, now(), 6, 'CC0001192', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (84, 1, 50, 20, 1019, '2024-03-16','2024-01-10', 96000, 661, 7, now(), 10, 'CC0001193', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '바캉스특가쿠폰'), (249, 1, 17, 17, 1201, '2024-02-16','2024-01-16', 96000, 307, 15, now(), 3, 'CC0001194', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (270, 1, 127, 20000, 4719, '2024-09-09','2024-08-26', 96000, 4350, 2, now(), 10, 'CC0001195', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '산속숙소15%'), (134, 0, 114, 12, 3797, '2024-02-19','2023-12-16', 96000, 3414, 8, now(), 2, 'CC0001196', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '가족여행쿠폰20000'), (89, 2, 46, 17, 5534, '2024-02-27','2023-11-22', 96000, 5485, 7, now(), 5, 'CC0001197', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '소중한당신쿠폰'), (130, 0, 44, 5, 8625, '2024-01-26','2024-01-12', 96000, 2829, 12, now(), 9, 'CC0001198', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (321, 2, 22, 25000, 8539, '2024-02-22','2023-11-13', 96000, 6179, 4, now(), 7, 'CC0001199', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', 'ECOCHIC23'), (334, 1, 2, 15, 2631, '2024-02-16','2023-12-30', 96000, 1396, 13, now(), 1, 'CC0001200', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '첫방문고객스페셜'), (54, 2, 31, 30000, 1715, '2025-01-01','2024-12-18', 96000, 297, 4, now(), 8, 'CC0001201', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', 'EVENT'), (85, 0, 76, 15000, 7153, '2024-02-22','2023-12-21', 96000, 4372, 3, now(), 5, 'CC0001202', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '업그레이드무료'), (186, 2, 102, 19, 1315, '2024-02-23','2024-01-22', 96000, 726, 20, now(), 4, 'CC0001203', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (166, 0, 20, 10, 5475, '2024-03-28','2023-12-06', 96000, 1467, 9, now(), 1, 'CC0001204', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '당일예약20000'), (276, 0, 94, 20, 4740, '2024-03-10','2023-12-20', 96000, 350, 19, now(), 9, 'CC0001205', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (65, 0, 113, 20000, 7514, '2024-02-10','2023-11-25', 96000, 1681, 15, now(), 7, 'CC0001206', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '밸런타인데이스페셜'), (192, 0, 27, 8, 8872, '2024-07-23','2024-07-09', 96000, 5796, 13, now(), 3, 'CC0001207', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '고객만족쿠폰'), (100, 2, 82, 16, 4641, '2024-01-31','2023-11-24', 96000, 1878, 15, now(), 5, 'CC0001208', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (255, 2, 8, 11, 6645, '2024-05-17','2024-05-03', 96000, 5308, 12, now(), 9, 'CC0001209', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (157, 2, 79, 10, 6436, '2024-02-15','2023-11-20', 96000, 3221, 13, now(), 6, 'CC0001210', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (242, 1, 121, 10, 8871, '2024-02-22','2024-01-28', 96000, 1909, 3, now(), 9, 'CC0001211', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (64, 1, 23, 25000, 8114, '2024-12-01','2024-11-24', 96000, 3558, 17, now(), 7, 'CC0001212', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (329, 2, 45, 14, 540, '2024-02-24','2023-11-23', 96000, 253, 18, now(), 4, 'CC0001213', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '산속숙소20000'), (186, 2, 22, 7, 1360, '2024-02-13','2023-11-26', 96000, 192, 12, now(), 2, 'CC0001214', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '모던디자인 40%'), (51, 2, 100, 10000, 1912, '2024-06-27','2024-06-13', 96000, 347, 16, now(), 5, 'CC0001215', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (218, 0, 94, 12, 8658, '2024-02-23','2024-02-16', 96000, 1857, 8, now(), 5, 'CC0001216', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', 'ECOCHIC23'), (222, 2, 63, 10000, 6945, '2024-03-15','2023-11-11', 96000, 1292, 11, now(), 10, 'CC0001217', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '단독이벤트쿠폰2000'), (101, 0, 60, 30000, 2480, '2024-02-02','2024-01-04', 96000, 495, 8, now(), 10, 'CC0001218', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (27, 2, 1, 19, 3931, '2024-03-22','2024-01-01', 96000, 2141, 17, now(), 9, 'CC0001219', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '따스한이벤트'), (178, 0, 68, 25000, 7243, '2024-09-03','2024-08-04', 96000, 5959, 11, now(), 8, 'CC0001220', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (65, 2, 61, 10000, 853, '2024-01-29','2023-12-19', 96000, 476, 2, now(), 6, 'CC0001221', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (294, 0, 74, 7, 1956, '2024-03-26','2023-11-21', 96000, 1527, 5, now(), 6, 'CC0001222', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '가족여행쿠폰3000'), (256, 2, 20, 30000, 82, '2024-02-24','2024-01-05', 96000, 29, 1, now(), 1, 'CC0001223', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '업그레이드무료'), (314, 1, 125, 10000, 720, '2024-03-02','2023-12-29', 96000, 85, 11, now(), 8, 'CC0001224', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '시그니처룸20%'), (195, 2, 96, 9, 7131, '2024-02-19','2024-01-05', 96000, 6301, 18, now(), 8, 'CC0001225', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '업그레이드무료'), (146, 2, 123, 25000, 9010, '2024-02-25','2023-11-15', 96000, 2600, 9, now(), 6, 'CC0001226', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '프라이빗빌라쿠폰'), (113, 1, 12, 10000, 2134, '2024-03-11','2024-01-18', 96000, 1576, 20, now(), 6, 'CC0001227', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', 'EVENT'), (36, 0, 77, 10000, 8959, '2024-02-12','2023-11-05', 96000, 6378, 5, now(), 9, 'CC0001228', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '손님감사쿠폰'), (200, 1, 120, 20, 3113, '2024-03-21','2024-01-14', 96000, 1212, 6, now(), 8, 'CC0001229', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (363, 0, 125, 16, 9261, '2024-06-22','2024-06-08', 96000, 7968, 12, now(), 3, 'CC0001230', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '주중스테이쿠폰'), (56, 0, 11, 16, 4781, '2024-12-06','2024-11-06', 96000, 1575, 6, now(), 7, 'CC0001231', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (284, 1, 51, 12, 5432, '2024-02-15','2024-01-16', 96000, 485, 14, now(), 2, 'CC0001232', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (209, 1, 25, 18, 7952, '2024-02-14','2023-11-01', 96000, 5500, 16, now(), 5, 'CC0001233', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '특급스윗룸2000'), (128, 1, 81, 16, 4185, '2024-02-10','2023-12-08', 96000, 35, 20, now(), 6, 'CC0001234', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '특별감사쿠폰'), (135, 0, 45, 15, 2595, '2024-06-13','2024-05-30', 96000, 2372, 1, now(), 9, 'CC0001235', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '하와이안스파30%'), (346, 0, 19, 20000, 969, '2024-01-31','2023-11-30', 96000, 605, 2, now(), 3, 'CC0001236', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '여름신상2000원'), (198, 1, 123, 5, 4507, '2024-02-11','2023-11-18', 96000, 3799, 20, now(), 7, 'CC0001237', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (47, 0, 82, 30000, 8761, '2024-05-23','2024-05-09', 96000, 8410, 2, now(), 7, 'CC0001238', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (187, 2, 89, 10000, 4253, '2024-02-04','2023-11-20', 96000, 777, 8, now(), 6, 'CC0001239', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '힐링휴가쿠폰'), (224, 2, 72, 11, 4223, '2024-03-03','2024-02-18', 96000, 4203, 15, now(), 9, 'CC0001240', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (276, 2, 94, 25000, 4377, '2024-07-01','2024-06-17', 96000, 1342, 18, now(), 6, 'CC0001241', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '업그레이드무료'), (21, 2, 92, 30000, 8172, '2024-09-18','2024-09-04', 96000, 3407, 1, now(), 2, 'CC0001242', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (54, 2, 23, 16, 6882, '2024-02-27','2024-01-14', 96000, 6767, 8, now(), 8, 'CC0001243', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (365, 0, 33, 20000, 4768, '2024-11-03','2024-10-20', 96000, 4669, 8, now(), 4, 'CC0001244', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '주중스테이쿠폰'), (197, 1, 124, 14, 638, '2024-09-16','2024-09-02', 96000, 413, 16, now(), 5, 'CC0001245', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (273, 1, 63, 30000, 4207, '2024-09-26','2024-09-12', 96000, 844, 1, now(), 5, 'CC0001246', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (79, 2, 22, 10000, 9018, '2024-06-17','2024-06-10', 96000, 4580, 4, now(), 1, 'CC0001247', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', 'Springevent'), (110, 0, 41, 10000, 5350, '2024-01-30','2023-11-15', 96000, 480, 12, now(), 7, 'CC0001248', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '따뜻한겨울쿠폰'), (357, 1, 112, 10000, 7320, '2024-02-10','2024-01-17', 96000, 6518, 18, now(), 6, 'CC0001249', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '럭셔리스테이5000'), (312, 1, 102, 10000, 8609, '2024-09-16','2024-09-06', 96000, 6624, 9, now(), 1, 'CC0001250', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '첫방문 고객2000 할인 쿠폰'), (126, 1, 2, 6, 7956, '2024-07-15','2024-07-01', 96000, 604, 17, now(), 10, 'CC0001251', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '취향저격25%'), (164, 2, 44, 8, 2273, '2024-08-23','2024-08-09', 96000, 1036, 6, now(), 6, 'CC0001252', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (58, 0, 1, 11, 7022, '2024-02-01','2023-12-06', 96000, 3309, 15, now(), 9, 'CC0001253', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '당일예약30%'), (290, 0, 113, 25000, 8241, '2024-02-06','2024-01-26', 96000, 983, 13, now(), 9, 'CC0001254', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (193, 2, 9, 11, 5765, '2024-09-12','2024-08-29', 96000, 3550, 13, now(), 2, 'CC0001255', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (283, 2, 9, 20000, 3916, '2024-02-09','2023-12-06', 96000, 607, 14, now(), 8, 'CC0001256', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '힐링휴가쿠폰'), (332, 2, 100, 16, 308, '2024-10-08','2024-09-24', 96000, 73, 3, now(), 10, 'CC0001257', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '인생여행쿠폰'), (233, 1, 21, 11, 989, '2024-02-19','2023-11-04', 96000, 947, 5, now(), 7, 'CC0001258', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '특별가족쿠폰'), (137, 1, 40, 10000, 8079, '2024-05-28','2024-05-14', 96000, 2011, 7, now(), 1, 'CC0001259', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '봄이벤트'), (318, 1, 88, 25000, 8361, '2024-06-21','2024-06-07', 96000, 6076, 14, now(), 6, 'CC0001260', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (58, 0, 54, 20000, 9652, '2024-02-06','2023-11-17', 96000, 9391, 11, now(), 10, 'CC0001261', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (363, 1, 9, 20000, 741, '2024-05-02','2024-04-18', 96000, 522, 2, now(), 3, 'CC0001262', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '따뜻한겨울쿠폰'), (114, 2, 109, 30000, 8013, '2024-07-10','2024-06-26', 96000, 5458, 15, now(), 6, 'CC0001263', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (290, 2, 99, 15000, 5113, '2024-01-26','2024-01-12', 96000, 3679, 19, now(), 1, 'CC0001264', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (245, 1, 24, 10000, 1295, '2024-12-17','2024-12-03', 96000, 1178, 13, now(), 10, 'CC0001265', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '업그레이드무료'), (175, 0, 43, 20000, 5413, '2024-02-04','2024-01-05', 96000, 1910, 3, now(), 4, 'CC0001266', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (19, 1, 14, 20000, 7226, '2024-02-14','2023-11-14', 96000, 6378, 19, now(), 8, 'CC0001267', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (204, 1, 84, 19, 8665, '2024-03-19','2023-12-08', 96000, 6633, 17, now(), 9, 'CC0001268', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (342, 2, 54, 9, 5479, '2024-02-04','2023-11-16', 96000, 5425, 18, now(), 3, 'CC0001269', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '힐링휴가쿠폰'), (70, 0, 72, 16, 8788, '2024-02-07','2023-11-15', 96000, 265, 17, now(), 2, 'CC0001270', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (265, 0, 125, 14, 1868, '2024-02-27','2024-01-27', 96000, 1353, 4, now(), 9, 'CC0001271', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '특별가족쿠폰'), (150, 2, 122, 9, 8338, '2024-02-07','2023-12-23', 96000, 6781, 5, now(), 3, 'CC0001272', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '바캉스특가쿠폰'), (152, 2, 97, 8, 7818, '2025-01-08','2024-12-09', 96000, 313, 13, now(), 3, 'CC0001273', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (73, 0, 27, 11, 7807, '2024-02-21','2023-12-15', 96000, 254, 13, now(), 2, 'CC0001274', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (100, 0, 9, 7, 1466, '2024-02-20','2024-01-02', 96000, 933, 14, now(), 2, 'CC0001275', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '힐링쿠폰30%'), (68, 1, 86, 17, 5074, '2024-02-10','2023-12-22', 96000, 3667, 2, now(), 1, 'CC0001276', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '가족여행쿠폰20000'), (296, 1, 8, 30000, 2988, '2024-02-18','2023-12-02', 96000, 1424, 2, now(), 3, 'CC0001277', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '오션뷰쿠폰'), (88, 0, 107, 19, 6195, '2024-02-18','2023-11-17', 96000, 912, 20, now(), 2, 'CC0001278', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '바다향쿠폰'), (190, 0, 115, 15000, 9106, '2024-02-08','2024-01-25', 96000, 7001, 17, now(), 5, 'CC0001279', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (363, 2, 83, 15000, 2846, '2024-03-29','2023-12-31', 96000, 1972, 7, now(), 2, 'CC0001280', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '신나는이벤트쿠폰'), (22, 0, 102, 15, 5644, '2024-02-02','2023-12-31', 96000, 3215, 4, now(), 4, 'CC0001281', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '특급하우스1000원'), (254, 2, 116, 17, 6720, '2024-02-07','2024-01-24', 96000, 750, 15, now(), 4, 'CC0001282', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (47, 0, 126, 30000, 9071, '2024-03-20','2024-03-06', 96000, 8968, 1, now(), 6, 'CC0001283', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '미드나잇스페셜'), (37, 2, 110, 30000, 9935, '2024-02-28','2024-01-08', 96000, 4457, 12, now(), 8, 'CC0001284', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '따뜻한겨울쿠폰'), (106, 2, 84, 20000, 3394, '2024-08-03','2024-07-20', 96000, 362, 19, now(), 8, 'CC0001285', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '밸런타인데이스페셜'), (108, 1, 47, 15000, 8717, '2024-11-16','2024-11-02', 96000, 6267, 16, now(), 1, 'CC0001286', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '신나는이벤트쿠폰'), (11, 0, 56, 20000, 3110, '2024-12-23','2024-12-09', 96000, 297, 14, now(), 4, 'CC0001287', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (272, 1, 99, 8, 3173, '2024-03-26','2023-12-27', 96000, 1097, 20, now(), 1, 'CC0001288', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '오션뷰쿠폰'), (266, 2, 19, 15000, 5679, '2024-02-03','2023-12-28', 96000, 5588, 6, now(), 1, 'CC0001289', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '밸런타인데이스페셜'), (297, 2, 22, 15000, 6177, '2024-02-28','2023-11-11', 96000, 4835, 18, now(), 7, 'CC0001290', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '재방문고객'), (313, 2, 24, 20000, 8036, '2024-02-11','2024-01-14', 96000, 5175, 19, now(), 1, 'CC0001291', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '미드나잇스페셜'), (336, 0, 72, 10, 8229, '2024-03-13','2023-11-14', 96000, 4876, 10, now(), 10, 'CC0001292', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '고객만족쿠폰'), (143, 2, 39, 30000, 624, '2024-02-17','2023-12-17', 96000, 590, 20, now(), 2, 'CC0001293', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '동반자특가쿠폰'), (203, 1, 105, 10000, 9038, '2024-02-08','2024-01-22', 96000, 2195, 11, now(), 1, 'CC0001294', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '봄이벤트'), (322, 1, 84, 15000, 5248, '2024-02-06','2023-12-21', 96000, 1689, 5, now(), 9, 'CC0001295', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (176, 2, 11, 9, 4739, '2024-01-31','2023-12-31', 96000, 4641, 11, now(), 3, 'CC0001296', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (323, 2, 127, 18, 1859, '2024-06-04','2024-05-21', 96000, 982, 10, now(), 10, 'CC0001297', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', 'EVENT'), (59, 2, 52, 14, 4867, '2024-03-17','2023-11-27', 96000, 850, 1, now(), 3, 'CC0001298', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', 'DOUBLEJOY23'), (316, 0, 70, 20, 1073, '2024-09-22','2024-09-15', 96000, 394, 4, now(), 5, 'CC0001299', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (351, 0, 73, 6, 7070, '2024-06-12','2024-05-27', 96000, 6618, 20, now(), 6, 'CC0001300', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (276, 0, 82, 25000, 2670, '2024-03-21','2024-03-05', 96000, 2296, 18, now(), 9, 'CC0001301', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '스페셜이벤트쿠폰'), (275, 0, 82, 25000, 9809, '2024-02-10','2023-10-31', 96000, 3729, 10, now(), 9, 'CC0001302', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '신혼부부쿠폰15%'), (191, 1, 43, 10000, 6611, '2024-05-06','2024-04-22', 96000, 2276, 14, now(), 8, 'CC0001303', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '즉시할인쿠폰3000'), (221, 2, 40, 12, 1868, '2024-03-30','2023-11-13', 96000, 1395, 13, now(), 7, 'CC0001304', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (325, 0, 24, 25000, 8705, '2024-02-10','2024-01-10', 96000, 4978, 7, now(), 6, 'CC0001305', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '감사쿠폰15%'), (33, 0, 41, 6, 6140, '2024-02-23','2023-12-14', 96000, 64, 10, now(), 4, 'CC0001306', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '황금연휴30%'), (187, 2, 15, 15000, 7354, '2024-05-03','2024-04-19', 96000, 6230, 9, now(), 10, 'CC0001307', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (255, 1, 54, 13, 8184, '2024-02-24','2023-12-10', 96000, 3630, 7, now(), 6, 'CC0001308', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (257, 2, 31, 6, 3516, '2024-03-13','2024-01-30', 96000, 587, 10, now(), 4, 'CC0001309', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (89, 2, 25, 15, 6499, '2024-02-27','2024-01-19', 96000, 5632, 12, now(), 6, 'CC0001310', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '첫방문고객스페셜'), (97, 2, 7, 12, 5204, '2024-02-03','2023-11-30', 96000, 4925, 4, now(), 10, 'CC0001311', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', 'DOUBLEJOY23'), (221, 1, 17, 20, 6575, '2024-03-16','2024-01-27', 96000, 3550, 4, now(), 2, 'CC0001312', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '특별가족쿠폰'), (241, 1, 82, 14, 4851, '2024-02-20','2023-11-14', 96000, 4266, 11, now(), 8, 'CC0001313', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (25, 0, 27, 15000, 6963, '2024-03-22','2023-11-21', 96000, 412, 14, now(), 5, 'CC0001314', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '주중스테이쿠폰'), (153, 0, 81, 15000, 611, '2024-08-06','2024-07-30', 96000, 521, 4, now(), 2, 'CC0001315', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (167, 1, 109, 30000, 9211, '2024-02-03','2023-11-13', 96000, 5213, 10, now(), 4, 'CC0001316', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '여름이벤트'), (266, 2, 98, 20000, 718, '2024-02-09','2023-12-18', 96000, 512, 18, now(), 3, 'CC0001317', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', 'EVENT'), (25, 1, 107, 30000, 9336, '2024-07-16','2024-07-02', 96000, 1185, 1, now(), 3, 'CC0001318', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '여름신상5000'), (43, 2, 56, 10000, 3268, '2024-05-06','2024-04-22', 96000, 547, 5, now(), 2, 'CC0001319', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '빈티지스타일2000'), (14, 2, 52, 30000, 5685, '2024-02-18','2024-02-04', 96000, 4373, 11, now(), 6, 'CC0001320', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '밸런타인데이스페셜'), (272, 1, 43, 11, 9351, '2024-03-04','2023-11-01', 96000, 7282, 2, now(), 10, 'CC0001321', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (255, 0, 54, 12, 1441, '2024-02-27','2023-12-23', 96000, 1388, 2, now(), 5, 'CC0001322', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (276, 1, 108, 15000, 9798, '2024-02-24','2024-01-23', 96000, 7347, 1, now(), 7, 'CC0001323', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (38, 0, 66, 18, 1086, '2024-07-15','2024-07-01', 96000, 222, 14, now(), 3, 'CC0001324', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (72, 2, 5, 30000, 4248, '2024-07-24','2024-07-10', 96000, 344, 14, now(), 1, 'CC0001325', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (274, 2, 4, 17, 6270, '2024-02-16','2023-12-28', 96000, 746, 14, now(), 5, 'CC0001326', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (203, 1, 72, 5, 825, '2024-02-16','2023-11-27', 96000, 215, 8, now(), 4, 'CC0001327', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (63, 1, 14, 13, 4092, '2024-03-14','2024-02-29', 96000, 481, 11, now(), 4, 'CC0001328', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '2024특별이벤트'), (297, 0, 34, 11, 2397, '2024-09-19','2024-09-12', 96000, 1395, 10, now(), 2, 'CC0001329', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (143, 0, 106, 14, 1501, '2024-02-12','2024-01-07', 96000, 569, 3, now(), 10, 'CC0001330', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '손님감사쿠폰'), (152, 0, 25, 13, 5561, '2024-01-23','2024-01-09', 96000, 5035, 20, now(), 4, 'CC0001331', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '가족여행쿠폰2000'), (22, 1, 27, 7, 9581, '2024-02-21','2023-11-16', 96000, 3612, 15, now(), 9, 'CC0001332', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '소중한여행5000'), (364, 2, 88, 20000, 995, '2024-02-15','2023-11-03', 96000, 241, 19, now(), 4, 'CC0001333', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '취향저격1000원'), (190, 2, 38, 12, 8353, '2024-02-03','2023-12-03', 96000, 7475, 9, now(), 3, 'CC0001334', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '특별가족쿠폰'), (217, 0, 118, 7, 3556, '2024-02-10','2023-12-18', 96000, 862, 16, now(), 8, 'CC0001335', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '특별가족쿠폰'), (314, 0, 38, 8, 951, '2024-03-17','2024-03-03', 96000, 118, 12, now(), 6, 'CC0001336', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (168, 1, 41, 13, 284, '2024-08-23','2024-08-09', 96000, 82, 19, now(), 10, 'CC0001337', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (113, 2, 13, 10000, 5120, '2024-07-07','2024-06-23', 96000, 4792, 8, now(), 5, 'CC0001338', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (41, 2, 24, 9, 1051, '2024-02-03','2023-11-14', 96000, 28, 3, now(), 2, 'CC0001339', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '손님감사쿠폰'); +insert into coupon(coupon_expiration, coupon_room_type, coupon_use_condition_days, discount_value, download_count, exposure_end_date, exposure_start_date, minimum_reservation_price, use_count, accommodation_id, created_at, member_id, coupon_number, coupon_status, customer_type, discount_type, title) values (92, 2, 38, 15000, 8325, '2024-03-12','2024-01-31', 96000, 7288, 5, now(), 2, 'CC0001340', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '손님감사쿠폰'), (261, 1, 97, 25000, 5136, '2024-02-17','2024-01-18', 96000, 2802, 4, now(), 5, 'CC0001341', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '스페셜이벤트쿠폰'), (344, 2, 55, 7, 7059, '2024-06-27','2024-06-13', 96000, 6598, 1, now(), 4, 'CC0001342', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (44, 0, 57, 15000, 4882, '2024-02-21','2023-11-18', 96000, 1138, 18, now(), 5, 'CC0001343', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '스페셜이벤트쿠폰'), (15, 2, 55, 20, 6847, '2024-03-09','2024-02-08', 96000, 2616, 19, now(), 8, 'CC0001344', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '도심이벤트쿠폰'), (257, 1, 22, 18, 4802, '2024-02-21','2023-12-21', 96000, 3238, 6, now(), 4, 'CC0001345', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '재방문고객'), (88, 0, 43, 25000, 8651, '2024-07-30','2024-07-23', 96000, 5981, 16, now(), 4, 'CC0001346', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', 'EVENT'), (343, 1, 66, 20, 2129, '2024-03-29','2023-12-11', 96000, 786, 12, now(), 1, 'CC0001347', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '수능이벤트'), (256, 0, 109, 10000, 4881, '2024-03-21','2024-01-26', 96000, 4452, 16, now(), 8, 'CC0001348', 'DELETED', 'FIRST_CLIENT', 'FIXED_PRICE', '모든고객3000원'), (60, 2, 25, 25000, 5417, '2024-03-21','2024-01-01', 96000, 325, 13, now(), 8, 'CC0001349', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (259, 2, 16, 6, 3057, '2024-02-11','2024-01-22', 96000, 1878, 7, now(), 10, 'CC0001350', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (89, 1, 38, 14, 3610, '2024-02-04','2024-01-17', 96000, 2820, 11, now(), 4, 'CC0001351', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (286, 0, 91, 14, 70, '2024-02-26','2023-11-18', 96000, 68, 10, now(), 9, 'CC0001352', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '바다향쿠폰'), (320, 1, 27, 20, 6486, '2024-02-26','2023-12-16', 96000, 1966, 9, now(), 8, 'CC0001353', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '빈티지스타일25%'), (185, 1, 55, 8, 2284, '2024-03-10','2024-02-25', 96000, 938, 1, now(), 4, 'CC0001354', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_RATE', '기념일할인1000'), (26, 0, 88, 15000, 749, '2024-02-05','2024-01-20', 96000, 16, 2, now(), 5, 'CC0001355', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '인생여행쿠폰'), (307, 0, 72, 20, 8534, '2024-02-26','2024-01-21', 96000, 5123, 9, now(), 6, 'CC0001356', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (201, 2, 92, 10000, 2561, '2024-03-25','2023-12-20', 96000, 1209, 19, now(), 10, 'CC0001357', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '주중스테이쿠폰'), (256, 0, 68, 10000, 3847, '2024-12-06','2024-11-22', 96000, 696, 11, now(), 9, 'CC0001358', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '주중스테이쿠폰'), (136, 0, 66, 15, 8495, '2024-02-05','2023-10-31', 96000, 3599, 12, now(), 2, 'CC0001359', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '바캉스특가쿠폰'), (190, 1, 53, 10000, 3679, '2024-02-05','2024-01-23', 96000, 11, 13, now(), 5, 'CC0001360', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (171, 2, 12, 5, 1720, '2024-02-22','2023-12-15', 96000, 1336, 18, now(), 4, 'CC0001361', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (301, 2, 71, 15000, 2617, '2024-12-15','2024-12-01', 96000, 945, 15, now(), 6, 'CC0001362', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (348, 2, 31, 17, 6737, '2024-07-09','2024-06-25', 96000, 683, 2, now(), 1, 'CC0001363', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', 'Springevent'), (286, 1, 81, 15000, 905, '2024-07-04','2024-06-04', 96000, 430, 5, now(), 6, 'CC0001364', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (11, 0, 120, 25000, 8739, '2024-01-22','2024-01-06', 96000, 1025, 15, now(), 8, 'CC0001365', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (213, 0, 34, 13, 7578, '2024-02-22','2023-12-07', 96000, 2113, 11, now(), 2, 'CC0001366', 'DELETED', 'ALL_CLIENT', 'FIXED_RATE', '봄봄할인'), (312, 1, 61, 25000, 5832, '2024-02-17','2024-01-05', 96000, 3618, 19, now(), 3, 'CC0001367', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '미드나잇스페셜'), (30, 2, 20, 19, 7681, '2024-03-01','2023-11-07', 96000, 6435, 19, now(), 4, 'CC0001368', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '로맨틱게스트쿠폰'), (66, 1, 21, 30000, 4418, '2024-02-23','2024-01-11', 96000, 1264, 13, now(), 5, 'CC0001369', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (15, 0, 82, 20000, 2397, '2024-02-22','2023-12-13', 96000, 451, 13, now(), 1, 'CC0001370', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '밸런타인데이스페셜'), (49, 1, 7, 25000, 251, '2024-02-12','2023-12-03', 96000, 170, 19, now(), 6, 'CC0001371', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '기념일할인2000원'), (62, 1, 56, 17, 3613, '2024-11-02','2024-10-19', 96000, 1730, 7, now(), 5, 'CC0001372', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '따뜻한겨울쿠폰'), (193, 2, 102, 20000, 1144, '2024-08-13','2024-07-30', 96000, 946, 2, now(), 6, 'CC0001373', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (263, 1, 3, 20000, 3684, '2024-11-23','2024-11-09', 96000, 170, 6, now(), 1, 'CC0001374', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '손님감사쿠폰'), (235, 2, 67, 19, 8676, '2024-02-09','2023-11-17', 96000, 216, 14, now(), 6, 'CC0001375', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (313, 0, 109, 14, 8702, '2024-11-19','2024-11-05', 96000, 5210, 19, now(), 4, 'CC0001376', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (172, 1, 27, 6, 1801, '2024-02-01','2023-12-30', 96000, 1697, 20, now(), 6, 'CC0001377', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '로맨틱게스트쿠폰'), (295, 0, 35, 10000, 4976, '2024-03-14','2024-01-15', 96000, 1532, 20, now(), 10, 'CC0001378', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '밸런타인데이스페셜'), (293, 2, 107, 30000, 8962, '2024-02-23','2023-12-31', 96000, 6054, 19, now(), 3, 'CC0001379', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '스페셜이벤트쿠폰'), (96, 1, 126, 20000, 1348, '2024-02-20','2023-12-02', 96000, 363, 8, now(), 6, 'CC0001380', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '2024특별이벤트'), (316, 2, 59, 15, 3828, '2024-04-14','2024-03-15', 96000, 3556, 4, now(), 5, 'CC0001381', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (354, 2, 30, 13, 6505, '2024-02-15','2023-11-14', 96000, 4270, 6, now(), 5, 'CC0001382', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (114, 1, 39, 14, 650, '2024-02-06','2023-11-08', 96000, 156, 12, now(), 2, 'CC0001383', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (302, 2, 11, 10000, 8812, '2024-10-15','2024-09-29', 96000, 6623, 14, now(), 10, 'CC0001384', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (62, 0, 5, 15000, 4931, '2024-04-16','2024-04-02', 96000, 1705, 17, now(), 9, 'CC0001385', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '산속숙소25%'), (76, 2, 57, 30000, 9264, '2024-02-06','2024-01-21', 96000, 8788, 5, now(), 4, 'CC0001386', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '장기투숙3000원'), (16, 2, 48, 15000, 1066, '2024-02-17','2024-01-10', 96000, 42, 1, now(), 5, 'CC0001387', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (187, 0, 84, 18, 4126, '2024-02-06','2024-01-13', 96000, 2572, 5, now(), 7, 'CC0001388', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '호캉스특가쿠폰'), (110, 2, 42, 15000, 4148, '2024-12-30','2024-12-16', 96000, 4079, 9, now(), 8, 'CC0001389', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '스페셜이벤트쿠폰'), (311, 1, 2, 20000, 5700, '2024-10-14','2024-09-30', 96000, 5499, 1, now(), 8, 'CC0001390', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '마음을담은선물쿠폰'), (117, 1, 65, 18, 3038, '2024-03-12','2024-02-27', 96000, 71, 14, now(), 2, 'CC0001391', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '일주일휴가쿠폰'), (107, 1, 103, 30000, 6689, '2024-03-03','2023-12-22', 96000, 3509, 14, now(), 2, 'CC0001392', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '수능이벤트'), (290, 1, 66, 10000, 76, '2024-07-31','2024-07-01', 96000, 4, 3, now(), 4, 'CC0001393', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '밸런타인데이스페셜'), (53, 1, 56, 25000, 8569, '2024-11-19','2024-10-20', 96000, 6571, 5, now(), 1, 'CC0001394', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (141, 1, 112, 14, 5384, '2024-03-07','2023-11-08', 96000, 3287, 20, now(), 2, 'CC0001395', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '2000원 선착순 쿠폰'), (228, 0, 83, 15000, 5474, '2024-02-03','2023-12-15', 96000, 117, 17, now(), 3, 'CC0001396', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '따뜻한겨울쿠폰'), (266, 0, 39, 10000, 1166, '2024-11-20','2024-11-06', 96000, 957, 12, now(), 9, 'CC0001397', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '가을바람할인쿠폰'), (332, 2, 55, 25000, 3672, '2024-03-01','2024-01-01', 96000, 622, 8, now(), 5, 'CC0001398', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (186, 1, 75, 19, 6073, '2024-07-26','2024-07-12', 96000, 4563, 4, now(), 8, 'CC0001399', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '소중한당신쿠폰'), (57, 1, 26, 30000, 6407, '2024-02-22','2024-01-04', 96000, 1462, 7, now(), 1, 'CC0001400', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '바캉스특가쿠폰'), (26, 2, 4, 12, 4126, '2024-02-06','2023-11-13', 96000, 3167, 2, now(), 10, 'CC0001401', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (158, 1, 88, 20000, 8331, '2024-06-14','2024-05-31', 96000, 1874, 8, now(), 4, 'CC0001402', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '일주일휴가쿠폰'), (326, 2, 95, 13, 5834, '2024-03-28','2023-11-26', 96000, 308, 2, now(), 1, 'CC0001403', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '바캉스특가쿠폰'), (304, 1, 108, 30000, 6782, '2024-02-20','2023-12-28', 96000, 19, 8, now(), 10, 'CC0001404', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '인생여행쿠폰'), (310, 0, 117, 30000, 663, '2024-03-08','2023-12-11', 96000, 656, 6, now(), 6, 'CC0001405', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '풍경이좋은쿠폰'), (189, 2, 40, 10000, 2017, '2024-02-03','2023-11-27', 96000, 1599, 15, now(), 2, 'CC0001406', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (350, 1, 36, 25000, 5416, '2024-06-13','2024-05-15', 96000, 1569, 19, now(), 10, 'CC0001407', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_PRICE', '봄봄할인'), (90, 2, 10, 15000, 6446, '2024-02-15','2023-11-26', 96000, 3650, 18, now(), 5, 'CC0001408', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '힐링쿠폰10%'), (107, 2, 89, 15000, 2658, '2024-02-07','2023-12-24', 96000, 468, 11, now(), 1, 'CC0001409', 'EXPOSURE_ON', 'RE_CLIENT', 'FIXED_PRICE', '가을바람할인쿠폰'), (69, 1, 39, 10000, 3015, '2024-03-07','2023-12-21', 96000, 1224, 16, now(), 2, 'CC0001410', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (140, 1, 49, 7, 537, '2024-02-05','2023-12-20', 96000, 124, 2, now(), 5, 'CC0001411', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (71, 1, 93, 10000, 9246, '2024-02-03','2023-11-17', 96000, 2614, 2, now(), 3, 'CC0001412', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (125, 1, 78, 25000, 7445, '2024-12-26','2024-12-12', 96000, 4443, 14, now(), 9, 'CC0001413', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_PRICE', '로맨틱게스트쿠폰'), (89, 1, 63, 30000, 1350, '2024-11-22','2024-11-08', 96000, 116, 15, now(), 3, 'CC0001414', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '성수기특가쿠폰'), (318, 0, 32, 25000, 3628, '2024-06-12','2024-05-29', 96000, 183, 7, now(), 2, 'CC0001415', 'EXPOSURE_WAIT', 'ALL_CLIENT', 'FIXED_PRICE', '신상숙소쿠폰'), (181, 0, 95, 5, 1598, '2024-01-29','2023-12-22', 96000, 544, 1, now(), 4, 'CC0001416', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '성수기특가쿠폰'), (335, 2, 104, 19, 8084, '2024-04-08','2024-03-25', 96000, 5227, 18, now(), 5, 'CC0001417', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '동반자특가쿠폰'), (40, 0, 54, 30000, 5738, '2024-02-26','2023-12-30', 96000, 1124, 4, now(), 1, 'CC0001418', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '오션뷰쿠폰'), (256, 0, 73, 13, 2505, '2024-08-31','2024-08-17', 96000, 2110, 19, now(), 1, 'CC0001419', 'DELETED', 'FIRST_CLIENT', 'FIXED_RATE', '힐링휴가쿠폰'), (255, 0, 31, 8, 9422, '2024-03-16','2023-12-07', 96000, 3984, 16, now(), 5, 'CC0001420', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (33, 2, 4, 15000, 9045, '2024-07-21','2024-06-21', 96000, 7056, 3, now(), 4, 'CC0001421', 'EXPOSURE_WAIT', 'RE_CLIENT', 'FIXED_PRICE', '밸런타인데이스페셜'), (225, 2, 15, 10, 3178, '2024-02-07','2024-01-25', 96000, 2535, 13, now(), 6, 'CC0001422', 'DELETED', 'RE_CLIENT', 'FIXED_RATE', '수능이벤트'), (33, 2, 20, 18, 6832, '2024-08-05','2024-07-06', 96000, 3508, 9, now(), 8, 'CC0001423', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '고객만족쿠폰'), (97, 0, 7, 30000, 9823, '2024-02-09','2023-12-28', 96000, 5828, 19, now(), 3, 'CC0001424', 'DELETED', 'RE_CLIENT', 'FIXED_PRICE', '호캉스특가쿠폰'), (191, 0, 32, 15000, 112, '2024-07-13','2024-04-09', 96000, 1, 19, now(), 7, 'CC0001425', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '10% 선착순 쿠폰'), (214, 1, 31, 12, 1541, '2024-05-16','2024-05-01', 96000, 474, 9, now(), 4, 'CC0001426', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '신혼부부쿠폰2000'), (50, 2, 117, 15, 1147, '2024-03-17','2023-12-31', 96000, 547, 6, now(), 6, 'CC0001427', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '업그레이드무료'), (343, 2, 65, 30000, 1836, '2024-03-02','2024-01-31', 96000, 16, 18, now(), 1, 'CC0001428', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_PRICE', '밸런타인데이스페셜'), (104, 1, 58, 15000, 4677, '2024-02-27','2023-11-23', 96000, 1175, 10, now(), 8, 'CC0001429', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_PRICE', '고객만족쿠폰'), (363, 0, 36, 13, 3830, '2024-02-08','2023-12-11', 96000, 3076, 17, now(), 9, 'CC0001430', 'EXPOSURE_END', 'ALL_CLIENT', 'FIXED_RATE', '감사쿠폰1000'), (126, 2, 20, 30000, 1221, '2024-02-03','2023-12-31', 96000, 561, 12, now(), 9, 'CC0001431', 'DELETED', 'ALL_CLIENT', 'FIXED_PRICE', '취향저격2000원'), (51, 0, 113, 25000, 5009, '2024-02-23','2023-12-12', 96000, 3832, 5, now(), 6, 'CC0001432', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '프라이빗빌라쿠폰'), (155, 2, 77, 30000, 6634, '2024-02-12','2023-11-03', 96000, 5417, 7, now(), 10, 'CC0001433', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '도심이벤트쿠폰'), (150, 0, 87, 10, 8652, '2024-02-09','2024-01-22', 96000, 719, 20, now(), 7, 'CC0001434', 'EXPOSURE_ON', 'FIRST_CLIENT', 'FIXED_RATE', '신나는이벤트쿠폰'), (217, 0, 93, 30000, 7453, '2024-08-09','2024-07-26', 96000, 6058, 8, now(), 4, 'CC0001435', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '특급이벤트'), (114, 1, 47, 16, 838, '2024-03-30','2024-03-16', 96000, 247, 1, now(), 3, 'CC0001436', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_RATE', '신상숙소쿠폰'), (217, 1, 106, 15000, 5778, '2024-11-09','2024-10-26', 96000, 2626, 4, now(), 9, 'CC0001437', 'EXPOSURE_END', 'RE_CLIENT', 'FIXED_PRICE', '소중한당신쿠폰'), (232, 2, 112, 10000, 7558, '2024-01-30','2024-01-16', 96000, 1984, 6, now(), 3, 'CC0001438', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_PRICE', '바다향쿠폰'), (217, 1, 113, 10, 4985, '2024-03-27','2024-01-25', 96000, 3948, 2, now(), 3, 'CC0001439', 'EXPOSURE_END', 'FIRST_CLIENT', 'FIXED_RATE', '마음을담은선물쿠폰'), (339, 2, 2, 15, 8900, '2024-03-16','2023-12-02', 96000, 2299, 1, now(), 4, 'CC0001440', 'EXPOSURE_OFF', 'FIRST_CLIENT', 'FIXED_RATE', '스페셜이벤트쿠폰'), (175, 1, 64, 11, 4944, '2024-01-31','2023-11-25', 96000, 2356, 7, now(), 7, 'CC0001441', 'EXPOSURE_ON', 'ALL_CLIENT', 'FIXED_RATE', '봄이벤트'), (95, 1, 76, 12, 4598, '2025-01-29','2024-12-30', 96000, 783, 2, now(), 7, 'CC0001442', 'EXPOSURE_OFF', 'RE_CLIENT', 'FIXED_RATE', '밸런타인데이스페셜'), (189, 0, 37, 15, 3270, '2025-01-01','2024-12-25', 96000, 3267, 9, now(), 5, 'CC0001443', 'EXPOSURE_WAIT', 'FIRST_CLIENT', 'FIXED_RATE', '풍경이좋은쿠폰'), (320, 2, 56, 7, 5357, '2024-03-30','2023-12-01', 96000, 573, 15, now(), 7, 'CC0001444', 'EXPOSURE_OFF', 'ALL_CLIENT', 'FIXED_RATE', '재방문고객'); + + + +--예약(reservaion) 추가 (1008건) +insert into reservation(discount_price, total_price, created_at, end_date, start_date) values (5000, 50000, now(), '2023-03-06 15:00', '2023-03-05 11:00'), (27000, 30000, now(), '2024-08-14 15:00', '2024-08-13 11:00'), (30000, 32000, now(), '2024-11-19 15:00', '2024-11-15 11:00'), (210000, 300000, now(), '2023-03-11 15:00', '2023-03-08 11:00'), (17000, 20000, now(), '2023-09-29 15:00', '2023-09-26 11:00'), (343000, 345000, now(), '2024-06-08 15:00', '2024-06-04 11:00'), (425000, 430000, now(), '2023-04-25 15:00', '2023-04-24 11:00'), (447000, 450000, now(), '2023-11-17 15:00', '2023-11-14 11:00'), (5000, 50000, now(), '2023-03-06 15:00', '2023-03-05 11:00'), (27000, 30000, now(), '2024-08-14 15:00', '2024-08-13 11:00'), (30000, 32000, now(), '2024-11-19 15:00', '2024-11-15 11:00'), (210000, 300000, now(), '2023-03-11 15:00', '2023-03-08 11:00'), (17000, 20000, now(), '2023-09-29 15:00', '2023-09-26 11:00'), (343000, 345000, now(), '2024-06-08 15:00', '2024-06-04 11:00'), (425000, 430000, now(), '2023-04-25 15:00', '2023-04-24 11:00'), (447000, 450000, now(), '2023-11-17 15:00', '2023-11-14 11:00'), (377000, 380000, now(), '2023-03-28 15:00', '2023-03-27 11:00'), (290500, 415000, now(), '2024-05-26 15:00', '2024-05-25 11:00'), (322500, 430000, now(), '2023-03-20 15:00', '2023-03-16 11:00'), (650000, 653000, now(), '2023-01-26 15:00', '2023-01-22 11:00'), (31500, 32500, now(), '2023-11-17 15:00', '2023-11-16 11:00'), (190000, 210000, now(), '2024-01-07 15:00', '2024-01-06 11:00'), (50000, 52000, now(), '2024-09-09 15:00', '2024-09-07 11:00'), (112000, 132000, now(), '2024-12-13 15:00', '2024-12-09 11:00'), (597000, 600000, now(), '2024-02-24 15:00', '2024-02-23 11:00'), (99000, 100000, now(), '2024-05-14 15:00', '2024-05-10 11:00'), (9562500, 11250000, now(), '2024-02-29 15:00', '2024-02-27 11:00'), (413000, 415000, now(), '2024-11-13 15:00', '2024-11-10 11:00'), (89250, 119000, now(), '2023-01-09 15:00', '2023-01-06 11:00'), (104000, 105000, now(), '2024-10-03 15:00', '2024-10-02 11:00'), (59500, 70000, now(), '2024-05-11 15:00', '2024-05-09 11:00'), (117000, 130000, now(), '2024-09-16 15:00', '2024-09-13 11:00'), (105000, 140000, now(), '2023-05-29 15:00', '2023-05-26 11:00'), (67000, 69000, now(), '2023-09-04 15:00', '2023-09-01 11:00'), (128000, 130000, now(), '2024-12-30 15:00', '2024-12-26 11:00'), (167000, 170000, now(), '2024-06-26 15:00', '2024-06-22 11:00'), (78000, 130000, now(), '2024-08-24 15:00', '2024-08-21 11:00'), (138600, 198000, now(), '2023-12-21 15:00', '2023-12-17 11:00'), (148400, 153400, now(), '2024-11-29 15:00', '2024-11-25 11:00'), (208000, 210000, now(), '2023-07-29 15:00', '2023-07-26 11:00'), (84000, 120000, now(), '2024-10-26 15:00', '2024-10-22 11:00'), (91000, 130000, now(), '2024-11-17 15:00', '2024-11-15 11:00'), (153000, 170000, now(), '2024-03-08 15:00', '2024-03-05 11:00'), (180000, 200000, now(), '2024-11-04 15:00', '2024-11-02 11:00'), (89000, 90000, now(), '2024-12-19 15:00', '2024-12-18 11:00'), (209300, 299000, now(), '2024-02-06 15:00', '2024-02-04 11:00'), (110500, 130000, now(), '2023-04-08 15:00', '2023-04-05 11:00'), (77000, 80000, now(), '2023-05-26 15:00', '2023-05-22 11:00'), (114000, 119000, now(), '2024-07-09 15:00', '2024-07-06 11:00'), (94500, 105000, now(), '2024-12-30 15:00', '2024-12-26 11:00'), (48750, 65000, now(), '2023-04-06 15:00', '2023-04-04 11:00'), (10000, 30000, now(), '2024-03-21 15:00', '2024-03-19 11:00'), (162000, 180000, now(), '2024-08-04 15:00', '2024-08-01 11:00'), (147000, 149000, now(), '2024-05-21 15:00', '2024-05-20 11:00'), (116000, 119000, now(), '2024-12-15 15:00', '2024-12-14 11:00'), (131000, 132000, now(), '2024-06-13 15:00', '2024-06-10 11:00'), (112000, 115000, now(), '2023-04-21 15:00', '2023-04-19 11:00'), (268000, 270000, now(), '2024-10-09 15:00', '2024-10-05 11:00'), (224000, 320000, now(), '2024-12-06 15:00', '2024-12-02 11:00'), (66000, 110000, now(), '2023-10-01 15:00', '2023-09-27 11:00'), (217000, 220000, now(), '2024-01-14 15:00', '2024-01-13 11:00'), (175000, 180000, now(), '2023-10-11 15:00', '2023-10-10 11:00'), (375000, 500000, now(), '2024-03-23 15:00', '2024-03-20 11:00'), (59800, 61800, now(), '2023-09-17 15:00', '2023-09-13 11:00'), (72100, 103000, now(), '2024-09-08 15:00', '2024-09-04 11:00'), (195000, 197000, now(), '2024-07-21 15:00', '2024-07-20 11:00'), (152000, 172000, now(), '2024-09-29 15:00', '2024-09-25 11:00'), (240000, 260000, now(), '2024-03-01 15:00', '2024-02-26 11:00'), (280000, 400000, now(), '2024-02-24 15:00', '2024-02-22 11:00'), (58000, 60000, now(), '2024-12-06 15:00', '2024-12-05 11:00'), (204000, 240000, now(), '2024-04-08 15:00', '2024-04-04 11:00'), (330000, 550000, now(), '2023-06-15 15:00', '2023-06-12 11:00'), (84000, 120000, now(), '2023-12-06 15:00', '2023-12-03 11:00'), (210000, 300000, now(), '2023-06-23 15:00', '2023-06-19 11:00'), (69000, 70000, now(), '2023-10-23 15:00', '2023-10-21 11:00'), (59000, 60000, now(), '2023-12-21 15:00', '2023-12-20 11:00'), (61600, 88000, now(), '2023-03-12 15:00', '2023-03-09 11:00'), (54000, 72000, now(), '2023-11-12 15:00', '2023-11-11 11:00'), (348000, 353000, now(), '2024-03-01 15:00', '2024-02-27 11:00'), (97200, 108000, now(), '2024-02-12 15:00', '2024-02-09 11:00'), (43400, 62000, now(), '2024-07-04 15:00', '2024-07-01 11:00'), (37500, 50000, now(), '2023-03-16 15:00', '2023-03-12 11:00'), (95000, 100000, now(), '2024-02-27 15:00', '2024-02-24 11:00'), (110000, 130000, now(), '2024-12-20 15:00', '2024-12-16 11:00'), (35000, 50000, now(), '2023-03-29 15:00', '2023-03-26 11:00'), (29000, 30000, now(), '2024-05-29 15:00', '2024-05-28 11:00'), (35000, 40000, now(), '2023-06-16 15:00', '2023-06-12 11:00'), (34000, 40000, now(), '2024-08-19 15:00', '2024-08-18 11:00'), (518000, 520000, now(), '2023-11-05 15:00', '2023-11-02 11:00'), (35000, 50000, now(), '2024-01-16 15:00', '2024-01-13 11:00'), (85000, 100000, now(), '2023-09-06 15:00', '2023-09-04 11:00'), (10800, 18000, now(), '2023-06-18 15:00', '2023-06-17 11:00'), (19000, 20000, now(), '2024-11-26 15:00', '2024-11-25 11:00'), (51800, 74000, now(), '2024-06-15 15:00', '2024-06-12 11:00'), (83000, 86000, now(), '2024-12-05 15:00', '2024-12-02 11:00'), (27200, 32000, now(), '2024-07-23 15:00', '2024-07-20 11:00'), (161500, 190000, now(), '2024-09-10 15:00', '2024-09-09 11:00'), (60000, 63000, now(), '2024-07-18 15:00', '2024-07-15 11:00'), (46200, 66000, now(), '2023-08-27 15:00', '2023-08-26 11:00'), (122400, 144000, now(), '2023-11-27 15:00', '2023-11-26 11:00'), (52500, 75000, now(), '2023-02-04 15:00', '2023-02-01 11:00'); +insert into reservation(discount_price, total_price, created_at, end_date, start_date) values (72250, 85000, now(), '2023-12-24 15:00', '2023-12-23 11:00'), (31000, 32000, now(), '2023-05-21 15:00', '2023-05-19 11:00'), (61000, 64000, now(), '2023-12-07 15:00', '2023-12-04 11:00'), (61000, 81000, now(), '2023-11-09 15:00', '2023-11-07 11:00'), (29750, 35000, now(), '2024-11-20 15:00', '2024-11-17 11:00'), (119000, 170000, now(), '2023-07-25 15:00', '2023-07-22 11:00'), (69300, 77000, now(), '2023-05-02 15:00', '2023-04-28 11:00'), (37000, 42000, now(), '2023-06-24 15:00', '2023-06-20 11:00'), (26250, 35000, now(), '2023-05-25 15:00', '2023-05-23 11:00'), (39000, 40000, now(), '2024-02-10 15:00', '2024-02-07 11:00'), (25000, 45000, now(), '2023-02-10 15:00', '2023-02-09 11:00'), (68000, 70000, now(), '2023-08-11 15:00', '2023-08-07 11:00'), (48000, 80000, now(), '2024-02-09 15:00', '2024-02-05 11:00'), (75000, 100000, now(), '2024-10-24 15:00', '2024-10-22 11:00'), (52700, 62000, now(), '2023-04-08 15:00', '2023-04-06 11:00'), (54000, 59000, now(), '2024-02-08 15:00', '2024-02-04 11:00'), (18900, 27000, now(), '2023-02-04 15:00', '2023-02-03 11:00'), (79000, 80000, now(), '2023-12-16 15:00', '2023-12-14 11:00'), (57000, 60000, now(), '2024-11-23 15:00', '2024-11-22 11:00'), (18200, 26000, now(), '2023-05-17 15:00', '2023-05-13 11:00'), (33000, 55000, now(), '2024-06-16 15:00', '2024-06-13 11:00'), (10000, 30000, now(), '2024-04-25 15:00', '2024-04-21 11:00'), (49000, 50000, now(), '2024-08-28 15:00', '2024-08-26 11:00'), (90000, 100000, now(), '2024-03-15 15:00', '2024-03-14 11:00'), (20000, 40000, now(), '2024-03-17 15:00', '2024-03-16 11:00'), (35000, 50000, now(), '2023-02-03 15:00', '2023-02-02 11:00'), (28000, 30000, now(), '2023-02-22 15:00', '2023-02-20 11:00'), (37000, 40000, now(), '2024-05-13 15:00', '2024-05-12 11:00'), (28000, 40000, now(), '2024-10-04 15:00', '2024-10-03 11:00'), (30000, 50000, now(), '2023-10-23 15:00', '2023-10-20 11:00'), (48000, 50000, now(), '2024-08-24 15:00', '2024-08-22 11:00'), (90000, 100000, now(), '2024-06-26 15:00', '2024-06-25 11:00'), (15000, 18000, now(), '2024-10-17 15:00', '2024-10-16 11:00'), (18000, 20000, now(), '2024-04-21 15:00', '2024-04-19 11:00'), (72000, 74000, now(), '2024-02-16 15:00', '2024-02-14 11:00'), (81000, 86000, now(), '2024-04-23 15:00', '2024-04-22 11:00'), (22400, 32000, now(), '2024-06-26 15:00', '2024-06-25 11:00'), (189000, 190000, now(), '2024-06-21 15:00', '2024-06-17 11:00'), (60000, 63000, now(), '2024-11-27 15:00', '2024-11-23 11:00'), (49500, 66000, now(), '2024-02-20 15:00', '2024-02-17 11:00'), (142000, 144000, now(), '2024-08-16 15:00', '2024-08-12 11:00'), (67500, 75000, now(), '2024-07-10 15:00', '2024-07-06 11:00'), (72250, 85000, now(), '2024-02-07 15:00', '2024-02-04 11:00'), (29000, 32000, now(), '2024-08-26 15:00', '2024-08-25 11:00'), (62000, 64000, now(), '2023-03-14 15:00', '2023-03-10 11:00'), (78000, 81000, now(), '2023-06-29 15:00', '2023-06-27 11:00'), (31500, 35000, now(), '2023-04-09 15:00', '2023-04-08 11:00'), (153000, 170000, now(), '2024-07-22 15:00', '2024-07-19 11:00'), (75000, 77000, now(), '2023-01-09 15:00', '2023-01-05 11:00'), (35700, 42000, now(), '2024-10-05 15:00', '2024-10-01 11:00'), (32000, 35000, now(), '2023-06-29 15:00', '2023-06-25 11:00'), (38000, 40000, now(), '2024-11-25 15:00', '2024-11-24 11:00'), (25000, 45000, now(), '2023-10-01 15:00', '2023-09-28 11:00'), (42000, 70000, now(), '2023-11-22 15:00', '2023-11-20 11:00'), (48000, 80000, now(), '2024-04-09 15:00', '2024-04-08 11:00'), (97000, 100000, now(), '2024-09-27 15:00', '2024-09-23 11:00'), (61000, 62000, now(), '2023-04-05 15:00', '2023-04-03 11:00'), (39000, 59000, now(), '2023-12-04 15:00', '2023-12-02 11:00'), (16200, 27000, now(), '2023-01-28 15:00', '2023-01-26 11:00'), (72000, 80000, now(), '2023-04-29 15:00', '2023-04-27 11:00'), (58000, 60000, now(), '2023-01-12 15:00', '2023-01-09 11:00'), (23000, 26000, now(), '2024-03-11 15:00', '2024-03-07 11:00'), (35000, 55000, now(), '2023-01-23 15:00', '2023-01-22 11:00'), (10000, 30000, now(), '2024-08-24 15:00', '2024-08-22 11:00'), (52500, 75000, now(), '2024-11-30 15:00', '2024-11-26 11:00'), (61000, 62000, now(), '2024-11-28 15:00', '2024-11-25 11:00'), (36000, 60000, now(), '2024-07-01 15:00', '2024-06-28 11:00'), (45050, 53000, now(), '2024-08-27 15:00', '2024-08-23 11:00'), (37800, 42000, now(), '2024-12-29 15:00', '2024-12-25 11:00'), (165000, 220000, now(), '2023-01-10 15:00', '2023-01-09 11:00'), (21000, 30000, now(), '2024-07-04 15:00', '2024-07-01 11:00'), (36000, 40000, now(), '2024-12-21 15:00', '2024-12-20 11:00'), (40000, 60000, now(), '2024-07-29 15:00', '2024-07-26 11:00'), (61600, 88000, now(), '2023-12-14 15:00', '2023-12-10 11:00'), (79000, 99000, now(), '2023-11-10 15:00', '2023-11-09 11:00'), (29700, 33000, now(), '2024-03-27 15:00', '2024-03-25 11:00'), (15400, 22000, now(), '2023-01-26 15:00', '2023-01-25 11:00'), (95000, 100000, now(), '2024-05-05 15:00', '2024-05-03 11:00'), (61000, 62000, now(), '2023-04-18 15:00', '2023-04-15 11:00'), (39000, 59000, now(), '2024-11-20 15:00', '2024-11-19 11:00'), (25000, 27000, now(), '2023-03-22 15:00', '2023-03-19 11:00'), (48000, 80000, now(), '2024-11-20 15:00', '2024-11-16 11:00'), (42000, 60000, now(), '2024-02-13 15:00', '2024-02-09 11:00'), (23400, 26000, now(), '2023-04-20 15:00', '2023-04-19 11:00'), (52000, 55000, now(), '2023-06-15 15:00', '2023-06-12 11:00'), (8000, 10000, now(), '2024-04-10 15:00', '2024-04-06 11:00'), (45000, 75000, now(), '2023-11-26 15:00', '2023-11-25 11:00'), (43400, 62000, now(), '2024-07-29 15:00', '2024-07-25 11:00'), (57000, 60000, now(), '2024-09-14 15:00', '2024-09-13 11:00'), (52000, 53000, now(), '2024-12-22 15:00', '2024-12-20 11:00'), (35700, 42000, now(), '2024-07-29 15:00', '2024-07-25 11:00'), (187000, 220000, now(), '2024-10-05 15:00', '2024-10-01 11:00'), (27000, 30000, now(), '2024-06-28 15:00', '2024-06-24 11:00'), (37000, 40000, now(), '2023-09-29 15:00', '2023-09-28 11:00'), (42000, 60000, now(), '2023-06-27 15:00', '2023-06-25 11:00'), (86000, 88000, now(), '2024-04-12 15:00', '2024-04-10 11:00'), (89100, 99000, now(), '2023-04-04 15:00', '2023-04-03 11:00'), (29700, 33000, now(), '2023-08-13 15:00', '2023-08-09 11:00'), (21000, 22000, now(), '2024-04-07 15:00', '2024-04-03 11:00'), (36000, 60000, now(), '2024-07-01 15:00', '2024-06-28 11:00'), (60000, 61000, now(), '2023-08-25 15:00', '2023-08-22 11:00'), (81000, 82000, now(), '2023-04-07 15:00', '2023-04-03 11:00'), (92000, 94000, now(), '2024-02-22 15:00', '2024-02-20 11:00'), (45750, 61000, now(), '2023-08-30 15:00', '2023-08-27 11:00'), (76000, 79000, now(), '2024-11-26 15:00', '2024-11-22 11:00'), (85000, 88000, now(), '2024-10-14 15:00', '2024-10-13 11:00'), (71100, 79000, now(), '2023-01-05 15:00', '2023-01-02 11:00'), (94000, 96000, now(), '2024-08-21 15:00', '2024-08-18 11:00'), (30800, 44000, now(), '2024-07-10 15:00', '2024-07-07 11:00'), (51850, 61000, now(), '2023-03-09 15:00', '2023-03-07 11:00'), (44100, 58800, now(), '2023-02-21 15:00', '2023-02-18 11:00'), (62200, 64200, now(), '2023-05-20 15:00', '2023-05-18 11:00'), (49320, 54800, now(), '2023-12-23 15:00', '2023-12-20 11:00'), (43000, 45000, now(), '2024-05-06 15:00', '2024-05-03 11:00'), (19800, 22000, now(), '2023-12-22 15:00', '2023-12-19 11:00'), (22000, 23000, now(), '2024-03-07 15:00', '2024-03-03 11:00'), (42000, 70000, now(), '2023-11-28 15:00', '2023-11-24 11:00'), (19000, 24000, now(), '2023-09-14 15:00', '2023-09-11 11:00'), (60200, 62200, now(), '2024-07-26 15:00', '2024-07-24 11:00'), (65070, 72300, now(), '2024-01-18 15:00', '2024-01-16 11:00'), (41400, 46000, now(), '2024-02-26 15:00', '2024-02-24 11:00'), (79900, 94000, now(), '2023-07-30 15:00', '2023-07-28 11:00'), (59000, 61000, now(), '2023-10-23 15:00', '2023-10-22 11:00'), (74000, 79000, now(), '2024-09-23 15:00', '2024-09-21 11:00'), (86000, 88000, now(), '2024-11-06 15:00', '2024-11-04 11:00'), (74000, 79000, now(), '2024-07-13 15:00', '2024-07-09 11:00'), (93000, 96000, now(), '2024-05-20 15:00', '2024-05-18 11:00'), (41000, 44000, now(), '2023-04-22 15:00', '2023-04-21 11:00'), (59000, 61000, now(), '2023-02-20 15:00', '2023-02-17 11:00'), (44100, 58800, now(), '2024-11-10 15:00', '2024-11-07 11:00'), (62200, 64200, now(), '2023-08-13 15:00', '2023-08-09 11:00'), (49320, 54800, now(), '2023-03-28 15:00', '2023-03-24 11:00'), (42000, 45000, now(), '2024-03-28 15:00', '2024-03-26 11:00'), (19000, 22000, now(), '2024-05-25 15:00', '2024-05-23 11:00'), (21000, 23000, now(), '2023-02-11 15:00', '2023-02-08 11:00'), (52500, 70000, now(), '2024-07-25 15:00', '2024-07-22 11:00'), (21000, 24000, now(), '2024-12-08 15:00', '2024-12-06 11:00'), (60200, 62200, now(), '2023-11-19 15:00', '2023-11-18 11:00'), (54225, 72300, now(), '2024-11-28 15:00', '2024-11-24 11:00'), (34500, 46000, now(), '2024-01-05 15:00', '2024-01-03 11:00'), (59500, 70000, now(), '2024-11-11 15:00', '2024-11-09 11:00'), (37800, 63000, now(), '2024-04-06 15:00', '2024-04-05 11:00'), (18500, 23500, now(), '2024-03-31 15:00', '2024-03-28 11:00'), (66150, 94500, now(), '2023-03-25 15:00', '2023-03-23 11:00'), (28200, 37600, now(), '2024-10-24 15:00', '2024-10-22 11:00'), (48000, 50000, now(), '2023-06-26 15:00', '2023-06-23 11:00'), (75000, 100000, now(), '2024-03-01 15:00', '2024-02-26 11:00'), (7000, 10000, now(), '2024-03-17 15:00', '2024-03-16 11:00'), (48000, 50000, now(), '2023-05-19 15:00', '2023-05-17 11:00'), (29000, 30000, now(), '2024-02-24 15:00', '2024-02-20 11:00'), (36000, 40000, now(), '2024-10-29 15:00', '2024-10-26 11:00'), (20000, 40000, now(), '2024-03-31 15:00', '2024-03-28 11:00'), (30000, 50000, now(), '2024-08-24 15:00', '2024-08-22 11:00'), (48000, 50000, now(), '2023-09-08 15:00', '2023-09-07 11:00'), (70000, 100000, now(), '2023-05-11 15:00', '2023-05-10 11:00'), (15000, 18000, now(), '2023-02-22 15:00', '2023-02-19 11:00'), (14000, 20000, now(), '2024-10-11 15:00', '2024-10-08 11:00'), (72000, 74000, now(), '2024-09-10 15:00', '2024-09-09 11:00'), (84000, 86000, now(), '2024-09-07 15:00', '2024-09-06 11:00'), (22400, 32000, now(), '2024-09-11 15:00', '2024-09-10 11:00'), (188000, 190000, now(), '2024-11-29 15:00', '2024-11-28 11:00'), (44100, 63000, now(), '2023-04-17 15:00', '2023-04-15 11:00'), (46200, 66000, now(), '2024-01-17 15:00', '2024-01-13 11:00'), (141000, 144000, now(), '2023-01-19 15:00', '2023-01-18 11:00'), (70000, 75000, now(), '2023-09-15 15:00', '2023-09-14 11:00'), (59500, 85000, now(), '2024-01-21 15:00', '2024-01-18 11:00'), (29000, 32000, now(), '2023-09-10 15:00', '2023-09-08 11:00'), (54400, 64000, now(), '2024-03-24 15:00', '2024-03-22 11:00'), (78000, 81000, now(), '2023-06-18 15:00', '2023-06-14 11:00'), (24500, 35000, now(), '2024-06-23 15:00', '2024-06-19 11:00'), (102000, 170000, now(), '2023-05-09 15:00', '2023-05-08 11:00'), (53900, 77000, now(), '2023-10-22 15:00', '2023-10-21 11:00'), (22000, 42000, now(), '2024-07-16 15:00', '2024-07-13 11:00'), (24500, 35000, now(), '2024-10-08 15:00', '2024-10-06 11:00'), (28000, 40000, now(), '2024-07-06 15:00', '2024-07-02 11:00'), (40500, 45000, now(), '2024-10-06 15:00', '2024-10-02 11:00'), (69000, 70000, now(), '2024-04-26 15:00', '2024-04-25 11:00'), (56000, 80000, now(), '2024-04-24 15:00', '2024-04-22 11:00'), (98000, 100000, now(), '2024-03-30 15:00', '2024-03-28 11:00'), (43400, 62000, now(), '2024-06-15 15:00', '2024-06-13 11:00'), (57000, 59000, now(), '2024-01-28 15:00', '2024-01-27 11:00'), (22000, 27000, now(), '2023-04-05 15:00', '2023-04-01 11:00'), (48000, 80000, now(), '2024-10-31 15:00', '2024-10-28 11:00'), (51000, 60000, now(), '2023-07-16 15:00', '2023-07-14 11:00'), (23400, 26000, now(), '2023-12-15 15:00', '2023-12-12 11:00'), (38500, 55000, now(), '2024-05-23 15:00', '2024-05-19 11:00'), (7000, 10000, now(), '2024-05-22 15:00', '2024-05-19 11:00'), (45000, 50000, now(), '2024-09-24 15:00', '2024-09-22 11:00'), (85000, 100000, now(), '2024-09-11 15:00', '2024-09-10 11:00'), (8000, 10000, now(), '2024-06-22 15:00', '2024-06-20 11:00'), (35000, 50000, now(), '2024-12-19 15:00', '2024-12-18 11:00'), (27000, 30000, now(), '2023-05-17 15:00', '2023-05-13 11:00'), (35000, 40000, now(), '2023-09-07 15:00', '2023-09-03 11:00'), (24000, 40000, now(), '2024-07-01 15:00', '2024-06-28 11:00'), (30000, 50000, now(), '2024-07-14 15:00', '2024-07-12 11:00'), (48000, 50000, now(), '2024-12-28 15:00', '2024-12-26 11:00'), (80000, 100000, now(), '2024-12-14 15:00', '2024-12-12 11:00'), (13500, 18000, now(), '2023-09-09 15:00', '2023-09-05 11:00'), (12000, 20000, now(), '2024-03-13 15:00', '2024-03-10 11:00'), (71000, 74000, now(), '2024-09-26 15:00', '2024-09-22 11:00'), (73100, 86000, now(), '2024-12-26 15:00', '2024-12-24 11:00'); +insert into reservation(discount_price, total_price, created_at, end_date, start_date) values (30000, 32000, now(), '2024-07-14 15:00', '2024-07-12 11:00'), (114000, 190000, now(), '2023-12-10 15:00', '2023-12-09 11:00'), (53550, 63000, now(), '2024-06-07 15:00', '2024-06-06 11:00'), (65000, 66000, now(), '2023-09-04 15:00', '2023-09-02 11:00'), (122400, 144000, now(), '2023-05-15 15:00', '2023-05-12 11:00'), (52500, 75000, now(), '2024-06-22 15:00', '2024-06-20 11:00'), (84000, 85000, now(), '2024-04-22 15:00', '2024-04-19 11:00'), (22400, 32000, now(), '2024-07-15 15:00', '2024-07-13 11:00'), (38400, 64000, now(), '2023-07-08 15:00', '2023-07-07 11:00'), (78000, 81000, now(), '2023-08-10 15:00', '2023-08-08 11:00'), (32000, 35000, now(), '2024-06-07 15:00', '2024-06-04 11:00'), (119000, 170000, now(), '2023-08-05 15:00', '2023-08-03 11:00'), (65450, 77000, now(), '2023-06-23 15:00', '2023-06-22 11:00'), (39000, 42000, now(), '2024-10-12 15:00', '2024-10-08 11:00'), (33000, 35000, now(), '2024-03-19 15:00', '2024-03-17 11:00'), (38000, 40000, now(), '2024-09-11 15:00', '2024-09-10 11:00'), (43000, 45000, now(), '2024-05-06 15:00', '2024-05-03 11:00'), (49000, 70000, now(), '2023-07-23 15:00', '2023-07-20 11:00'), (78000, 80000, now(), '2023-08-14 15:00', '2023-08-12 11:00'), (75000, 100000, now(), '2023-06-28 15:00', '2023-06-26 11:00'), (46500, 62000, now(), '2023-07-31 15:00', '2023-07-27 11:00'), (58000, 59000, now(), '2024-11-19 15:00', '2024-11-15 11:00'), (24300, 27000, now(), '2023-06-16 15:00', '2023-06-12 11:00'), (77000, 80000, now(), '2023-03-08 15:00', '2023-03-05 11:00'), (45000, 60000, now(), '2023-08-07 15:00', '2023-08-04 11:00'), (25000, 26000, now(), '2024-05-24 15:00', '2024-05-21 11:00'), (53000, 55000, now(), '2023-08-28 15:00', '2023-08-26 11:00'), (7000, 10000, now(), '2024-07-10 15:00', '2024-07-07 11:00'), (74000, 75000, now(), '2024-09-21 15:00', '2024-09-18 11:00'), (52700, 62000, now(), '2023-10-06 15:00', '2023-10-02 11:00'), (58000, 60000, now(), '2023-03-23 15:00', '2023-03-21 11:00'), (39750, 53000, now(), '2024-01-06 15:00', '2024-01-05 11:00'), (39000, 42000, now(), '2023-04-25 15:00', '2023-04-21 11:00'), (154000, 220000, now(), '2024-08-23 15:00', '2024-08-20 11:00'), (27000, 30000, now(), '2024-07-27 15:00', '2024-07-25 11:00'), (20000, 40000, now(), '2023-05-09 15:00', '2023-05-05 11:00'), (42000, 60000, now(), '2023-08-28 15:00', '2023-08-26 11:00'), (68000, 88000, now(), '2023-12-28 15:00', '2023-12-25 11:00'), (69300, 99000, now(), '2024-04-22 15:00', '2024-04-21 11:00'), (30000, 33000, now(), '2023-08-04 15:00', '2023-08-01 11:00'), (19800, 22000, now(), '2024-09-23 15:00', '2024-09-22 11:00'), (99000, 100000, now(), '2023-04-26 15:00', '2023-04-24 11:00'), (46500, 62000, now(), '2023-03-11 15:00', '2023-03-08 11:00'), (50150, 59000, now(), '2023-04-14 15:00', '2023-04-13 11:00'), (22000, 27000, now(), '2023-04-07 15:00', '2023-04-06 11:00'), (56000, 80000, now(), '2023-01-16 15:00', '2023-01-13 11:00'), (54000, 60000, now(), '2024-04-10 15:00', '2024-04-06 11:00'), (22100, 26000, now(), '2024-02-26 15:00', '2024-02-22 11:00'), (46750, 55000, now(), '2023-08-24 15:00', '2023-08-20 11:00'), (7000, 10000, now(), '2023-10-19 15:00', '2023-10-18 11:00'), (72000, 75000, now(), '2023-09-20 15:00', '2023-09-19 11:00'), (55800, 62000, now(), '2023-10-02 15:00', '2023-09-28 11:00'), (59000, 60000, now(), '2023-06-28 15:00', '2023-06-26 11:00'), (37100, 53000, now(), '2023-03-20 15:00', '2023-03-18 11:00'), (25200, 42000, now(), '2023-06-08 15:00', '2023-06-04 11:00'), (187000, 220000, now(), '2023-10-21 15:00', '2023-10-17 11:00'), (25000, 30000, now(), '2023-04-10 15:00', '2023-04-09 11:00'), (24000, 40000, now(), '2023-08-29 15:00', '2023-08-28 11:00'), (51000, 60000, now(), '2023-04-27 15:00', '2023-04-23 11:00'), (74800, 88000, now(), '2024-03-23 15:00', '2024-03-21 11:00'), (96000, 99000, now(), '2023-09-15 15:00', '2023-09-13 11:00'), (13000, 33000, now(), '2023-02-19 15:00', '2023-02-16 11:00'), (2000, 22000, now(), '2023-05-12 15:00', '2023-05-11 11:00'), (40000, 60000, now(), '2023-06-04 15:00', '2023-06-02 11:00'), (51850, 61000, now(), '2024-09-15 15:00', '2024-09-14 11:00'), (79000, 82000, now(), '2023-04-19 15:00', '2023-04-16 11:00'), (91000, 94000, now(), '2023-01-29 15:00', '2023-01-27 11:00'), (54900, 61000, now(), '2024-09-16 15:00', '2024-09-12 11:00'), (77000, 79000, now(), '2023-07-13 15:00', '2023-07-10 11:00'), (83000, 88000, now(), '2023-11-19 15:00', '2023-11-15 11:00'), (67150, 79000, now(), '2024-02-16 15:00', '2024-02-14 11:00'), (93000, 96000, now(), '2024-07-24 15:00', '2024-07-21 11:00'), (30800, 44000, now(), '2024-11-10 15:00', '2024-11-08 11:00'), (45750, 61000, now(), '2024-09-17 15:00', '2024-09-15 11:00'), (57800, 58800, now(), '2023-04-10 15:00', '2023-04-06 11:00'), (62200, 64200, now(), '2024-07-28 15:00', '2024-07-27 11:00'), (41100, 54800, now(), '2023-09-05 15:00', '2023-09-02 11:00'), (38250, 45000, now(), '2024-09-08 15:00', '2024-09-06 11:00'), (15400, 22000, now(), '2023-04-10 15:00', '2023-04-06 11:00'), (22000, 23000, now(), '2024-11-17 15:00', '2024-11-13 11:00'), (68000, 70000, now(), '2024-06-11 15:00', '2024-06-09 11:00'), (18000, 24000, now(), '2024-07-20 15:00', '2024-07-18 11:00'), (52870, 62200, now(), '2024-01-25 15:00', '2024-01-24 11:00'), (69300, 72300, now(), '2023-02-24 15:00', '2023-02-23 11:00'), (45000, 46000, now(), '2023-04-13 15:00', '2023-04-09 11:00'), (92000, 94000, now(), '2024-10-09 15:00', '2024-10-06 11:00'), (60000, 61000, now(), '2024-01-16 15:00', '2024-01-12 11:00'), (77000, 79000, now(), '2024-08-22 15:00', '2024-08-19 11:00'), (68000, 88000, now(), '2024-04-21 15:00', '2024-04-20 11:00'), (55300, 79000, now(), '2024-09-26 15:00', '2024-09-24 11:00'), (94000, 96000, now(), '2023-09-15 15:00', '2023-09-11 11:00'), (43000, 44000, now(), '2024-02-16 15:00', '2024-02-12 11:00'), (42700, 61000, now(), '2024-04-05 15:00', '2024-04-02 11:00'), (41160, 58800, now(), '2024-10-04 15:00', '2024-10-01 11:00'), (59200, 64200, now(), '2023-11-26 15:00', '2023-11-22 11:00'), (49320, 54800, now(), '2024-11-15 15:00', '2024-11-13 11:00'), (43000, 45000, now(), '2024-10-26 15:00', '2024-10-25 11:00'), (19800, 22000, now(), '2023-08-10 15:00', '2023-08-07 11:00'), (18000, 23000, now(), '2024-08-13 15:00', '2024-08-10 11:00'), (49000, 70000, now(), '2023-09-05 15:00', '2023-09-02 11:00'), (22000, 24000, now(), '2023-04-28 15:00', '2023-04-24 11:00'), (43540, 62200, now(), '2024-11-27 15:00', '2024-11-25 11:00'), (69300, 72300, now(), '2024-09-05 15:00', '2024-09-04 11:00'), (26000, 46000, now(), '2024-01-17 15:00', '2024-01-14 11:00'), (65000, 70000, now(), '2024-12-06 15:00', '2024-12-05 11:00'), (37800, 63000, now(), '2023-12-11 15:00', '2023-12-09 11:00'), (21150, 23500, now(), '2023-10-25 15:00', '2023-10-24 11:00'), (93500, 94500, now(), '2024-12-06 15:00', '2024-12-03 11:00'), (26320, 37600, now(), '2023-05-20 15:00', '2023-05-16 11:00'), (51000, 52000, now(), '2023-01-29 15:00', '2023-01-27 11:00'), (13800, 23000, now(), '2024-03-10 15:00', '2024-03-09 11:00'), (54600, 78000, now(), '2023-03-16 15:00', '2023-03-15 11:00'), (45750, 61000, now(), '2024-11-26 15:00', '2024-11-25 11:00'), (81000, 82000, now(), '2023-04-04 15:00', '2023-04-02 11:00'), (41000, 44000, now(), '2024-03-15 15:00', '2024-03-13 11:00'), (90000, 95000, now(), '2023-05-12 15:00', '2023-05-10 11:00'), (78300, 87000, now(), '2024-08-26 15:00', '2024-08-24 11:00'), (78200, 83200, now(), '2023-08-02 15:00', '2023-08-01 11:00'), (58000, 78000, now(), '2023-12-05 15:00', '2023-12-01 11:00'), (67000, 69000, now(), '2024-01-19 15:00', '2024-01-17 11:00'), (65520, 72800, now(), '2023-06-04 15:00', '2023-06-03 11:00'), (69000, 92000, now(), '2024-02-28 15:00', '2024-02-24 11:00'), (60000, 80000, now(), '2023-05-24 15:00', '2023-05-23 11:00'), (87000, 90000, now(), '2024-08-10 15:00', '2024-08-08 11:00'), (47000, 50000, now(), '2024-01-22 15:00', '2024-01-21 11:00'), (99000, 100000, now(), '2024-01-18 15:00', '2024-01-16 11:00'), (8500, 10000, now(), '2023-10-08 15:00', '2023-10-07 11:00'), (48000, 50000, now(), '2024-05-05 15:00', '2024-05-04 11:00'), (22500, 30000, now(), '2024-08-29 15:00', '2024-08-26 11:00'), (39000, 40000, now(), '2023-09-18 15:00', '2023-09-15 11:00'), (28000, 40000, now(), '2023-09-18 15:00', '2023-09-16 11:00'), (30000, 50000, now(), '2023-06-21 15:00', '2023-06-18 11:00'), (45000, 50000, now(), '2023-03-05 15:00', '2023-03-02 11:00'), (98000, 100000, now(), '2024-03-24 15:00', '2024-03-20 11:00'), (15300, 18000, now(), '2023-07-23 15:00', '2023-07-20 11:00'), (18000, 20000, now(), '2023-04-05 15:00', '2023-04-01 11:00'), (62900, 74000, now(), '2023-10-14 15:00', '2023-10-10 11:00'), (64500, 86000, now(), '2024-06-09 15:00', '2024-06-07 11:00'), (27000, 32000, now(), '2023-10-15 15:00', '2023-10-14 11:00'), (187000, 190000, now(), '2023-02-20 15:00', '2023-02-16 11:00'), (53550, 63000, now(), '2023-04-20 15:00', '2023-04-16 11:00'), (64000, 66000, now(), '2023-10-26 15:00', '2023-10-22 11:00'), (139000, 144000, now(), '2023-07-01 15:00', '2023-06-27 11:00'), (74000, 75000, now(), '2023-05-05 15:00', '2023-05-03 11:00'), (83000, 85000, now(), '2024-01-02 15:00', '2024-01-01 11:00'), (22400, 32000, now(), '2023-04-19 15:00', '2023-04-17 11:00'), (54400, 64000, now(), '2024-03-03 15:00', '2024-03-02 11:00'), (76000, 81000, now(), '2024-06-25 15:00', '2024-06-22 11:00'), (15000, 35000, now(), '2024-05-15 15:00', '2024-05-13 11:00'), (169000, 170000, now(), '2023-11-06 15:00', '2023-11-03 11:00'), (72000, 77000, now(), '2023-04-20 15:00', '2023-04-19 11:00'), (37800, 42000, now(), '2023-11-30 15:00', '2023-11-27 11:00'), (24500, 35000, now(), '2024-09-11 15:00', '2024-09-09 11:00'), (38000, 40000, now(), '2023-09-09 15:00', '2023-09-06 11:00'), (38250, 45000, now(), '2023-08-27 15:00', '2023-08-26 11:00'), (49000, 70000, now(), '2023-07-05 15:00', '2023-07-03 11:00'), (78000, 80000, now(), '2024-10-06 15:00', '2024-10-04 11:00'), (75000, 100000, now(), '2024-05-15 15:00', '2024-05-12 11:00'), (42000, 62000, now(), '2023-03-16 15:00', '2023-03-13 11:00'), (56000, 59000, now(), '2024-07-15 15:00', '2024-07-14 11:00'), (7000, 27000, now(), '2024-09-14 15:00', '2024-09-11 11:00'), (78000, 80000, now(), '2024-05-07 15:00', '2024-05-04 11:00'), (51000, 60000, now(), '2024-12-28 15:00', '2024-12-26 11:00'), (25000, 26000, now(), '2024-11-12 15:00', '2024-11-11 11:00'), (53000, 55000, now(), '2024-12-13 15:00', '2024-12-11 11:00'), (7000, 10000, now(), '2023-08-11 15:00', '2023-08-08 11:00'), (37500, 50000, now(), '2024-01-15 15:00', '2024-01-12 11:00'), (95000, 100000, now(), '2024-02-14 15:00', '2024-02-10 11:00'), (6000, 10000, now(), '2024-12-24 15:00', '2024-12-21 11:00'), (35000, 50000, now(), '2023-04-10 15:00', '2023-04-06 11:00'), (27000, 30000, now(), '2024-06-12 15:00', '2024-06-08 11:00'), (39000, 40000, now(), '2024-10-22 15:00', '2024-10-19 11:00'), (39000, 40000, now(), '2023-05-23 15:00', '2023-05-21 11:00'), (37500, 50000, now(), '2023-03-29 15:00', '2023-03-25 11:00'), (35000, 50000, now(), '2024-03-20 15:00', '2024-03-19 11:00'), (85000, 100000, now(), '2024-04-10 15:00', '2024-04-08 11:00'), (15000, 18000, now(), '2024-10-02 15:00', '2024-10-01 11:00'), (19000, 20000, now(), '2023-11-25 15:00', '2023-11-22 11:00'), (62900, 74000, now(), '2024-12-26 15:00', '2024-12-22 11:00'), (84000, 86000, now(), '2024-08-10 15:00', '2024-08-06 11:00'), (29000, 32000, now(), '2024-06-17 15:00', '2024-06-15 11:00'), (133000, 190000, now(), '2023-02-15 15:00', '2023-02-14 11:00'), (44100, 63000, now(), '2023-06-14 15:00', '2023-06-10 11:00'), (49500, 66000, now(), '2023-12-08 15:00', '2023-12-06 11:00'), (122400, 144000, now(), '2024-02-14 15:00', '2024-02-12 11:00'), (74000, 75000, now(), '2024-09-26 15:00', '2024-09-25 11:00'), (63750, 85000, now(), '2023-12-17 15:00', '2023-12-16 11:00'), (28800, 32000, now(), '2023-09-22 15:00', '2023-09-18 11:00'), (59000, 64000, now(), '2023-10-18 15:00', '2023-10-14 11:00'), (48600, 81000, now(), '2024-04-09 15:00', '2024-04-06 11:00'), (24500, 35000, now(), '2024-03-29 15:00', '2024-03-27 11:00'), (119000, 170000, now(), '2023-07-27 15:00', '2023-07-25 11:00'), (76000, 77000, now(), '2024-03-21 15:00', '2024-03-17 11:00'), (40000, 42000, now(), '2023-05-09 15:00', '2023-05-05 11:00'), (34000, 35000, now(), '2023-05-01 15:00', '2023-04-27 11:00'), (37000, 40000, now(), '2024-06-12 15:00', '2024-06-10 11:00'), (43000, 45000, now(), '2023-05-24 15:00', '2023-05-20 11:00'), (49000, 70000, now(), '2023-05-30 15:00', '2023-05-26 11:00'), (56000, 80000, now(), '2023-12-01 15:00', '2023-11-28 11:00'), (75000, 100000, now(), '2024-01-14 15:00', '2024-01-13 11:00'), (46500, 62000, now(), '2024-03-18 15:00', '2024-03-17 11:00'), (57000, 59000, now(), '2023-07-12 15:00', '2023-07-08 11:00'), (18900, 27000, now(), '2024-08-22 15:00', '2024-08-18 11:00'), (72000, 80000, now(), '2024-10-28 15:00', '2024-10-24 11:00'), (58000, 60000, now(), '2024-12-16 15:00', '2024-12-14 11:00'), (23400, 26000, now(), '2023-10-26 15:00', '2023-10-23 11:00'), (38500, 55000, now(), '2024-02-22 15:00', '2024-02-20 11:00'), (8000, 10000, now(), '2023-03-16 15:00', '2023-03-14 11:00'), (67500, 75000, now(), '2023-07-02 15:00', '2023-06-28 11:00'), (60000, 62000, now(), '2024-12-27 15:00', '2024-12-23 11:00'), (57000, 60000, now(), '2023-03-22 15:00', '2023-03-21 11:00'), (37100, 53000, now(), '2023-12-26 15:00', '2023-12-24 11:00'), (31500, 42000, now(), '2024-04-26 15:00', '2024-04-24 11:00'), (217000, 220000, now(), '2023-12-13 15:00', '2023-12-09 11:00'), (18000, 30000, now(), '2023-05-30 15:00', '2023-05-28 11:00'), (39000, 40000, now(), '2024-06-13 15:00', '2024-06-11 11:00'), (55000, 60000, now(), '2023-06-28 15:00', '2023-06-27 11:00'), (52800, 88000, now(), '2023-09-24 15:00', '2023-09-23 11:00'), (98000, 99000, now(), '2023-05-06 15:00', '2023-05-02 11:00'), (24750, 33000, now(), '2023-04-13 15:00', '2023-04-10 11:00'), (13200, 22000, now(), '2023-10-23 15:00', '2023-10-22 11:00'), (90000, 100000, now(), '2024-07-20 15:00', '2024-07-19 11:00'), (57000, 62000, now(), '2024-06-25 15:00', '2024-06-21 11:00'), (41300, 59000, now(), '2024-03-30 15:00', '2024-03-27 11:00'), (22000, 27000, now(), '2023-02-06 15:00', '2023-02-02 11:00'), (68000, 80000, now(), '2024-05-08 15:00', '2024-05-05 11:00'), (58000, 60000, now(), '2024-06-04 15:00', '2024-06-03 11:00'), (21000, 26000, now(), '2024-02-13 15:00', '2024-02-12 11:00'), (35000, 55000, now(), '2023-09-09 15:00', '2023-09-07 11:00'), (9000, 10000, now(), '2023-06-19 15:00', '2023-06-16 11:00'), (72000, 75000, now(), '2024-02-17 15:00', '2024-02-15 11:00'), (52700, 62000, now(), '2024-02-13 15:00', '2024-02-11 11:00'), (51000, 60000, now(), '2023-10-25 15:00', '2023-10-21 11:00'), (37100, 53000, now(), '2023-03-04 15:00', '2023-03-01 11:00'), (40000, 42000, now(), '2023-12-27 15:00', '2023-12-25 11:00'), (132000, 220000, now(), '2024-04-08 15:00', '2024-04-07 11:00'), (21000, 30000, now(), '2023-09-23 15:00', '2023-09-20 11:00'), (28000, 40000, now(), '2024-09-13 15:00', '2024-09-11 11:00'), (36000, 60000, now(), '2024-11-21 15:00', '2024-11-17 11:00'), (86000, 88000, now(), '2024-02-29 15:00', '2024-02-25 11:00'), (69300, 99000, now(), '2023-01-14 15:00', '2023-01-10 11:00'), (23100, 33000, now(), '2023-10-18 15:00', '2023-10-17 11:00'), (20000, 22000, now(), '2023-05-02 15:00', '2023-04-28 11:00'), (42000, 60000, now(), '2024-01-10 15:00', '2024-01-06 11:00'), (42700, 61000, now(), '2023-10-16 15:00', '2023-10-13 11:00'), (81000, 82000, now(), '2023-10-03 15:00', '2023-10-02 11:00'), (89000, 94000, now(), '2023-11-13 15:00', '2023-11-10 11:00'), (42700, 61000, now(), '2023-07-15 15:00', '2023-07-14 11:00'), (71100, 79000, now(), '2024-08-10 15:00', '2024-08-07 11:00'), (74800, 88000, now(), '2024-01-23 15:00', '2024-01-22 11:00'), (59000, 79000, now(), '2023-09-13 15:00', '2023-09-09 11:00'), (94000, 96000, now(), '2024-09-06 15:00', '2024-09-04 11:00'), (42000, 44000, now(), '2023-08-10 15:00', '2023-08-09 11:00'), (42700, 61000, now(), '2023-05-16 15:00', '2023-05-13 11:00'), (52920, 58800, now(), '2023-12-08 15:00', '2023-12-07 11:00'), (48150, 64200, now(), '2024-12-07 15:00', '2024-12-04 11:00'), (49800, 54800, now(), '2023-05-23 15:00', '2023-05-22 11:00'), (40000, 45000, now(), '2024-06-09 15:00', '2024-06-07 11:00'), (20000, 22000, now(), '2024-08-23 15:00', '2024-08-19 11:00'), (17250, 23000, now(), '2023-09-26 15:00', '2023-09-24 11:00'), (49000, 70000, now(), '2023-03-16 15:00', '2023-03-12 11:00'), (23000, 24000, now(), '2023-09-28 15:00', '2023-09-26 11:00'), (46650, 62200, now(), '2024-11-15 15:00', '2024-11-11 11:00'), (70300, 72300, now(), '2024-08-08 15:00', '2024-08-07 11:00'), (43000, 46000, now(), '2023-07-11 15:00', '2023-07-09 11:00'), (92000, 94000, now(), '2023-10-17 15:00', '2023-10-13 11:00'), (58000, 61000, now(), '2024-01-16 15:00', '2024-01-13 11:00'), (76000, 79000, now(), '2023-11-24 15:00', '2023-11-23 11:00'), (83000, 88000, now(), '2023-05-27 15:00', '2023-05-25 11:00'), (71100, 79000, now(), '2024-12-21 15:00', '2024-12-17 11:00'), (95000, 96000, now(), '2024-09-10 15:00', '2024-09-09 11:00'), (42000, 44000, now(), '2024-11-09 15:00', '2024-11-08 11:00'), (42700, 61000, now(), '2023-05-14 15:00', '2023-05-11 11:00'), (38800, 58800, now(), '2023-01-03 15:00', '2023-01-01 11:00'), (44200, 64200, now(), '2024-06-12 15:00', '2024-06-11 11:00'), (32880, 54800, now(), '2024-08-22 15:00', '2024-08-19 11:00'), (43000, 45000, now(), '2023-04-25 15:00', '2023-04-24 11:00'), (17000, 22000, now(), '2023-11-07 15:00', '2023-11-04 11:00'), (21000, 23000, now(), '2024-07-01 15:00', '2024-06-27 11:00'), (47000, 50000, now(), '2023-05-15 15:00', '2023-05-11 11:00'), (28000, 30000, now(), '2023-09-11 15:00', '2023-09-10 11:00'), (19200, 32000, now(), '2023-04-29 15:00', '2023-04-25 11:00'), (210000, 300000, now(), '2023-03-26 15:00', '2023-03-24 11:00'), (14000, 20000, now(), '2024-04-18 15:00', '2024-04-16 11:00'), (340000, 345000, now(), '2024-08-14 15:00', '2024-08-11 11:00'), (429000, 430000, now(), '2023-02-10 15:00', '2023-02-07 11:00'), (315000, 450000, now(), '2024-06-13 15:00', '2024-06-11 11:00'), (342000, 380000, now(), '2024-07-21 15:00', '2024-07-20 11:00'), (412000, 415000, now(), '2024-10-06 15:00', '2024-10-02 11:00'), (301000, 430000, now(), '2024-08-13 15:00', '2024-08-12 11:00'), (651000, 653000, now(), '2023-09-03 15:00', '2023-09-01 11:00'), (22750, 32500, now(), '2024-06-28 15:00', '2024-06-24 11:00'), (147000, 210000, now(), '2024-12-11 15:00', '2024-12-10 11:00'), (49000, 52000, now(), '2023-09-11 15:00', '2023-09-09 11:00'), (112200, 132000, now(), '2024-11-13 15:00', '2024-11-12 11:00'), (420000, 600000, now(), '2023-03-24 15:00', '2023-03-21 11:00'), (85000, 100000, now(), '2023-08-17 15:00', '2023-08-13 11:00'), (11230000, 11250000, now(), '2023-12-24 15:00', '2023-12-22 11:00'), (413000, 415000, now(), '2024-06-03 15:00', '2024-06-01 11:00'); +insert into reservation(discount_price, total_price, created_at, end_date, start_date) values (107100, 119000, now(), '2024-05-16 15:00', '2024-05-15 11:00'), (73500, 105000, now(), '2024-09-18 15:00', '2024-09-15 11:00'), (63000, 70000, now(), '2023-09-29 15:00', '2023-09-27 11:00'), (127000, 130000, now(), '2023-06-19 15:00', '2023-06-18 11:00'), (137000, 140000, now(), '2023-12-29 15:00', '2023-12-25 11:00'), (66000, 69000, now(), '2023-02-10 15:00', '2023-02-07 11:00'), (78000, 130000, now(), '2023-02-13 15:00', '2023-02-12 11:00'), (169000, 170000, now(), '2024-12-09 15:00', '2024-12-05 11:00'), (129000, 130000, now(), '2023-12-08 15:00', '2023-12-06 11:00'), (197000, 198000, now(), '2023-03-15 15:00', '2023-03-14 11:00'), (138060, 153400, now(), '2023-06-23 15:00', '2023-06-20 11:00'), (205000, 210000, now(), '2024-12-17 15:00', '2024-12-16 11:00'), (117000, 120000, now(), '2024-07-24 15:00', '2024-07-23 11:00'), (110000, 130000, now(), '2024-02-29 15:00', '2024-02-25 11:00'), (153000, 170000, now(), '2024-05-31 15:00', '2024-05-28 11:00'), (170000, 200000, now(), '2024-03-03 15:00', '2024-03-02 11:00'), (63000, 90000, now(), '2023-10-04 15:00', '2023-10-02 11:00'), (209300, 299000, now(), '2023-03-15 15:00', '2023-03-13 11:00'), (129000, 130000, now(), '2023-04-08 15:00', '2023-04-04 11:00'), (60000, 80000, now(), '2024-12-03 15:00', '2024-12-01 11:00'), (99000, 119000, now(), '2024-09-28 15:00', '2024-09-24 11:00'), (103000, 105000, now(), '2023-10-23 15:00', '2023-10-19 11:00'), (39000, 65000, now(), '2023-10-13 15:00', '2023-10-09 11:00'), (27000, 30000, now(), '2023-03-05 15:00', '2023-03-02 11:00'), (178000, 180000, now(), '2024-10-17 15:00', '2024-10-15 11:00'), (147000, 149000, now(), '2024-06-16 15:00', '2024-06-14 11:00'), (89250, 119000, now(), '2023-09-20 15:00', '2023-09-16 11:00'), (79200, 132000, now(), '2024-09-15 15:00', '2024-09-12 11:00'), (112000, 115000, now(), '2023-11-28 15:00', '2023-11-27 11:00'), (229500, 270000, now(), '2024-03-21 15:00', '2024-03-17 11:00'), (224000, 320000, now(), '2023-09-23 15:00', '2023-09-19 11:00'), (99000, 110000, now(), '2023-09-29 15:00', '2023-09-27 11:00'), (215000, 220000, now(), '2024-10-26 15:00', '2024-10-22 11:00'), (108000, 180000, now(), '2024-03-26 15:00', '2024-03-25 11:00'), (498000, 500000, now(), '2023-07-25 15:00', '2023-07-24 11:00'), (37080, 61800, now(), '2024-12-16 15:00', '2024-12-15 11:00'), (61800, 103000, now(), '2024-06-30 15:00', '2024-06-26 11:00'), (177000, 197000, now(), '2023-04-06 15:00', '2023-04-04 11:00'), (152000, 172000, now(), '2024-05-15 15:00', '2024-05-12 11:00'), (259000, 260000, now(), '2023-09-09 15:00', '2023-09-07 11:00'), (340000, 400000, now(), '2023-04-18 15:00', '2023-04-17 11:00'), (57000, 60000, now(), '2023-08-14 15:00', '2023-08-11 11:00'), (237000, 240000, now(), '2023-09-23 15:00', '2023-09-22 11:00'), (549000, 550000, now(), '2023-11-24 15:00', '2023-11-21 11:00'), (100000, 120000, now(), '2024-10-27 15:00', '2024-10-25 11:00'), (210000, 300000, now(), '2023-03-13 15:00', '2023-03-11 11:00'), (59500, 70000, now(), '2024-02-23 15:00', '2024-02-22 11:00'), (54000, 60000, now(), '2024-11-04 15:00', '2024-11-02 11:00'), (66000, 88000, now(), '2024-10-21 15:00', '2024-10-20 11:00'), (71000, 72000, now(), '2024-01-08 15:00', '2024-01-06 11:00'), (350000, 353000, now(), '2024-03-14 15:00', '2024-03-10 11:00'), (91800, 108000, now(), '2023-03-24 15:00', '2023-03-22 11:00'), (43400, 62000, now(), '2024-03-31 15:00', '2024-03-28 11:00'), (47000, 50000, now(), '2024-08-05 15:00', '2024-08-04 11:00'), (75000, 100000, now(), '2023-10-03 15:00', '2023-10-01 11:00'), (129000, 130000, now(), '2023-02-25 15:00', '2023-02-23 11:00'), (47000, 50000, now(), '2024-02-05 15:00', '2024-02-02 11:00'), (25500, 30000, now(), '2024-06-09 15:00', '2024-06-08 11:00'), (34000, 40000, now(), '2023-12-05 15:00', '2023-12-04 11:00'), (28000, 40000, now(), '2024-10-29 15:00', '2024-10-27 11:00'), (468000, 520000, now(), '2024-02-07 15:00', '2024-02-03 11:00'), (30000, 50000, now(), '2024-06-24 15:00', '2024-06-21 11:00'), (95000, 100000, now(), '2024-02-25 15:00', '2024-02-22 11:00'), (-2000, 18000, now(), '2023-04-11 15:00', '2023-04-08 11:00'), (15000, 20000, now(), '2023-01-09 15:00', '2023-01-07 11:00'), (72000, 74000, now(), '2024-12-26 15:00', '2024-12-23 11:00'), (73100, 86000, now(), '2024-03-14 15:00', '2024-03-12 11:00'), (27000, 32000, now(), '2024-05-03 15:00', '2024-05-01 11:00'), (170000, 190000, now(), '2024-11-24 15:00', '2024-11-23 11:00'), (44100, 63000, now(), '2023-05-24 15:00', '2023-05-20 11:00'), (46000, 66000, now(), '2024-07-29 15:00', '2024-07-27 11:00'), (86400, 144000, now(), '2024-08-10 15:00', '2024-08-08 11:00'), (45000, 75000, now(), '2023-05-17 15:00', '2023-05-16 11:00'), (80000, 85000, now(), '2024-10-08 15:00', '2024-10-07 11:00'), (27000, 32000, now(), '2024-03-15 15:00', '2024-03-12 11:00'), (61000, 64000, now(), '2024-09-23 15:00', '2024-09-20 11:00'), (56700, 81000, now(), '2024-08-13 15:00', '2024-08-09 11:00'), (32000, 35000, now(), '2023-07-23 15:00', '2023-07-19 11:00'), (168000, 170000, now(), '2023-02-15 15:00', '2023-02-14 11:00'), (72000, 77000, now(), '2023-08-15 15:00', '2023-08-11 11:00'), (31500, 42000, now(), '2024-04-05 15:00', '2024-04-01 11:00'), (21000, 35000, now(), '2023-08-15 15:00', '2023-08-12 11:00'), (28000, 40000, now(), '2023-01-29 15:00', '2023-01-27 11:00'), (42000, 45000, now(), '2024-11-20 15:00', '2024-11-16 11:00'), (68000, 70000, now(), '2023-02-21 15:00', '2023-02-17 11:00'), (60000, 80000, now(), '2023-07-06 15:00', '2023-07-05 11:00'), (98000, 100000, now(), '2024-01-11 15:00', '2024-01-10 11:00'), (60000, 62000, now(), '2023-02-15 15:00', '2023-02-12 11:00'), (58000, 59000, now(), '2023-08-04 15:00', '2023-08-03 11:00'), (24000, 27000, now(), '2023-04-13 15:00', '2023-04-10 11:00'), (56000, 80000, now(), '2023-06-17 15:00', '2023-06-16 11:00'), (42000, 60000, now(), '2024-05-05 15:00', '2024-05-04 11:00'), (6000, 26000, now(), '2023-04-29 15:00', '2023-04-26 11:00'), (33000, 55000, now(), '2023-12-03 15:00', '2023-12-02 11:00'), (8000, 10000, now(), '2023-04-15 15:00', '2023-04-11 11:00'), (48000, 50000, now(), '2023-03-14 15:00', '2023-03-11 11:00'), (90000, 100000, now(), '2024-07-25 15:00', '2024-07-21 11:00'), (7000, 10000, now(), '2023-08-24 15:00', '2023-08-22 11:00'), (47000, 50000, now(), '2023-01-16 15:00', '2023-01-13 11:00'), (27000, 30000, now(), '2023-01-08 15:00', '2023-01-06 11:00'), (35000, 40000, now(), '2023-11-06 15:00', '2023-11-03 11:00'), (37000, 40000, now(), '2023-10-24 15:00', '2023-10-21 11:00'), (47000, 50000, now(), '2024-09-16 15:00', '2024-09-12 11:00'), (35000, 50000, now(), '2024-09-18 15:00', '2024-09-15 11:00'), (70000, 100000, now(), '2023-05-14 15:00', '2023-05-10 11:00'), (15000, 18000, now(), '2023-10-14 15:00', '2023-10-13 11:00'), (18000, 20000, now(), '2024-01-13 15:00', '2024-01-10 11:00'), (72000, 74000, now(), '2024-08-15 15:00', '2024-08-12 11:00'), (84000, 86000, now(), '2024-06-22 15:00', '2024-06-19 11:00'), (31000, 32000, now(), '2024-02-25 15:00', '2024-02-21 11:00'), (114000, 190000, now(), '2023-01-24 15:00', '2023-01-23 11:00'), (53550, 63000, now(), '2024-04-10 15:00', '2024-04-08 11:00'), (39600, 66000, now(), '2023-10-30 15:00', '2023-10-26 11:00'), (129600, 144000, now(), '2023-12-08 15:00', '2023-12-06 11:00'), (70000, 75000, now(), '2023-10-04 15:00', '2023-10-01 11:00'), (65000, 85000, now(), '2024-08-09 15:00', '2024-08-06 11:00'), (22400, 32000, now(), '2024-04-26 15:00', '2024-04-23 11:00'), (44800, 64000, now(), '2023-01-18 15:00', '2023-01-16 11:00'), (78000, 81000, now(), '2023-01-06 15:00', '2023-01-03 11:00'), (34000, 35000, now(), '2023-06-13 15:00', '2023-06-12 11:00'), (165000, 170000, now(), '2024-05-15 15:00', '2024-05-13 11:00'), (53900, 77000, now(), '2024-04-25 15:00', '2024-04-24 11:00'), (40000, 42000, now(), '2023-10-08 15:00', '2023-10-07 11:00'), (33000, 35000, now(), '2023-11-07 15:00', '2023-11-04 11:00'), (24000, 40000, now(), '2024-11-29 15:00', '2024-11-28 11:00'), (33750, 45000, now(), '2023-03-22 15:00', '2023-03-20 11:00'), (59500, 70000, now(), '2023-09-17 15:00', '2023-09-15 11:00'), (56000, 80000, now(), '2023-01-18 15:00', '2023-01-16 11:00'), (70000, 100000, now(), '2023-11-17 15:00', '2023-11-14 11:00'), (60000, 62000, now(), '2024-09-16 15:00', '2024-09-13 11:00'), (35400, 59000, now(), '2024-08-23 15:00', '2024-08-21 11:00'), (18900, 27000, now(), '2023-08-16 15:00', '2023-08-15 11:00'), (60000, 80000, now(), '2024-09-14 15:00', '2024-09-13 11:00'), (40000, 60000, now(), '2023-07-04 15:00', '2023-07-03 11:00'), (24000, 26000, now(), '2024-10-16 15:00', '2024-10-14 11:00'), (46750, 55000, now(), '2023-12-12 15:00', '2023-12-08 11:00'), (7500, 10000, now(), '2024-02-17 15:00', '2024-02-16 11:00'), (70000, 75000, now(), '2023-10-24 15:00', '2023-10-21 11:00'), (37200, 62000, now(), '2024-02-27 15:00', '2024-02-24 11:00'), (55000, 60000, now(), '2023-06-29 15:00', '2023-06-27 11:00'), (31800, 53000, now(), '2024-07-29 15:00', '2024-07-28 11:00'), (22000, 42000, now(), '2023-05-18 15:00', '2023-05-17 11:00'), (198000, 220000, now(), '2024-07-21 15:00', '2024-07-20 11:00'), (25000, 30000, now(), '2023-01-29 15:00', '2023-01-26 11:00'), (39000, 40000, now(), '2024-07-12 15:00', '2024-07-09 11:00'), (55000, 60000, now(), '2024-07-20 15:00', '2024-07-17 11:00'), (86000, 88000, now(), '2024-07-05 15:00', '2024-07-03 11:00'), (97000, 99000, now(), '2023-10-15 15:00', '2023-10-13 11:00'), (23100, 33000, now(), '2023-01-26 15:00', '2023-01-24 11:00'), (13200, 22000, now(), '2023-01-10 15:00', '2023-01-07 11:00'), (98000, 100000, now(), '2023-01-23 15:00', '2023-01-22 11:00'), (46500, 62000, now(), '2023-01-30 15:00', '2023-01-28 11:00'), (57000, 59000, now(), '2024-01-30 15:00', '2024-01-28 11:00'), (22000, 27000, now(), '2023-03-30 15:00', '2023-03-26 11:00'), (78000, 80000, now(), '2024-10-11 15:00', '2024-10-08 11:00'), (55000, 60000, now(), '2024-02-09 15:00', '2024-02-08 11:00'), (24000, 26000, now(), '2024-07-18 15:00', '2024-07-16 11:00'), (33000, 55000, now(), '2023-03-06 15:00', '2023-03-05 11:00'), (8500, 10000, now(), '2023-06-27 15:00', '2023-06-25 11:00'), (56250, 75000, now(), '2024-06-14 15:00', '2024-06-10 11:00'), (59000, 62000, now(), '2024-05-21 15:00', '2024-05-18 11:00'), (42000, 60000, now(), '2023-07-07 15:00', '2023-07-05 11:00'), (33000, 53000, now(), '2024-06-16 15:00', '2024-06-13 11:00'), (29400, 42000, now(), '2023-01-14 15:00', '2023-01-10 11:00'), (218000, 220000, now(), '2023-02-27 15:00', '2023-02-26 11:00'), (27000, 30000, now(), '2024-12-25 15:00', '2024-12-23 11:00'), (37000, 40000, now(), '2024-01-17 15:00', '2024-01-15 11:00'), (59000, 60000, now(), '2023-01-12 15:00', '2023-01-11 11:00'), (79200, 88000, now(), '2024-08-07 15:00', '2024-08-04 11:00'), (79000, 99000, now(), '2023-04-25 15:00', '2023-04-21 11:00'), (28050, 33000, now(), '2023-10-19 15:00', '2023-10-17 11:00'), (15400, 22000, now(), '2023-07-31 15:00', '2023-07-28 11:00'), (42000, 60000, now(), '2023-07-20 15:00', '2023-07-18 11:00'), (45750, 61000, now(), '2023-11-17 15:00', '2023-11-15 11:00'), (49200, 82000, now(), '2023-04-07 15:00', '2023-04-03 11:00'), (93000, 94000, now(), '2023-03-06 15:00', '2023-03-02 11:00'), (58000, 61000, now(), '2024-11-19 15:00', '2024-11-15 11:00'), (76000, 79000, now(), '2023-06-13 15:00', '2023-06-09 11:00'), (87000, 88000, now(), '2023-05-24 15:00', '2023-05-20 11:00'), (55300, 79000, now(), '2023-09-26 15:00', '2023-09-25 11:00'), (81600, 96000, now(), '2023-03-08 15:00', '2023-03-06 11:00'), (43000, 44000, now(), '2024-04-16 15:00', '2024-04-15 11:00'), (36600, 61000, now(), '2023-07-18 15:00', '2023-07-14 11:00'), (56800, 58800, now(), '2023-01-26 15:00', '2023-01-25 11:00'), (44940, 64200, now(), '2023-06-25 15:00', '2023-06-24 11:00'), (51800, 54800, now(), '2024-07-21 15:00', '2024-07-19 11:00'), (43000, 45000, now(), '2023-08-22 15:00', '2023-08-19 11:00'), (20000, 22000, now(), '2023-07-05 15:00', '2023-07-04 11:00'), (19550, 23000, now(), '2024-04-13 15:00', '2024-04-09 11:00'), (67000, 70000, now(), '2024-01-11 15:00', '2024-01-07 11:00'), (20400, 24000, now(), '2023-01-20 15:00', '2023-01-16 11:00'), (55980, 62200, now(), '2023-04-10 15:00', '2023-04-08 11:00'), (69300, 72300, now(), '2023-07-30 15:00', '2023-07-28 11:00'), (41000, 46000, now(), '2024-03-06 15:00', '2024-03-02 11:00'), (79900, 94000, now(), '2023-01-29 15:00', '2023-01-26 11:00'), (42700, 61000, now(), '2023-02-20 15:00', '2023-02-18 11:00'), (59250, 79000, now(), '2024-04-12 15:00', '2024-04-11 11:00'), (52800, 88000, now(), '2023-09-21 15:00', '2023-09-17 11:00'), (59250, 79000, now(), '2024-05-27 15:00', '2024-05-26 11:00'), (93000, 96000, now(), '2023-07-07 15:00', '2023-07-04 11:00'), (30800, 44000, now(), '2023-04-24 15:00', '2023-04-20 11:00'), (54900, 61000, now(), '2024-08-02 15:00', '2024-08-01 11:00'), (44100, 58800, now(), '2024-09-11 15:00', '2024-09-08 11:00'), (62200, 64200, now(), '2024-06-27 15:00', '2024-06-25 11:00'), (52800, 54800, now(), '2024-12-10 15:00', '2024-12-07 11:00'), (31500, 45000, now(), '2023-07-22 15:00', '2023-07-21 11:00'), (15400, 22000, now(), '2023-05-10 15:00', '2023-05-07 11:00'), (17250, 23000, now(), '2023-06-03 15:00', '2023-06-01 11:00'), (59500, 70000, now(), '2024-02-09 15:00', '2024-02-08 11:00'), (18000, 24000, now(), '2024-11-24 15:00', '2024-11-23 11:00'), (55980, 62200, now(), '2023-12-10 15:00', '2023-12-07 11:00'), (71300, 72300, now(), '2023-02-22 15:00', '2023-02-21 11:00'), (32200, 46000, now(), '2024-06-13 15:00', '2024-06-11 11:00'), (67000, 70000, now(), '2024-02-20 15:00', '2024-02-19 11:00'), (44100, 63000, now(), '2023-07-08 15:00', '2023-07-05 11:00'), (14100, 23500, now(), '2024-09-05 15:00', '2024-09-04 11:00'), (56700, 94500, now(), '2024-04-25 15:00', '2024-04-21 11:00'), (28200, 37600, now(), '2023-04-10 15:00', '2023-04-06 11:00'), (47000, 50000, now(), '2024-10-25 15:00', '2024-10-21 11:00'), (70000, 100000, now(), '2023-09-12 15:00', '2023-09-08 11:00'), (9000, 10000, now(), '2024-05-23 15:00', '2024-05-22 11:00'), (48000, 50000, now(), '2024-06-04 15:00', '2024-06-02 11:00'), (28000, 30000, now(), '2023-06-24 15:00', '2023-06-20 11:00'), (30000, 40000, now(), '2024-01-29 15:00', '2024-01-27 11:00'), (35000, 40000, now(), '2023-02-28 15:00', '2023-02-25 11:00'), (48000, 50000, now(), '2024-11-27 15:00', '2024-11-26 11:00'), (45000, 50000, now(), '2023-05-23 15:00', '2023-05-20 11:00'), (85000, 100000, now(), '2024-08-08 15:00', '2024-08-04 11:00'), (13000, 18000, now(), '2024-10-16 15:00', '2024-10-12 11:00'), (12000, 20000, now(), '2024-07-16 15:00', '2024-07-15 11:00'), (69000, 74000, now(), '2023-04-07 15:00', '2023-04-05 11:00'), (64500, 86000, now(), '2023-01-08 15:00', '2023-01-05 11:00'), (28800, 32000, now(), '2024-04-06 15:00', '2024-04-02 11:00'), (171000, 190000, now(), '2023-06-12 15:00', '2023-06-08 11:00'), (61000, 63000, now(), '2023-07-27 15:00', '2023-07-23 11:00'), (46200, 66000, now(), '2023-08-16 15:00', '2023-08-14 11:00'), (86400, 144000, now(), '2023-10-11 15:00', '2023-10-07 11:00'), (56250, 75000, now(), '2023-12-28 15:00', '2023-12-25 11:00'), (59500, 85000, now(), '2024-09-19 15:00', '2024-09-15 11:00'), (19200, 32000, now(), '2023-04-24 15:00', '2023-04-23 11:00'), (61000, 64000, now(), '2024-06-23 15:00', '2024-06-19 11:00'), (60750, 81000, now(), '2023-09-13 15:00', '2023-09-11 11:00'), (24500, 35000, now(), '2023-09-09 15:00', '2023-09-06 11:00'), (119000, 170000, now(), '2024-02-02 15:00', '2024-02-01 11:00'), (57750, 77000, now(), '2024-10-22 15:00', '2024-10-20 11:00'), (22000, 42000, now(), '2023-09-23 15:00', '2023-09-22 11:00'), (24500, 35000, now(), '2024-03-26 15:00', '2024-03-23 11:00'), (20000, 40000, now(), '2024-03-12 15:00', '2024-03-11 11:00'), (40500, 45000, now(), '2024-02-23 15:00', '2024-02-22 11:00'), (65000, 70000, now(), '2024-12-28 15:00', '2024-12-26 11:00'), (79000, 80000, now(), '2023-11-26 15:00', '2023-11-24 11:00'), (98000, 100000, now(), '2023-04-16 15:00', '2023-04-15 11:00'), (55800, 62000, now(), '2023-04-16 15:00', '2023-04-15 11:00'), (57000, 59000, now(), '2023-01-22 15:00', '2023-01-18 11:00'), (18900, 27000, now(), '2024-03-14 15:00', '2024-03-11 11:00'), (77000, 80000, now(), '2023-04-12 15:00', '2023-04-08 11:00'), (42000, 60000, now(), '2023-10-20 15:00', '2023-10-16 11:00'), (23000, 26000, now(), '2024-11-25 15:00', '2024-11-22 11:00'), (38500, 55000, now(), '2023-05-24 15:00', '2023-05-21 11:00'), (8000, 10000, now(), '2024-09-20 15:00', '2024-09-17 11:00'), (30000, 50000, now(), '2024-06-08 15:00', '2024-06-05 11:00'), (97000, 100000, now(), '2024-06-25 15:00', '2024-06-24 11:00'), (9000, 10000, now(), '2023-01-18 15:00', '2023-01-14 11:00'), (30000, 50000, now(), '2023-06-29 15:00', '2023-06-28 11:00'), (28000, 30000, now(), '2024-07-05 15:00', '2024-07-02 11:00'), (39000, 40000, now(), '2023-09-24 15:00', '2023-09-21 11:00'), (36000, 40000, now(), '2024-08-13 15:00', '2024-08-12 11:00'), (47000, 50000, now(), '2023-02-22 15:00', '2023-02-19 11:00'), (48000, 50000, now(), '2023-10-07 15:00', '2023-10-06 11:00'), (95000, 100000, now(), '2024-05-05 15:00', '2024-05-04 11:00'), (15300, 18000, now(), '2023-02-23 15:00', '2023-02-22 11:00'), (14000, 20000, now(), '2023-09-10 15:00', '2023-09-09 11:00'), (72000, 74000, now(), '2024-02-19 15:00', '2024-02-18 11:00'), (84000, 86000, now(), '2023-08-29 15:00', '2023-08-27 11:00'), (30000, 32000, now(), '2024-05-13 15:00', '2024-05-11 11:00'), (188000, 190000, now(), '2023-06-06 15:00', '2023-06-03 11:00'), (62000, 63000, now(), '2023-03-18 15:00', '2023-03-16 11:00'), (46000, 66000, now(), '2024-07-20 15:00', '2024-07-19 11:00'), (100800, 144000, now(), '2024-08-12 15:00', '2024-08-08 11:00'), (56250, 75000, now(), '2023-01-11 15:00', '2023-01-08 11:00'), (72250, 85000, now(), '2024-09-11 15:00', '2024-09-08 11:00'), (22400, 32000, now(), '2023-03-05 15:00', '2023-03-03 11:00'), (61000, 64000, now(), '2023-07-09 15:00', '2023-07-08 11:00'), (56700, 81000, now(), '2024-09-16 15:00', '2024-09-13 11:00'), (26250, 35000, now(), '2024-07-05 15:00', '2024-07-04 11:00'), (168000, 170000, now(), '2023-06-05 15:00', '2023-06-03 11:00'), (69300, 77000, now(), '2023-11-28 15:00', '2023-11-24 11:00'), (25200, 42000, now(), '2024-05-25 15:00', '2024-05-24 11:00'), (24500, 35000, now(), '2023-01-18 15:00', '2023-01-16 11:00'), (28000, 40000, now(), '2023-03-15 15:00', '2023-03-13 11:00'), (38250, 45000, now(), '2024-07-27 15:00', '2024-07-25 11:00'), (69000, 70000, now(), '2023-07-09 15:00', '2023-07-08 11:00'), (78000, 80000, now(), '2023-11-25 15:00', '2023-11-21 11:00'), (85000, 100000, now(), '2024-09-11 15:00', '2024-09-10 11:00'), (42000, 62000, now(), '2023-01-16 15:00', '2023-01-15 11:00'), (50150, 59000, now(), '2023-10-12 15:00', '2023-10-10 11:00'), (24300, 27000, now(), '2023-04-17 15:00', '2023-04-15 11:00'), (79000, 80000, now(), '2024-01-01 15:00', '2023-12-28 11:00'), (45000, 60000, now(), '2023-05-19 15:00', '2023-05-16 11:00'), (6000, 26000, now(), '2024-08-30 15:00', '2024-08-27 11:00'); +insert into reservation(discount_price, total_price, created_at, end_date, start_date) values (33000, 55000, now(), '2023-09-26 15:00', '2023-09-23 11:00'), (5000, 10000, now(), '2023-12-16 15:00', '2023-12-12 11:00'), (74000, 75000, now(), '2024-04-14 15:00', '2024-04-10 11:00'), (60000, 62000, now(), '2024-12-07 15:00', '2024-12-04 11:00'), (45000, 60000, now(), '2024-10-15 15:00', '2024-10-13 11:00'), (39750, 53000, now(), '2024-05-18 15:00', '2024-05-15 11:00'), (29400, 42000, now(), '2024-03-19 15:00', '2024-03-18 11:00'), (215000, 220000, now(), '2023-11-06 15:00', '2023-11-02 11:00'), (25000, 30000, now(), '2023-09-18 15:00', '2023-09-17 11:00'), (36000, 40000, now(), '2023-12-12 15:00', '2023-12-08 11:00'), (58000, 60000, now(), '2023-02-07 15:00', '2023-02-03 11:00'), (83000, 88000, now(), '2024-05-08 15:00', '2024-05-07 11:00'), (59400, 99000, now(), '2023-07-01 15:00', '2023-06-27 11:00'), (28050, 33000, now(), '2023-05-22 15:00', '2023-05-21 11:00'), (15400, 22000, now(), '2023-10-16 15:00', '2023-10-14 11:00'), (80000, 100000, now(), '2023-10-04 15:00', '2023-10-03 11:00'), (46500, 62000, now(), '2024-04-30 15:00', '2024-04-28 11:00'), (39000, 59000, now(), '2023-01-07 15:00', '2023-01-04 11:00'), (22950, 27000, now(), '2024-10-05 15:00', '2024-10-01 11:00'), (79000, 80000, now(), '2023-11-30 15:00', '2023-11-28 11:00'), (42000, 60000, now(), '2023-05-14 15:00', '2023-05-11 11:00'), (23000, 26000, now(), '2024-11-18 15:00', '2024-11-17 11:00'), (49500, 55000, now(), '2023-06-22 15:00', '2023-06-18 11:00'), (9000, 10000, now(), '2024-01-22 15:00', '2024-01-19 11:00'), (52500, 75000, now(), '2023-03-24 15:00', '2023-03-20 11:00'), (52700, 62000, now(), '2024-01-20 15:00', '2024-01-17 11:00'), (58000, 60000, now(), '2024-03-17 15:00', '2024-03-15 11:00'), (45050, 53000, now(), '2023-05-09 15:00', '2023-05-07 11:00'), (40000, 42000, now(), '2024-03-19 15:00', '2024-03-18 11:00'), (219000, 220000, now(), '2024-03-22 15:00', '2024-03-21 11:00'), (27000, 30000, now(), '2024-03-09 15:00', '2024-03-08 11:00'), (38000, 40000, now(), '2023-05-09 15:00', '2023-05-05 11:00'), (42000, 60000, now(), '2024-03-30 15:00', '2024-03-27 11:00'), (74800, 88000, now(), '2024-12-02 15:00', '2024-12-01 11:00'), (59400, 99000, now(), '2024-03-01 15:00', '2024-02-27 11:00'), (31000, 33000, now(), '2023-02-14 15:00', '2023-02-10 11:00'), (18700, 22000, now(), '2024-10-25 15:00', '2024-10-22 11:00'), (40000, 60000, now(), '2023-11-19 15:00', '2023-11-15 11:00'), (36600, 61000, now(), '2023-05-22 15:00', '2023-05-19 11:00'), (79000, 82000, now(), '2024-05-27 15:00', '2024-05-25 11:00'), (65800, 94000, now(), '2024-08-20 15:00', '2024-08-19 11:00'), (60000, 61000, now(), '2024-01-12 15:00', '2024-01-08 11:00'), (74000, 79000, now(), '2024-07-20 15:00', '2024-07-19 11:00'), (52800, 88000, now(), '2023-12-11 15:00', '2023-12-08 11:00'), (67150, 79000, now(), '2023-06-13 15:00', '2023-06-09 11:00'), (91000, 96000, now(), '2024-11-22 15:00', '2024-11-20 11:00'), (33000, 44000, now(), '2023-12-16 15:00', '2023-12-14 11:00'), (42700, 61000, now(), '2023-03-01 15:00', '2023-02-28 11:00'), (41160, 58800, now(), '2023-03-15 15:00', '2023-03-12 11:00'), (62200, 64200, now(), '2023-08-12 15:00', '2023-08-11 11:00'), (38360, 54800, now(), '2024-12-11 15:00', '2024-12-09 11:00'), (31500, 45000, now(), '2023-06-15 15:00', '2023-06-11 11:00'), (15400, 22000, now(), '2023-04-24 15:00', '2023-04-20 11:00'), (3000, 23000, now(), '2023-12-18 15:00', '2023-12-17 11:00'), (67000, 70000, now(), '2024-12-08 15:00', '2024-12-06 11:00'), (22000, 24000, now(), '2023-01-22 15:00', '2023-01-21 11:00'), (60200, 62200, now(), '2024-06-21 15:00', '2024-06-19 11:00'), (67300, 72300, now(), '2024-10-23 15:00', '2024-10-20 11:00'), (44000, 46000, now(), '2024-02-15 15:00', '2024-02-13 11:00'), (56400, 94000, now(), '2024-06-25 15:00', '2024-06-21 11:00'), (45750, 61000, now(), '2024-02-16 15:00', '2024-02-13 11:00'), (77000, 79000, now(), '2023-04-08 15:00', '2023-04-07 11:00'), (52800, 88000, now(), '2023-04-22 15:00', '2023-04-20 11:00'), (59000, 79000, now(), '2023-03-23 15:00', '2023-03-21 11:00'), (91000, 96000, now(), '2023-09-30 15:00', '2023-09-26 11:00'), (30800, 44000, now(), '2024-12-04 15:00', '2024-12-02 11:00'), (42700, 61000, now(), '2024-02-12 15:00', '2024-02-08 11:00'), (56800, 58800, now(), '2024-01-23 15:00', '2024-01-20 11:00'), (44940, 64200, now(), '2024-02-15 15:00', '2024-02-13 11:00'), (51800, 54800, now(), '2024-03-27 15:00', '2024-03-23 11:00'), (38250, 45000, now(), '2023-07-07 15:00', '2023-07-04 11:00'), (13200, 22000, now(), '2024-10-17 15:00', '2024-10-13 11:00'), (22000, 23000, now(), '2023-02-12 15:00', '2023-02-10 11:00'), (50000, 70000, now(), '2023-11-22 15:00', '2023-11-20 11:00'), (20400, 24000, now(), '2024-01-20 15:00', '2024-01-18 11:00'), (42200, 62200, now(), '2023-10-10 15:00', '2023-10-06 11:00'), (52300, 72300, now(), '2024-01-12 15:00', '2024-01-11 11:00'), (43000, 46000, now(), '2023-11-29 15:00', '2023-11-27 11:00'), (68000, 70000, now(), '2024-01-18 15:00', '2024-01-15 11:00'), (62000, 63000, now(), '2024-09-09 15:00', '2024-09-07 11:00'), (17625, 23500, now(), '2024-10-15 15:00', '2024-10-11 11:00'), (74500, 94500, now(), '2024-06-17 15:00', '2024-06-16 11:00'), (33840, 37600, now(), '2024-06-12 15:00', '2024-06-08 11:00'), (50000, 52000, now(), '2023-08-21 15:00', '2023-08-18 11:00'), (16100, 23000, now(), '2024-05-14 15:00', '2024-05-10 11:00'), (76000, 78000, now(), '2024-03-08 15:00', '2024-03-05 11:00'), (54900, 61000, now(), '2023-12-19 15:00', '2023-12-18 11:00'), (49200, 82000, now(), '2023-07-31 15:00', '2023-07-27 11:00'), (33000, 44000, now(), '2024-07-21 15:00', '2024-07-17 11:00'), (90000, 95000, now(), '2024-12-10 15:00', '2024-12-07 11:00'), (85000, 87000, now(), '2023-02-20 15:00', '2023-02-16 11:00'), (58240, 83200, now(), '2023-05-19 15:00', '2023-05-16 11:00'), (75000, 78000, now(), '2023-06-24 15:00', '2023-06-20 11:00'), (58650, 69000, now(), '2023-01-20 15:00', '2023-01-18 11:00'), (70800, 72800, now(), '2024-02-28 15:00', '2024-02-27 11:00'), (87000, 92000, now(), '2023-12-27 15:00', '2023-12-26 11:00'), (48000, 80000, now(), '2023-08-04 15:00', '2023-08-01 11:00'), (88000, 90000, now(), '2024-09-22 15:00', '2024-09-21 11:00'), (30000, 50000, now(), '2024-08-07 15:00', '2024-08-06 11:00'), (70000, 100000, now(), '2024-07-03 15:00', '2024-07-01 11:00'), (7000, 10000, now(), '2023-12-07 15:00', '2023-12-04 11:00'), (45000, 50000, now(), '2023-07-11 15:00', '2023-07-09 11:00'), (27000, 30000, now(), '2023-09-05 15:00', '2023-09-04 11:00'), (28000, 40000, now(), '2023-04-08 15:00', '2023-04-04 11:00'), (39000, 40000, now(), '2023-11-10 15:00', '2023-11-09 11:00'), (30000, 50000, now(), '2023-11-09 15:00', '2023-11-06 11:00'), (42500, 50000, '2024-11-21 15:00', now(), '2024-11-18 11:00'); + +--예약 객실(room_servervaion) (1142건) +insert into room_reservation(discount_price, coupon_id, reservation_id, room_id) values (7000, 339, 735, 34), (37100, 644, 849, 185), (22200, 156, 671, 73), (36500, 239, 553, 96), (5700, 501, 342, 21), (6800, 654, 214, 146), (48600, 692, 115, 33), (37600, 591, 911, 187), (6500, 949, 289, 105), (49700, 403, 514, 136), (14700, 924, 99, 123), (17500, 311, 364, 35), (46300, 56, 339, 105), (24200, 373, 749, 68), (38100, 283, 387, 107), (32500, 16, 657, 93), (31700, 335, 517, 9), (36700, 298, 152, 66), (6300, 304, 168, 167), (4900, 714, 390, 124), (22300, 971, 85, 107), (10100, 775, 802, 165), (16500, 328, 69, 96), (15100, 71, 407, 99), (17500, 981, 166, 133), (40100, 118, 338, 53), (16400, 498, 342, 42), (45800, 946, 83, 115), (33800, 484, 59, 24), (10000, 422, 171, 51), (35300, 834, 372, 96), (24400, 664, 775, 21), (44600, 777, 46, 159), (46900, 179, 677, 138), (33400, 468, 401, 50), (3300, 100, 869, 22), (26100, 239, 426, 36), (20600, 566, 775, 132), (46400, 736, 629, 32), (17700, 1, 471, 124), (11700, 25, 683, 100), (48300, 392, 359, 15), (28800, 482, 466, 126), (22000, 155, 726, 48), (35400, 735, 896, 151), (45600, 6, 509, 10), (3300, 228, 845, 44), (12200, 368, 628, 57), (37400, 822, 962, 18), (29300, 44, 572, 175), (38500, 981, 38, 105), (41700, 118, 627, 10), (11700, 152, 299, 58), (9900, 991, 723, 85), (18700, 495, 703, 8), (18500, 922, 909, 156), (19000, 103, 441, 154), (7600, 401, 920, 95), (30200, 751, 256, 92), (36300, 788, 637, 74), (44700, 805, 718, 73), (23700, 575, 937, 95), (20800, 445, 282, 6), (45200, 434, 6, 8), (12100, 146, 188, 50), (49900, 568, 114, 60), (48900, 479, 186, 89), (9800, 127, 436, 78), (39100, 166, 68, 182), (6200, 660, 39, 37), (25100, 207, 205, 49), (28100, 578, 823, 2), (4100, 819, 550, 7), (35400, 10, 863, 124), (40300, 321, 139, 165), (30500, 43, 26, 132), (4400, 2, 35, 186), (7500, 60, 976, 17), (44200, 314, 801, 99), (27900, 116, 997, 103), (33600, 324, 759, 154), (36600, 124, 639, 137), (22700, 680, 467, 69), (3200, 59, 214, 191), (23600, 398, 958, 155), (8500, 514, 621, 51), (46500, 812, 352, 16), (10100, 846, 400, 160), (18200, 416, 121, 26), (7800, 338, 406, 37), (4600, 34, 718, 18), (8000, 600, 271, 94), (18600, 571, 964, 128), (13000, 954, 893, 99), (49400, 403, 331, 146), (5300, 306, 990, 81), (46400, 338, 656, 100), (45200, 103, 886, 192), (19400, 198, 715, 51), (13100, 595, 999, 187), (34400, 920, 537, 5), (26900, 113, 934, 186), (32100, 283, 131, 13), (42300, 580, 370, 20), (37000, 522, 601, 126), (13900, 564, 122, 113), (13400, 675, 965, 27), (14600, 773, 361, 62), (32200, 580, 347, 151), (49600, 111, 952, 101), (21000, 309, 811, 75), (18500, 903, 161, 62), (48700, 557, 42, 98), (13800, 60, 408, 16), (27900, 8, 970, 170), (28300, 463, 940, 118), (24800, 954, 38, 86), (11600, 952, 721, 111), (29300, 205, 329, 4), (36100, 790, 105, 9), (12900, 467, 139, 99), (49100, 899, 423, 156), (45800, 893, 750, 31), (4200, 859, 949, 41), (4700, 854, 840, 142), (48300, 299, 681, 30), (36100, 498, 328, 49), (44800, 164, 135, 174), (37600, 418, 660, 98), (32700, 306, 116, 49), (45300, 183, 327, 84), (29600, 114, 162, 133), (48900, 435, 595, 166), (12100, 849, 889, 63), (24000, 694, 186, 168), (38900, 937, 733, 57), (29800, 933, 326, 80), (9600, 438, 207, 173), (49800, 478, 687, 67), (33400, 15, 854, 169), (48200, 435, 887, 71), (28500, 476, 694, 140), (16700, 681, 861, 182), (41000, 289, 733, 131), (29800, 947, 307, 72), (42700, 615, 780, 189), (15900, 339, 395, 143), (35900, 599, 633, 13), (4700, 816, 994, 25), (34200, 51, 243, 35), (5900, 580, 132, 28), (32000, 145, 615, 165), (46000, 811, 535, 115), (20900, 7, 945, 97), (32300, 865, 378, 10), (15700, 405, 355, 170), (49900, 344, 132, 125), (8800, 524, 103, 103), (29200, 906, 51, 114), (4900, 653, 442, 68), (42200, 504, 679, 99), (6300, 655, 301, 4), (38600, 77, 23, 81), (39100, 378, 892, 14), (12700, 12, 296, 4), (22100, 588, 320, 81), (46900, 185, 422, 75), (32200, 93, 307, 167), (38500, 516, 430, 159), (24500, 133, 571, 3), (36400, 234, 91, 47), (24700, 470, 473, 133), (12500, 874, 456, 62), (5100, 964, 176, 59), (39400, 627, 476, 144), (48200, 295, 656, 184), (32400, 228, 173, 30), (23100, 113, 772, 98), (21600, 938, 648, 18), (32000, 478, 69, 6), (47100, 195, 755, 132), (24300, 136, 437, 179), (40000, 665, 887, 130), (21000, 418, 918, 54), (28000, 435, 49, 175), (23300, 551, 338, 114), (41100, 617, 922, 15), (21300, 588, 543, 187), (37100, 154, 590, 60), (26400, 634, 983, 19), (43400, 130, 558, 46), (26400, 992, 706, 191), (4400, 844, 910, 33), (50000, 64, 270, 124), (50000, 563, 382, 16), (35000, 519, 644, 54), (33300, 539, 674, 94), (17400, 599, 741, 67), (13600, 180, 953, 153), (17600, 450, 417, 47), (18200, 396, 451, 100), (15800, 750, 533, 188), (44300, 260, 856, 141), (25900, 194, 103, 103), (14800, 43, 731, 183), (27000, 927, 544, 190), (26300, 449, 50, 175), (26000, 694, 827, 90), (49600, 182, 825, 6), (12800, 49, 825, 117), (40400, 826, 489, 3), (29200, 563, 484, 176), (25900, 321, 522, 15), (38700, 321, 331, 146), (44800, 503, 586, 120), (23200, 806, 565, 99), (25600, 253, 360, 42), (26800, 342, 593, 165), (29700, 935, 730, 54), (39000, 41, 991, 40), (10000, 121, 188, 191), (30900, 124, 218, 100), (21800, 92, 741, 101), (14500, 914, 568, 6), (36000, 296, 288, 3), (39100, 31, 366, 64), (24000, 729, 215, 154), (8000, 241, 293, 6), (29700, 741, 618, 37), (22600, 537, 546, 180), (27200, 552, 231, 142), (18400, 391, 50, 131), (27500, 378, 41, 116), (11500, 936, 670, 127), (20600, 550, 969, 22), (32200, 575, 564, 58), (33700, 508, 77, 66), (17300, 951, 46, 49), (32500, 361, 457, 41), (4100, 187, 464, 81), (32000, 334, 259, 42), (7300, 415, 963, 59), (36900, 670, 848, 164), (6200, 668, 60, 7), (37000, 767, 291, 72), (40000, 140, 438, 18), (49800, 301, 437, 26), (11000, 144, 92, 102), (17800, 664, 340, 53), (24700, 108, 357, 9), (15100, 183, 904, 3), (20700, 61, 208, 157), (14600, 581, 509, 150), (16600, 523, 684, 2), (41500, 920, 504, 49), (42000, 997, 58, 54), (16700, 104, 153, 54), (8600, 199, 951, 48), (44000, 822, 841, 74), (31200, 219, 173, 120), (22700, 49, 125, 24), (36000, 878, 730, 133), (45900, 194, 530, 59), (28900, 27, 725, 154), (35000, 285, 562, 83), (4300, 590, 117, 67), (11200, 775, 356, 115), (14100, 679, 583, 110), (5800, 503, 899, 52), (13000, 441, 262, 6), (38300, 594, 477, 112), (13800, 308, 317, 180), (11800, 266, 615, 29), (27800, 225, 588, 126), (33100, 462, 750, 68), (47200, 212, 851, 52), (8000, 314, 397, 7), (11300, 214, 679, 145), (23600, 488, 383, 35), (40300, 344, 209, 62), (22500, 980, 48, 179), (12300, 179, 466, 140), (11200, 716, 137, 97), (26500, 690, 265, 100), (10100, 854, 606, 191), (15500, 598, 849, 45), (3600, 200, 775, 141), (23800, 661, 90, 83), (20600, 22, 457, 174), (26100, 794, 960, 146), (44700, 899, 336, 80), (39400, 798, 771, 168), (44400, 940, 567, 59), (39700, 654, 434, 32), (47300, 855, 573, 80), (31600, 516, 842, 92), (13700, 179, 323, 193), (11200, 343, 814, 72), (4000, 589, 525, 55); +insert into room_reservation(discount_price, coupon_id, reservation_id, room_id) values (42400, 44, 18, 110), (14700, 743, 470, 135), (21400, 941, 856, 2), (35200, 369, 526, 141), (30200, 152, 643, 58), (13300, 361, 192, 93), (10400, 635, 670, 184), (46000, 198, 540, 8), (13800, 672, 147, 31), (19500, 633, 3, 20), (17000, 958, 625, 46), (36100, 899, 267, 143), (34100, 136, 454, 117), (15400, 220, 468, 39), (11700, 538, 698, 55), (3300, 883, 281, 11), (44900, 321, 862, 25), (48500, 264, 175, 168), (39300, 701, 209, 19), (21600, 631, 605, 34), (15000, 305, 261, 54), (22800, 879, 964, 141), (35400, 36, 981, 70), (19900, 719, 378, 114), (34900, 751, 650, 22), (14300, 736, 864, 7), (28400, 608, 689, 113), (4900, 306, 354, 116), (5800, 965, 304, 29), (36500, 997, 566, 92), (24900, 607, 825, 24), (42200, 780, 10, 95), (18900, 397, 309, 10), (23600, 370, 855, 114), (9400, 837, 24, 147), (5900, 339, 311, 162), (9600, 428, 179, 177), (21700, 714, 215, 80), (34400, 549, 733, 33), (28000, 929, 162, 110), (47200, 807, 275, 148), (16900, 687, 833, 59), (20400, 658, 981, 98), (33900, 105, 377, 54), (11800, 637, 976, 151), (49800, 788, 529, 68), (19000, 759, 351, 189), (19800, 949, 435, 191), (41200, 136, 855, 42), (8600, 494, 374, 28), (32200, 795, 76, 26), (16200, 627, 694, 92), (24000, 995, 886, 153), (26700, 119, 473, 149), (12600, 739, 553, 190), (8900, 535, 324, 182), (46100, 444, 212, 1), (24000, 334, 856, 60), (35100, 204, 572, 72), (36900, 940, 626, 29), (45200, 385, 100, 95), (47700, 190, 327, 46), (18700, 702, 188, 179), (25100, 994, 741, 177), (43100, 719, 912, 24), (48800, 288, 528, 74), (47000, 223, 962, 74), (15300, 705, 370, 75), (28900, 357, 349, 2), (44100, 759, 949, 152), (11500, 72, 614, 85), (14900, 526, 358, 144), (9500, 604, 401, 90), (27200, 739, 274, 24), (10300, 470, 493, 45), (41200, 609, 68, 99), (4300, 679, 318, 119), (34100, 425, 290, 114), (8900, 994, 514, 193), (28900, 746, 378, 151), (26000, 864, 540, 172), (5100, 60, 94, 36), (32100, 295, 263, 107), (9500, 453, 434, 40), (49700, 712, 152, 76), (45400, 979, 410, 5), (41800, 713, 640, 64), (49300, 61, 586, 43), (5200, 896, 445, 122), (35100, 410, 619, 118), (28700, 807, 207, 7), (9500, 494, 694, 149), (32800, 727, 600, 13), (34500, 920, 847, 188), (44100, 484, 844, 75), (34400, 369, 440, 94), (35800, 834, 336, 160), (35600, 650, 439, 37), (16100, 19, 926, 104), (48100, 484, 265, 144), (20800, 858, 293, 106), (47500, 52, 828, 56), (47800, 174, 73, 50), (39200, 333, 1000, 106), (5900, 142, 580, 158), (38300, 351, 549, 43), (6500, 881, 399, 74), (10800, 566, 234, 73), (9700, 462, 926, 69), (46500, 745, 21, 111), (21900, 574, 455, 119), (15200, 669, 473, 120), (3700, 52, 886, 110), (20700, 630, 134, 46), (8500, 983, 838, 1), (46300, 351, 320, 69), (8200, 788, 742, 44), (9500, 441, 520, 136), (18800, 306, 571, 142), (47900, 382, 947, 17), (6200, 148, 603, 86), (46300, 920, 994, 32), (36900, 455, 370, 9), (6800, 374, 369, 175), (8500, 295, 351, 144), (5200, 956, 441, 177), (48900, 924, 907, 66), (24200, 23, 942, 192), (14100, 419, 939, 48), (16200, 148, 612, 99), (21400, 864, 558, 44), (28100, 906, 583, 122), (37100, 586, 739, 80), (12000, 471, 644, 89), (9600, 255, 693, 25), (16600, 847, 386, 70), (6000, 723, 513, 14), (42300, 87, 633, 192), (14800, 180, 554, 71), (18600, 554, 262, 10), (12300, 479, 485, 27), (28300, 315, 832, 140), (31100, 461, 336, 136), (36400, 762, 508, 184), (15700, 828, 110, 121), (30500, 868, 804, 165), (17600, 579, 612, 118), (48500, 956, 874, 146), (21400, 860, 215, 152), (44200, 515, 611, 95), (10200, 39, 784, 116), (6900, 843, 99, 113), (35800, 473, 987, 176), (6200, 361, 576, 52), (43600, 874, 372, 183), (33600, 579, 147, 18), (20600, 399, 71, 41), (4800, 804, 822, 179), (17000, 556, 889, 174), (47600, 699, 214, 34), (44900, 458, 108, 12), (31200, 725, 236, 185), (20900, 903, 71, 93), (23600, 49, 114, 138), (22600, 788, 126, 40), (49300, 885, 10, 100), (22200, 671, 56, 24), (43600, 758, 972, 88), (39300, 578, 326, 177), (29600, 837, 677, 59), (10700, 109, 64, 115), (24300, 293, 524, 102), (23800, 645, 994, 165), (31800, 667, 539, 30), (44600, 482, 760, 47), (11000, 360, 345, 95), (13500, 786, 626, 150), (38600, 37, 736, 177), (47800, 2, 911, 57), (11900, 605, 489, 109), (31300, 915, 548, 135), (22000, 440, 557, 98), (25800, 625, 977, 34), (38200, 378, 453, 165), (7600, 707, 145, 103), (16900, 881, 51, 141), (28400, 30, 597, 167), (48600, 312, 510, 152), (16200, 766, 564, 162), (3700, 625, 74, 101), (7800, 433, 430, 2), (11100, 694, 616, 23), (27700, 185, 367, 12), (39500, 1, 303, 112), (16300, 73, 545, 132), (39000, 83, 567, 21), (19100, 615, 925, 16), (43600, 418, 799, 94), (25100, 474, 256, 110), (49100, 705, 911, 77), (39000, 756, 757, 167), (50000, 693, 16, 133), (37900, 689, 50, 145), (40200, 241, 260, 10), (16200, 23, 527, 51), (38400, 512, 399, 88), (15900, 824, 841, 172), (15000, 857, 876, 190), (23700, 207, 814, 117), (4000, 186, 348, 186), (7800, 645, 837, 144), (31700, 573, 65, 122), (38100, 105, 992, 104), (45700, 953, 216, 75), (20000, 496, 894, 159), (29800, 494, 411, 89), (45700, 407, 316, 108), (49400, 708, 575, 184), (20700, 13, 456, 48), (15600, 500, 551, 93), (31000, 93, 424, 124), (19100, 562, 359, 65), (44200, 509, 506, 64), (34800, 945, 228, 83), (24600, 188, 50, 18), (39500, 383, 318, 99), (18700, 2, 565, 163), (21900, 930, 561, 73), (9300, 276, 574, 130), (40100, 542, 771, 147), (45500, 124, 879, 158), (18500, 158, 850, 34), (27900, 467, 279, 156), (24900, 794, 986, 51), (25500, 705, 623, 53), (18500, 206, 196, 113), (13000, 955, 629, 31), (9200, 666, 634, 22), (18900, 174, 905, 8), (7100, 628, 820, 73), (29400, 537, 726, 108), (4300, 282, 714, 134), (3400, 941, 667, 48), (41100, 663, 366, 23), (16200, 244, 987, 139), (41700, 426, 255, 141), (34400, 361, 9, 63), (3700, 601, 151, 144), (31300, 82, 243, 58), (14000, 801, 425, 123), (45000, 902, 865, 81), (43400, 822, 264, 77), (17900, 242, 501, 178), (46800, 605, 829, 193), (49700, 524, 956, 153), (19100, 854, 722, 121), (30000, 946, 135, 153), (20000, 646, 932, 122), (21300, 339, 588, 49), (40100, 853, 771, 142), (20600, 415, 284, 135), (44500, 684, 818, 173), (42500, 603, 656, 42), (31100, 175, 930, 65), (17600, 76, 768, 44), (6300, 106, 599, 14), (34200, 734, 434, 97), (40800, 613, 739, 30), (33400, 52, 362, 25), (6500, 513, 825, 123), (18000, 568, 788, 141), (7400, 539, 804, 139), (6000, 760, 331, 159), (18500, 638, 214, 164), (31200, 964, 934, 25), (4100, 372, 442, 15), (37100, 474, 895, 131), (48200, 937, 952, 45), (44700, 356, 386, 95), (49700, 362, 303, 160), (38300, 238, 27, 22), (4900, 783, 238, 68), (26100, 445, 287, 12), (29600, 559, 403, 142), (43300, 258, 126, 139), (3700, 130, 774, 69), (26700, 682, 583, 163), (25900, 261, 968, 78), (4600, 73, 640, 24), (45600, 914, 977, 138), (32700, 389, 879, 1), (23300, 786, 75, 189), (28900, 958, 420, 175), (42900, 561, 977, 89), (26800, 792, 527, 191), (34700, 770, 250, 105), (48700, 288, 343, 138), (16200, 374, 965, 27), (47700, 303, 102, 170), (16100, 403, 27, 138), (36300, 97, 391, 192), (37800, 337, 123, 95); +insert into room_reservation(discount_price, coupon_id, reservation_id, room_id) values (13600, 936, 503, 188), (21300, 815, 160, 79), (3400, 75, 571, 142), (19900, 634, 931, 2), (21700, 970, 708, 95), (43600, 930, 853, 107), (9900, 854, 399, 15), (4700, 607, 323, 89), (19500, 175, 607, 99), (38800, 146, 458, 114), (34600, 978, 327, 161), (25200, 191, 999, 130), (22600, 828, 930, 69), (38400, 541, 423, 191), (48900, 135, 33, 39), (36900, 861, 267, 19), (5200, 708, 853, 67), (26300, 503, 350, 27), (22300, 18, 488, 144), (29900, 920, 337, 94), (45800, 679, 19, 42), (15800, 592, 669, 157), (10600, 389, 218, 125), (42100, 979, 73, 73), (42800, 413, 388, 65), (14900, 259, 175, 49), (19900, 384, 265, 124), (3200, 768, 564, 120), (35500, 45, 907, 88), (47200, 472, 780, 181), (12200, 589, 581, 3), (7700, 870, 66, 80), (44600, 551, 286, 37), (27000, 202, 87, 146), (8500, 932, 135, 21), (21100, 426, 20, 103), (4000, 361, 833, 112), (21900, 137, 572, 75), (45400, 631, 906, 48), (31200, 900, 247, 111), (47500, 860, 53, 68), (9300, 264, 309, 72), (10200, 934, 71, 163), (21300, 495, 687, 94), (19900, 410, 512, 10), (43500, 195, 483, 58), (47600, 975, 170, 154), (20600, 930, 136, 67), (26100, 934, 855, 65), (46000, 837, 478, 133), (22500, 613, 625, 155), (43500, 409, 312, 3), (49300, 426, 360, 72), (35000, 516, 185, 117), (5800, 698, 305, 112), (35700, 601, 300, 192), (32500, 682, 243, 144), (9300, 609, 335, 192), (40500, 595, 750, 48), (37600, 670, 605, 100), (21400, 423, 634, 31), (48600, 125, 645, 83), (24800, 364, 632, 67), (45000, 758, 51, 132), (24500, 586, 337, 92), (39700, 673, 849, 82), (23600, 522, 605, 188), (5300, 88, 921, 111), (11100, 202, 854, 23), (23200, 188, 918, 174), (20600, 354, 980, 146), (40700, 424, 216, 34), (15600, 405, 718, 116), (22900, 612, 545, 111), (15100, 123, 694, 26), (8000, 874, 451, 131), (19900, 840, 525, 89), (41500, 665, 631, 19), (18700, 369, 555, 188), (13900, 755, 271, 177), (26200, 527, 13, 4), (48500, 321, 398, 185), (39500, 881, 832, 146), (35700, 792, 682, 6), (34700, 441, 428, 147), (23400, 741, 477, 36), (21700, 659, 916, 80), (48800, 651, 627, 99), (46200, 341, 638, 134), (36000, 552, 73, 30), (10800, 330, 281, 92), (3200, 423, 262, 138), (39700, 374, 9, 44), (21400, 315, 416, 130), (10200, 886, 582, 132), (22700, 789, 481, 96), (7500, 416, 802, 103), (14000, 531, 486, 125), (10900, 423, 94, 27), (6700, 45, 527, 143), (19300, 520, 917, 68), (18600, 198, 869, 24), (12400, 107, 464, 64), (23700, 60, 856, 84), (11600, 870, 47, 172), (44600, 603, 48, 110), (8500, 845, 118, 142), (30700, 660, 199, 23), (18500, 45, 904, 52), (35700, 25, 10, 53), (24600, 255, 446, 57), (33200, 67, 564, 117), (11600, 870, 699, 102), (26400, 302, 995, 45), (25100, 314, 49, 19), (18100, 866, 326, 122), (29300, 431, 672, 65), (20400, 329, 291, 150), (17700, 333, 623, 15), (40600, 315, 364, 142), (22800, 276, 26, 102), (26500, 669, 902, 52), (36800, 220, 489, 5), (37500, 303, 16, 43), (44400, 996, 21, 22), (23000, 723, 365, 86), (46700, 415, 237, 4), (26800, 918, 757, 149), (6500, 982, 918, 52), (11400, 909, 731, 129), (32200, 562, 677, 170), (46600, 271, 720, 103), (5500, 621, 472, 34), (49500, 946, 449, 28), (18200, 109, 925, 144), (42600, 705, 592, 10), (42000, 647, 742, 17), (20700, 684, 470, 110), (49800, 851, 951, 161), (19800, 10, 44, 46), (34700, 713, 598, 137), (37200, 569, 939, 20), (23600, 639, 141, 8), (27800, 971, 399, 100), (42100, 268, 835, 122), (35700, 87, 646, 145), (35000, 210, 123, 25), (14900, 201, 614, 162), (24300, 683, 668, 40), (49900, 64, 212, 191), (38200, 929, 481, 17), (11600, 800, 754, 48), (33600, 526, 890, 144), (48500, 730, 627, 102), (30100, 942, 619, 67), (32300, 349, 210, 160), (13200, 197, 798, 72), (14300, 405, 894, 102), (45600, 611, 351, 38), (7000, 744, 538, 14), (20000, 433, 462, 10), (36800, 894, 343, 11), (47300, 699, 230, 34), (7000, 825, 200, 33), (30900, 581, 627, 81), (16100, 96, 517, 12), (21800, 543, 537, 95), (33400, 612, 339, 87), (47800, 739, 965, 49), (49300, 451, 364, 175), (32600, 350, 47, 43), (48100, 97, 458, 8), (46600, 375, 494, 154), (6400, 637, 563, 173), (6300, 337, 694, 139), (34200, 328, 189, 23), (8100, 516, 424, 172), (38900, 633, 669, 9), (17100, 954, 341, 78), (35100, 532, 557, 132), (3800, 779, 685, 160), (24400, 390, 892, 159), (7600, 514, 566, 7), (49600, 143, 684, 117), (29500, 874, 288, 178), (48100, 161, 201, 119), (25200, 818, 859, 143), (15300, 188, 811, 61), (19100, 792, 987, 119), (42500, 368, 210, 188), (4800, 916, 663, 87), (10500, 813, 139, 43), (36000, 994, 108, 15), (12300, 762, 932, 193), (48100, 659, 116, 107), (45600, 721, 67, 31), (48500, 613, 71, 140), (38000, 244, 457, 134), (14700, 764, 394, 183), (15400, 750, 740, 27), (5100, 380, 836, 99), (12900, 832, 637, 3), (21500, 553, 278, 4), (20500, 933, 247, 93), (19900, 880, 676, 45), (20900, 762, 274, 20), (21700, 834, 491, 71), (12000, 821, 348, 163), (32500, 375, 601, 163), (31400, 106, 364, 5), (11500, 526, 293, 117), (3400, 831, 408, 168), (11300, 700, 663, 62), (41200, 634, 150, 31), (36500, 459, 11, 184), (10500, 335, 851, 192), (48400, 532, 784, 156), (46300, 934, 872, 138), (42600, 731, 640, 186), (16700, 573, 240, 123), (41400, 756, 837, 164), (24500, 854, 904, 183), (38600, 758, 301, 103), (31200, 321, 953, 182), (37500, 60, 878, 118), (21400, 783, 870, 30), (38900, 55, 82, 168), (25700, 15, 876, 71), (18000, 158, 303, 136), (13200, 59, 913, 48), (14000, 991, 96, 15), (14800, 453, 381, 145), (21800, 626, 895, 125), (37200, 505, 960, 99), (4100, 272, 350, 176), (21400, 134, 689, 104), (11000, 770, 504, 188), (49200, 855, 743, 3), (34200, 96, 959, 30), (25000, 25, 409, 187), (16000, 181, 235, 119), (8400, 83, 300, 129), (11300, 248, 187, 36), (3600, 836, 973, 136), (48600, 861, 625, 166), (48000, 476, 859, 81), (32000, 364, 46, 9), (39900, 425, 268, 158), (35600, 750, 928, 103), (28700, 561, 220, 182), (31500, 363, 281, 75), (7200, 370, 295, 69), (37400, 498, 540, 37), (24800, 184, 878, 17), (42100, 156, 282, 130), (8800, 762, 992, 79), (12100, 179, 313, 4), (16800, 272, 648, 123), (6500, 342, 141, 181), (19200, 424, 473, 9), (4200, 873, 874, 127), (43600, 21, 112, 8), (40000, 200, 374, 192), (40900, 61, 331, 130), (4600, 549, 456, 102), (26200, 584, 697, 102), (41800, 340, 481, 29), (47900, 799, 983, 110), (46900, 813, 519, 108), (3500, 63, 199, 140), (32300, 440, 143, 31), (49200, 684, 496, 52), (12200, 83, 57, 158), (26300, 860, 86, 16), (40200, 380, 488, 41), (29800, 893, 494, 172), (9100, 343, 194, 119), (32600, 463, 71, 134), (47800, 366, 572, 106), (46100, 584, 550, 35), (18500, 569, 948, 31), (48600, 140, 970, 63), (28300, 135, 415, 112), (10500, 109, 506, 74), (31400, 298, 486, 128), (11200, 795, 144, 38), (50000, 989, 91, 58), (39200, 904, 889, 26), (19300, 966, 173, 96), (18300, 253, 933, 78), (9900, 751, 704, 8), (26800, 972, 97, 17), (16400, 175, 304, 12), (14200, 510, 152, 131), (41400, 298, 60, 83), (46000, 443, 415, 148), (25500, 2, 144, 114), (12300, 965, 310, 75), (18800, 625, 825, 107), (40600, 600, 620, 193), (4000, 147, 556, 53), (10300, 855, 996, 40), (47900, 203, 419, 15), (12000, 309, 57, 188), (5100, 312, 86, 180), (5100, 735, 839, 24); +insert into room_reservation(discount_price, coupon_id, reservation_id, room_id) values (33000, 200, 965, 79), (44400, 483, 765, 159), (14900, 965, 20, 156), (32200, 818, 370, 158), (34600, 87, 587, 81), (22000, 997, 220, 116), (9300, 250, 758, 19), (37800, 773, 531, 110), (22000, 766, 696, 104), (27900, 895, 258, 38), (44600, 866, 313, 95), (48600, 816, 77, 189), (26200, 891, 289, 119), (33400, 452, 995, 153), (32000, 558, 936, 38), (18500, 264, 529, 134), (10800, 330, 246, 130), (32900, 835, 931, 111), (44100, 469, 565, 60), (28200, 15, 298, 180), (11500, 137, 114, 58), (41100, 23, 800, 103), (10000, 922, 987, 183), (3500, 294, 909, 1), (33800, 432, 56, 159), (22800, 546, 988, 185), (48900, 500, 578, 105), (47900, 64, 877, 63), (36000, 149, 788, 100), (14200, 605, 149, 28), (35000, 547, 943, 133), (7600, 945, 33, 113), (39300, 150, 307, 137), (8600, 854, 13, 96), (5300, 424, 37, 61), (43000, 1000, 148, 99), (12700, 637, 966, 133), (23000, 7, 337, 182), (11800, 460, 171, 98), (46900, 302, 285, 137), (13300, 461, 332, 4), (36100, 948, 90, 193), (20700, 903, 354, 32), (31900, 296, 739, 12), (46900, 469, 34, 192), (46700, 377, 787, 75), (23700, 875, 858, 22), (19200, 753, 22, 144), (3000, 804, 226, 107), (50000, 781, 34, 147), (22100, 761, 588, 58), (18200, 37, 748, 83), (27300, 360, 567, 14), (29600, 473, 987, 143), (5500, 967, 201, 55), (37500, 513, 208, 109), (36700, 567, 775, 122), (26200, 761, 256, 27), (18900, 675, 632, 70), (27900, 419, 959, 68), (19500, 612, 744, 106), (37300, 650, 222, 23), (20500, 402, 191, 173), (16200, 628, 135, 66), (32000, 916, 391, 36), (40800, 497, 435, 76), (11400, 225, 354, 101), (27000, 79, 598, 142), (33100, 264, 549, 69), (5400, 326, 315, 18), (42000, 23, 139, 31), (37600, 548, 827, 151), (36100, 472, 697, 101), (40700, 228, 337, 162), (23800, 131, 382, 124), (20900, 635, 763, 12), (44700, 519, 225, 79), (34500, 602, 849, 84), (14700, 993, 132, 107), (39700, 681, 202, 104), (47500, 280, 81, 162), (26400, 728, 769, 77), (21000, 841, 373, 43), (22600, 8, 978, 59), (8300, 754, 145, 154), (28200, 585, 977, 38), (31500, 240, 125, 116), (45200, 525, 661, 148), (49400, 5, 830, 68), (11300, 171, 155, 50), (14100, 86, 561, 21), (20600, 818, 400, 42), (21400, 713, 801, 24), (45300, 613, 108, 23), (8400, 368, 214, 47), (14800, 856, 312, 187), (4500, 640, 720, 44), (20500, 469, 915, 40), (42600, 381, 228, 100), (29800, 389, 36, 70), (45900, 699, 317, 133), (32300, 585, 557, 192), (32100, 269, 392, 120), (22500, 218, 172, 122), (38900, 848, 727, 79), (20300, 804, 639, 157), (39900, 335, 531, 164), (46600, 373, 366, 131), (40300, 913, 624, 148), (30700, 906, 627, 85), (14700, 802, 637, 109), (49600, 382, 583, 50), (25500, 475, 801, 37), (13600, 874, 19, 94), (4000, 272, 613, 3), (45700, 46, 816, 160), (43500, 641, 541, 189), (20600, 951, 399, 27), (26700, 643, 564, 97), (28600, 953, 605, 90), (21100, 912, 292, 66), (20900, 141, 187, 141), (21800, 113, 777, 72), (50000, 261, 220, 155), (29200, 69, 389, 176), (45100, 268, 150, 173), (14600, 24, 305, 72), (5000, 58, 239, 159), (23700, 670, 382, 177), (40200, 162, 825, 134), (8800, 286, 424, 96), (30300, 445, 368, 108), (41500, 261, 162, 13), (13300, 817, 431, 55), (43100, 953, 354, 152), (32300, 877, 7, 78), (4200, 66, 857, 64), (47600, 539, 140, 58), (26900, 245, 465, 83), (8500, 11, 524, 130), (46500, 653, 552, 128), (17900, 155, 230, 124), (38200, 650, 77, 127), (31700, 483, 485, 193), (16500, 412, 234, 168), (18700, 875, 892, 137), (36600, 341, 633, 145), (3500, 857, 172, 174), (32300, 270, 14, 45), (21600, 175, 406, 82), (27700, 921, 394, 50), (21000, 697, 934, 190), (29600, 299, 969, 88), (27200, 656, 399, 87), (5900, 178, 749, 109), (9700, 830, 579, 173), (42500, 658, 575, 7), (49900, 534, 21, 152), (44900, 852, 603, 108), (32600, 5, 649, 104), (22500, 699, 532, 157), (18000, 464, 307, 136), (32000, 136, 992, 54), (17600, 51, 95, 116), (19200, 719, 870, 56), (40500, 363, 725, 7), (47200, 242, 853, 131), (21000, 624, 841, 61), (49700, 852, 748, 173), (9300, 446, 609, 192), (34200, 53, 755, 101), (18100, 352, 356, 184), (34300, 764, 426, 162), (38700, 895, 900, 97), (4300, 124, 247, 32), (7600, 907, 963, 43), (29200, 816, 719, 1), (35500, 16, 187, 184), (16400, 25, 482, 133), (19100, 270, 375, 169), (13900, 953, 68, 179), (32800, 325, 46, 150), (41100, 251, 273, 83), (38700, 498, 497, 154), (30000, 748, 295, 150), (47800, 54, 635, 94), (44200, 224, 986, 21), (14800, 984, 404, 166), (15900, 986, 290, 122), (48500, 257, 403, 143), (17700, 659, 356, 79), (47100, 109, 31, 192), (9100, 531, 298, 119), (33100, 655, 311, 31), (47000, 228, 369, 86), (44700, 790, 823, 180), (45400, 603, 922, 192), (17800, 123, 926, 165), (9400, 46, 827, 85), (35900, 232, 8, 151), (31300, 619, 905, 181), (46500, 244, 587, 155), (46900, 22, 279, 147), (5600, 678, 876, 117), (34000, 960, 751, 185), (30000, 86, 445, 153), (48200, 365, 946, 162), (23000, 489, 875, 174), (22600, 440, 927, 63), (49900, 758, 606, 96), (14000, 589, 494, 155), (36400, 300, 317, 85), (27700, 257, 6, 159), (47200, 566, 20, 163), (41500, 358, 759, 126), (11900, 471, 160, 170), (4800, 238, 88, 11), (43700, 958, 777, 25), (42200, 819, 331, 62), (16700, 729, 947, 145), (34200, 423, 983, 99), (12900, 409, 195, 55), (23200, 182, 998, 30), (6800, 15, 631, 42), (44300, 479, 920, 123), (6200, 469, 320, 88), (22200, 841, 214, 189), (48200, 111, 417, 165), (24700, 509, 549, 43), (15300, 932, 932, 93), (18000, 54, 606, 14), (49800, 745, 701, 190), (34000, 945, 413, 43), (14200, 797, 191, 164), (49000, 516, 27, 150); + + +-- 정산(settelment) (1000건) +insert into settlement(cancel_price, complete_at, coupon_count, coupon_use_date, discount_price, sum_price, supply_price, accommodation_id, coupon_id) values (70000, '2023-06-03', 217, '2023-10-30', 2170000, 2270000, 30000, 7, 568 ), (60000, '2023-08-21', 286, '2023-10-05', 572000, 632000, 0, 9, 349 ), (100000, '2023-09-08', 2718, '2023-06-12', 8154000, 8294000, 40000, 8, 158 ), (50000, '2023-10-11', 730, '2023-11-18', 2920000, 3000000, 30000, 5, 506 ), (30000, '2023-08-20', 779, '2023-07-05', 1558000, 1598000, 10000, 16, 169 ), (10000, '2023-04-08', 206, '2023-04-03', 824000, 854000, 20000, 7, 54 ), (20000, '2023-06-10', 284, '2023-03-28', 2840000, 2870000, 10000, 17, 834 ), (90000, '2023-03-20', 1019, '2023-03-06', 8152000, 8262000, 20000, 14, 429 ), (60000, '2023-05-29', 643, '2023-07-20', 4501000, 4581000, 20000, 12, 805 ), (50000, '2023-08-23', 2395, '2023-05-25', 14370000, 14430000, 10000, 2, 665 ), (90000, '2023-08-31', 690, '2023-08-27', 3450000, 3580000, 40000, 13, 42 ), (100000, '2023-12-04', 3667, '2023-03-15', 14668000, 14788000, 20000, 8, 351 ), (20000, '2023-03-12', 70, '2023-01-16', 140000, 180000, 20000, 19, 363 ), (20000, '2023-08-14', 807, '2023-05-27', 8070000, 8130000, 40000, 19, 998 ), (10000, '2023-09-25', 9, '2023-09-09', 36000, 76000, 30000, 9, 852 ), (20000, '2023-05-16', 547, '2023-03-17', 2188000, 2208000, 0, 4, 316 ), (50000, '2023-11-23', 3763, '2023-01-29', 11289000, 11369000, 30000, 3, 247 ), (50000, '2023-12-25', 75, '2023-05-30', 300000, 360000, 10000, 9, 291 ), (20000, '2023-12-26', 5026, '2023-11-30', 25130000, 25160000, 10000, 17, 648 ), (70000, '2023-09-21', 45, '2023-04-19', 270000, 360000, 20000, 6, 864 ), (80000, '2023-01-21', 102, '2023-03-12', 612000, 712000, 20000, 5, 692 ), (40000, '2023-06-04', 6868, '2023-05-31', 41208000, 41288000, 40000, 12, 284 ), (40000, '2023-11-26', 2011, '2023-07-19', 20110000, 20180000, 30000, 16, 821 ), (70000, '2023-12-22', 1602, '2023-02-12', 8010000, 8100000, 20000, 7, 274 ), (90000, '2023-11-16', 56, '2023-03-23', 280000, 380000, 10000, 12, 568 ), (100000, '2023-07-23', 1006, '2023-11-15', 5030000, 5160000, 30000, 6, 32 ), (90000, '2023-03-21', 986, '2023-01-27', 3944000, 4034000, 0, 15, 76 ), (20000, '2023-08-26', 495, '2023-11-16', 2970000, 3030000, 40000, 19, 351 ), (40000, '2023-08-03', 572, '2023-08-02', 2860000, 2940000, 40000, 20, 661 ), (70000, '2023-03-03', 2599, '2023-02-15', 23391000, 23461000, 0, 16, 821 ), (10000, '2023-12-11', 93, '2023-11-01', 465000, 495000, 20000, 19, 577 ), (80000, '2023-05-21', 953, '2023-12-22', 3812000, 3912000, 20000, 17, 321 ), (40000, '2023-10-01', 301, '2023-10-24', 1505000, 1555000, 10000, 8, 203 ), (20000, '2023-05-03', 63, '2023-04-14', 630000, 680000, 30000, 14, 293 ), (80000, '2023-05-10', 1803, '2023-10-06', 5409000, 5489000, 0, 7, 781 ), (70000, '2023-11-04', 419, '2023-04-08', 2514000, 2594000, 10000, 2, 202 ), (40000, '2023-01-16', 81, '2023-03-19', 486000, 546000, 20000, 12, 900 ), (90000, '2023-01-10', 335, '2023-11-02', 2345000, 2455000, 20000, 11, 69 ), (90000, '2023-09-07', 7192, '2023-09-07', 28768000, 28878000, 20000, 19, 131 ), (20000, '2023-03-01', 730, '2023-08-02', 4380000, 4440000, 40000, 19, 936 ), (90000, '2023-11-04', 758, '2023-01-19', 6822000, 6922000, 10000, 6, 768 ), (30000, '2023-07-05', 488, '2023-06-27', 976000, 1036000, 30000, 9, 813 ), (80000, '2023-04-22', 2618, '2023-10-05', 5236000, 5316000, 0, 2, 778 ), (50000, '2023-09-12', 25, '2023-02-08', 200000, 290000, 40000, 13, 205 ), (100000, '2023-01-03', 4437, '2023-02-16', 26622000, 26722000, 0, 15, 909 ), (70000, '2023-03-08', 13, '2023-01-06', 65000, 165000, 30000, 14, 84 ), (10000, '2023-02-20', 768, '2023-03-06', 4608000, 4658000, 40000, 2, 876 ), (90000, '2023-12-26', 861, '2023-05-22', 2583000, 2683000, 10000, 3, 716 ), (100000, '2023-01-05', 34, '2023-08-11', 340000, 470000, 30000, 10, 925 ), (100000, '2023-12-22', 64, '2023-05-13', 640000, 780000, 40000, 6, 173 ), (100000, '2023-06-20', 85, '2023-01-26', 510000, 620000, 10000, 17, 592 ), (20000, '2023-04-10', 1878, '2023-01-03', 18780000, 18840000, 40000, 7, 671 ), (10000, '2023-03-03', 357, '2023-11-24', 714000, 744000, 20000, 18, 88 ), (90000, '2023-12-15', 3775, '2023-06-21', 37750000, 37870000, 30000, 15, 746 ), (30000, '2023-07-22', 230, '2023-06-22', 690000, 740000, 20000, 20, 257 ), (70000, '2023-11-10', 3, '2023-02-19', 30000, 120000, 20000, 6, 21 ), (100000, '2023-06-05', 1276, '2023-03-09', 3828000, 3928000, 0, 16, 663 ), (20000, '2023-10-26', 1636, '2023-12-25', 8180000, 8230000, 30000, 11, 130 ), (60000, '2023-08-17', 1322, '2023-10-17', 11898000, 11978000, 20000, 17, 626 ), (60000, '2023-11-27', 3033, '2023-01-10', 6066000, 6156000, 30000, 12, 952 ), (30000, '2023-04-11', 880, '2023-06-11', 7920000, 7990000, 40000, 18, 596 ), (30000, '2023-09-15', 290, '2023-11-09', 2320000, 2360000, 10000, 19, 19 ), (50000, '2023-12-30', 360, '2023-03-07', 1440000, 1500000, 10000, 16, 49 ), (30000, '2023-04-13', 2065, '2023-09-15', 20650000, 20680000, 0, 10, 676 ), (70000, '2023-06-04', 161, '2023-07-24', 1610000, 1710000, 30000, 15, 882 ), (80000, '2023-07-06', 189, '2023-01-12', 945000, 1025000, 0, 3, 388 ), (40000, '2023-09-22', 966, '2023-12-13', 8694000, 8734000, 0, 3, 61 ), (50000, '2023-02-19', 125, '2023-12-06', 1000000, 1090000, 40000, 12, 867 ), (100000, '2023-07-07', 868, '2023-11-17', 1736000, 1876000, 40000, 17, 106 ), (70000, '2023-07-03', 2368, '2023-09-23', 9472000, 9572000, 30000, 13, 126 ), (100000, '2023-06-05', 100, '2023-08-21', 800000, 900000, 0, 16, 432 ), (40000, '2023-02-14', 4946, '2023-02-24', 29676000, 29726000, 10000, 11, 551 ), (30000, '2023-03-26', 402, '2023-05-06', 1608000, 1668000, 30000, 11, 265 ), (60000, '2023-12-13', 57, '2023-04-07', 456000, 536000, 20000, 16, 221 ), (50000, '2023-05-07', 4195, '2023-09-03', 37755000, 37845000, 40000, 19, 518 ), (10000, '2023-03-03', 1795, '2023-11-12', 10770000, 10800000, 20000, 18, 612 ), (60000, '2023-06-07', 672, '2023-09-12', 2016000, 2096000, 20000, 14, 506 ), (100000, '2023-04-12', 1311, '2023-07-18', 13110000, 13220000, 10000, 6, 801 ), (10000, '2023-01-30', 2400, '2023-03-28', 16800000, 16820000, 10000, 13, 145 ), (40000, '2023-11-19', 545, '2023-02-05', 1090000, 1140000, 10000, 4, 269 ), (50000, '2023-01-26', 436, '2023-05-26', 2616000, 2706000, 40000, 14, 57 ), (30000, '2023-02-24', 2440, '2023-09-06', 17080000, 17120000, 10000, 7, 333 ), (40000, '2023-01-07', 4, '2023-04-24', 20000, 60000, 0, 18, 311 ), (80000, '2023-11-14', 7617, '2023-08-27', 45702000, 45812000, 30000, 12, 248 ), (100000, '2023-03-29', 582, '2023-04-06', 3492000, 3632000, 40000, 5, 428 ), (100000, '2023-03-17', 49, '2023-08-21', 147000, 277000, 30000, 3, 52 ), (70000, '2023-06-19', 1052, '2023-07-08', 10520000, 10600000, 10000, 12, 362 ), (20000, '2023-01-17', 566, '2023-03-24', 3962000, 3982000, 0, 11, 796 ), (90000, '2023-12-22', 68, '2023-11-10', 680000, 810000, 40000, 14, 231 ), (20000, '2023-01-26', 1156, '2023-01-03', 2312000, 2342000, 10000, 20, 962 ), (50000, '2023-04-10', 30, '2023-05-24', 120000, 190000, 20000, 7, 894 ), (80000, '2023-12-04', 2797, '2023-04-22', 11188000, 11288000, 20000, 4, 987 ), (60000, '2023-07-28', 152, '2023-08-19', 1064000, 1144000, 20000, 17, 152 ), (90000, '2023-05-09', 64, '2023-10-01', 576000, 706000, 40000, 6, 455 ), (90000, '2023-01-23', 139, '2023-11-03', 278000, 388000, 20000, 17, 623 ), (90000, '2023-07-19', 4227, '2023-09-28', 38043000, 38133000, 0, 11, 436 ), (60000, '2023-11-06', 2271, '2023-10-18', 11355000, 11425000, 10000, 8, 129 ), (70000, '2023-09-12', 593, '2023-12-13', 1779000, 1889000, 40000, 3, 186 ), (70000, '2023-08-21', 88, '2023-01-13', 264000, 374000, 40000, 5, 427 ), (80000, '2023-09-04', 59, '2023-05-11', 531000, 621000, 10000, 12, 951 ), (10000, '2023-06-01', 3572, '2023-08-07', 14288000, 14308000, 10000, 10, 135 ), (60000, '2023-02-24', 874, '2023-02-15', 4370000, 4450000, 20000, 20, 710 ), (90000, '2023-02-16', 233, '2023-10-22', 2097000, 2227000, 40000, 6, 746 ), (70000, '2023-04-26', 2678, '2023-03-01', 24102000, 24172000, 0, 5, 411 ), (40000, '2023-08-21', 3379, '2023-11-26', 6758000, 6798000, 0, 9, 289 ), (40000, '2023-11-27', 142, '2023-03-15', 1136000, 1196000, 20000, 19, 188 ), (80000, '2023-08-16', 527, '2023-09-25', 4216000, 4316000, 20000, 14, 40 ), (80000, '2023-11-21', 2572, '2023-08-18', 25720000, 25800000, 0, 2, 259 ), (30000, '2023-09-13', 587, '2023-05-02', 1174000, 1204000, 0, 1, 166 ), (60000, '2023-02-28', 174, '2023-01-10', 696000, 756000, 0, 17, 928 ), (60000, '2023-08-19', 14, '2023-06-29', 140000, 200000, 0, 8, 415 ), (70000, '2023-12-30', 897, '2023-07-21', 7176000, 7276000, 30000, 20, 110 ), (80000, '2023-01-17', 64, '2023-04-17', 128000, 208000, 0, 15, 886 ), (80000, '2023-10-31', 4707, '2023-04-28', 28242000, 28342000, 20000, 7, 698 ), (30000, '2023-02-04', 2156, '2023-10-30', 6468000, 6508000, 10000, 6, 14 ), (100000, '2023-12-16', 645, '2023-05-23', 3225000, 3365000, 40000, 10, 699 ), (10000, '2023-10-03', 885, '2023-06-03', 5310000, 5360000, 40000, 3, 121 ), (100000, '2023-10-25', 95, '2023-07-10', 665000, 795000, 30000, 1, 46 ), (50000, '2023-09-10', 454, '2023-08-10', 2724000, 2774000, 0, 20, 153 ), (50000, '2023-01-17', 549, '2023-07-17', 4392000, 4482000, 40000, 6, 865 ), (60000, '2023-10-22', 19, '2023-12-11', 57000, 137000, 20000, 13, 338 ), (70000, '2023-05-06', 1048, '2023-02-13', 10480000, 10550000, 0, 17, 846 ), (90000, '2023-09-13', 346, '2023-01-13', 1730000, 1860000, 40000, 6, 223 ), (100000, '2023-04-12', 122, '2023-07-17', 732000, 862000, 30000, 3, 883 ), (100000, '2023-03-23', 78, '2023-11-06', 702000, 822000, 20000, 12, 58 ), (100000, '2023-10-10', 270, '2023-06-19', 1080000, 1200000, 20000, 7, 298 ), (100000, '2023-12-24', 5001, '2023-12-23', 30006000, 30136000, 30000, 7, 681 ), (50000, '2023-03-03', 1469, '2023-07-04', 13221000, 13311000, 40000, 16, 532 ), (80000, '2023-04-15', 1367, '2023-04-03', 2734000, 2824000, 10000, 11, 988 ), (20000, '2023-09-30', 623, '2023-06-16', 4984000, 5024000, 20000, 8, 606 ), (60000, '2023-04-05', 2573, '2023-12-17', 23157000, 23237000, 20000, 20, 168 ), (90000, '2023-12-30', 433, '2023-04-12', 866000, 966000, 10000, 10, 164 ), (40000, '2023-09-19', 769, '2023-06-06', 6152000, 6192000, 0, 11, 707 ), (100000, '2023-04-08', 246, '2023-09-18', 492000, 602000, 10000, 5, 199 ), (20000, '2023-10-27', 5061, '2023-08-10', 50610000, 50660000, 30000, 2, 130 ), (80000, '2023-09-01', 4020, '2023-08-05', 28140000, 28230000, 10000, 11, 47 ), (40000, '2023-09-22', 218, '2023-06-01', 1744000, 1794000, 10000, 3, 520 ), (40000, '2023-10-05', 5817, '2023-07-14', 29085000, 29135000, 10000, 1, 820 ), (100000, '2023-10-09', 348, '2023-09-22', 2784000, 2924000, 40000, 14, 492 ), (20000, '2023-03-06', 3660, '2023-05-16', 29280000, 29310000, 10000, 13, 722 ), (40000, '2023-11-16', 259, '2023-12-22', 518000, 598000, 40000, 2, 646 ), (50000, '2023-05-18', 154, '2023-10-29', 1540000, 1590000, 0, 19, 525 ), (30000, '2023-12-15', 392, '2023-08-24', 2744000, 2814000, 40000, 8, 98 ), (100000, '2023-07-09', 1109, '2023-04-21', 2218000, 2348000, 30000, 10, 154 ), (40000, '2023-03-27', 2133, '2023-04-10', 4266000, 4306000, 0, 13, 20 ), (40000, '2023-04-29', 4902, '2023-05-01', 14706000, 14786000, 40000, 8, 652 ), (70000, '2023-12-05', 225, '2023-05-19', 675000, 755000, 10000, 4, 174 ), (10000, '2023-03-26', 1897, '2023-10-14', 18970000, 18980000, 0, 17, 151 ), (90000, '2023-10-20', 917, '2023-08-29', 2751000, 2851000, 10000, 19, 471 ), (40000, '2023-12-30', 1029, '2023-12-10', 8232000, 8302000, 30000, 8, 618 ), (50000, '2023-07-21', 178, '2023-08-24', 1602000, 1682000, 30000, 18, 359 ), (30000, '2023-11-20', 4497, '2023-11-05', 35976000, 36046000, 40000, 12, 84 ), (80000, '2023-12-23', 72, '2023-11-01', 288000, 388000, 20000, 18, 925 ), (30000, '2023-01-14', 3852, '2023-11-14', 19260000, 19300000, 10000, 5, 396 ), (20000, '2023-04-05', 217, '2023-10-18', 1736000, 1766000, 10000, 10, 255 ), (70000, '2023-11-20', 36, '2023-11-29', 360000, 440000, 10000, 6, 256 ), (100000, '2023-12-25', 215, '2023-09-16', 1075000, 1175000, 0, 7, 325 ), (100000, '2023-11-29', 729, '2023-04-10', 2187000, 2317000, 30000, 1, 591 ), (10000, '2023-10-29', 2372, '2023-03-27', 11860000, 11880000, 10000, 9, 335 ), (90000, '2023-09-20', 819, '2023-04-28', 4095000, 4185000, 0, 16, 283 ), (10000, '2023-03-18', 1109, '2023-03-23', 7763000, 7793000, 20000, 9, 764 ), (90000, '2023-05-30', 1613, '2023-10-25', 14517000, 14617000, 10000, 11, 532 ), (80000, '2023-07-25', 121, '2023-01-03', 968000, 1068000, 20000, 10, 489 ), (40000, '2023-08-14', 943, '2023-07-22', 3772000, 3842000, 30000, 8, 60 ), (50000, '2023-07-11', 233, '2023-08-06', 932000, 1002000, 20000, 19, 411 ), (30000, '2023-06-05', 1017, '2023-05-28', 5085000, 5155000, 40000, 14, 935 ), (70000, '2023-05-07', 71, '2023-01-02', 497000, 607000, 40000, 17, 76 ), (80000, '2023-08-28', 320, '2023-11-09', 640000, 740000, 20000, 3, 548 ), (30000, '2023-12-14', 3020, '2023-04-04', 24160000, 24200000, 10000, 8, 694 ), (70000, '2023-07-11', 1520, '2023-01-24', 10640000, 10720000, 10000, 4, 579 ), (40000, '2023-02-05', 2340, '2023-11-12', 7020000, 7100000, 40000, 15, 26 ), (30000, '2023-08-11', 645, '2023-10-16', 6450000, 6490000, 10000, 9, 103 ), (80000, '2023-11-22', 574, '2023-01-20', 1722000, 1832000, 30000, 10, 199 ), (40000, '2023-05-29', 468, '2023-01-13', 4212000, 4272000, 20000, 5, 893 ), (50000, '2023-05-23', 54, '2023-01-17', 162000, 252000, 40000, 13, 982 ), (100000, '2023-02-18', 1209, '2023-11-06', 7254000, 7374000, 20000, 10, 987 ), (20000, '2023-09-27', 1003, '2023-03-29', 5015000, 5045000, 10000, 3, 19 ), (70000, '2023-12-15', 7373, '2023-03-19', 36865000, 36955000, 20000, 9, 174 ), (100000, '2023-06-16', 278, '2023-04-09', 2224000, 2324000, 0, 7, 580 ), (60000, '2023-03-26', 3931, '2023-04-13', 23586000, 23686000, 40000, 9, 547 ), (60000, '2023-10-24', 433, '2023-08-02', 3897000, 3997000, 40000, 2, 358 ), (10000, '2023-12-02', 104, '2023-12-21', 520000, 570000, 40000, 5, 848 ), (100000, '2023-02-06', 12, '2023-07-22', 60000, 180000, 20000, 10, 373 ), (50000, '2023-04-01', 50, '2023-09-09', 200000, 290000, 40000, 3, 218 ), (80000, '2023-02-25', 661, '2023-01-27', 2644000, 2754000, 30000, 20, 11 ), (50000, '2023-05-24', 5938, '2023-04-21', 35628000, 35698000, 20000, 3, 109 ), (90000, '2023-07-11', 1805, '2023-08-01', 12635000, 12755000, 30000, 19, 339 ), (70000, '2023-04-13', 620, '2023-01-29', 2480000, 2560000, 10000, 4, 532 ), (40000, '2023-01-13', 246, '2023-11-11', 1476000, 1556000, 40000, 18, 409 ), (80000, '2023-03-27', 2771, '2023-11-14', 22168000, 22258000, 10000, 17, 372 ), (100000, '2023-07-31', 141, '2023-05-27', 987000, 1097000, 10000, 2, 971 ), (60000, '2023-10-23', 154, '2023-02-03', 616000, 716000, 40000, 20, 997 ), (30000, '2023-03-27', 29, '2023-04-21', 290000, 340000, 20000, 3, 912 ), (90000, '2023-04-23', 830, '2023-03-29', 6640000, 6750000, 20000, 1, 777 ), (90000, '2023-01-05', 2218, '2023-03-06', 4436000, 4546000, 20000, 2, 392 ), (10000, '2023-04-05', 559, '2023-05-10', 4472000, 4512000, 30000, 14, 545 ), (40000, '2023-01-21', 87, '2023-11-13', 783000, 833000, 10000, 4, 972 ), (10000, '2023-02-17', 1080, '2023-02-26', 9720000, 9740000, 10000, 10, 713 ), (60000, '2023-04-27', 4848, '2023-08-24', 24240000, 24330000, 30000, 13, 260 ), (60000, '2023-03-23', 2453, '2023-10-13', 19624000, 19704000, 20000, 4, 602 ), (90000, '2023-12-24', 43, '2023-02-13', 215000, 325000, 20000, 13, 699 ); +insert into settlement(cancel_price, complete_at, coupon_count, coupon_use_date, discount_price, sum_price, supply_price, accommodation_id, coupon_id) values (60000, '2023-01-23', 109, '2023-06-05', 327000, 387000, 0, 4, 121 ), (90000, '2023-04-08', 8003, '2023-11-13', 72027000, 72137000, 20000, 1, 631 ), (70000, '2023-07-20', 50, '2023-06-14', 500000, 600000, 30000, 11, 890 ), (90000, '2023-02-07', 114, '2023-08-23', 342000, 442000, 10000, 12, 675 ), (20000, '2023-10-07', 83, '2023-12-22', 830000, 860000, 10000, 12, 537 ), (60000, '2023-10-22', 1378, '2023-11-15', 12402000, 12472000, 10000, 8, 288 ), (40000, '2023-10-03', 1704, '2023-10-02', 11928000, 11988000, 20000, 11, 518 ), (50000, '2023-09-24', 4351, '2023-04-06', 13053000, 13113000, 10000, 5, 930 ), (40000, '2023-07-31', 1936, '2023-03-15', 5808000, 5878000, 30000, 16, 955 ), (80000, '2023-04-27', 1940, '2023-02-08', 3880000, 4000000, 40000, 3, 638 ), (90000, '2023-10-02', 809, '2023-09-20', 1618000, 1738000, 30000, 18, 469 ), (50000, '2023-10-22', 288, '2023-08-07', 576000, 626000, 0, 16, 925 ), (70000, '2023-10-04', 257, '2023-02-11', 2570000, 2680000, 40000, 3, 665 ), (10000, '2023-01-11', 322, '2023-12-02', 966000, 996000, 20000, 12, 91 ), (50000, '2023-10-28', 851, '2023-01-05', 1702000, 1792000, 40000, 5, 462 ), (10000, '2023-03-23', 2759, '2023-12-24', 13795000, 13835000, 30000, 8, 745 ), (10000, '2023-10-29', 685, '2023-06-05', 3425000, 3435000, 0, 9, 513 ), (90000, '2023-02-09', 3749, '2023-03-09', 18745000, 18845000, 10000, 10, 644 ), (30000, '2023-08-05', 618, '2023-04-01', 4326000, 4396000, 40000, 4, 879 ), (50000, '2023-11-03', 756, '2023-01-13', 7560000, 7650000, 40000, 12, 917 ), (10000, '2023-02-19', 715, '2023-01-24', 3575000, 3595000, 10000, 5, 887 ), (70000, '2023-11-13', 1329, '2023-12-29', 7974000, 8044000, 0, 8, 781 ), (80000, '2023-01-30', 1482, '2023-10-16', 10374000, 10454000, 0, 4, 605 ), (30000, '2023-07-03', 143, '2023-01-26', 1430000, 1490000, 30000, 16, 489 ), (80000, '2023-08-22', 761, '2023-07-03', 6088000, 6168000, 0, 10, 59 ), (100000, '2023-07-08', 606, '2023-03-19', 5454000, 5584000, 30000, 14, 831 ), (50000, '2023-10-07', 3127, '2023-01-29', 18762000, 18822000, 10000, 9, 39 ), (10000, '2023-03-03', 675, '2023-06-09', 5400000, 5430000, 20000, 10, 898 ), (50000, '2023-03-22', 2949, '2023-10-02', 14745000, 14805000, 10000, 20, 705 ), (10000, '2023-08-31', 39, '2023-07-14', 351000, 361000, 0, 7, 438 ), (80000, '2023-03-24', 995, '2023-08-25', 1990000, 2070000, 0, 5, 908 ), (100000, '2023-11-09', 7247, '2023-02-28', 36235000, 36335000, 0, 12, 655 ), (50000, '2023-04-02', 192, '2023-01-22', 1920000, 1980000, 10000, 1, 234 ), (100000, '2023-11-22', 1054, '2023-11-14', 9486000, 9596000, 10000, 15, 269 ), (60000, '2023-11-14', 1, '2023-12-19', 7000, 107000, 40000, 18, 873 ), (80000, '2023-11-04', 53, '2023-06-09', 318000, 428000, 30000, 6, 334 ), (80000, '2023-01-28', 112, '2023-02-26', 448000, 548000, 20000, 8, 659 ), (20000, '2023-09-08', 715, '2023-12-23', 5005000, 5055000, 30000, 3, 712 ), (30000, '2023-08-31', 80, '2023-03-13', 800000, 870000, 40000, 9, 392 ), (100000, '2023-10-04', 818, '2023-08-12', 4090000, 4210000, 20000, 7, 426 ), (50000, '2023-09-26', 342, '2023-07-06', 2394000, 2484000, 40000, 11, 690 ), (80000, '2023-04-02', 385, '2023-07-09', 2695000, 2775000, 0, 20, 856 ), (60000, '2023-07-23', 1198, '2023-12-05', 2396000, 2496000, 40000, 5, 849 ), (30000, '2023-09-18', 3548, '2023-10-11', 10644000, 10714000, 40000, 5, 458 ), (100000, '2023-10-21', 1052, '2023-08-10', 8416000, 8556000, 40000, 16, 380 ), (80000, '2023-08-14', 247, '2023-04-27', 2223000, 2313000, 10000, 9, 7 ), (20000, '2023-06-15', 2766, '2023-04-12', 24894000, 24934000, 20000, 1, 538 ), (60000, '2023-04-01', 542, '2023-06-05', 5420000, 5480000, 0, 7, 5 ), (60000, '2023-04-29', 123, '2023-08-20', 861000, 961000, 40000, 18, 431 ), (50000, '2023-10-15', 1030, '2023-06-24', 7210000, 7260000, 0, 6, 193 ), (80000, '2023-11-10', 658, '2023-06-15', 2632000, 2742000, 30000, 8, 789 ), (60000, '2023-08-29', 789, '2023-07-26', 3945000, 4035000, 30000, 16, 635 ), (70000, '2023-12-15', 977, '2023-06-16', 2931000, 3021000, 20000, 5, 110 ), (80000, '2023-05-22', 222, '2023-05-26', 1998000, 2118000, 40000, 4, 14 ), (50000, '2023-07-12', 1025, '2023-10-07', 3075000, 3165000, 40000, 14, 596 ), (60000, '2023-05-05', 122, '2023-08-24', 488000, 578000, 30000, 19, 122 ), (60000, '2023-02-02', 420, '2023-01-31', 2100000, 2200000, 40000, 7, 562 ), (10000, '2023-12-14', 251, '2023-05-11', 2259000, 2269000, 0, 11, 380 ), (20000, '2023-10-31', 4474, '2023-01-09', 40266000, 40326000, 40000, 12, 40 ), (60000, '2023-12-28', 4419, '2023-06-18', 17676000, 17766000, 30000, 3, 133 ), (50000, '2023-01-21', 2162, '2023-07-25', 4324000, 4394000, 20000, 12, 8 ), (100000, '2023-09-08', 3278, '2023-05-16', 22946000, 23076000, 30000, 19, 390 ), (20000, '2023-03-07', 1620, '2023-09-09', 11340000, 11370000, 10000, 1, 293 ), (100000, '2023-01-29', 209, '2023-06-01', 1881000, 1991000, 10000, 3, 655 ), (80000, '2023-04-12', 2204, '2023-06-17', 13224000, 13304000, 0, 8, 526 ), (50000, '2023-03-02', 1360, '2023-05-06', 9520000, 9610000, 40000, 9, 246 ), (60000, '2023-10-04', 147, '2023-05-23', 1029000, 1109000, 20000, 17, 41 ), (10000, '2023-07-17', 3824, '2023-05-13', 19120000, 19170000, 40000, 3, 69 ), (50000, '2023-01-25', 1043, '2023-08-23', 8344000, 8404000, 10000, 6, 828 ), (50000, '2023-10-17', 237, '2023-02-05', 1185000, 1245000, 10000, 16, 90 ), (40000, '2023-03-25', 539, '2023-10-16', 1617000, 1697000, 40000, 6, 75 ), (60000, '2023-03-26', 391, '2023-07-04', 2737000, 2817000, 20000, 3, 16 ), (70000, '2023-10-20', 444, '2023-10-25', 3108000, 3218000, 40000, 1, 210 ), (90000, '2023-10-14', 1328, '2023-01-17', 3984000, 4094000, 20000, 6, 28 ), (10000, '2023-01-14', 629, '2023-06-14', 4403000, 4433000, 20000, 5, 390 ), (100000, '2023-08-29', 26, '2023-04-22', 182000, 302000, 20000, 5, 380 ), (100000, '2023-09-18', 98, '2023-09-28', 196000, 296000, 0, 8, 681 ), (80000, '2023-06-01', 653, '2023-08-06', 3265000, 3355000, 10000, 16, 602 ), (90000, '2023-12-09', 166, '2023-04-22', 1494000, 1604000, 20000, 17, 758 ), (10000, '2023-01-02', 2577, '2023-10-07', 7731000, 7761000, 20000, 3, 608 ), (100000, '2023-12-17', 1526, '2023-10-11', 10682000, 10782000, 0, 20, 176 ), (60000, '2023-03-02', 74, '2023-07-08', 666000, 756000, 30000, 11, 636 ), (100000, '2023-12-03', 2485, '2023-11-24', 9940000, 10050000, 10000, 15, 552 ), (50000, '2023-08-15', 511, '2023-06-14', 3577000, 3637000, 10000, 6, 479 ), (90000, '2023-08-07', 1849, '2023-02-19', 9245000, 9375000, 40000, 2, 650 ), (80000, '2023-11-17', 1436, '2023-12-03', 2872000, 2962000, 10000, 8, 15 ), (40000, '2023-07-27', 238, '2023-04-13', 1190000, 1240000, 10000, 20, 726 ), (40000, '2023-04-09', 1205, '2023-10-25', 7230000, 7290000, 20000, 8, 486 ), (20000, '2023-10-09', 2609, '2023-11-14', 15654000, 15674000, 0, 10, 309 ), (10000, '2023-01-01', 570, '2023-12-10', 3420000, 3440000, 10000, 5, 711 ), (20000, '2023-03-18', 1001, '2023-10-30', 6006000, 6036000, 10000, 18, 729 ), (50000, '2023-03-13', 3668, '2023-05-30', 36680000, 36770000, 40000, 4, 117 ), (40000, '2023-09-22', 33, '2023-05-22', 198000, 238000, 0, 13, 19 ), (40000, '2023-09-03', 12, '2023-12-27', 84000, 154000, 30000, 5, 898 ), (10000, '2023-10-27', 486, '2023-08-25', 972000, 1002000, 20000, 10, 270 ), (70000, '2023-07-04', 1216, '2023-04-10', 2432000, 2502000, 0, 9, 600 ), (30000, '2023-12-14', 393, '2023-08-05', 3537000, 3607000, 40000, 7, 177 ), (100000, '2023-05-10', 5217, '2023-01-11', 10434000, 10564000, 30000, 2, 109 ), (30000, '2023-02-13', 25, '2023-05-26', 125000, 195000, 40000, 19, 183 ), (20000, '2023-03-12', 412, '2023-12-22', 1648000, 1698000, 30000, 19, 181 ), (70000, '2023-06-18', 2142, '2023-09-26', 14994000, 15064000, 0, 15, 560 ), (50000, '2023-12-17', 502, '2023-09-02', 4518000, 4608000, 40000, 18, 897 ), (70000, '2023-10-15', 19, '2023-02-12', 190000, 280000, 20000, 12, 486 ), (50000, '2023-12-29', 1091, '2023-04-14', 9819000, 9879000, 10000, 10, 933 ), (60000, '2023-09-23', 2515, '2023-12-31', 20120000, 20190000, 10000, 6, 304 ), (50000, '2023-08-13', 1764, '2023-10-25', 17640000, 17700000, 10000, 4, 768 ), (20000, '2023-08-13', 12, '2023-08-17', 108000, 158000, 30000, 11, 145 ), (80000, '2023-09-06', 47, '2023-02-13', 470000, 550000, 0, 13, 442 ), (20000, '2023-08-06', 816, '2023-11-09', 7344000, 7374000, 10000, 20, 318 ), (20000, '2023-02-05', 1663, '2023-07-30', 8315000, 8365000, 30000, 8, 968 ), (20000, '2023-10-06', 3065, '2023-01-14', 27585000, 27605000, 0, 6, 258 ), (90000, '2023-10-03', 5, '2023-01-06', 45000, 135000, 0, 9, 973 ), (100000, '2023-05-29', 1057, '2023-01-12', 5285000, 5385000, 0, 16, 363 ), (30000, '2023-08-28', 424, '2023-03-11', 3392000, 3422000, 0, 7, 49 ), (80000, '2023-07-25', 299, '2023-07-01', 2093000, 2183000, 10000, 13, 760 ), (20000, '2023-06-05', 35, '2023-07-04', 350000, 370000, 0, 19, 352 ), (50000, '2023-09-14', 1155, '2023-02-17', 11550000, 11620000, 20000, 9, 70 ), (90000, '2023-04-14', 3021, '2023-08-05', 15105000, 15195000, 0, 15, 462 ), (60000, '2023-07-11', 1444, '2023-01-10', 10108000, 10188000, 20000, 17, 178 ), (90000, '2023-08-26', 1112, '2023-09-10', 5560000, 5670000, 20000, 17, 779 ), (90000, '2023-03-02', 429, '2023-06-18', 3432000, 3522000, 0, 7, 528 ), (20000, '2023-05-23', 4633, '2023-10-23', 23165000, 23205000, 20000, 2, 787 ), (10000, '2023-09-05', 3577, '2023-06-07', 25039000, 25079000, 30000, 16, 172 ), (40000, '2023-01-19', 2, '2023-07-27', 16000, 56000, 0, 20, 380 ), (50000, '2023-09-29', 185, '2023-04-01', 555000, 605000, 0, 18, 280 ), (50000, '2023-04-14', 435, '2023-03-08', 1740000, 1820000, 30000, 5, 316 ), (60000, '2023-04-04', 41, '2023-01-24', 164000, 244000, 20000, 9, 69 ), (10000, '2023-06-05', 856, '2023-06-03', 3424000, 3434000, 0, 7, 234 ), (100000, '2023-08-28', 151, '2023-11-19', 1359000, 1459000, 0, 9, 951 ), (30000, '2023-12-29', 958, '2023-12-10', 8622000, 8652000, 0, 12, 624 ), (90000, '2023-05-05', 215, '2023-07-06', 1935000, 2065000, 40000, 2, 961 ), (20000, '2023-04-09', 1410, '2023-05-23', 2820000, 2860000, 20000, 2, 361 ), (90000, '2023-03-06', 204, '2023-05-17', 1428000, 1518000, 0, 12, 653 ), (100000, '2023-04-29', 58, '2023-11-01', 348000, 488000, 40000, 17, 450 ), (60000, '2023-12-13', 233, '2023-03-21', 466000, 526000, 0, 1, 509 ), (100000, '2023-10-30', 93, '2023-10-05', 744000, 844000, 0, 9, 431 ), (20000, '2023-12-10', 4206, '2023-09-18', 29442000, 29492000, 30000, 14, 164 ), (20000, '2023-02-27', 32, '2023-04-11', 224000, 274000, 30000, 11, 549 ), (60000, '2023-10-01', 63, '2023-06-17', 567000, 637000, 10000, 17, 194 ), (20000, '2023-03-16', 554, '2023-09-24', 1662000, 1722000, 40000, 7, 88 ), (90000, '2023-09-22', 105, '2023-01-11', 945000, 1065000, 30000, 17, 118 ), (20000, '2023-10-04', 2012, '2023-07-15', 4024000, 4054000, 10000, 17, 925 ), (40000, '2023-09-25', 295, '2023-12-02', 2655000, 2725000, 30000, 8, 600 ), (50000, '2023-07-16', 378, '2023-06-01', 2646000, 2706000, 10000, 16, 210 ), (100000, '2023-10-26', 3820, '2023-02-11', 19100000, 19230000, 30000, 17, 256 ), (90000, '2023-10-30', 1707, '2023-10-11', 13656000, 13756000, 10000, 4, 79 ), (90000, '2023-04-16', 120, '2023-08-15', 1080000, 1180000, 10000, 20, 795 ), (10000, '2023-01-01', 318, '2023-11-07', 2862000, 2902000, 30000, 17, 689 ), (50000, '2023-05-16', 2749, '2023-03-15', 10996000, 11066000, 20000, 12, 551 ), (20000, '2023-06-12', 714, '2023-12-11', 3570000, 3610000, 20000, 14, 878 ), (90000, '2023-01-12', 1703, '2023-11-11', 17030000, 17150000, 30000, 12, 529 ), (100000, '2023-09-13', 838, '2023-06-07', 7542000, 7662000, 20000, 10, 28 ), (70000, '2023-04-25', 4043, '2023-12-05', 28301000, 28381000, 10000, 3, 258 ), (60000, '2023-12-10', 606, '2023-01-01', 1818000, 1888000, 10000, 16, 164 ), (40000, '2023-02-13', 868, '2023-09-18', 1736000, 1806000, 30000, 19, 750 ), (10000, '2023-11-20', 7, '2023-05-20', 56000, 76000, 10000, 15, 421 ), (70000, '2023-06-10', 2080, '2023-10-06', 12480000, 12590000, 40000, 5, 878 ), (20000, '2023-09-08', 23, '2023-10-29', 184000, 204000, 0, 18, 277 ), (50000, '2023-11-28', 60, '2023-11-19', 360000, 430000, 20000, 14, 333 ), (30000, '2023-01-24', 1292, '2023-10-02', 5168000, 5198000, 0, 5, 240 ), (20000, '2023-09-11', 1425, '2023-06-27', 7125000, 7145000, 0, 19, 649 ), (80000, '2023-10-08', 1361, '2023-09-23', 9527000, 9637000, 30000, 8, 155 ), (10000, '2023-11-11', 1073, '2023-03-02', 3219000, 3229000, 0, 16, 957 ), (30000, '2023-12-27', 72, '2023-07-29', 216000, 276000, 30000, 11, 409 ), (10000, '2023-08-25', 347, '2023-12-25', 1388000, 1398000, 0, 4, 497 ), (60000, '2023-10-08', 538, '2023-05-09', 2152000, 2242000, 30000, 20, 988 ), (40000, '2023-06-21', 285, '2023-01-14', 2280000, 2330000, 10000, 3, 674 ), (50000, '2023-05-28', 1614, '2023-12-30', 9684000, 9744000, 10000, 18, 118 ), (30000, '2023-02-04', 5293, '2023-09-19', 47637000, 47697000, 30000, 3, 978 ), (90000, '2023-07-06', 15, '2023-08-05', 45000, 135000, 0, 17, 160 ), (90000, '2023-07-30', 386, '2023-01-24', 1544000, 1644000, 10000, 13, 162 ), (90000, '2023-02-18', 478, '2023-03-05', 3824000, 3944000, 30000, 5, 985 ), (80000, '2023-05-17', 1578, '2023-05-04', 3156000, 3266000, 30000, 4, 43 ), (10000, '2023-05-03', 1060, '2023-06-12', 10600000, 10610000, 0, 20, 358 ), (90000, '2023-02-04', 263, '2023-08-03', 1315000, 1405000, 0, 2, 821 ), (60000, '2023-09-04', 434, '2023-12-12', 3038000, 3098000, 0, 10, 883 ), (100000, '2023-09-28', 4441, '2023-09-12', 26646000, 26776000, 30000, 7, 415 ), (80000, '2023-12-12', 116, '2023-11-28', 1160000, 1270000, 30000, 3, 524 ), (40000, '2023-03-26', 55, '2023-01-29', 330000, 400000, 30000, 15, 182 ), (10000, '2023-01-27', 804, '2023-08-02', 4020000, 4050000, 20000, 5, 671 ), (70000, '2023-09-26', 1385, '2023-09-30', 4155000, 4265000, 40000, 12, 48 ), (90000, '2023-07-25', 1263, '2023-06-11', 10104000, 10204000, 10000, 12, 289 ), (80000, '2023-12-09', 578, '2023-05-26', 4624000, 4724000, 20000, 20, 430 ), (90000, '2023-05-04', 485, '2023-04-17', 1940000, 2060000, 30000, 3, 874 ), (60000, '2023-05-29', 1484, '2023-08-25', 7420000, 7500000, 20000, 9, 124 ), (30000, '2023-10-28', 820, '2023-09-11', 3280000, 3320000, 10000, 3, 419 ), (60000, '2023-06-23', 96, '2023-12-31', 672000, 732000, 0, 15, 370 ), (10000, '2023-04-05', 2627, '2023-07-06', 5254000, 5284000, 20000, 5, 676 ), (10000, '2023-09-09', 565, '2023-06-19', 3955000, 3985000, 20000, 12, 205 ), (90000, '2023-06-18', 1433, '2023-10-12', 11464000, 11554000, 0, 14, 442 ), (20000, '2023-07-11', 9, '2023-08-31', 36000, 96000, 40000, 3, 959 ), (70000, '2023-07-19', 5958, '2023-06-15', 23832000, 23912000, 10000, 5, 259 ), (30000, '2023-06-14', 221, '2023-12-21', 1105000, 1135000, 0, 6, 233 ), (60000, '2023-12-19', 3155, '2023-12-03', 12620000, 12680000, 0, 16, 897 ), (60000, '2023-02-17', 230, '2023-08-01', 1840000, 1910000, 10000, 13, 242 ), (100000, '2023-05-16', 678, '2023-02-27', 6102000, 6212000, 10000, 11, 528 ), (20000, '2023-01-05', 4918, '2023-07-29', 19672000, 19712000, 20000, 20, 580 ), (60000, '2023-05-01', 67, '2023-09-06', 335000, 405000, 10000, 10, 268 ), (40000, '2023-10-23', 89, '2023-07-03', 890000, 970000, 40000, 1, 992 ), (80000, '2023-09-23', 7200, '2023-02-19', 28800000, 28890000, 10000, 7, 530 ), (30000, '2023-04-30', 2289, '2023-10-25', 22890000, 22930000, 10000, 1, 956 ), (70000, '2023-01-26', 1409, '2023-03-28', 8454000, 8524000, 0, 18, 6 ), (50000, '2023-07-08', 4804, '2023-09-16', 33628000, 33678000, 0, 4, 369 ), (40000, '2023-09-07', 1603, '2023-02-13', 6412000, 6452000, 0, 11, 179 ), (10000, '2023-07-15', 612, '2023-12-21', 4896000, 4936000, 30000, 4, 362 ), (80000, '2023-03-04', 23, '2023-08-14', 138000, 238000, 20000, 10, 150 ), (90000, '2023-09-01', 67, '2023-11-25', 536000, 626000, 0, 10, 706 ), (50000, '2023-06-15', 2274, '2023-08-15', 22740000, 22800000, 10000, 5, 62 ), (80000, '2023-09-26', 4203, '2023-06-27', 8406000, 8526000, 40000, 12, 575 ), (10000, '2023-07-12', 3680, '2023-05-03', 25760000, 25810000, 40000, 11, 379 ), (60000, '2023-04-02', 1274, '2023-10-30', 12740000, 12840000, 40000, 5, 582 ), (60000, '2023-07-16', 3822, '2023-12-10', 34398000, 34478000, 20000, 20, 30 ), (70000, '2023-10-12', 4046, '2023-01-06', 24276000, 24366000, 20000, 16, 107 ); +insert into settlement(cancel_price, complete_at, coupon_count, coupon_use_date, discount_price, sum_price, supply_price, accommodation_id, coupon_id) values (80000, '2023-02-09', 3143, '2023-08-22', 28287000, 28367000, 0, 12, 48 ), (80000, '2023-03-04', 1036, '2023-04-26', 8288000, 8408000, 40000, 7, 247 ), (70000, '2023-10-05', 2931, '2023-11-14', 26379000, 26489000, 40000, 5, 758 ), (40000, '2023-11-30', 590, '2023-11-10', 5310000, 5360000, 10000, 11, 630 ), (80000, '2023-07-19', 1522, '2023-05-05', 15220000, 15340000, 40000, 2, 927 ), (50000, '2023-06-23', 2205, '2023-11-21', 19845000, 19895000, 0, 9, 88 ), (20000, '2023-07-24', 1801, '2023-10-29', 3602000, 3652000, 30000, 3, 8 ), (80000, '2023-11-30', 3216, '2023-04-28', 25728000, 25838000, 30000, 2, 461 ), (100000, '2023-09-17', 344, '2023-03-21', 3440000, 3580000, 40000, 14, 649 ), (70000, '2023-10-24', 3269, '2023-10-03', 26152000, 26262000, 40000, 1, 991 ), (10000, '2023-02-25', 563, '2023-10-20', 1689000, 1739000, 40000, 8, 639 ), (10000, '2023-01-22', 7085, '2023-10-24', 49595000, 49625000, 20000, 2, 408 ), (20000, '2023-07-15', 580, '2023-07-10', 1160000, 1210000, 30000, 17, 32 ), (20000, '2023-01-04', 383, '2023-07-14', 2298000, 2358000, 40000, 17, 493 ), (60000, '2023-09-06', 271, '2023-06-19', 2168000, 2238000, 10000, 3, 562 ), (80000, '2023-05-29', 88, '2023-04-15', 528000, 648000, 40000, 1, 616 ), (70000, '2023-07-21', 849, '2023-08-16', 5943000, 6023000, 10000, 3, 309 ), (100000, '2023-11-04', 748, '2023-10-31', 1496000, 1616000, 20000, 5, 676 ), (30000, '2023-11-26', 262, '2023-04-02', 2620000, 2670000, 20000, 10, 11 ), (20000, '2023-12-13', 89, '2023-07-01', 267000, 327000, 40000, 11, 856 ), (70000, '2023-06-15', 390, '2023-06-21', 1170000, 1250000, 10000, 19, 996 ), (70000, '2023-03-01', 2037, '2023-08-02', 10185000, 10285000, 30000, 5, 557 ), (50000, '2023-09-10', 2166, '2023-11-16', 4332000, 4392000, 10000, 5, 891 ), (30000, '2023-06-25', 50, '2023-08-12', 500000, 540000, 10000, 13, 349 ), (40000, '2023-08-20', 470, '2023-04-21', 2350000, 2400000, 10000, 4, 558 ), (10000, '2023-09-22', 673, '2023-12-10', 4038000, 4058000, 10000, 8, 59 ), (20000, '2023-11-21', 1534, '2023-08-16', 10738000, 10788000, 30000, 11, 67 ), (90000, '2023-02-18', 1784, '2023-12-28', 3568000, 3678000, 20000, 13, 989 ), (10000, '2023-04-25', 1535, '2023-01-17', 10745000, 10765000, 10000, 18, 863 ), (100000, '2023-05-17', 275, '2023-05-31', 1375000, 1475000, 0, 10, 772 ), (20000, '2023-02-12', 4982, '2023-03-13', 39856000, 39906000, 30000, 18, 599 ), (30000, '2023-12-11', 852, '2023-01-18', 4260000, 4320000, 30000, 17, 702 ), (40000, '2023-01-14', 4, '2023-09-27', 8000, 78000, 30000, 3, 153 ), (40000, '2023-09-07', 4646, '2023-05-31', 23230000, 23290000, 20000, 10, 339 ), (60000, '2023-10-14', 681, '2023-10-21', 5448000, 5528000, 20000, 6, 129 ), (40000, '2023-03-20', 1142, '2023-06-25', 6852000, 6922000, 30000, 6, 526 ), (60000, '2023-08-08', 12, '2023-02-22', 48000, 128000, 20000, 8, 50 ), (80000, '2023-11-16', 31, '2023-04-09', 93000, 173000, 0, 13, 947 ), (40000, '2023-09-22', 88, '2023-02-27', 880000, 940000, 20000, 12, 611 ), (30000, '2023-10-13', 456, '2023-07-07', 3648000, 3698000, 20000, 1, 593 ), (50000, '2023-07-10', 3729, '2023-06-11', 26103000, 26173000, 20000, 1, 782 ), (30000, '2023-04-16', 908, '2023-07-25', 4540000, 4570000, 0, 9, 950 ), (20000, '2023-11-02', 5, '2023-05-01', 10000, 50000, 20000, 15, 658 ), (10000, '2023-07-11', 130, '2023-10-29', 780000, 810000, 20000, 5, 15 ), (50000, '2023-05-16', 2972, '2023-02-05', 5944000, 6004000, 10000, 17, 148 ), (100000, '2023-07-22', 668, '2023-01-27', 2672000, 2812000, 40000, 11, 167 ), (60000, '2023-10-03', 2511, '2023-02-21', 5022000, 5092000, 10000, 18, 806 ), (20000, '2023-10-24', 532, '2023-06-13', 2128000, 2188000, 40000, 20, 142 ), (70000, '2023-11-04', 1738, '2023-11-03', 3476000, 3556000, 10000, 11, 676 ), (80000, '2023-12-20', 46, '2023-08-17', 460000, 570000, 30000, 12, 618 ), (20000, '2023-11-14', 57, '2023-04-26', 285000, 325000, 20000, 2, 251 ), (10000, '2023-03-27', 2814, '2023-08-26', 16884000, 16934000, 40000, 6, 973 ), (50000, '2023-09-20', 1151, '2023-05-23', 4604000, 4694000, 40000, 9, 561 ), (70000, '2023-04-22', 7, '2023-09-03', 35000, 105000, 0, 10, 454 ), (100000, '2023-04-15', 1189, '2023-11-25', 5945000, 6055000, 10000, 15, 675 ), (40000, '2023-08-24', 2920, '2023-05-23', 29200000, 29270000, 30000, 9, 493 ), (60000, '2023-09-23', 21, '2023-12-30', 105000, 185000, 20000, 1, 267 ), (90000, '2023-08-17', 607, '2023-05-23', 2428000, 2538000, 20000, 2, 54 ), (10000, '2023-11-02', 1489, '2023-07-29', 8934000, 8954000, 10000, 9, 319 ), (40000, '2023-03-17', 172, '2023-06-26', 860000, 910000, 10000, 12, 446 ), (40000, '2023-01-15', 448, '2023-12-13', 3584000, 3664000, 40000, 2, 445 ), (70000, '2023-11-19', 1137, '2023-04-15', 5685000, 5775000, 20000, 1, 491 ), (20000, '2023-01-24', 189, '2023-09-07', 378000, 418000, 20000, 4, 841 ), (20000, '2023-09-14', 323, '2023-06-11', 1292000, 1332000, 20000, 19, 788 ), (50000, '2023-04-26', 5224, '2023-10-18', 47016000, 47076000, 10000, 20, 489 ), (90000, '2023-02-20', 585, '2023-10-14', 4680000, 4770000, 0, 17, 683 ), (10000, '2023-11-18', 466, '2023-06-17', 3728000, 3778000, 40000, 10, 862 ), (80000, '2023-05-05', 1860, '2023-07-14', 13020000, 13140000, 40000, 2, 654 ), (60000, '2023-05-09', 955, '2023-06-02', 2865000, 2965000, 40000, 2, 556 ), (40000, '2023-10-10', 5290, '2023-07-07', 42320000, 42390000, 30000, 20, 863 ), (50000, '2023-03-28', 57, '2023-04-26', 342000, 412000, 20000, 9, 438 ), (90000, '2023-06-23', 140, '2023-05-11', 280000, 390000, 20000, 13, 474 ), (10000, '2023-11-16', 362, '2023-04-16', 2534000, 2554000, 10000, 11, 133 ), (90000, '2023-04-22', 445, '2023-03-29', 3115000, 3235000, 30000, 9, 41 ), (70000, '2023-05-12', 2211, '2023-12-31', 11055000, 11165000, 40000, 6, 35 ), (90000, '2023-11-08', 513, '2023-01-03', 1026000, 1156000, 40000, 16, 208 ), (30000, '2023-12-21', 916, '2023-03-19', 1832000, 1882000, 20000, 15, 964 ), (60000, '2023-07-13', 1135, '2023-12-18', 4540000, 4630000, 30000, 6, 947 ), (30000, '2023-10-17', 43, '2023-03-10', 430000, 460000, 0, 5, 556 ), (10000, '2023-11-09', 40, '2023-02-20', 160000, 200000, 30000, 4, 330 ), (100000, '2023-12-30', 1411, '2023-05-30', 8466000, 8586000, 20000, 14, 446 ), (100000, '2023-12-25', 2227, '2023-10-02', 15589000, 15729000, 40000, 13, 256 ), (20000, '2023-02-16', 78, '2023-01-29', 468000, 508000, 20000, 19, 523 ), (30000, '2023-05-22', 53, '2023-05-28', 265000, 305000, 10000, 2, 673 ), (30000, '2023-08-03', 20, '2023-11-13', 100000, 170000, 40000, 17, 48 ), (90000, '2023-08-11', 31, '2023-11-05', 93000, 193000, 10000, 19, 463 ), (80000, '2023-09-16', 327, '2023-10-12', 2616000, 2726000, 30000, 15, 164 ), (50000, '2023-08-02', 1312, '2023-07-27', 10496000, 10556000, 10000, 12, 721 ), (30000, '2023-02-16', 516, '2023-05-26', 1548000, 1578000, 0, 13, 283 ), (100000, '2023-12-22', 2214, '2023-07-24', 8856000, 8966000, 10000, 2, 44 ), (100000, '2023-05-20', 107, '2023-01-06', 535000, 645000, 10000, 20, 169 ), (100000, '2023-06-16', 534, '2023-02-08', 4272000, 4412000, 40000, 15, 915 ), (90000, '2023-05-10', 5114, '2023-11-30', 35798000, 35928000, 40000, 3, 581 ), (30000, '2023-11-03', 70, '2023-08-28', 630000, 660000, 0, 14, 785 ), (10000, '2023-05-21', 120, '2023-04-12', 1200000, 1220000, 10000, 18, 662 ), (50000, '2023-08-20', 204, '2023-07-13', 816000, 886000, 20000, 5, 142 ), (50000, '2023-08-11', 2112, '2023-06-25', 6336000, 6426000, 40000, 11, 409 ), (20000, '2023-09-07', 2538, '2023-01-17', 5076000, 5126000, 30000, 16, 594 ), (50000, '2023-06-23', 5887, '2023-11-07', 23548000, 23618000, 20000, 11, 231 ), (70000, '2023-01-19', 289, '2023-09-04', 578000, 668000, 20000, 15, 458 ), (30000, '2023-03-30', 539, '2023-10-17', 1078000, 1138000, 30000, 2, 313 ), (90000, '2023-06-15', 6, '2023-07-30', 48000, 168000, 30000, 1, 658 ), (90000, '2023-10-23', 61, '2023-07-22', 427000, 557000, 40000, 6, 649 ), (90000, '2023-06-11', 3211, '2023-06-07', 16055000, 16155000, 10000, 16, 971 ), (100000, '2023-05-30', 1827, '2023-01-30', 9135000, 9235000, 0, 13, 22 ), (90000, '2023-10-04', 6284, '2023-04-13', 18852000, 18952000, 10000, 10, 651 ), (70000, '2023-04-29', 26, '2023-07-13', 234000, 304000, 0, 17, 626 ), (70000, '2023-03-22', 420, '2023-09-17', 3780000, 3880000, 30000, 3, 504 ), (40000, '2023-02-08', 292, '2023-12-09', 1168000, 1208000, 0, 9, 473 ), (60000, '2023-11-03', 1105, '2023-03-07', 4420000, 4510000, 30000, 6, 672 ), (70000, '2023-03-01', 133, '2023-11-02', 1064000, 1154000, 20000, 18, 327 ), (60000, '2023-12-25', 73, '2023-06-12', 146000, 236000, 30000, 17, 968 ), (80000, '2023-09-08', 132, '2023-11-04', 924000, 1014000, 10000, 5, 706 ), (20000, '2023-07-26', 420, '2023-01-26', 840000, 860000, 0, 15, 198 ), (60000, '2023-04-22', 1881, '2023-01-11', 3762000, 3822000, 0, 14, 154 ), (60000, '2023-07-26', 235, '2023-10-18', 470000, 570000, 40000, 15, 807 ), (20000, '2023-02-14', 638, '2023-08-30', 2552000, 2612000, 40000, 14, 977 ), (60000, '2023-07-23', 227, '2023-10-16', 1816000, 1916000, 40000, 3, 347 ), (20000, '2023-02-25', 3839, '2023-02-13', 19195000, 19215000, 0, 2, 751 ), (80000, '2023-06-22', 2508, '2023-08-26', 7524000, 7604000, 0, 20, 825 ), (100000, '2023-03-31', 512, '2023-10-28', 3584000, 3724000, 40000, 4, 324 ), (70000, '2023-04-24', 1834, '2023-07-25', 18340000, 18440000, 30000, 18, 177 ), (60000, '2023-07-22', 174, '2023-05-13', 522000, 622000, 40000, 9, 488 ), (70000, '2023-06-20', 458, '2023-05-21', 2290000, 2390000, 30000, 19, 142 ), (30000, '2023-02-18', 507, '2023-02-20', 2535000, 2605000, 40000, 8, 852 ), (40000, '2023-05-03', 1227, '2023-05-10', 7362000, 7442000, 40000, 17, 602 ), (90000, '2023-01-19', 492, '2023-08-13', 2460000, 2560000, 10000, 14, 254 ), (90000, '2023-08-21', 788, '2023-04-28', 7092000, 7202000, 20000, 3, 304 ), (60000, '2023-03-11', 209, '2023-07-10', 1463000, 1553000, 30000, 14, 797 ), (50000, '2023-03-21', 655, '2023-09-24', 4585000, 4635000, 0, 14, 110 ), (80000, '2023-01-13', 205, '2023-03-21', 1435000, 1555000, 40000, 14, 829 ), (30000, '2023-01-05', 734, '2023-07-16', 3670000, 3710000, 10000, 15, 450 ), (80000, '2023-10-06', 2255, '2023-11-02', 22550000, 22640000, 10000, 1, 789 ), (70000, '2023-01-26', 610, '2023-11-29', 3660000, 3750000, 20000, 19, 586 ), (10000, '2023-09-14', 133, '2023-09-04', 931000, 981000, 40000, 16, 938 ), (50000, '2023-04-21', 2228, '2023-10-19', 4456000, 4526000, 20000, 4, 619 ), (70000, '2023-11-06', 2098, '2023-07-28', 18882000, 18992000, 40000, 9, 360 ), (70000, '2023-07-16', 2021, '2023-12-17', 12126000, 12226000, 30000, 4, 492 ), (30000, '2023-04-29', 518, '2023-06-05', 1036000, 1066000, 0, 3, 429 ), (60000, '2023-02-01', 3305, '2023-09-15', 33050000, 33130000, 20000, 2, 677 ), (100000, '2023-12-08', 2451, '2023-09-27', 17157000, 17287000, 30000, 8, 921 ), (60000, '2023-04-27', 1503, '2023-07-04', 15030000, 15090000, 0, 1, 950 ), (10000, '2023-11-01', 1515, '2023-08-30', 3030000, 3080000, 40000, 13, 237 ), (70000, '2023-07-25', 123, '2023-09-07', 1230000, 1310000, 10000, 2, 717 ), (20000, '2023-06-01', 7618, '2023-02-06', 53326000, 53366000, 20000, 14, 708 ), (60000, '2023-06-12', 2104, '2023-08-08', 16832000, 16902000, 10000, 19, 359 ), (80000, '2023-08-22', 92, '2023-11-17', 368000, 488000, 40000, 7, 599 ), (60000, '2023-11-18', 197, '2023-06-15', 788000, 868000, 20000, 7, 900 ), (70000, '2023-01-13', 562, '2023-10-29', 1686000, 1786000, 30000, 5, 652 ), (70000, '2023-06-17', 3688, '2023-09-22', 36880000, 36970000, 20000, 13, 403 ), (40000, '2023-08-29', 1270, '2023-11-16', 11430000, 11500000, 30000, 20, 417 ), (40000, '2023-04-25', 5974, '2023-11-06', 23896000, 23946000, 10000, 16, 272 ), (50000, '2023-10-24', 1479, '2023-08-31', 11832000, 11892000, 10000, 16, 257 ), (70000, '2023-11-22', 210, '2023-09-22', 1260000, 1350000, 20000, 18, 54 ), (40000, '2023-07-25', 2521, '2023-11-11', 20168000, 20218000, 10000, 2, 237 ), (90000, '2023-07-10', 238, '2023-02-09', 952000, 1062000, 20000, 20, 971 ), (40000, '2023-07-03', 84, '2023-02-27', 336000, 376000, 0, 8, 52 ), (90000, '2023-07-24', 663, '2023-04-09', 2652000, 2782000, 40000, 5, 334 ), (90000, '2023-08-19', 90, '2023-06-10', 810000, 930000, 30000, 14, 888 ), (40000, '2023-08-13', 2639, '2023-08-06', 10556000, 10616000, 20000, 10, 162 ), (20000, '2023-09-06', 3262, '2023-07-21', 19572000, 19612000, 20000, 2, 670 ), (50000, '2023-09-19', 14, '2023-05-13', 56000, 106000, 0, 16, 971 ), (60000, '2023-07-10', 466, '2023-04-15', 1864000, 1924000, 0, 19, 715 ), (30000, '2023-12-20', 3304, '2023-07-26', 9912000, 9982000, 40000, 4, 207 ), (60000, '2023-05-30', 2558, '2023-07-20', 5116000, 5216000, 40000, 18, 726 ), (40000, '2023-06-14', 533, '2023-06-20', 3731000, 3781000, 10000, 6, 32 ), (40000, '2023-07-24', 6797, '2023-03-06', 61173000, 61213000, 0, 12, 283 ), (40000, '2023-02-08', 723, '2023-04-21', 7230000, 7310000, 40000, 18, 967 ), (80000, '2023-06-28', 309, '2023-01-10', 927000, 1007000, 0, 17, 125 ), (80000, '2023-12-06', 1207, '2023-10-25', 8449000, 8559000, 30000, 11, 602 ), (80000, '2023-07-03', 137, '2023-02-09', 959000, 1049000, 10000, 9, 719 ), (80000, '2023-07-20', 430, '2023-01-27', 4300000, 4420000, 40000, 20, 426 ), (60000, '2023-02-18', 1643, '2023-10-17', 8215000, 8315000, 40000, 6, 650 ), (50000, '2023-10-01', 155, '2023-11-14', 930000, 990000, 10000, 11, 466 ), (90000, '2023-01-30', 2836, '2023-02-16', 25524000, 25614000, 0, 19, 308 ), (90000, '2023-11-06', 668, '2023-08-29', 6012000, 6142000, 40000, 4, 408 ), (70000, '2023-12-20', 273, '2023-03-02', 2457000, 2567000, 40000, 2, 670 ), (90000, '2023-08-03', 6, '2023-06-10', 24000, 154000, 40000, 12, 599 ), (30000, '2023-09-27', 613, '2023-09-05', 1839000, 1879000, 10000, 9, 148 ), (80000, '2023-08-28', 3214, '2023-11-11', 12856000, 12966000, 30000, 6, 484 ), (60000, '2023-06-15', 867, '2023-09-29', 8670000, 8730000, 0, 15, 381 ), (10000, '2023-11-21', 89, '2023-07-16', 712000, 752000, 30000, 12, 594 ), (70000, '2023-06-14', 588, '2023-10-01', 2940000, 3030000, 20000, 6, 753 ), (100000, '2023-05-02', 1921, '2023-08-25', 19210000, 19340000, 30000, 3, 473 ), (70000, '2023-05-02', 2408, '2023-12-20', 4816000, 4916000, 30000, 9, 188 ), (30000, '2023-07-06', 104, '2023-02-25', 1040000, 1090000, 20000, 7, 693 ), (100000, '2023-12-04', 3692, '2023-10-07', 29536000, 29646000, 10000, 15, 823 ), (30000, '2023-06-02', 2733, '2023-07-26', 24597000, 24627000, 0, 10, 79 ), (80000, '2023-06-07', 188, '2023-03-20', 1880000, 2000000, 40000, 18, 537 ), (50000, '2023-03-24', 4, '2023-05-22', 16000, 106000, 40000, 12, 436 ), (30000, '2023-05-19', 747, '2023-08-15', 6723000, 6793000, 40000, 10, 864 ), (90000, '2023-04-12', 5, '2023-08-02', 45000, 145000, 10000, 16, 361 ), (10000, '2023-01-26', 73, '2023-07-22', 730000, 740000, 0, 19, 63 ), (100000, '2023-07-05', 827, '2023-09-18', 8270000, 8400000, 30000, 16, 878 ), (30000, '2023-07-25', 2367, '2023-07-28', 18936000, 18976000, 10000, 18, 226 ), (10000, '2023-06-23', 71, '2023-05-27', 284000, 304000, 10000, 4, 760 ), (80000, '2023-11-20', 394, '2023-11-24', 2758000, 2868000, 30000, 15, 817 ), (80000, '2023-12-28', 2274, '2023-05-22', 6822000, 6902000, 0, 19, 928 ), (100000, '2023-01-24', 2342, '2023-11-16', 4684000, 4824000, 40000, 8, 139 ), (20000, '2023-11-28', 1875, '2023-05-22', 5625000, 5675000, 30000, 7, 618 ), (10000, '2023-01-19', 262, '2023-02-05', 2096000, 2106000, 0, 10, 903 ), (90000, '2023-10-29', 485, '2023-12-11', 1940000, 2070000, 40000, 15, 110 ), (50000, '2023-01-27', 887, '2023-01-11', 5322000, 5382000, 10000, 18, 980 ), (30000, '2023-09-25', 2284, '2023-10-31', 13704000, 13764000, 30000, 7, 947 ), (10000, '2023-12-14', 428, '2023-01-22', 3852000, 3872000, 10000, 11, 900 ); +insert into settlement(cancel_price, complete_at, coupon_count, coupon_use_date, discount_price, sum_price, supply_price, accommodation_id, coupon_id) values (60000, '2023-08-21', 54, '2023-12-08', 162000, 222000, 0, 3, 794 ), (80000, '2023-08-27', 441, '2023-07-04', 2646000, 2736000, 10000, 4, 795 ), (80000, '2023-12-25', 697, '2023-08-15', 1394000, 1474000, 0, 20, 856 ), (70000, '2023-04-12', 387, '2023-01-19', 1935000, 2025000, 20000, 11, 88 ), (10000, '2023-03-11', 95, '2023-11-12', 475000, 485000, 0, 8, 405 ), (90000, '2023-04-09', 26, '2023-04-12', 234000, 344000, 20000, 19, 176 ), (70000, '2023-03-24', 275, '2023-03-30', 1925000, 2005000, 10000, 12, 813 ), (30000, '2023-06-08', 343, '2023-11-30', 1372000, 1442000, 40000, 20, 994 ), (80000, '2023-09-28', 683, '2023-05-17', 5464000, 5584000, 40000, 11, 428 ), (100000, '2023-03-23', 3506, '2023-11-30', 21036000, 21176000, 40000, 3, 579 ), (70000, '2023-12-06', 706, '2023-05-18', 5648000, 5718000, 0, 14, 985 ), (10000, '2023-03-11', 249, '2023-12-29', 2241000, 2261000, 10000, 20, 894 ), (40000, '2023-04-10', 28, '2023-03-31', 280000, 330000, 10000, 3, 671 ), (40000, '2023-03-06', 485, '2023-03-12', 970000, 1020000, 10000, 15, 584 ), (60000, '2023-03-08', 2122, '2023-05-14', 10610000, 10670000, 0, 6, 456 ), (50000, '2023-12-23', 1898, '2023-01-25', 3796000, 3876000, 30000, 11, 847 ), (30000, '2023-05-31', 3368, '2023-02-02', 6736000, 6776000, 10000, 3, 832 ), (60000, '2023-04-10', 1731, '2023-12-15', 15579000, 15639000, 0, 17, 200 ), (90000, '2023-12-20', 1527, '2023-09-10', 15270000, 15360000, 0, 14, 211 ), (90000, '2023-11-18', 3850, '2023-07-07', 19250000, 19340000, 0, 17, 16 ), (80000, '2023-05-26', 2092, '2023-11-01', 4184000, 4274000, 10000, 13, 564 ), (90000, '2023-05-01', 458, '2023-04-20', 916000, 1006000, 0, 13, 266 ), (20000, '2023-03-11', 2913, '2023-01-01', 17478000, 17508000, 10000, 8, 182 ), (50000, '2023-06-20', 350, '2023-10-31', 2800000, 2880000, 30000, 19, 304 ), (60000, '2023-04-25', 1542, '2023-02-08', 3084000, 3174000, 30000, 18, 567 ), (70000, '2023-07-13', 996, '2023-03-30', 3984000, 4084000, 30000, 5, 386 ), (90000, '2023-05-21', 2582, '2023-12-27', 5164000, 5254000, 0, 17, 931 ), (50000, '2023-09-27', 3962, '2023-05-25', 27734000, 27814000, 30000, 12, 139 ), (30000, '2023-07-23', 1114, '2023-10-09', 3342000, 3402000, 30000, 7, 813 ), (40000, '2023-01-12', 49, '2023-11-08', 147000, 217000, 30000, 7, 201 ), (60000, '2023-12-19', 1311, '2023-09-21', 6555000, 6625000, 10000, 16, 221 ), (60000, '2023-01-19', 96, '2023-07-23', 288000, 348000, 0, 5, 605 ), (30000, '2023-03-31', 1671, '2023-05-16', 6684000, 6724000, 10000, 8, 803 ), (50000, '2023-07-20', 128, '2023-06-01', 256000, 336000, 30000, 4, 500 ), (40000, '2023-03-20', 603, '2023-09-28', 3618000, 3688000, 30000, 6, 626 ), (40000, '2023-10-19', 842, '2023-08-28', 7578000, 7658000, 40000, 8, 341 ), (90000, '2023-07-13', 841, '2023-02-13', 7569000, 7679000, 20000, 20, 476 ), (30000, '2023-08-07', 2669, '2023-09-20', 8007000, 8057000, 20000, 2, 1 ), (30000, '2023-10-09', 787, '2023-01-28', 4722000, 4752000, 0, 10, 278 ), (70000, '2023-03-14', 1294, '2023-04-29', 7764000, 7854000, 20000, 13, 751 ), (40000, '2023-08-27', 1773, '2023-10-11', 3546000, 3606000, 20000, 20, 952 ), (60000, '2023-06-10', 3957, '2023-06-03', 39570000, 39640000, 10000, 1, 351 ), (80000, '2023-03-07', 2331, '2023-03-12', 6993000, 7103000, 30000, 16, 978 ), (40000, '2023-06-22', 2329, '2023-11-09', 23290000, 23330000, 0, 11, 403 ), (40000, '2023-08-27', 1029, '2023-01-07', 4116000, 4156000, 0, 5, 139 ), (80000, '2023-01-20', 1299, '2023-09-29', 5196000, 5276000, 0, 3, 230 ), (10000, '2023-10-12', 711, '2023-11-02', 2133000, 2163000, 20000, 16, 994 ), (60000, '2023-11-03', 228, '2023-12-23', 1140000, 1230000, 30000, 5, 794 ), (20000, '2023-08-09', 1207, '2023-09-01', 4828000, 4888000, 40000, 2, 20 ), (60000, '2023-05-02', 365, '2023-08-03', 3650000, 3710000, 0, 20, 612 ), (80000, '2023-01-05', 572, '2023-02-20', 2288000, 2398000, 30000, 9, 124 ), (20000, '2023-06-27', 138, '2023-04-10', 1380000, 1410000, 10000, 17, 362 ), (60000, '2023-06-26', 137, '2023-12-13', 411000, 481000, 10000, 6, 683 ), (80000, '2023-04-24', 6956, '2023-05-06', 13912000, 14012000, 20000, 5, 912 ), (70000, '2023-07-31', 2208, '2023-06-28', 6624000, 6734000, 40000, 6, 731 ), (90000, '2023-02-27', 17, '2023-01-27', 68000, 158000, 0, 4, 839 ), (20000, '2023-11-10', 779, '2023-03-18', 3895000, 3935000, 20000, 9, 345 ), (60000, '2023-12-15', 963, '2023-06-04', 6741000, 6801000, 0, 7, 630 ), (30000, '2023-06-15', 1551, '2023-01-19', 6204000, 6234000, 0, 16, 394 ), (50000, '2023-09-25', 153, '2023-07-30', 1377000, 1457000, 30000, 10, 345 ), (60000, '2023-10-03', 1021, '2023-04-10', 3063000, 3133000, 10000, 13, 191 ), (50000, '2023-11-14', 2211, '2023-03-07', 11055000, 11115000, 10000, 13, 601 ), (20000, '2023-12-13', 1130, '2023-08-02', 10170000, 10200000, 10000, 12, 451 ), (80000, '2023-04-06', 2555, '2023-03-20', 10220000, 10310000, 10000, 10, 828 ), (60000, '2023-10-13', 464, '2023-11-02', 3248000, 3338000, 30000, 5, 959 ), (40000, '2023-06-23', 701, '2023-06-18', 2103000, 2183000, 40000, 6, 370 ), (100000, '2023-01-04', 6, '2023-02-07', 24000, 124000, 0, 13, 983 ), (20000, '2023-06-28', 15, '2023-04-03', 45000, 105000, 40000, 1, 807 ), (90000, '2023-11-09', 14, '2023-01-11', 140000, 240000, 10000, 20, 185 ), (20000, '2023-07-02', 3648, '2023-06-18', 29184000, 29244000, 40000, 2, 574 ), (50000, '2023-09-06', 2669, '2023-01-02', 18683000, 18733000, 0, 12, 49 ), (20000, '2023-07-30', 4419, '2023-01-15', 8838000, 8868000, 10000, 19, 488 ), (100000, '2023-08-29', 268, '2023-03-03', 1072000, 1212000, 40000, 2, 154 ), (100000, '2023-03-15', 250, '2023-05-09', 1750000, 1850000, 0, 16, 298 ), (30000, '2023-07-27', 2182, '2023-05-29', 19638000, 19708000, 40000, 8, 73 ), (90000, '2023-07-25', 313, '2023-10-11', 2504000, 2604000, 10000, 19, 634 ), (40000, '2023-09-30', 6447, '2023-10-21', 58023000, 58073000, 10000, 12, 582 ), (70000, '2023-08-07', 1070, '2023-12-21', 4280000, 4360000, 10000, 19, 476 ), (20000, '2023-04-25', 75, '2023-09-21', 750000, 810000, 40000, 5, 845 ), (10000, '2023-04-01', 161, '2023-11-27', 644000, 654000, 0, 1, 137 ), (30000, '2023-02-10', 1505, '2023-01-27', 15050000, 15120000, 40000, 11, 711 ), (30000, '2023-08-28', 1404, '2023-07-20', 12636000, 12666000, 0, 4, 308 ), (30000, '2023-04-29', 493, '2023-09-17', 3451000, 3521000, 40000, 5, 398 ), (40000, '2023-09-20', 116, '2023-03-30', 580000, 630000, 10000, 9, 435 ), (60000, '2023-07-11', 5912, '2023-04-30', 53208000, 53298000, 30000, 4, 918 ), (10000, '2023-02-26', 382, '2023-10-11', 1528000, 1548000, 10000, 11, 930 ), (10000, '2023-04-14', 2181, '2023-06-16', 6543000, 6563000, 10000, 20, 272 ), (40000, '2023-03-21', 1037, '2023-03-17', 7259000, 7309000, 10000, 3, 609 ), (40000, '2023-10-12', 4814, '2023-09-12', 28884000, 28944000, 20000, 7, 518 ), (90000, '2023-10-28', 1797, '2023-10-18', 12579000, 12669000, 0, 1, 246 ), (70000, '2023-02-21', 863, '2023-05-20', 5178000, 5248000, 0, 6, 394 ), (100000, '2023-07-23', 237, '2023-03-19', 711000, 811000, 0, 1, 399 ), (60000, '2023-02-26', 3540, '2023-01-21', 35400000, 35490000, 30000, 10, 430 ), (40000, '2023-02-11', 1296, '2023-03-23', 10368000, 10428000, 20000, 5, 54 ), (20000, '2023-01-23', 3668, '2023-03-09', 22008000, 22048000, 20000, 10, 366 ), (60000, '2023-12-27', 614, '2023-06-19', 5526000, 5606000, 20000, 6, 888 ), (100000, '2023-10-28', 157, '2023-05-05', 471000, 571000, 0, 9, 107 ), (70000, '2023-02-07', 353, '2023-02-24', 3530000, 3620000, 20000, 15, 277 ), (60000, '2023-05-06', 1929, '2023-06-27', 9645000, 9725000, 20000, 4, 843 ), (10000, '2023-12-13', 7585, '2023-08-18', 68265000, 68275000, 0, 7, 905 ), (90000, '2023-09-12', 15, '2023-04-13', 90000, 180000, 0, 12, 777 ), (80000, '2023-07-30', 691, '2023-05-03', 1382000, 1472000, 10000, 10, 692 ), (20000, '2023-02-19', 2251, '2023-06-22', 4502000, 4522000, 0, 5, 854 ), (90000, '2023-07-09', 49, '2023-04-23', 343000, 433000, 0, 3, 566 ), (100000, '2023-03-28', 478, '2023-10-13', 1434000, 1574000, 40000, 6, 201 ), (100000, '2023-04-17', 3016, '2023-01-17', 27144000, 27284000, 40000, 1, 420 ), (10000, '2023-05-17', 102, '2023-08-06', 306000, 336000, 20000, 10, 396 ), (10000, '2023-03-10', 4069, '2023-04-20', 24414000, 24454000, 30000, 8, 728 ), (10000, '2023-03-09', 700, '2023-04-07', 4900000, 4910000, 0, 19, 543 ), (90000, '2023-10-25', 3652, '2023-05-02', 25564000, 25654000, 0, 13, 321 ), (50000, '2023-10-20', 2113, '2023-11-22', 10565000, 10635000, 20000, 17, 899 ), (40000, '2023-07-06', 211, '2023-06-22', 1688000, 1768000, 40000, 18, 927 ), (10000, '2023-12-11', 1842, '2023-07-30', 14736000, 14786000, 40000, 12, 3 ), (90000, '2023-10-22', 389, '2023-07-27', 1167000, 1257000, 0, 10, 442 ), (20000, '2023-11-09', 238, '2023-04-20', 1666000, 1686000, 0, 17, 891 ), (10000, '2023-04-27', 19, '2023-08-20', 171000, 181000, 0, 15, 603 ), (70000, '2023-11-19', 14, '2023-05-02', 70000, 160000, 20000, 3, 633 ), (30000, '2023-06-12', 17, '2023-03-23', 170000, 210000, 10000, 7, 512 ), (50000, '2023-05-12', 13, '2023-04-23', 39000, 89000, 0, 12, 203 ), (80000, '2023-03-11', 281, '2023-10-29', 562000, 672000, 30000, 3, 622 ), (50000, '2023-03-12', 1391, '2023-02-09', 12519000, 12569000, 0, 9, 238 ), (90000, '2023-03-23', 1919, '2023-10-07', 9595000, 9715000, 30000, 7, 615 ), (70000, '2023-06-06', 2885, '2023-10-08', 20195000, 20285000, 20000, 14, 458 ), (80000, '2023-10-20', 1840, '2023-02-13', 5520000, 5600000, 0, 14, 496 ), (70000, '2023-01-13', 681, '2023-10-25', 4086000, 4196000, 40000, 15, 972 ), (30000, '2023-04-12', 6140, '2023-11-01', 18420000, 18460000, 10000, 1, 533 ), (100000, '2023-06-14', 106, '2023-05-17', 742000, 852000, 10000, 19, 644 ), (100000, '2023-04-12', 5373, '2023-07-06', 21492000, 21612000, 20000, 9, 807 ), (40000, '2023-01-30', 151, '2023-11-16', 1208000, 1248000, 0, 11, 539 ), (20000, '2023-11-21', 2131, '2023-08-21', 6393000, 6453000, 40000, 15, 188 ), (70000, '2023-05-11', 1653, '2023-12-21', 13224000, 13314000, 20000, 20, 88 ), (100000, '2023-05-21', 3601, '2023-12-18', 21606000, 21726000, 20000, 18, 507 ), (20000, '2023-07-04', 332, '2023-02-16', 664000, 724000, 40000, 15, 536 ), (80000, '2023-08-04', 658, '2023-03-15', 1316000, 1406000, 10000, 12, 200 ), (10000, '2023-06-17', 2131, '2023-05-18', 14917000, 14937000, 10000, 13, 417 ), (60000, '2023-11-13', 4787, '2023-10-09', 47870000, 47940000, 10000, 18, 63 ), (90000, '2023-10-27', 306, '2023-07-04', 2754000, 2864000, 20000, 19, 596 ), (70000, '2023-12-24', 318, '2023-10-17', 1272000, 1352000, 10000, 18, 329 ), (60000, '2023-04-02', 3, '2023-04-13', 15000, 95000, 20000, 8, 592 ), (40000, '2023-09-08', 246, '2023-08-06', 492000, 552000, 20000, 12, 478 ), (60000, '2023-12-16', 1198, '2023-03-23', 4792000, 4892000, 40000, 13, 479 ), (20000, '2023-09-23', 18, '2023-08-14', 108000, 168000, 40000, 18, 214 ), (70000, '2023-07-09', 2403, '2023-02-19', 14418000, 14518000, 30000, 1, 186 ), (10000, '2023-07-13', 1116, '2023-09-14', 5580000, 5610000, 20000, 11, 35 ), (30000, '2023-03-24', 1312, '2023-12-13', 7872000, 7942000, 40000, 20, 179 ), (90000, '2023-06-20', 3732, '2023-08-30', 14928000, 15058000, 40000, 16, 774 ), (30000, '2023-04-22', 12, '2023-07-13', 84000, 114000, 0, 2, 932 ), (20000, '2023-06-26', 219, '2023-05-02', 2190000, 2220000, 10000, 10, 384 ), (90000, '2023-05-26', 385, '2023-04-13', 2310000, 2400000, 0, 12, 376 ), (90000, '2023-02-03', 78, '2023-12-03', 156000, 266000, 20000, 1, 101 ), (60000, '2023-08-18', 3220, '2023-09-08', 16100000, 16170000, 10000, 19, 8 ), (80000, '2023-10-06', 1102, '2023-09-09', 7714000, 7834000, 40000, 11, 125 ), (100000, '2023-10-20', 24, '2023-09-19', 96000, 206000, 10000, 7, 567 ), (20000, '2023-12-10', 970, '2023-10-14', 3880000, 3900000, 0, 16, 206 ), (30000, '2023-09-14', 719, '2023-08-05', 6471000, 6541000, 40000, 19, 986 ), (20000, '2023-01-19', 7573, '2023-08-14', 53011000, 53031000, 0, 16, 368 ), (20000, '2023-08-18', 266, '2023-11-06', 2128000, 2188000, 40000, 17, 557 ), (100000, '2023-08-27', 228, '2023-04-21', 912000, 1052000, 40000, 14, 95 ), (40000, '2023-07-27', 2589, '2023-03-22', 5178000, 5238000, 20000, 17, 895 ), (30000, '2023-07-04', 123, '2023-12-07', 738000, 788000, 20000, 15, 805 ), (90000, '2023-05-09', 293, '2023-08-06', 2344000, 2444000, 10000, 2, 313 ), (50000, '2023-11-29', 89, '2023-06-29', 267000, 317000, 0, 18, 681 ), (30000, '2023-09-24', 4396, '2023-11-10', 13188000, 13248000, 30000, 1, 105 ), (90000, '2023-12-24', 316, '2023-06-21', 948000, 1078000, 40000, 14, 655 ), (60000, '2023-05-06', 706, '2023-06-13', 2118000, 2178000, 0, 16, 919 ), (20000, '2023-05-30', 393, '2023-10-01', 3930000, 3970000, 20000, 16, 129 ), (30000, '2023-06-18', 1973, '2023-10-25', 13811000, 13851000, 10000, 14, 724 ), (50000, '2023-01-04', 1276, '2023-06-28', 8932000, 9002000, 20000, 17, 62 ), (50000, '2023-05-08', 130, '2023-06-15', 260000, 340000, 30000, 10, 53 ), (20000, '2023-09-25', 724, '2023-05-15', 5068000, 5128000, 40000, 17, 19 ), (70000, '2023-07-17', 120, '2023-09-20', 360000, 460000, 30000, 16, 289 ), (10000, '2023-12-16', 5778, '2023-10-15', 28890000, 28930000, 30000, 9, 970 ), (60000, '2023-01-23', 2749, '2023-03-29', 19243000, 19323000, 20000, 16, 544 ), (90000, '2023-01-31', 115, '2023-08-08', 805000, 925000, 30000, 5, 271 ), (10000, '2023-05-31', 34, '2023-08-20', 170000, 210000, 30000, 13, 746 ), (70000, '2023-08-27', 3524, '2023-07-05', 17620000, 17690000, 0, 13, 659 ), (80000, '2023-06-12', 3672, '2023-09-02', 22032000, 22122000, 10000, 12, 863 ), (50000, '2023-07-27', 289, '2023-01-08', 578000, 638000, 10000, 16, 451 ), (50000, '2023-09-08', 324, '2023-12-01', 2268000, 2338000, 20000, 16, 674 ), (20000, '2023-12-20', 2822, '2023-06-06', 16932000, 16992000, 40000, 13, 183 ), (100000, '2023-09-10', 223, '2023-05-19', 2230000, 2340000, 10000, 19, 930 ), (30000, '2023-12-18', 537, '2023-04-10', 5370000, 5430000, 30000, 19, 50 ), (10000, '2023-01-06', 160, '2023-10-29', 960000, 980000, 10000, 5, 665 ), (30000, '2023-11-28', 913, '2023-08-07', 7304000, 7374000, 40000, 20, 858 ), (90000, '2023-09-21', 439, '2023-12-11', 2195000, 2315000, 30000, 18, 416 ), (40000, '2023-02-26', 82, '2023-05-07', 574000, 654000, 40000, 2, 373 ), (20000, '2023-06-15', 56, '2023-01-25', 224000, 284000, 40000, 6, 504 ), (90000, '2023-02-14', 1330, '2023-08-06', 13300000, 13400000, 10000, 13, 626 ), (40000, '2023-04-01', 116, '2023-05-05', 580000, 630000, 10000, 12, 7 ), (80000, '2023-12-12', 47, '2023-01-23', 141000, 221000, 0, 7, 407 ), (50000, '2023-09-08', 564, '2023-03-25', 2820000, 2900000, 30000, 9, 86 ), (70000, '2023-03-23', 736, '2023-08-29', 7360000, 7440000, 10000, 6, 618 ), (100000, '2023-12-09', 291, '2023-12-08', 2037000, 2137000, 0, 1, 417 ), (100000, '2023-10-19', 2658, '2023-05-13', 7974000, 8104000, 30000, 15, 727 ), (100000, '2023-03-15', 3000, '2023-08-03', 27000000, 27120000, 20000, 11, 73 ), (70000, '2023-02-22', 4168, '2023-12-20', 29176000, 29246000, 0, 19, 678 ), (30000, '2023-06-28', 7, '2023-01-23', 14000, 74000, 30000, 17, 983 ), (100000, '2023-10-01', 420, '2023-05-28', 2940000, 3060000, 20000, 4, 139 ), (90000, '2023-12-17', 1320, '2023-10-05', 11880000, 12010000, 40000, 3, 793 ), (100000, '2023-10-10', 731, '2023-05-06', 7310000, 7440000, 30000, 17, 7 ), (20000, '2023-10-13', 145, '2023-12-02', 290000, 320000, 10000, 2, 293 ), (10000, '2023-02-22', 44, '2023-09-30', 352000, 362000, 0, 3, 830 ), (70000, '2023-04-06', 38, '2023-08-23', 380000, 450000, 0, 19, 705 ), (50000, '2023-04-09', 2474, '2023-05-10', 14844000, 14924000, 30000, 2, 375 ), (60000, '2023-10-13', 289, '2023-07-17', 2890000, 2950000, 0, 1, 418 ), (90000, '2023-01-23', 2799, '2023-03-15', 13995000, 14105000, 20000, 6, 884 ), (20000, '2023-03-18', 495, '2023-08-20', 2475000, 2495000, 0, 6, 568 ); +insert into settlement(cancel_price, complete_at, coupon_count, coupon_use_date, discount_price, sum_price, supply_price, accommodation_id, coupon_id) values (20000, '2023-12-08', 573, '2023-08-09', 1719000, 1779000, 40000, 6, 946 ), (100000, '2023-03-03', 22, '2023-04-08', 154000, 294000, 40000, 11, 942 ), (30000, '2023-12-15', 2984, '2023-02-24', 17904000, 17974000, 40000, 13, 123 ), (90000, '2023-10-24', 506, '2023-04-17', 4048000, 4148000, 10000, 19, 880 ), (10000, '2023-07-17', 582, '2023-08-24', 5820000, 5840000, 10000, 3, 349 ), (30000, '2023-06-24', 1474, '2023-09-09', 8844000, 8904000, 30000, 11, 634 ), (40000, '2023-01-29', 97, '2023-06-03', 970000, 1020000, 10000, 15, 1 ), (80000, '2023-12-13', 248, '2023-07-27', 2480000, 2600000, 40000, 19, 14 ), (100000, '2023-06-09', 1854, '2023-04-09', 16686000, 16796000, 10000, 11, 222 ), (100000, '2023-05-06', 327, '2023-03-21', 3270000, 3390000, 20000, 12, 316 ), (60000, '2023-04-30', 1130, '2023-03-18', 11300000, 11400000, 40000, 8, 101 ), (10000, '2023-12-22', 326, '2023-05-07', 2608000, 2618000, 0, 3, 804 ), (90000, '2023-09-27', 2428, '2023-03-01', 24280000, 24370000, 0, 5, 901 ), (50000, '2023-04-19', 185, '2023-02-01', 740000, 800000, 10000, 4, 961 ), (100000, '2023-10-11', 2114, '2023-01-26', 14798000, 14898000, 0, 17, 955 ), (40000, '2023-05-19', 402, '2023-05-15', 3216000, 3296000, 40000, 1, 816 ), (100000, '2023-03-22', 1998, '2023-09-29', 13986000, 14106000, 20000, 5, 831 ), (20000, '2023-11-07', 2346, '2023-04-17', 9384000, 9444000, 40000, 10, 535 ), (10000, '2023-07-06', 807, '2023-08-15', 3228000, 3268000, 30000, 10, 368 ), (100000, '2023-08-31', 1647, '2023-07-13', 13176000, 13306000, 30000, 9, 457 ), (20000, '2023-09-11', 25, '2023-02-09', 250000, 270000, 0, 17, 361 ), (80000, '2023-02-25', 1026, '2023-12-19', 6156000, 6256000, 20000, 12, 349 ), (40000, '2023-05-05', 2460, '2023-07-11', 12300000, 12340000, 0, 8, 686 ), (90000, '2023-09-28', 6023, '2023-10-24', 24092000, 24212000, 30000, 18, 313 ), (90000, '2023-06-03', 15, '2023-08-19', 135000, 235000, 10000, 1, 843 ), (20000, '2023-09-24', 562, '2023-03-13', 2248000, 2268000, 0, 16, 343 ), (100000, '2023-09-28', 1229, '2023-03-10', 6145000, 6285000, 40000, 1, 509 ), (90000, '2023-04-24', 62, '2023-11-27', 186000, 316000, 40000, 9, 827 ), (60000, '2023-04-13', 425, '2023-10-17', 3400000, 3470000, 10000, 12, 415 ), (70000, '2023-11-06', 5722, '2023-06-03', 11444000, 11554000, 40000, 19, 771 ), (40000, '2023-01-28', 681, '2023-08-10', 1362000, 1442000, 40000, 19, 755 ), (90000, '2023-10-08', 4621, '2023-04-30', 9242000, 9362000, 30000, 12, 14 ), (90000, '2023-12-03', 2365, '2023-04-09', 21285000, 21385000, 10000, 19, 913 ), (30000, '2023-11-04', 270, '2023-04-24', 2430000, 2480000, 20000, 16, 60 ), (40000, '2023-05-14', 1503, '2023-06-12', 9018000, 9068000, 10000, 9, 592 ), (100000, '2023-04-27', 19, '2023-11-29', 152000, 292000, 40000, 1, 459 ), (90000, '2023-05-19', 462, '2023-02-26', 1848000, 1978000, 40000, 8, 395 ), (30000, '2023-11-17', 2690, '2023-01-21', 8070000, 8100000, 0, 6, 402 ), (80000, '2023-03-14', 1642, '2023-07-21', 9852000, 9972000, 40000, 14, 632 ), (70000, '2023-07-21', 26, '2023-06-02', 130000, 230000, 30000, 2, 208 ), (50000, '2023-02-15', 2304, '2023-05-19', 18432000, 18502000, 20000, 13, 630 ), (40000, '2023-04-19', 10, '2023-02-15', 80000, 150000, 30000, 9, 383 ), (20000, '2023-06-11', 1202, '2023-10-02', 2404000, 2424000, 0, 4, 871 ), (90000, '2023-03-27', 4826, '2023-05-06', 28956000, 29046000, 0, 15, 16 ), (50000, '2023-07-17', 3065, '2023-05-30', 21455000, 21525000, 20000, 11, 671 ), (10000, '2023-06-04', 199, '2023-01-14', 398000, 438000, 30000, 3, 924 ), (90000, '2023-07-05', 2, '2023-05-23', 10000, 140000, 40000, 5, 276 ), (80000, '2023-08-16', 483, '2023-08-05', 3381000, 3471000, 10000, 17, 902 ), (50000, '2023-10-20', 1279, '2023-10-10', 2558000, 2638000, 30000, 8, 745 ), (80000, '2023-04-27', 1, '2023-06-05', 10000, 120000, 30000, 2, 998 ), (60000, '2023-06-05', 2360, '2023-07-28', 11800000, 11860000, 0, 10, 692 ), (20000, '2023-12-27', 381, '2023-10-22', 2667000, 2687000, 0, 9, 705 ), (50000, '2023-10-20', 164, '2023-07-28', 656000, 726000, 20000, 17, 273 ), (50000, '2023-02-02', 487, '2023-10-27', 974000, 1024000, 0, 11, 493 ), (70000, '2023-05-28', 1527, '2023-09-04', 15270000, 15350000, 10000, 10, 855 ), (90000, '2023-11-25', 5628, '2023-08-19', 28140000, 28270000, 40000, 16, 818 ), (10000, '2023-10-25', 1442, '2023-03-09', 11536000, 11546000, 0, 7, 464 ), (70000, '2023-05-20', 1957, '2023-02-17', 11742000, 11852000, 40000, 20, 599 ), (30000, '2023-03-30', 4, '2023-02-03', 36000, 66000, 0, 9, 207 ), (30000, '2023-12-07', 462, '2023-06-18', 2310000, 2350000, 10000, 18, 632 ), (10000, '2023-06-01', 32, '2023-10-06', 128000, 148000, 10000, 3, 813 ), (10000, '2023-08-18', 156, '2023-04-28', 1560000, 1600000, 30000, 6, 638 ), (50000, '2023-04-24', 195, '2023-03-21', 780000, 830000, 0, 15, 64 ), (20000, '2023-01-08', 319, '2023-08-03', 957000, 997000, 20000, 10, 193 ), (50000, '2023-11-15', 38, '2023-03-18', 342000, 412000, 20000, 13, 531 ), (30000, '2023-03-15', 642, '2023-06-17', 1284000, 1314000, 0, 6, 69 ), (80000, '2023-10-24', 1785, '2023-12-21', 8925000, 9015000, 10000, 8, 30 ), (90000, '2023-07-18', 1824, '2023-03-30', 12768000, 12898000, 40000, 14, 999 ), (40000, '2023-01-19', 1125, '2023-01-10', 5625000, 5705000, 40000, 7, 244 ), (50000, '2023-10-07', 957, '2023-09-05', 3828000, 3888000, 10000, 3, 894 ), (70000, '2023-05-27', 1011, '2023-11-03', 2022000, 2112000, 20000, 19, 938 ), (40000, '2023-11-27', 3381, '2023-05-09', 16905000, 16955000, 10000, 6, 882 ), (100000, '2023-07-30', 2762, '2023-08-14', 5524000, 5654000, 30000, 9, 605 ), (90000, '2023-11-07', 1016, '2023-06-19', 7112000, 7202000, 0, 12, 49 ), (50000, '2023-11-10', 1037, '2023-07-13', 3111000, 3191000, 30000, 13, 597 ), (30000, '2023-09-09', 763, '2023-09-26', 3052000, 3092000, 10000, 18, 659 ), (100000, '2023-10-15', 57, '2023-07-08', 114000, 244000, 30000, 3, 949 ), (80000, '2023-10-26', 950, '2023-09-04', 4750000, 4870000, 40000, 1, 503 ), (60000, '2023-03-24', 1492, '2023-01-10', 14920000, 15010000, 30000, 4, 978 ), (90000, '2023-09-06', 677, '2023-05-18', 6770000, 6900000, 40000, 11, 981 ), (90000, '2023-11-14', 21, '2023-02-19', 42000, 162000, 30000, 9, 914 ), (90000, '2023-04-07', 3, '2023-02-04', 15000, 115000, 10000, 17, 670 ), (30000, '2023-01-16', 2409, '2023-12-22', 24090000, 24120000, 0, 3, 118 ), (20000, '2023-08-19', 1994, '2023-07-04', 5982000, 6022000, 20000, 9, 732 ), (80000, '2023-04-09', 290, '2023-06-30', 1160000, 1250000, 10000, 20, 46 ), (50000, '2023-03-17', 67, '2023-05-26', 603000, 673000, 20000, 6, 133 ), (10000, '2023-04-05', 2425, '2023-01-05', 12125000, 12155000, 20000, 7, 310 ), (90000, '2023-03-03', 799, '2023-07-15', 7191000, 7281000, 0, 12, 547 ), (10000, '2023-09-18', 4761, '2023-06-04', 33327000, 33357000, 20000, 12, 138 ), (90000, '2023-03-21', 2229, '2023-05-29', 17832000, 17952000, 30000, 12, 891 ), (40000, '2023-07-27', 52, '2023-04-11', 520000, 560000, 0, 8, 580 ), (80000, '2023-04-27', 114, '2023-04-28', 570000, 660000, 10000, 18, 542 ), (50000, '2023-07-28', 1027, '2023-04-10', 10270000, 10330000, 10000, 9, 491 ), (90000, '2023-03-22', 1966, '2023-09-23', 7864000, 7954000, 0, 18, 411 ), (100000, '2023-08-04', 195, '2023-06-02', 1950000, 2080000, 30000, 20, 80 ), (60000, '2023-10-21', 1592, '2023-01-23', 7960000, 8020000, 0, 7, 597 ), (20000, '2023-09-13', 293, '2023-10-01', 586000, 626000, 20000, 15, 791 ), (80000, '2023-09-13', 1607, '2023-04-07', 6428000, 6528000, 20000, 3, 468 ), (70000, '2023-04-13', 1974, '2023-09-13', 11844000, 11954000, 40000, 2, 850 ), (40000, '2023-05-12', 3921, '2023-04-23', 15684000, 15754000, 30000, 15, 870 ), (30000, '2023-09-17', 6040, '2023-03-13', 36240000, 36280000, 10000, 20, 584 ), (70000, '2023-01-10', 88, '2023-09-01', 176000, 266000, 20000, 18, 633 ), (30000, '2023-02-10', 1159, '2023-02-18', 6954000, 6994000, 10000, 8, 604 ), (70000, '2023-04-14', 380, '2023-11-29', 3420000, 3510000, 20000, 3, 842 ), (90000, '2023-10-17', 468, '2023-05-25', 936000, 1066000, 40000, 11, 479 ), (30000, '2023-08-29', 181, '2023-07-02', 543000, 603000, 30000, 15, 443 ), (10000, '2023-08-21', 1706, '2023-01-29', 3412000, 3422000, 0, 17, 35 ), (30000, '2023-09-04', 138, '2023-04-12', 1380000, 1440000, 30000, 19, 319 ), (30000, '2023-07-14', 981, '2023-03-09', 5886000, 5936000, 20000, 17, 644 ), (70000, '2023-06-11', 419, '2023-11-26', 4190000, 4260000, 0, 14, 524 ), (60000, '2023-12-31', 1748, '2023-05-05', 8740000, 8800000, 0, 5, 71 ), (80000, '2023-02-28', 313, '2023-12-17', 2191000, 2281000, 10000, 19, 460 ), (90000, '2023-11-26', 1384, '2023-07-11', 9688000, 9778000, 0, 6, 575 ), (30000, '2023-10-31', 837, '2023-06-22', 5022000, 5072000, 20000, 14, 26 ), (30000, '2023-01-22', 2147, '2023-10-21', 21470000, 21500000, 0, 4, 945 ), (100000, '2023-02-28', 290, '2023-01-22', 580000, 690000, 10000, 6, 950 ), (30000, '2023-01-17', 432, '2023-04-04', 864000, 914000, 20000, 12, 802 ), (40000, '2023-07-27', 77, '2023-07-22', 770000, 850000, 40000, 2, 637 ), (100000, '2023-01-14', 204, '2023-03-13', 816000, 946000, 30000, 13, 480 ), (90000, '2023-04-22', 1554, '2023-11-25', 6216000, 6326000, 20000, 14, 494 ), (30000, '2023-06-25', 2579, '2023-11-30', 25790000, 25830000, 10000, 4, 535 ), (10000, '2023-12-05', 116, '2023-05-28', 1044000, 1074000, 20000, 19, 340 ), (50000, '2023-04-19', 3048, '2023-05-25', 6096000, 6146000, 0, 4, 858 ), (30000, '2023-11-05', 105, '2023-03-27', 840000, 900000, 30000, 17, 616 ), (10000, '2023-03-23', 1273, '2023-03-01', 5092000, 5112000, 10000, 5, 763 ), (100000, '2023-07-26', 1302, '2023-12-01', 7812000, 7932000, 20000, 16, 666 ), (60000, '2023-07-08', 584, '2023-09-07', 4088000, 4188000, 40000, 18, 30 ), (90000, '2023-11-07', 3151, '2023-01-24', 6302000, 6432000, 40000, 8, 178 ), (40000, '2023-07-16', 4118, '2023-08-19', 8236000, 8286000, 10000, 7, 531 ), (30000, '2023-10-29', 1439, '2023-05-25', 7195000, 7255000, 30000, 5, 193 ), (30000, '2023-07-02', 182, '2023-09-20', 728000, 768000, 10000, 16, 118 ), (20000, '2023-12-29', 158, '2023-01-16', 1106000, 1146000, 20000, 1, 390 ), (20000, '2023-11-04', 2727, '2023-03-03', 16362000, 16382000, 0, 15, 755 ), (100000, '2023-01-28', 6183, '2023-08-25', 55647000, 55757000, 10000, 19, 609 ), (100000, '2023-04-26', 43, '2023-02-27', 387000, 517000, 30000, 18, 393 ), (30000, '2023-12-17', 70, '2023-08-07', 350000, 410000, 30000, 8, 349 ), (90000, '2023-06-09', 431, '2023-06-06', 1293000, 1413000, 30000, 6, 245 ), (10000, '2023-01-19', 346, '2023-04-12', 2768000, 2808000, 30000, 13, 140 ), (40000, '2023-03-19', 3298, '2023-04-22', 29682000, 29742000, 20000, 13, 867 ), (30000, '2023-11-22', 465, '2023-10-12', 1395000, 1455000, 30000, 13, 278 ), (20000, '2023-10-24', 2364, '2023-01-20', 14184000, 14204000, 0, 7, 32 ), (70000, '2023-11-21', 2221, '2023-09-10', 13326000, 13436000, 40000, 8, 862 ), (80000, '2023-10-22', 327, '2023-05-11', 2616000, 2706000, 10000, 6, 367 ), (40000, '2023-09-13', 2460, '2023-12-24', 9840000, 9880000, 0, 19, 325 ), (60000, '2023-08-19', 4814, '2023-03-11', 24070000, 24140000, 10000, 19, 477 ), (30000, '2023-04-19', 62, '2023-05-12', 372000, 422000, 20000, 9, 888 ), (90000, '2023-07-05', 81, '2023-07-26', 567000, 687000, 30000, 2, 988 ), (20000, '2023-02-09', 3828, '2023-01-30', 11484000, 11534000, 30000, 12, 235 ), (60000, '2023-03-21', 127, '2023-01-11', 889000, 979000, 30000, 20, 200 ), (10000, '2023-12-19', 101, '2023-03-03', 303000, 343000, 30000, 5, 107 ), (60000, '2023-04-21', 29, '2023-10-19', 261000, 351000, 30000, 9, 630 ), (60000, '2023-05-08', 1105, '2023-12-04', 9945000, 10015000, 10000, 18, 436 ), (80000, '2023-11-11', 134, '2023-01-28', 536000, 616000, 0, 6, 152 ), (40000, '2023-08-28', 247, '2023-04-25', 741000, 781000, 0, 10, 254 ), (100000, '2023-12-05', 196, '2023-03-22', 1568000, 1688000, 20000, 7, 666 ), (30000, '2023-06-08', 45, '2023-10-17', 225000, 265000, 10000, 7, 728 ), (20000, '2023-04-16', 933, '2023-08-20', 8397000, 8417000, 0, 14, 741 ), (80000, '2023-10-22', 893, '2023-12-26', 5358000, 5478000, 40000, 20, 855 ), (40000, '2023-04-30', 8, '2023-12-20', 56000, 96000, 0, 18, 550 ), (100000, '2023-05-08', 224, '2023-03-10', 1344000, 1444000, 0, 7, 656 ), (100000, '2023-01-07', 5038, '2023-09-06', 40304000, 40444000, 40000, 2, 921 ), (50000, '2023-06-15', 407, '2023-08-11', 3256000, 3316000, 10000, 4, 679 ), (10000, '2023-02-21', 1433, '2023-08-13', 14330000, 14350000, 10000, 15, 49 ), (30000, '2023-09-15', 290, '2023-01-16', 2900000, 2940000, 10000, 14, 585 ), (90000, '2023-06-17', 123, '2023-11-22', 615000, 725000, 20000, 7, 415 ), (70000, '2023-07-05', 2772, '2023-08-28', 13860000, 13930000, 0, 12, 697 ), (100000, '2023-07-01', 72, '2023-04-22', 360000, 490000, 30000, 1, 645 ), (10000, '2023-01-29', 1846, '2023-11-19', 11076000, 11096000, 10000, 8, 172 ), (80000, '2023-06-01', 4629, '2023-06-04', 9258000, 9348000, 10000, 17, 204 ), (100000, '2023-10-01', 4600, '2023-01-07', 23000000, 23130000, 30000, 8, 391 ), (40000, '2023-05-15', 249, '2023-03-13', 747000, 827000, 40000, 10, 155 ), (40000, '2023-10-27', 171, '2023-03-01', 1197000, 1237000, 0, 10, 387 ), (50000, '2023-02-03', 5340, '2023-08-22', 42720000, 42790000, 20000, 1, 863 ), (40000, '2023-09-15', 830, '2023-01-11', 2490000, 2570000, 40000, 15, 525 ); + + + -- + + + diff --git a/src/test/java/com/coolpeace/docs/dashboard/DashboardControllerTest.java b/src/test/java/com/coolpeace/docs/dashboard/DashboardControllerTest.java index 148115d8..2f1c9673 100644 --- a/src/test/java/com/coolpeace/docs/dashboard/DashboardControllerTest.java +++ b/src/test/java/com/coolpeace/docs/dashboard/DashboardControllerTest.java @@ -7,10 +7,10 @@ import static org.mockito.ArgumentMatchers.anyInt; import static org.mockito.ArgumentMatchers.anyLong; import static org.mockito.BDDMockito.given; +import static org.springframework.http.HttpHeaders.AUTHORIZATION; import static org.springframework.restdocs.payload.PayloadDocumentation.fieldWithPath; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; -import com.coolpeace.global.util.RoomTestUtil; import com.coolpeace.domain.accommodation.entity.Accommodation; import com.coolpeace.domain.coupon.dto.response.CouponDailyResponse; import com.coolpeace.domain.coupon.entity.Coupon; @@ -18,6 +18,7 @@ import com.coolpeace.domain.coupon.service.CouponQueryService; import com.coolpeace.domain.dashboard.controller.DashboardController; import com.coolpeace.domain.dashboard.dto.response.ByYearCumulativeDataResponse; +import com.coolpeace.domain.dashboard.dto.response.CouponCountAvgResponse; import com.coolpeace.domain.dashboard.dto.response.CumulativeDataResponse; import com.coolpeace.domain.dashboard.dto.response.MonthlyCouponDownloadResponse; import com.coolpeace.domain.dashboard.dto.response.MonthlyDataLightResponse; @@ -33,6 +34,7 @@ import com.coolpeace.global.builder.MemberTestBuilder; import com.coolpeace.global.builder.RoomTestBuilder; import com.coolpeace.global.config.RestDocsUnitTest; +import com.coolpeace.global.util.RoomTestUtil; import com.epages.restdocs.apispec.ResourceSnippetParameters; import com.epages.restdocs.apispec.Schema; import com.epages.restdocs.apispec.SimpleType; @@ -49,15 +51,15 @@ @WebMvcTest(DashboardController.class) class DashboardControllerTest extends RestDocsUnitTest { + private static final String MOCK_AUTHORIZATION_HEADER = "Bearer eyJhbGciOiJIUzUxMiJ9.eyJjbGllbnRfaWQiOiIyIiwiY2xpZW50X2VtYWlsIjoidGVzdEB0ZXN0LmNvbSIsImlzcyI6ImNvb2xwZWFjZSIsImlhdCI6MTcwNDYzODY5NSwiZXhwIjoxNzA0Njc0Njk1fQ.Re2QfSHVBJ9gKq8rCpv8wlvSuDS80jwEjHgGIxg840Og1ng6R_cozWOgw_eU9hgoYW0NUIAZLW322scfkUCRvQ"; + @MockBean private DashboardService dashboardService; @MockBean private CouponQueryService couponQueryService; - @Test @DisplayName("월간 비교 그래프 조회") - @WithMockUser void monthlyData_success() throws Exception { //given Member member = new MemberTestBuilder().encoded().build(); @@ -69,7 +71,8 @@ void monthlyData_success() throws Exception { given(dashboardService.monthlyData(any(), anyLong())).willReturn(monthlyDataResponses); //when,then mockMvc.perform(RestDocumentationRequestBuilders - .get("/v1/dashboards/{accommodation_id}/reports/month", 1L)) + .get("/v1/dashboards/{accommodation_id}/reports/month", 1L) + .header("Authorization", MOCK_AUTHORIZATION_HEADER)) .andExpect(status().isOk()) .andDo(document("dashboard-monthly", resource(ResourceSnippetParameters.builder() @@ -118,7 +121,8 @@ void weeklyCoupon_success() throws Exception { //when, then mockMvc.perform(RestDocumentationRequestBuilders - .get("/v1/dashboards/{accommodation_id}/reports/week", 1L)) + .get("/v1/dashboards/{accommodation_id}/reports/week", 1L) + .header("Authorization", MOCK_AUTHORIZATION_HEADER)) .andExpect(status().isOk()) .andDo(document("dashboard-weekly", resource(ResourceSnippetParameters.builder() @@ -154,13 +158,14 @@ void dailyCouponReport_success() throws Exception { couponList.add(coupon1); couponList.add(coupon2); CouponDailyResponse couponDailyResponse = CouponDailyResponse.from - (CouponDailyCondition.EXPIRATION_3DAYS, + (3,CouponDailyCondition.EXPIRATION_3DAYS, couponList.stream().map(Coupon::getCouponTitle).toList()); given(couponQueryService.dailyReport(any(), anyLong())).willReturn(couponDailyResponse); //when, then mockMvc.perform(RestDocumentationRequestBuilders - .get("/v1/dashboards/{accommodation_id}/reports/daily", 1L)) + .get("/v1/dashboards/{accommodation_id}/reports/daily", 1L) + .header("Authorization", MOCK_AUTHORIZATION_HEADER)) .andExpect(status().isOk()) .andDo(document("dashboard-daily", resource(ResourceSnippetParameters.builder() @@ -168,6 +173,8 @@ void dailyCouponReport_success() throws Exception { .description("일간 쿠폰 리포트 API") .responseSchema(Schema.schema(CouponDailyResponse.class.getSimpleName())) .responseFields( + fieldWithPath("condition_num").type(JsonFieldType.NUMBER) + .description("상태 넘버"), fieldWithPath("condition").type(JsonFieldType.STRING) .description("조건에 맞는 상태"), fieldWithPath("coupon_titles[]").type(JsonFieldType.ARRAY) @@ -192,7 +199,8 @@ void downloadCouponTop3_success() throws Exception { //when, then mockMvc.perform(RestDocumentationRequestBuilders - .get("/v1/dashboards/{accommodation_id}/coupons/download", 1L)) + .get("/v1/dashboards/{accommodation_id}/coupons/local/download", 1L) + .header("Authorization", MOCK_AUTHORIZATION_HEADER)) .andExpect(status().isOk()) .andDo(document("dashboard-download", resource(ResourceSnippetParameters.builder() @@ -210,6 +218,38 @@ void downloadCouponTop3_success() throws Exception { .build() ))); } + + @Test + @DisplayName("지역,숙소타입별 쿠폰 평균 갯수") + @WithMockUser + void couponCountAvg_success() throws Exception { + //given + CouponCountAvgResponse couponCountAvgResponse = + CouponCountAvgResponse.from(11, 2, "강남구"); + + given(dashboardService.couponCountAvg(any(), anyLong())).willReturn(couponCountAvgResponse); + + //when, then + mockMvc.perform(RestDocumentationRequestBuilders + .get("/v1/dashboards/{accommodation_id}/coupons/local/count", 1L) + .header("Authorization", MOCK_AUTHORIZATION_HEADER)) + .andExpect(status().isOk()) + .andDo(document("dashboard-count", + resource(ResourceSnippetParameters.builder() + .tag("대시보드") + .description("지역,숙소타입별 쿠폰 평균 갯수 API") + .responseSchema(Schema.schema(MonthlyCouponDownloadResponse.class.getSimpleName())) + .responseFields( + fieldWithPath("address").type(JsonFieldType.STRING) + .description("주소"), + fieldWithPath("coupon_avg").type(JsonFieldType.STRING) + .description("쿠폰 평균 개수") + ) + .build() + ))); + + } + @Test @DisplayName("연도별 누적 리포트") @WithMockUser @@ -227,7 +267,8 @@ void byYearCumulativeData_success() throws Exception { //when, then mockMvc.perform(RestDocumentationRequestBuilders .get("/v1/dashboards/{accommodation_id}/reports/year", 1L) - .queryParam("year","2023")) + .queryParam("year","2023") + .header("Authorization", MOCK_AUTHORIZATION_HEADER)) .andExpect(status().isOk()) .andDo(document("dashboard-year", resource(ResourceSnippetParameters.builder() @@ -267,7 +308,8 @@ void cumulativeData_success() throws Exception { given(dashboardService.cumulativeData(any(), anyLong())).willReturn(from); //when,then mockMvc.perform(RestDocumentationRequestBuilders. - get("/v1/dashboards/{accommodation_id}/reports/total", 1L)) + get("/v1/dashboards/{accommodation_id}/reports/total", 1L) + .header("Authorization", MOCK_AUTHORIZATION_HEADER)) .andExpect(status().isOk()) .andDo(document("dashboard-total", resource(ResourceSnippetParameters.builder() diff --git a/src/test/java/com/coolpeace/docs/settlement/SettlementControllerTest.java b/src/test/java/com/coolpeace/docs/settlement/SettlementControllerTest.java index cdcb3268..83b20d65 100644 --- a/src/test/java/com/coolpeace/docs/settlement/SettlementControllerTest.java +++ b/src/test/java/com/coolpeace/docs/settlement/SettlementControllerTest.java @@ -7,9 +7,8 @@ import static org.mockito.ArgumentMatchers.anyInt; import static org.mockito.ArgumentMatchers.anyLong; import static org.mockito.BDDMockito.given; -import static org.mockito.Mockito.mock; +import static org.springframework.http.HttpHeaders.AUTHORIZATION; import static org.springframework.restdocs.payload.PayloadDocumentation.fieldWithPath; -import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import com.coolpeace.domain.settlement.controller.SettlementController; @@ -35,6 +34,9 @@ @WebMvcTest(SettlementController.class) class SettlementControllerTest extends RestDocsUnitTest { + private static final String MOCK_AUTHORIZATION_HEADER = "Bearer eyJhbGciOiJIUzUxMiJ9.eyJjbGllbnRfaWQiOiIyIiwiY2xpZW50X2VtYWlsIjoidGVzdEB0ZXN0LmNvbSIsImlzcyI6ImNvb2xwZWFjZSIsImlhdCI6MTcwNDYzODY5NSwiZXhwIjoxNzA0Njc0Njk1fQ.Re2QfSHVBJ9gKq8rCpv8wlvSuDS80jwEjHgGIxg840Og1ng6R_cozWOgw_eU9hgoYW0NUIAZLW322scfkUCRvQ"; + + @MockBean private SettlementService settlementService; @@ -49,7 +51,8 @@ void sumSettlement_success() throws Exception { given(settlementService.sumSettlement(any(), anyLong())).willReturn(settlementResponse); //when,then - mockMvc.perform(RestDocumentationRequestBuilders.get("/v1/settlements/{accommodation_id}/summary",1)) + mockMvc.perform(RestDocumentationRequestBuilders.get("/v1/settlements/{accommodation_id}/summary",1) + .header("Authorization", MOCK_AUTHORIZATION_HEADER)) .andExpect(status().isOk()) .andDo(document("settlement-summary", resource(ResourceSnippetParameters.builder() @@ -85,7 +88,8 @@ void searchSettlement_success() throws Exception { mockMvc.perform(RestDocumentationRequestBuilders.get("/v1/settlements/{accommodation_id}", 1) .queryParam("end_date","2023-09-27") .queryParam("order_by","coupon_use_date") - .queryParam("start_date","2023-12-03")) + .queryParam("start_date","2023-12-03") + .header("Authorization", MOCK_AUTHORIZATION_HEADER)) .andExpect(status().isOk()) .andDo(document("settlement-search", resource(ResourceSnippetParameters.builder() diff --git a/src/test/java/com/coolpeace/domain/dashboard/controller/DashboardControllerTest.java b/src/test/java/com/coolpeace/domain/dashboard/controller/DashboardControllerTest.java index 423f6d5a..09e414f6 100644 --- a/src/test/java/com/coolpeace/domain/dashboard/controller/DashboardControllerTest.java +++ b/src/test/java/com/coolpeace/domain/dashboard/controller/DashboardControllerTest.java @@ -10,6 +10,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; +import com.coolpeace.domain.dashboard.dto.response.CouponCountAvgResponse; import com.coolpeace.global.util.RoomTestUtil; import com.coolpeace.domain.accommodation.entity.Accommodation; import com.coolpeace.domain.coupon.dto.response.CouponDailyResponse; @@ -138,7 +139,7 @@ void dailyCouponReport_success() throws Exception { couponList.add(coupon1); couponList.add(coupon2); CouponDailyResponse couponDailyResponse = CouponDailyResponse.from - (CouponDailyCondition.NO_EXPOSURE, + (2, CouponDailyCondition.NO_EXPOSURE, couponList.stream().map(Coupon::getCouponTitle).toList()); given(couponQueryService.dailyReport(any(), anyLong())).willReturn(couponDailyResponse); @@ -146,9 +147,11 @@ void dailyCouponReport_success() throws Exception { mockMvc.perform(get("/v1/dashboards/{accommodation_id}/reports/daily", 1L)) .andExpect(status().isOk()) .andExpect(jsonPath("$.condition").isString()) + .andExpect(jsonPath("$.condition_num").isNumber()) .andExpect(jsonPath("$.coupon_titles[0]").isString()) .andExpect(jsonPath("$.coupon_titles[1]").isString()) .andDo(print()); + } @Test @@ -165,7 +168,7 @@ void downloadCouponTop3_success() throws Exception { .willReturn(monthlyCouponDownloadResponse); //when, then - mockMvc.perform(get("/v1/dashboards/{accommodation_id}/coupons/download", 1L)) + mockMvc.perform(get("/v1/dashboards/{accommodation_id}/coupons/local/download", 1L)) .andExpect(status().isOk()) .andExpect(jsonPath("$.first_coupon_title").isString()) .andExpect(jsonPath("$.second_coupon_title").isString()) @@ -173,6 +176,24 @@ void downloadCouponTop3_success() throws Exception { .andDo(print()); } + @Test + @DisplayName("couponCountAvg()는 지역별 쿠폰 평균 갯수를 불러올 수 있다.") + @WithMockUser + void couponCountAvg_success() throws Exception { + //given + CouponCountAvgResponse couponCountAvgResponse = + CouponCountAvgResponse.from(11, 2, "강남구"); + + given(dashboardService.couponCountAvg(any(), anyLong())).willReturn(couponCountAvgResponse); + + //when, then + mockMvc.perform(get("/v1/dashboards/{accommodation_id}/coupons/local/count", 1L)) + .andExpect(status().isOk()) + .andExpect(jsonPath("$.address").isString()) + .andExpect(jsonPath("$.coupon_avg").isString()) + .andDo(print()); + } + @Test @DisplayName("byYearCumulativeData()는 연도별 누적현황을 내보낼 수 있다.") @WithMockUser diff --git a/src/test/java/com/coolpeace/domain/dashboard/service/DashboardServiceTest.java b/src/test/java/com/coolpeace/domain/dashboard/service/DashboardServiceTest.java index cae2f765..dd404559 100644 --- a/src/test/java/com/coolpeace/domain/dashboard/service/DashboardServiceTest.java +++ b/src/test/java/com/coolpeace/domain/dashboard/service/DashboardServiceTest.java @@ -9,11 +9,12 @@ import static org.mockito.BDDMockito.given; import com.coolpeace.domain.accommodation.entity.Accommodation; +import com.coolpeace.domain.accommodation.entity.type.AccommodationType; import com.coolpeace.domain.accommodation.exception.AccommodationNotFoundException; import com.coolpeace.domain.accommodation.exception.AccommodationNotMatchMemberException; import com.coolpeace.domain.accommodation.repository.AccommodationRepository; -import com.coolpeace.domain.coupon.repository.CouponRepository; import com.coolpeace.domain.dashboard.dto.response.ByYearCumulativeDataResponse; +import com.coolpeace.domain.dashboard.dto.response.CouponCountAvgResponse; import com.coolpeace.domain.dashboard.dto.response.CumulativeDataResponse; import com.coolpeace.domain.dashboard.dto.response.MonthlyCouponDownloadResponse; import com.coolpeace.domain.dashboard.dto.response.MonthlyDataResponse; @@ -25,7 +26,9 @@ import com.coolpeace.domain.statistics.entity.LocalCouponDownload; import com.coolpeace.domain.statistics.entity.MonthlyStatistics; import com.coolpeace.domain.statistics.repository.DailyStatisticsRepository; +import com.coolpeace.domain.statistics.repository.LocalCouponDownloadRepository; import com.coolpeace.domain.statistics.repository.MonthlyStatisticsRepository; +import com.coolpeace.global.builder.AccommodationTestBuilder; import com.coolpeace.global.builder.MemberTestBuilder; import java.time.LocalDateTime; import java.util.ArrayList; @@ -56,7 +59,7 @@ class DashboardServiceTest { @Mock private AccommodationRepository accommodationRepository; @Mock - private CouponRepository couponRepository; + private LocalCouponDownloadRepository localCouponDownloadRepository; @Nested @DisplayName("checkAccommodationMatchMember()는") @@ -212,6 +215,32 @@ void downloadCouponTop3_success() { .containsExactly("재방문고객 20%할인", "첫방문고객 15000원할인", "모든고객 10000원할인"); } + @Test + @DisplayName("couponCountAvg()는 지역별 쿠폰 평균 갯수를 불러올 수 있다.") + void couponCountAvg_success() { + //given + Member member = new MemberTestBuilder().encoded().build(); + Accommodation accommodation = new AccommodationTestBuilder(member).build(); + accommodation.setType(AccommodationType.MOTEL); + String name = accommodation.getSigungu().getName(); + LocalCouponDownload localCouponDownload = new LocalCouponDownload(name); + localCouponDownload.setCount(5, AccommodationType.MOTEL); + localCouponDownload.setCount(6, AccommodationType.MOTEL); + given(localCouponDownloadRepository.findByRegion(any())) + .willReturn(Optional.of(localCouponDownload)); + given(accommodationRepository.findById(anyLong())).willReturn( + Optional.of(accommodation)); + given(memberRepository.findById(anyLong())).willReturn(Optional.of(member)); + //when + CouponCountAvgResponse couponCountAvgResponse = + dashboardService.couponCountAvg("1", 1L); + + //then + assertThat(couponCountAvgResponse).extracting("address", "couponAvg") + .containsExactly(name, "5.5"); + } + + @Test @DisplayName("byYearCumulativeData()는 연도별 누적 데이터를 내보낼 수 있다.") void byYearCumulativeData_success(){ @@ -293,33 +322,6 @@ private List getMonthlyStatistics(Member member, return monthlyStatisticsList; } - // 아직 미정 -// @Test -// @DisplayName("myDownloadCouponTop1()는 숙소에서 가장 다운로드 수가 많은 쿠폰을 내보낼 수 있다.") -// void myDownloadCouponTop1_success(){ -// //given -// Member member = new MemberTestBuilder().encoded().build(); -// Accommodation accommodation = new Accommodation(1L, "신라호텔", "주소주소", member); -// List rooms = new RoomTestBuilder(accommodation).buildList(); -// List randomRooms = AccommodationTestUtil.getRandomRooms(rooms); -// Coupon coupon1 = new CouponTestBuilder(accommodation, member, randomRooms).build(); -// Coupon coupon2 = new CouponTestBuilder(accommodation, member, randomRooms).build(); -// List couponList = new ArrayList<>(); -// couponList.add(coupon1); -// couponList.add(coupon2); -// given(accommodationRepository.findById(anyLong())).willReturn( -// Optional.of(accommodation)); -// given(memberRepository.findById(anyLong())).willReturn(Optional.of(member)); -// given(couponRepository.findAllByAccommodationOrderByDownloadCountDesc(accommodation)) -// .willReturn(couponList); -// //when -// String couponTitle = dashboardService.myDownloadCouponTop1("1", 1L); -// //then -// if (coupon1.getDownloadCount() >= coupon2.getDownloadCount()) { -// assertThat(couponTitle).isEqualTo(coupon1.getCouponTitle()); -// } -// else assertThat(couponTitle).isEqualTo(coupon2.getCouponTitle()); -// -// } + } diff --git a/src/test/java/com/coolpeace/domain/settlement/repository/SettlementRepositoryTest.java b/src/test/java/com/coolpeace/domain/settlement/repository/SettlementRepositoryTest.java index ffe85ad5..52510461 100644 --- a/src/test/java/com/coolpeace/domain/settlement/repository/SettlementRepositoryTest.java +++ b/src/test/java/com/coolpeace/domain/settlement/repository/SettlementRepositoryTest.java @@ -76,7 +76,7 @@ void findAllByAccommodationAndCouponUseDateAfterAndCouponUseDateBeforeOrderByCou settlementRepository.save(settlement3); //when List list = settlementRepository - .findAllByAccommodationAndCouponUseDateAfterAndCouponUseDateBeforeOrderByCouponUseDateDesc + .findAllByAccommodationAndCouponUseDateGreaterThanEqualAndCouponUseDateLessThanEqualOrderByCouponUseDateDesc (PageRequest.of(0, 10), accommodation, LocalDate.of(2023, 9, 27), LocalDate.of(2024, 3, 27)) diff --git a/src/test/java/com/coolpeace/domain/settlement/service/SettlementServiceTest.java b/src/test/java/com/coolpeace/domain/settlement/service/SettlementServiceTest.java index 9c02cb76..2bcb4778 100644 --- a/src/test/java/com/coolpeace/domain/settlement/service/SettlementServiceTest.java +++ b/src/test/java/com/coolpeace/domain/settlement/service/SettlementServiceTest.java @@ -196,7 +196,7 @@ void _success() { Optional.of(accommodation)); given(memberRepository.findById(anyLong())).willReturn(Optional.of(member)); given(settlementRepository - .findAllByAccommodationAndCouponUseDateAfterAndCouponUseDateBeforeOrderByCouponUseDateDesc + .findAllByAccommodationAndCouponUseDateGreaterThanEqualAndCouponUseDateLessThanEqualOrderByCouponUseDateDesc (any(Pageable.class), any(Accommodation.class), any(LocalDate.class), any(LocalDate.class))).willReturn(settlementPage); //when diff --git a/src/test/resources/security.yaml b/src/test/resources/security.yaml index 08cbe4f3..a4d7c24c 100644 --- a/src/test/resources/security.yaml +++ b/src/test/resources/security.yaml @@ -3,5 +3,3 @@ type: http scheme: bearer bearerFormat: JWT -security: - - bearerAuth: []