Added model class

This commit is contained in:
priyeshmashelkar 2018-05-24 13:15:52 +01:00
parent 47257183b1
commit b741e4e648
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
package com.baeldung.reactive.model;
import java.math.BigDecimal;
public class Stock {
private String code;
private BigDecimal price;
public Stock(String code, BigDecimal price) {
this.code = code;
this.price = price;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public BigDecimal getPrice() {
return price;
}
public void setPrice(BigDecimal price) {
this.price = price;
}
}