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 EstimatedDeliverySaveDTO implements Serializable {
|
|
@ApiModelProperty(value = "城市主键", required = true, example = "1")
|
@NotNull(message = "城市主键不能为空")
|
private Integer cityId;
|
|
@ApiModelProperty(value = "起送里程(公里)", required = true, example = "10")
|
@NotNull(message = "起送里程不能为空")
|
private String startDistance;
|
|
@ApiModelProperty(value = "起送时长", required = true, example = "2")
|
@NotNull(message = "起送时长不能为空")
|
private String startTime;
|
|
@ApiModelProperty(value = "续送里程(公里)", required = true, example = "5")
|
@NotNull(message = "续送里程不能为空")
|
private String continueDistance;
|
|
@ApiModelProperty(value = "续送时长", required = true, example = "1")
|
@NotNull(message = "续送时长不能为空")
|
private String continueTime;
|
}
|