123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- package com.emato.ccnet.wx.config;
- import org.springframework.boot.context.properties.ConfigurationProperties;
- import org.springframework.stereotype.Component;
- import java.io.Serializable;
- import java.util.HashMap;
- import java.util.Map;
- @Component
- @ConfigurationProperties(prefix="cus") //接收application.yml中的pays下面的属性
- public class Cus implements Serializable {
- private static final long serialVersionUID = -2913008001943191086L;
- private Map<String, String> order = new HashMap<>(); //接收order里面的属性值
- private Map<String, String> waybill = new HashMap<>(); //接收waybill里面的属性值
- private Map<String, Object> play = new HashMap<>(); //接收play里面的属性值
- private Map<String, String> message = new HashMap<>();//接收message里面的属性值
- public Map<String, String> getOrder() {
- return order;
- }
- public void setOrder(Map<String, String> order) {
- this.order = order;
- }
- public Map<String, String> getWaybill() {
- return waybill;
- }
- public void setWaybill(Map<String, String> waybill) {
- this.waybill = waybill;
- }
- public Map<String, Object> getPlay() {
- return play;
- }
- public void setPlay(Map<String, Object> play) {
- this.play = play;
- }
- public Map<String, String> getMessage() {
- return message;
- }
- public void setMessage(Map<String, String> message) {
- this.message = message;
- }
- }
|