去掉空值校验
This commit is contained in:
@ -5,7 +5,6 @@ import io.swagger.annotations.ApiModel;
|
|||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import javax.validation.constraints.NotBlank;
|
|
||||||
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -43,7 +42,6 @@ public class RentCarOrderReq {
|
|||||||
private Long rentBatteyRuleId;
|
private Long rentBatteyRuleId;
|
||||||
|
|
||||||
@ApiModelProperty("选择的电池类型")
|
@ApiModelProperty("选择的电池类型")
|
||||||
@NotBlank(message = "租电套餐id不能为空")
|
|
||||||
private String batteryType;
|
private String batteryType;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user