mark
This commit is contained in:
parent
0bab2292aa
commit
9b9a6fe315
@ -1,5 +1,6 @@
|
|||||||
package com.qgs.dc.influx.param;
|
package com.qgs.dc.influx.param;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
||||||
import com.qgs.dc.influx.template.Event;
|
import com.qgs.dc.influx.template.Event;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@ -11,6 +12,7 @@ import java.util.List;
|
|||||||
* @DATE: 2022/10/13 16:10
|
* @DATE: 2022/10/13 16:10
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
|
@JsonPropertyOrder(value = {"list","measurement"})
|
||||||
public class InsertParam {
|
public class InsertParam {
|
||||||
List<Event> list;
|
List<Event> list;
|
||||||
String measurement;
|
String measurement;
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package com.qgs.dc.influx.template;
|
package com.qgs.dc.influx.template;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
||||||
import com.influxdb.annotations.Column;
|
import com.influxdb.annotations.Column;
|
||||||
import com.influxdb.annotations.Measurement;
|
import com.influxdb.annotations.Measurement;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@ -12,6 +13,7 @@ import java.time.Instant;
|
|||||||
* @DATE: 2022/6/25 11:13
|
* @DATE: 2022/6/25 11:13
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
|
@JsonPropertyOrder(value = {"time","transationId","argName","argValue"})
|
||||||
public class Event {
|
public class Event {
|
||||||
|
|
||||||
private Instant time;
|
private Instant time;
|
||||||
|
Loading…
Reference in New Issue
Block a user