package com.xiaopeng.operation.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; /** *
* 路线规划配置新增DTO *
* * @author mitao * @since 2026-02-06 */ @Data @ApiModel(value = "路线规划配置新增DTO") public class RoutePlanAddDTO { @ApiModelProperty(value = "名称", required = true) @NotBlank(message = "名称不能为空") @Size(max = 50, message = "名称长度不能超过50") private String planName; @ApiModelProperty(value = "备注", required = true) @Size(max = 200, message = "备注长度不能超过200") private String remarks; @ApiModelProperty(value = "路线规划规则", required = true) @NotNull(message = "路线规划规则不能为空") private Integer routePlanRule; @ApiModelProperty(value = "开通城市id", required = true) @NotNull(message = "开通城市id不能为空") private Long openCityId; }