mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-05 18:40:14 +08:00
commit
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
package com.jsowell.pile.vo.uniapp;
|
||||
|
||||
import com.jsowell.common.enums.ykc.BillingTimeEnum;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class BillingPriceVO {
|
||||
/**
|
||||
* 是否当前时间
|
||||
* 1-是 0-否
|
||||
*/
|
||||
private String isCurrentTime;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
private String startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
private String endTime;
|
||||
|
||||
/**
|
||||
* 电费
|
||||
*/
|
||||
private String electricityPrice;
|
||||
|
||||
/**
|
||||
* 服务费
|
||||
*/
|
||||
private String servicePrice;
|
||||
|
||||
/**
|
||||
* 总费用
|
||||
*/
|
||||
private String totalPrice;
|
||||
|
||||
/**
|
||||
* 时段类型(1-尖时;2-峰时;3-平时;4-谷时)
|
||||
* @see BillingTimeEnum
|
||||
*/
|
||||
private String timeType;
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.jsowell.pile.vo.uniapp;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class CurrentTimePriceDetails {
|
||||
/**
|
||||
* 当前时间
|
||||
*/
|
||||
private String dateTime;
|
||||
|
||||
/**
|
||||
* 站点id
|
||||
*/
|
||||
private String stationId;
|
||||
|
||||
/**
|
||||
* 计费模板编号
|
||||
*/
|
||||
private String templateCode;
|
||||
|
||||
/**
|
||||
* 电费 每度单价
|
||||
*/
|
||||
private String electricityPrice;
|
||||
|
||||
/**
|
||||
* 服务费 每度单价
|
||||
*/
|
||||
private String servicePrice;
|
||||
|
||||
/**
|
||||
* 电费 + 服务费 每度单价
|
||||
*/
|
||||
private String totalPrice;
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
package com.jsowell.pile.vo.uniapp;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 用户信息VO
|
||||
*
|
||||
* @author JS-ZZA
|
||||
* @date 2022/11/19 13:31
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
public class MemberVO {
|
||||
/**
|
||||
* 会员Id
|
||||
*/
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 昵称
|
||||
*/
|
||||
private String nickName;
|
||||
|
||||
/**
|
||||
* 手机号码
|
||||
*/
|
||||
private String mobileNumber;
|
||||
|
||||
/**
|
||||
* 本金金额
|
||||
*/
|
||||
private BigDecimal principalBalance;
|
||||
|
||||
/**
|
||||
* 赠送金额
|
||||
*/
|
||||
private BigDecimal giftBalance;
|
||||
|
||||
/**
|
||||
* 总账户余额
|
||||
*/
|
||||
private BigDecimal totalAccountAmount;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.jsowell.pile.vo.uniapp;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 会员钱包余额明细相关
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class MemberWalletLogVO {
|
||||
/**
|
||||
* 会员id
|
||||
*/
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 交易类型 1-进账;2-出账
|
||||
*/
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 子类型 10-充值, 11-赠送, 12-订单结算退款,20-后管扣款, 21-订单付款, 22-用户退款
|
||||
*/
|
||||
private String subType;
|
||||
|
||||
/**
|
||||
* 出账/入账金额
|
||||
*/
|
||||
private BigDecimal amount;
|
||||
|
||||
/**
|
||||
* 交易时间
|
||||
*/
|
||||
private String transactionTime;
|
||||
|
||||
/**
|
||||
* 余额类型(1-本金,2-赠送)
|
||||
*/
|
||||
private String category;
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
package com.jsowell.pile.vo.uniapp;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 订单信息VO
|
||||
*
|
||||
* @author JS-ZZA
|
||||
* @date 2022/11/24 14:08
|
||||
*/
|
||||
@Data
|
||||
public class OrderVO {
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
private String orderCode;
|
||||
|
||||
/**
|
||||
* 桩编号
|
||||
*/
|
||||
private String pileSn;
|
||||
|
||||
/**
|
||||
* 枪口号
|
||||
*/
|
||||
private String connectorCode;
|
||||
|
||||
/**
|
||||
* 枪口编码
|
||||
*/
|
||||
private String pileConnectorCode;
|
||||
|
||||
/**
|
||||
* 站点名称
|
||||
*/
|
||||
private String stationName;
|
||||
|
||||
/**
|
||||
* 充电度数
|
||||
*/
|
||||
private String chargingDegree;
|
||||
|
||||
/**
|
||||
* 订单金额
|
||||
*/
|
||||
private BigDecimal orderAmount;
|
||||
|
||||
/**
|
||||
* 订单状态
|
||||
*/
|
||||
private String orderStatus;
|
||||
|
||||
/**
|
||||
* 订单异常原因
|
||||
*/
|
||||
private String reason;
|
||||
|
||||
/**
|
||||
* 支付状态
|
||||
*/
|
||||
private String payStatus;
|
||||
|
||||
/**
|
||||
* 用户支付金额
|
||||
*/
|
||||
private BigDecimal payAmount;
|
||||
|
||||
/**
|
||||
* 充电开始时间
|
||||
*/
|
||||
private String startTime;
|
||||
|
||||
/**
|
||||
* 充电结束时间
|
||||
*/
|
||||
private String endTime;
|
||||
|
||||
/**
|
||||
* 充电时长
|
||||
*/
|
||||
private String chargingTime;
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.jsowell.pile.vo.uniapp;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 个人桩枪口累计数据
|
||||
*
|
||||
* @author JS-ZZA
|
||||
* @date 2023/2/25 8:42
|
||||
*/
|
||||
@Data
|
||||
public class PersonPileConnectorSumInfoVO {
|
||||
private String memberId;
|
||||
|
||||
private String startTime;
|
||||
|
||||
private String endTime;
|
||||
|
||||
/**
|
||||
* 充电开始时间
|
||||
*/
|
||||
private String chargeStartTime;
|
||||
|
||||
/**
|
||||
* 充电结束时间
|
||||
*/
|
||||
private String chargeEndTime;
|
||||
|
||||
/**
|
||||
* 累计充电量
|
||||
*/
|
||||
private String sumChargingDegree;
|
||||
|
||||
/**
|
||||
* 累计充电时长
|
||||
*/
|
||||
private String sumChargingTime;
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package com.jsowell.pile.vo.uniapp;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 个人桩查询枪口实时数据
|
||||
*
|
||||
* @author JS-ZZA
|
||||
* @date 2023/2/23 16:21
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
public class PersonPileRealTimeVO {
|
||||
/**
|
||||
* 启动时间
|
||||
*/
|
||||
private String startTime;
|
||||
|
||||
/**
|
||||
* 已充度数
|
||||
*/
|
||||
private String chargingDegree;
|
||||
|
||||
/**
|
||||
* 充电时长
|
||||
*/
|
||||
private String chargingTime;
|
||||
|
||||
/**
|
||||
* 实时电流
|
||||
*/
|
||||
private String instantCurrent;
|
||||
|
||||
/**
|
||||
* 实时电压
|
||||
*/
|
||||
private String instantVoltage;
|
||||
|
||||
/**
|
||||
* 实时功率
|
||||
*/
|
||||
private String instantPower;
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.jsowell.pile.vo.uniapp;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 个人桩信息VO
|
||||
*
|
||||
* @author JS-ZZA
|
||||
* @date 2023/2/21 16:53
|
||||
*/
|
||||
@Data
|
||||
public class PersonalPileInfoVO {
|
||||
/**
|
||||
* 桩编码
|
||||
*/
|
||||
private String pileSn;
|
||||
|
||||
/**
|
||||
* 会员id
|
||||
*/
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 身份类型(1-管理员;2-普通用户)
|
||||
*/
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 桩状态
|
||||
*/
|
||||
private String pileStatus;
|
||||
|
||||
/**
|
||||
* 型号
|
||||
*/
|
||||
private String modelName;
|
||||
|
||||
/**
|
||||
* 额定功率
|
||||
*/
|
||||
private String ratedPower;
|
||||
|
||||
/**
|
||||
* 额定电流
|
||||
*/
|
||||
private String ratedCurrent;
|
||||
|
||||
/**
|
||||
* 额定电压
|
||||
*/
|
||||
private String ratedVoltage;
|
||||
|
||||
/**
|
||||
* 充电类型(1-快充;2-慢充)
|
||||
*/
|
||||
private String speedType;
|
||||
|
||||
/**
|
||||
* 枪口数量
|
||||
*/
|
||||
private String connectorNum;
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package com.jsowell.pile.vo.uniapp;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 充电枪详情VO
|
||||
* 包含充电桩和枪口的一些信息
|
||||
* 可以作为公共对象
|
||||
*/
|
||||
@Data
|
||||
public class PileConnectorDetailVO {
|
||||
/**
|
||||
* 充电桩id
|
||||
*/
|
||||
private String pileId;
|
||||
|
||||
/**
|
||||
* 充电桩编号
|
||||
*/
|
||||
private String pileSn;
|
||||
|
||||
/**
|
||||
* 站点id
|
||||
*/
|
||||
private String stationId;
|
||||
|
||||
/**
|
||||
* 枪口id
|
||||
*/
|
||||
private String connectorId;
|
||||
|
||||
/**
|
||||
* 充电枪编号
|
||||
*/
|
||||
private String pileConnectorCode;
|
||||
|
||||
/**
|
||||
* 枪口状态
|
||||
* 状态 0:离网 (默认);1:空闲;2:占用(未充电);3:占用(充电中);4:占用(预约锁定) ;255:故障
|
||||
*/
|
||||
private String connectorStatus;
|
||||
|
||||
/**
|
||||
* 经营类型(1-运营桩;2-个人桩)
|
||||
*/
|
||||
private String businessType;
|
||||
|
||||
/**
|
||||
* 软件协议(1-云快充;2-永联)
|
||||
*/
|
||||
private String softwareProtocol;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package com.jsowell.pile.vo.uniapp;
|
||||
|
||||
import com.jsowell.pile.vo.base.ConnectorInfoVO;
|
||||
import com.jsowell.pile.vo.base.MerchantInfoVO;
|
||||
import com.jsowell.pile.vo.base.PileInfoVO;
|
||||
import com.jsowell.pile.vo.web.PileStationVO;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class PileConnectorVO {
|
||||
|
||||
// 充电枪信息列表
|
||||
private List<ConnectorInfoVO> connectorInfoList;
|
||||
|
||||
// 计费模板信息
|
||||
// private BillingTemplateVO billingTemplate;
|
||||
|
||||
// 充电桩信息
|
||||
private PileInfoVO pileInfo;
|
||||
|
||||
// 运营商信息
|
||||
private MerchantInfoVO merchantInfo;
|
||||
|
||||
// 站点信息
|
||||
private PileStationVO stationInfo;
|
||||
|
||||
/**
|
||||
* 价格列表
|
||||
*/
|
||||
private List<BillingPriceVO> billingPriceList;
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package com.jsowell.pile.vo.uniapp;
|
||||
|
||||
import com.jsowell.pile.vo.base.ConnectorInfoVO;
|
||||
import com.jsowell.pile.vo.web.BillingTemplateVO;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class PileDetailVO {
|
||||
/**
|
||||
* 站点id
|
||||
*/
|
||||
private String stationId;
|
||||
|
||||
/**
|
||||
* 站点名称
|
||||
*/
|
||||
private String stationName;
|
||||
|
||||
/**
|
||||
* 站点电话
|
||||
*/
|
||||
private String stationTel;
|
||||
|
||||
/**
|
||||
* 枪口列表
|
||||
*/
|
||||
private List<ConnectorInfoVO> connectorList;
|
||||
|
||||
/**
|
||||
* 计费模板信息
|
||||
*/
|
||||
private BillingTemplateVO billingTemplate;
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.jsowell.pile.vo.uniapp;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* uniapp发送消息VO
|
||||
*
|
||||
* @author JS-ZZA
|
||||
* @date 2023/2/15 10:37
|
||||
*/
|
||||
@Data
|
||||
public class SendMessageVO {
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
public String orderCode;
|
||||
|
||||
/**
|
||||
* 站点名称
|
||||
*/
|
||||
public String stationName;
|
||||
|
||||
/**
|
||||
* 充电开始时间
|
||||
*/
|
||||
public String chargeStartTime;
|
||||
|
||||
/**
|
||||
* 站点Id
|
||||
*/
|
||||
public String stationId;
|
||||
|
||||
/**
|
||||
* 订单金额
|
||||
*/
|
||||
public String orderAmount;
|
||||
|
||||
/**
|
||||
* 用户openId
|
||||
*/
|
||||
public String openId;
|
||||
|
||||
/**
|
||||
* 充电结束时间
|
||||
*/
|
||||
public String chargeStopTime;
|
||||
|
||||
/**
|
||||
* 充电停止原因
|
||||
*/
|
||||
public String stopReason;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
package com.jsowell.pile.vo.uniapp;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class UniAppOrderVO {
|
||||
/**
|
||||
* 订单编号
|
||||
*/
|
||||
private String orderCode;
|
||||
|
||||
/**
|
||||
* 桩编号
|
||||
*/
|
||||
private String pileSn;
|
||||
|
||||
/**
|
||||
* 枪口号
|
||||
*/
|
||||
private String connectorCode;
|
||||
|
||||
/**
|
||||
* 枪口编码
|
||||
*/
|
||||
private String pileConnectorCode;
|
||||
|
||||
/**
|
||||
* 订单状态
|
||||
*/
|
||||
private String orderStatus;
|
||||
|
||||
/**
|
||||
* 订单状态描述
|
||||
*/
|
||||
private String orderStatusDescribe;
|
||||
|
||||
/**
|
||||
* 当前SOC
|
||||
*/
|
||||
private String SOC;
|
||||
|
||||
/**
|
||||
* 枪口状态
|
||||
*/
|
||||
private String pileConnectorStatus;
|
||||
|
||||
/**
|
||||
* 充电金额
|
||||
*/
|
||||
private String chargingAmount;
|
||||
|
||||
/**
|
||||
* 充电电量
|
||||
*/
|
||||
private String chargingDegree;
|
||||
|
||||
/**
|
||||
* 充电时长
|
||||
*/
|
||||
private String sumChargingTime;
|
||||
|
||||
/**
|
||||
* 剩余时长
|
||||
*/
|
||||
private String timeRemaining;
|
||||
|
||||
/**
|
||||
* 实时电流
|
||||
*/
|
||||
private String outputCurrent;
|
||||
|
||||
/**
|
||||
* 实时电压
|
||||
*/
|
||||
private String outputVoltage;
|
||||
|
||||
/**
|
||||
* 实时充电功率
|
||||
*/
|
||||
private String outputPower;
|
||||
|
||||
/**
|
||||
* 实时温度
|
||||
*/
|
||||
private String batteryMaxTemperature;
|
||||
|
||||
/**
|
||||
* 充电实时数据列表
|
||||
*/
|
||||
private List<ChargingData> chargingDataList;
|
||||
|
||||
@Data
|
||||
public static class ChargingData {
|
||||
private String dateTime;
|
||||
/**
|
||||
* 输出电压
|
||||
*/
|
||||
private String outputVoltage;
|
||||
|
||||
/**
|
||||
* 输出电流
|
||||
*/
|
||||
private String outputCurrent;
|
||||
|
||||
/**
|
||||
* 功率
|
||||
*/
|
||||
private String power;
|
||||
|
||||
/**
|
||||
* SOC 待机置零;交流桩置零
|
||||
*/
|
||||
private String SOC;
|
||||
|
||||
/**
|
||||
* 电池组最高温度
|
||||
*/
|
||||
private String batteryMaxTemperature;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user