| | |
| | | import javax.validation.constraints.NotEmpty; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 就地存取预估费用请求DTO |
| | | * 就地寄存预估费用请求DTO |
| | | * |
| | | * @Author : Rk |
| | | * @create 2026/4/14 |
| | | */ |
| | | @Data |
| | | @ApiModel("就地存取预估费用请求") |
| | | @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) |
| | | @NotNull(message = "预计存放开始时间不能为空") |
| | | private Date depositStartTime; |
| | | |
| | | @ApiModelProperty(value = "预计存放结束时间", required = true) |
| | | @NotNull(message = "预计存放结束时间不能为空") |
| | | private Date depositEndTime; |
| | | |
| | | @ApiModelProperty(value = "物品列表", required = true) |
| | | @NotEmpty(message = "物品列表不能为空") |
| | | @Valid |
| | | private List<OrderItemDTO> items; |
| | | |
| | | @ApiModelProperty(value = "是否保价") |
| | | private Boolean insured; |
| | | |
| | | @ApiModelProperty(value = "保价金额(元)") |
| | | private BigDecimal declaredAmount; |
| | | |
| | | @ApiModelProperty(value = "会员主键", hidden = true) |
| | | private Integer memberId; |
| | | |
| | | @ApiModelProperty(value = "优惠券主键:-1=自动选择最优;null=不使用;>0=指定优惠券ID") |
| | | private Integer couponId; |
| | | } |