From c8ce26aac0004e249a0cef35fe15b2ddb280ad25 Mon Sep 17 00:00:00 2001
From: liuhaonan <konodioda2333@vip.qq.com>
Date: 星期三, 27 四月 2022 15:51:10 +0800
Subject: [PATCH] 大气数据推送到LED

---
 dao/src/main/java/com/sandu/ximon/dao/domain/C3mOrder.java |  134 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 134 insertions(+), 0 deletions(-)

diff --git a/dao/src/main/java/com/sandu/ximon/dao/domain/C3mOrder.java b/dao/src/main/java/com/sandu/ximon/dao/domain/C3mOrder.java
new file mode 100644
index 0000000..68ec3c9
--- /dev/null
+++ b/dao/src/main/java/com/sandu/ximon/dao/domain/C3mOrder.java
@@ -0,0 +1,134 @@
+package com.sandu.ximon.dao.domain;
+
+
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.sandu.ximon.dao.enums.OrderStatus;
+import com.sandu.ximon.dao.enums.OrderType;
+import lombok.Data;
+import org.springframework.core.annotation.OrderUtils;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * C3璁㈠崟琛�
+ * @TableName c3_order
+ */
+@TableName(value ="c3_order")
+@Data
+public class C3mOrder implements Serializable {
+
+
+    public static String REQUEST_URL = "http://www.ximonsmart.com/charge/#/charge/";
+    /**
+     * 璁㈠崟ID
+     */
+    @TableId
+    private Long orderId;
+
+    /**
+     * 鐏潌ID
+     */
+    private Long poleId;
+
+    /**
+     * 鍏呯數妗㎝AC
+     */
+    private String c3Mac;
+
+    /**
+     * 瀵瑰簲鐨勭伅鏉嗚澶噈ac
+     */
+    private String poleMac;
+
+    /**
+     * 璁㈠崟鍟嗘埛鍙�
+     */
+    private String outTradeNo;
+
+    /**
+     * 璁㈠崟绫诲瀷(C3mOrderType)
+     */
+    private String orderType;
+
+    /**
+     * 璁㈠崟鎬婚噾棰�
+     */
+    private Double totalAmount;
+
+    /**
+     * 瀹炴敹閲戦
+     */
+    private Double receiptAmount;
+
+    /**
+     * 閫�娆�
+     */
+    private Double refundAmount;
+
+    /**
+     * 涔板甯愬彿(鏀粯瀹�)
+     */
+    private String aliBuyerLogonId;
+
+    /**
+     * 棰勭害鐢甸噺
+     */
+    private Integer subscribeChargingCapacity;
+
+    /**
+     * 瀹炲厖鐢甸噺
+     */
+    private Double actualChargingCapacity;
+
+    /**
+     * 璁㈠崟鍒涘缓鏃堕棿鎴�
+     */
+    private Long createTimestamp;
+
+    /**
+     * 璁㈠崟鏀粯鏃堕棿鎴�
+     */
+    private Long payTimestamp;
+
+    /**
+     * 璁㈠崟閫�娆炬椂闂存埑
+     */
+    private Long refundTimestamp;
+
+    /**
+     * 璁㈠崟閫�娆捐鏄�
+     */
+    private String refundMsg;
+
+    /**
+     * 寮�濮嬪厖鐢垫椂闂存埑
+     */
+    private Long startChargingTimestamp;
+
+    /**
+     * 缁撴潫鍏呯數鏃堕棿鎴�
+     */
+    private Long stopChargingTimestamp;
+
+    /**
+     * 璁㈠崟鐘舵�侊細// 鏈敮浠�(0)锛屽凡鏀粯(1),宸查��娆�(2),閫�娆句腑(3),閫�娆惧け璐�(4),璁㈠崟瀹屾垚(5)
+     */
+    private Integer orderStatus;
+
+    /**
+     * 鍏呯數妗╁悕绉�
+     */
+    private String c3Name;
+
+    /**
+     * 鐏潌鍚嶇О
+     */
+    private String poleName;
+
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+
+}
\ No newline at end of file

--
Gitblit v1.9.3