package com.changhong.epc.bean.admin;
|
|
import com.iemsoft.framework.cloud.core.tools.JSONTool;
|
import lombok.Data;
|
|
@Data
|
public class ExchangeRateInfo {
|
|
/**
|
* 主数据code
|
*/
|
private String masterCode;
|
|
/**
|
* 单位
|
*/
|
private String number;
|
|
/**
|
* 货币简称
|
*/
|
private String currencyMini;
|
|
/**
|
* 货币符号
|
*/
|
private String currencyChar;
|
|
/**
|
* 兑换货币简称
|
*/
|
private String exchangeCurrencyMini;
|
|
/**
|
* 兑换货币符号
|
*/
|
private String exchangeCurrencyChar;
|
|
/**
|
* 汇率
|
*/
|
private String exchange;
|
|
/**
|
* 汇率时间 yyyyMM
|
*/
|
private String exchangeDate;
|
|
public static void main(String... args){
|
ExchangeRateInfo e = new ExchangeRateInfo();
|
e.setMasterCode("F000152");
|
|
e.setNumber("Ele006000956");
|
|
e.setCurrencyMini("Ele003000957");
|
e.setCurrencyChar("Ele012000828");
|
|
e.setExchange("Ele006000961");
|
e.setExchangeDate("Ele005000962");
|
|
e.setExchangeCurrencyMini("Ele003000959");
|
e.setExchangeCurrencyChar("Ele012000960");
|
System.out.println(JSONTool.toJson(e));
|
}
|
|
}
|