zepengdev
9 hours ago b44306c69e6dff053e048da0bb8f3355cfda1256
oying-system/src/main/java/com/oying/modules/pc/store/domain/dto/StoreFieldUpdateRequest.java
@@ -1,5 +1,6 @@
package com.oying.modules.pc.store.domain.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -34,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{}
@@ -54,6 +61,11 @@
    @NotNull(groups = UpdateStoreDeliveryFeeGroup.class)
    private BigDecimal deliveryFee;
    public interface UpdateStorePackagingFeeGroup{}
    @NotNull(groups = UpdateStorePackagingFeeGroup.class)
    private BigDecimal packagingFee;
    public interface UpdateStoreDeliveryMinimumGroup{}
    @NotNull(groups = UpdateStoreDeliveryMinimumGroup.class)
@@ -67,9 +79,11 @@
    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{}