Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.pig.microservices.currencyexchangeservice;
- import java.math.BigDecimal;
- public class ExchangeValue {
- private Long id;
- private String from;
- private String to;
- private BigDecimal conversionMultiple;
- private int port;
- public ExchangeValue() {
- super();
- }
- public ExchangeValue(Long id, String from, String to, BigDecimal conversionMultiple) {
- super();
- this.id = id;
- this.from = from;
- this.to = to;
- this.conversionMultiple = conversionMultiple;
- }
- public Long getId() {
- return id;
- }
- public String getFrom() {
- return from;
- }
- public String getTo() {
- return to;
- }
- public BigDecimal getConversionMultiple() {
- return conversionMultiple;
- }
- public int getPort() {
- return port;
- }
- public void setPort(int port) {
- this.port = port;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement