This commit is contained in:
Mrhongxing committed 2026-11-12 14:25:50 +08:00
1 parent 619e5665e2
commit b95c8e151f
8 files changed
+197 -19

No files matched your search

@@ -0,0 +1,12 @@
package com.tianze.www.dto;
import lombok.Data;
@Data
public class AddRepairRequest {
private Long id;
private String title;
private String description;
private String date;
private Integer price;
}
@@ -0,0 +1,23 @@
package com.tianze.www.dto;
import lombok.Data;
@Data
public class RepairResponse {
public RepairResponse() {
}
public RepairResponse(Long id, String title, String description, String date, Integer price) {
this.id = id;
this.title = title;
this.description = description;
this.date = date;
this.price = price;
}
private Long id;
private String title;
private String description;
private String date;
private Integer price;
}
@@ -0,0 +1,10 @@
package com.tianze.www.dto;
import lombok.Data;
@Data
public class UpdateOilRequest {
private String type;
private Integer duration;
private Integer kilometers;
}
@@ -0,0 +1,19 @@
package com.tianze.www.dto;
import lombok.Data;
@Data
public class UpdateRequest {
private Long id;
private String plateNumber;
private String status;
private String carModel;
private String carColor;
private Integer purchaseYear;
private String oilChangedAt;
private String oilType;
private String oilCycle;
private Integer oilDuration;
private String nextOilDate;
private String updatedAt;
}