mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-30 16:10:03 +08:00
commit
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class StopChargingMessage {
|
||||
/**
|
||||
* 充电费用
|
||||
* amount17
|
||||
*/
|
||||
private String chargingAmount;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
* time3
|
||||
*/
|
||||
private String endTime;
|
||||
|
||||
/**
|
||||
* 结束原因
|
||||
* thing7
|
||||
*/
|
||||
private String endReason;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user