Files
jsowell-charger-web/jsowell-pile/src/main/java/com/jsowell/wxpay/dto/AppletTemplateMessageSendDTO.java

104 lines
1.5 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.jsowell.wxpay.dto;
import lombok.Data;
import java.io.Serializable;
/**
* 小程序模板消息发送模板
*/
@Data
public class AppletTemplateMessageSendDTO implements Serializable {
private static final long serialVersionUID = 2234575457450378840L;
// 场景类型1-开始充电2-结束充电)
private String type;
//接收者(用户)的 openid
private String touser;
//所需下发的订阅模板id
private String template_id;
//所跳转的页面
private String page;
//模板消息内容
private Object data;
private StartChargingMessage startChargingMessage;
private StopChargingMessage stopChargingMessage;
@Data
public static class StartChargingMessage {
/**
* 站点名称
* thing5
*/
private String stationName;
/**
* 开始时间
* time2
*/
private String startTime;
/**
* 订单编号
* character_string11
*/
private String orderCode;
/**
* 收费标准(每度单价)
* thing13
*/
private String totalPrice;
/**
* 枪口编号
* thing7
*/
private String pileConnectorCode;
}
@Data
public static class StopChargingMessage {
/**
* 充电费用
* amount17
*/
private String chargingAmount;
/**
* 结束时间
* time3
*/
private String endTime;
/**
* 结束原因
* thing7
*/
private String endReason;
/**
* 订单编号
*/
private String orderCode;
/**
* 充电度数
*/
private String chargingDegree;
/**
* 充电时长
*/
private String chargingTime;
}
}