From 6d31d535d737ed26c4d9d61cd4e0b5483cb9b0ba Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Wed, 17 Sep 2025 19:44:00 +0800
Subject: [PATCH] Merge branch 'refs/heads/master' into xin
---
oying-system/src/main/java/com/oying/modules/pc/store/domain/dto/StoreFieldUpdateRequest.java | 38 +++++++++++++++++++++++++++++++-------
1 files changed, 31 insertions(+), 7 deletions(-)
diff --git a/oying-system/src/main/java/com/oying/modules/pc/store/domain/dto/StoreFieldUpdateRequest.java b/oying-system/src/main/java/com/oying/modules/pc/store/domain/dto/StoreFieldUpdateRequest.java
index a273357..b53dfbd 100644
--- a/oying-system/src/main/java/com/oying/modules/pc/store/domain/dto/StoreFieldUpdateRequest.java
+++ b/oying-system/src/main/java/com/oying/modules/pc/store/domain/dto/StoreFieldUpdateRequest.java
@@ -1,5 +1,7 @@
package com.oying.modules.pc.store.domain.dto;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
@@ -33,10 +35,16 @@
@NotNull(groups = UpdateStoreBusinessStatusGroup.class)
private Integer businessStatus;
+ @ApiModelProperty(value = "店铺logo图片")
+ private Long logoImageId;
+
public interface UpdateStoreLogoImageGroup{}
@NotBlank(groups = UpdateStoreLogoImageGroup.class)
private String logoImageUploadId;
+
+ @ApiModelProperty(value = "店铺封面图")
+ private Long coverImageId;
public interface UpdateStoreCoverImageGroup{}
@@ -50,12 +58,17 @@
public interface UpdateStoreDeliveryFeeGroup{}
- @NotBlank(groups = UpdateStoreDeliveryFeeGroup.class)
+ @NotNull(groups = UpdateStoreDeliveryFeeGroup.class)
private BigDecimal deliveryFee;
+
+ public interface UpdateStorePackagingFeeGroup{}
+
+ @NotNull(groups = UpdateStorePackagingFeeGroup.class)
+ private BigDecimal packagingFee;
public interface UpdateStoreDeliveryMinimumGroup{}
- @NotBlank(groups = UpdateStoreDeliveryMinimumGroup.class)
+ @NotNull(groups = UpdateStoreDeliveryMinimumGroup.class)
private BigDecimal deliveryMinimum;
public interface UpdateStoreContactPhoneGroup{}
@@ -65,10 +78,12 @@
public interface UpdateStoreBusinessHoursGroup{}
- @NotBlank(groups = UpdateStoreBusinessHoursGroup.class)
+ @NotNull(groups = UpdateStoreBusinessHoursGroup.class)
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm")
private LocalTime openTime;
- @NotBlank(groups = UpdateStoreBusinessHoursGroup.class)
+ @NotNull(groups = UpdateStoreBusinessHoursGroup.class)
+ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm")
private LocalTime closeTime;
public interface UpdateStoreAddressGroup{}
@@ -78,15 +93,24 @@
public interface UpdateStoreLocationGroup{}
- @NotBlank(groups = UpdateStoreLocationGroup.class)
+ @NotNull(groups = UpdateStoreLocationGroup.class)
private Double longitude;
- @NotBlank(groups = UpdateStoreLocationGroup.class)
+ @NotNull(groups = UpdateStoreLocationGroup.class)
private Double latitude;
public interface UpdateStoreRadiusGroup{}
- @NotBlank(groups = UpdateStoreRadiusGroup.class)
+ @NotNull(groups = UpdateStoreRadiusGroup.class)
private Integer radius;
+ @ApiModelProperty(value = "是否支持退货")
+ private Integer returns;
+
+ @ApiModelProperty(value = "是否支持自提")
+ private Integer selfPickup;
+
+ @ApiModelProperty(value = "版本号")
+ private Long version;
+
}
--
Gitblit v1.9.3