| | |
| | | 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.fasterxml.jackson.annotation.JsonIgnore; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * C3订单表 |
| | | * |
| | | * @TableName c3_order |
| | | */ |
| | | @TableName(value ="c3_order") |
| | | @TableName(value = "c3_order") |
| | | @Data |
| | | public class C3mOrder implements Serializable { |
| | | |
| | | |
| | | public static String REQUEST_URL = "http://www.ximonsmart.com/charge/#/charge/"; |
| | | /** |
| | |
| | | private Long poleId; |
| | | |
| | | /** |
| | | * 对应的灯杆设备mac |
| | | */ |
| | | private String poleMac; |
| | | |
| | | /** |
| | | * 灯杆名称 |
| | | */ |
| | | private String poleName; |
| | | |
| | | /** |
| | | * 充电桩MAC |
| | | */ |
| | | private String c3Mac; |
| | | |
| | | /** |
| | | * 对应的灯杆设备mac |
| | | * 充电桩名称 |
| | | */ |
| | | private String poleMac; |
| | | private String c3Name; |
| | | |
| | | /** |
| | | * udid |
| | | */ |
| | | private String c3Udid; |
| | | |
| | | /** |
| | | * 订单商户号 |
| | |
| | | private Double totalAmount; |
| | | |
| | | /** |
| | | * 实收金额 |
| | | * 剩余金额 |
| | | */ |
| | | private Double receiptAmount; |
| | | private Double surplusAmount; |
| | | |
| | | /** |
| | | * 退款 |
| | |
| | | private Integer subscribeChargingCapacity; |
| | | |
| | | /** |
| | | * 实充电量 |
| | | * 实充电量 前端显示 |
| | | */ |
| | | private Double actualChargingCapacity; |
| | | |
| | | /** |
| | | * 实充电量 后端计算用 主要用于异常情况下的充电电量记录 |
| | | */ |
| | | @JsonIgnore |
| | | private Double actualChargingCapacityHide; |
| | | |
| | | /** |
| | | * 订单创建时间戳 |
| | |
| | | private Long stopChargingTimestamp; |
| | | |
| | | /** |
| | | * 订单状态:// 未支付(0),已支付(1),已退款(2),退款中(3),退款失败(4),订单完成(5) |
| | | * 订单状态:// 已支付(1),已退款(3),退款中(2),退款失败5),订单完成(4) |
| | | */ |
| | | private Integer orderStatus; |
| | | |
| | | /** |
| | | * 充电桩名称 |
| | | */ |
| | | private String c3Name; |
| | | |
| | | private String alreadyChargingTime; |
| | | |
| | | /** |
| | | * 灯杆名称 |
| | | * 0 充电中 1充电结束 |
| | | */ |
| | | private String poleName; |
| | | private Integer chargingStates; |
| | | |
| | | /** |
| | | * 用户标识 |
| | | */ |
| | | private String userCode; |
| | | |
| | | @TableField(exist = false) |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | |
| | | } |