Commit 60641cf1 by 杨浩

车辆信息

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