Commit 60641cf1 by 杨浩

车辆信息

parent 14ae15dd
......@@ -80,10 +80,10 @@ public class VehicleInfoRespVO {
private String vehicleBrand;
@Schema(description = "保险有效期开始")
private String insuranceBeginTime;
private LocalDateTime insuranceBeginTime;
@Schema(description = "保险有效期结束")
private String insuranceEndTime;
private LocalDateTime insuranceEndTime;
@Schema(description = "车辆图片")
private String vehicleImage;
......
......@@ -2,10 +2,16 @@ package cn.iocoder.foodnexus.module.operations.controller.admin.vehicleinfo.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import static cn.iocoder.foodnexus.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - 车辆信息新增/修改 Request VO")
@Data
public class VehicleInfoSaveReqVO {
......@@ -37,10 +43,10 @@ public class VehicleInfoSaveReqVO {
private String vehicleBrand;
@Schema(description = "保险有效期开始")
private String insuranceBeginTime;
private LocalDateTime insuranceBeginTime;
@Schema(description = "保险有效期结束")
private String insuranceEndTime;
private LocalDateTime insuranceEndTime;
@Schema(description = "车辆图片")
private String vehicleImage;
......
......@@ -88,11 +88,11 @@ public class VehicleInfoDO extends BaseDO {
/**
* 保险有效期开始
*/
private String insuranceBeginTime;
private LocalDateTime insuranceBeginTime;
/**
* 保险有效期结束
*/
private String insuranceEndTime;
private LocalDateTime insuranceEndTime;
/**
* 车辆图片
*/
......
......@@ -3,7 +3,7 @@ spring:
name: foodnexus-server
profiles:
active: local
active: dev
main:
allow-circular-references: true # 允许循环依赖,因为项目是三层架构,无法避免这个情况。
......
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