mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-27 06:25:13 +08:00
104 lines
1.5 KiB
Java
104 lines
1.5 KiB
Java
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;
|
||
}
|
||
}
|