| | |
| | | package com.oying.modules.pc.store.domain.dto; |
| | | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | |
| | | @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{} |
| | | |
| | |
| | | |
| | | public interface UpdateStoreDeliveryFeeGroup{} |
| | | |
| | | @NotBlank(groups = UpdateStoreDeliveryFeeGroup.class) |
| | | @NotNull(groups = UpdateStoreDeliveryFeeGroup.class) |
| | | private BigDecimal deliveryFee; |
| | | |
| | | public interface UpdateStoreDeliveryMinimumGroup{} |
| | | |
| | | @NotBlank(groups = UpdateStoreDeliveryMinimumGroup.class) |
| | | @NotNull(groups = UpdateStoreDeliveryMinimumGroup.class) |
| | | private BigDecimal deliveryMinimum; |
| | | |
| | | public interface UpdateStoreContactPhoneGroup{} |
| | |
| | | |
| | | public interface UpdateStoreBusinessHoursGroup{} |
| | | |
| | | @NotBlank(groups = UpdateStoreBusinessHoursGroup.class) |
| | | @NotNull(groups = UpdateStoreBusinessHoursGroup.class) |
| | | private LocalTime openTime; |
| | | |
| | | @NotBlank(groups = UpdateStoreBusinessHoursGroup.class) |
| | | @NotNull(groups = UpdateStoreBusinessHoursGroup.class) |
| | | private LocalTime closeTime; |
| | | |
| | | public interface UpdateStoreAddressGroup{} |
| | |
| | | |
| | | 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; |
| | | |
| | | } |