zepengdev
2025-06-23 02fb5e406abcda2534ed1f2505c5226027c13473
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
package com.oying.modules.pc.store.domain.dto;
 
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalTime;
 
@Data
public class StoreFieldUpdateRequest {
 
    @NotNull
    private Long storeId;
 
    public interface UpdateStorePlatformCategoryGroup{}
 
    @NotNull(groups = UpdateStorePlatformCategoryGroup.class)
    private Long platformCategoryId;
 
    public interface UpdateStoreNameGroup{}
 
    @NotBlank(groups = UpdateStoreNameGroup.class)
    private String storeName;
 
    public interface UpdateStoreTitleGroup{}
 
    @NotBlank(groups = UpdateStoreTitleGroup.class)
    private String storeTitle;
 
    public interface UpdateStoreBusinessStatusGroup {}
 
    @NotNull(groups = UpdateStoreBusinessStatusGroup.class)
    private Integer businessStatus;
 
    public interface UpdateStoreLogoImageGroup{}
 
    @NotBlank(groups = UpdateStoreLogoImageGroup.class)
    private String logoImageUploadId;
 
    public interface UpdateStoreCoverImageGroup{}
 
    @NotBlank(groups = UpdateStoreCoverImageGroup.class)
    private String coverImageUploadId;
 
    public interface UpdateStoreDescriptionGroup{}
 
    @NotBlank(groups = UpdateStoreDescriptionGroup.class)
    private String description;
 
    public interface UpdateStoreDeliveryFeeGroup{}
 
    @NotNull(groups = UpdateStoreDeliveryFeeGroup.class)
    private BigDecimal deliveryFee;
 
    public interface UpdateStoreDeliveryMinimumGroup{}
 
    @NotNull(groups = UpdateStoreDeliveryMinimumGroup.class)
    private BigDecimal deliveryMinimum;
 
    public interface UpdateStoreContactPhoneGroup{}
 
    @NotBlank(groups = UpdateStoreContactPhoneGroup.class)
    private String contactPhone;
 
    public interface UpdateStoreBusinessHoursGroup{}
 
    @NotNull(groups = UpdateStoreBusinessHoursGroup.class)
    private LocalTime openTime;
 
    @NotNull(groups = UpdateStoreBusinessHoursGroup.class)
    private LocalTime closeTime;
 
    public interface UpdateStoreAddressGroup{}
 
    @NotBlank(groups = UpdateStoreAddressGroup.class)
    private String address;
 
    public interface UpdateStoreLocationGroup{}
 
    @NotNull(groups = UpdateStoreLocationGroup.class)
    private Double longitude;
 
    @NotNull(groups = UpdateStoreLocationGroup.class)
    private Double latitude;
 
    public interface UpdateStoreRadiusGroup{}
 
    @NotNull(groups = UpdateStoreRadiusGroup.class)
    private Integer radius;
 
    @ApiModelProperty(value = "是否支持退货")
    private Integer returns;
 
    @ApiModelProperty(value = "是否支持自提")
    private Integer selfPickup;
 
    @ApiModelProperty(value = "版本号")
    private Long version;
 
}