| | |
| | | package com.oying.modules.pc.store.domain.dto; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | |
| | | @NotNull(groups = UpdateStoreDeliveryFeeGroup.class) |
| | | private BigDecimal deliveryFee; |
| | | |
| | | public interface UpdateStorePackagingFeeGroup{} |
| | | |
| | | @NotNull(groups = UpdateStorePackagingFeeGroup.class) |
| | | private BigDecimal packagingFee; |
| | | |
| | | public interface UpdateStoreDeliveryMinimumGroup{} |
| | | |
| | | @NotNull(groups = UpdateStoreDeliveryMinimumGroup.class) |
| | |
| | | public interface UpdateStoreBusinessHoursGroup{} |
| | | |
| | | @NotNull(groups = UpdateStoreBusinessHoursGroup.class) |
| | | @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm") |
| | | private LocalTime openTime; |
| | | |
| | | @NotNull(groups = UpdateStoreBusinessHoursGroup.class) |
| | | @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm") |
| | | private LocalTime closeTime; |
| | | |
| | | public interface UpdateStoreAddressGroup{} |