|
@@ -1,14 +1,21 @@
|
|
|
package com.onemap.apply.domain.gdbh;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
+
|
|
|
+import java.util.Date;
|
|
|
import java.util.List;
|
|
|
|
|
|
public class TGdbhFlightBatchDto {
|
|
|
|
|
|
private String id;
|
|
|
private String batch;
|
|
|
- private String batch_time;
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
+ private Date batch_time;
|
|
|
private List<TGdbhFlightVideoDto> videoDtoList;
|
|
|
private List<TGdbhFlightDto> flightDtoList;
|
|
|
+
|
|
|
public String getId() {
|
|
|
return id;
|
|
|
}
|
|
@@ -25,11 +32,11 @@ public class TGdbhFlightBatchDto {
|
|
|
this.batch = batch;
|
|
|
}
|
|
|
|
|
|
- public String getBatch_time() {
|
|
|
+ public Date getBatch_time() {
|
|
|
return batch_time;
|
|
|
}
|
|
|
|
|
|
- public void setBatch_time(String batch_time) {
|
|
|
+ public void setBatch_time(Date batch_time) {
|
|
|
this.batch_time = batch_time;
|
|
|
}
|
|
|
|