rk
昨天 fcd0f63ea0a86d5756cf3950f08144e1552a3d4e
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
package com.doumee.dao.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;
 
/**
 * 就地存取预估费用请求DTO
 *
 * @Author : Rk
 * @create 2026/4/14
 */
@Data
@ApiModel("就地存取预估费用请求")
public class CalculateLocalPriceDTO {
 
    @ApiModelProperty(value = "城市主键", required = true)
    @NotNull(message = "城市不能为空")
    private Integer cityId;
 
    @ApiModelProperty(value = "预计存放天数", required = true)
    @NotNull(message = "预计存放天数不能为空")
    private Integer estimatedDepositDays;
 
    @ApiModelProperty(value = "物品列表", required = true)
    @NotEmpty(message = "物品列表不能为空")
    @Valid
    private List<OrderItemDTO> items;
 
    @ApiModelProperty(value = "是否保价")
    private Boolean insured;
 
    @ApiModelProperty(value = "保价金额(元)")
    private BigDecimal declaredAmount;
}