UserVehicleVO.java 862 B

12345678910111213141516171819202122232425262728293031323334353637
  1. package com.zsElectric.boot.business.model.vo;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import io.swagger.v3.oas.annotations.media.Schema;
  4. import lombok.Data;
  5. import java.time.LocalDateTime;
  6. /**
  7. * 用户车辆视图对象
  8. *
  9. * @author zsElectric
  10. * @since 2026-03-03
  11. */
  12. @Schema(description = "用户车辆视图对象")
  13. @Data
  14. public class UserVehicleVO {
  15. @Schema(description = "车辆ID")
  16. private Long id;
  17. @Schema(description = "用户ID")
  18. private Long userId;
  19. @Schema(description = "车牌号")
  20. private String licensePlate;
  21. @Schema(description = "是否默认车辆(0-否 1-是)")
  22. private Integer isDefault;
  23. @Schema(description = "备注")
  24. private String remark;
  25. @Schema(description = "创建时间")
  26. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  27. private LocalDateTime createTime;
  28. }