MrShi
2 天以前 7ee466ebc953bb5640bcf42f2b8e2a87aa471c21
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
package com.doumee.dao.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotNull;
import java.io.Serializable;
 
/**
 * 异地寄送规则项
 * @author rk
 * @date 2026/04/08
 */
@Data
@ApiModel("异地寄送规则项")
public class RemoteDeliveryPricingItemDTO implements Serializable {
 
    @ApiModelProperty(value = "物品规格主键(category.id, type=4)", required = true, example = "1")
    @NotNull(message = "物品规格主键不能为空")
    private Integer categoryId;
 
    @ApiModelProperty(value = "配送起步里程公里数", required = true, example = "5")
    @NotNull(message = "配送起步里程不能为空")
    private String startDistance;
 
    @ApiModelProperty(value = "配送起步里程每公里单价", required = true, example = "3.00")
    @NotNull(message = "配送起步里程每公里单价不能为空")
    private String startPrice;
 
    @ApiModelProperty(value = "超出首单里程公里数", required = true, example = "10")
    @NotNull(message = "超出首单里程不能为空")
    private String extraDistance;
 
    @ApiModelProperty(value = "超出首单里程每公里单价", required = true, example = "2.00")
    @NotNull(message = "超出首单里程每公里单价不能为空")
    private String extraPrice;
}