Commit 0061fe1f authored by duanruiming's avatar duanruiming

[update] 车道快照请求体单独处理

parent 9ad0e300
...@@ -17,7 +17,7 @@ import java.util.Date; ...@@ -17,7 +17,7 @@ import java.util.Date;
@Data @Data
@NoArgsConstructor @NoArgsConstructor
@ApiModel(value = "CommonCrossIdDateTimeVO") @ApiModel(value = "CommonCrossIdDateTimeVO")
public class CommonCrossIdDateTimeVO extends PageNumVO{ public class CommonCrossIdDateTimeVO {
@ApiModelProperty(value = "路口ID") @ApiModelProperty(value = "路口ID")
@NotBlank(message = "路口编号不能为空") @NotBlank(message = "路口编号不能为空")
private String crossId; private String crossId;
......
package net.wanji.opt.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
/**
* @author duanruiming
* @date 2024/05/23 10:17
*/
@Data
@ApiModel(value = "LaneSnapshotIndexVO", description = "车道快照请求体")
public class LaneSnapshotIndexVO extends PageNumVO {
@ApiModelProperty(value = "路口ID")
@NotBlank(message = "路口编号不能为空")
private String crossId;
@ApiModelProperty(value = "开始时间")
@NotNull(message = "开始日期不能为空")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date start;
@ApiModelProperty(value = "结束时间")
@NotNull(message = "结束时间不能为空")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date end;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment