package org.devfleet.crest.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

public class CrestMarketBulkOrder extends CrestItem {
	@JsonProperty("buy")
	private boolean isBuyOrder;

	@JsonProperty
	@JsonDeserialize(using = DateTimeDeserializer.class)
	private long issued;

	@JsonProperty
	private double price;

	@JsonProperty
	private long volumeEntered;

	@JsonProperty
	private long stationID;

	@JsonProperty
	private long volume;

	@JsonProperty
	private String range;

	@JsonProperty
	private long minVolume;

	@JsonProperty
	private long duration;

	@JsonProperty
	private long type;

	public boolean isBuyOrder() {
		return isBuyOrder;
	}

	public void setBuyOrder(boolean isBuyOrder) {
		this.isBuyOrder = isBuyOrder;
	}

	public long getIssued() {
		return issued;
	}

	public void setIssued(long issued) {
		this.issued = issued;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public long getVolumeEntered() {
		return volumeEntered;
	}

	public void setVolumeEntered(long volumeEntered) {
		this.volumeEntered = volumeEntered;
	}

	public long getStationID() {
		return stationID;
	}

	public void setStationID(long stationID) {
		this.stationID = stationID;
	}

	public long getVolume() {
		return volume;
	}

	public void setVolume(long volume) {
		this.volume = volume;
	}

	public String getRange() {
		return range;
	}

	public void setRange(String range) {
		this.range = range;
	}

	public long getMinVolume() {
		return minVolume;
	}

	public void setMinVolume(long minVolume) {
		this.minVolume = minVolume;
	}

	public long getDuration() {
		return duration;
	}

	public void setDuration(long duration) {
		this.duration = duration;
	}

	public long getType() {
		return type;
	}

	public void setType(long type) {
		this.type = type;
	}
}

@@ -86,1727 +86,110 @@
 ty;%0A
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;%0A%0Apublic class CrestMarketBulkOrder extends CrestItem %7B%0A%09@JsonProperty(%22buy%22)%0A%09private boolean isBuyOrder;%0A%0A%09@JsonProperty%0A%09@JsonDeserialize(using = DateTimeDeserializer.class)%0A%09private long issued;%0A%0A%09@JsonProperty%0A%09private double price;%0A%0A%09@JsonProperty%0A%09private long volumeEntered;%0A%0A%09@JsonProperty%0A%09private long stationID;%0A%0A%09@JsonProperty%0A%09private long volume;%0A%0A%09@JsonProperty%0A%09private String range;%0A%0A%09@JsonProperty%0A%09private long minVolume;%0A%0A%09@JsonProperty%0A%09private long duration;%0A%0A%09@JsonProperty%0A%09private long type;%0A%0A%09public boolean isBuyOrder() %7B%0A%09%09return isBuyOrder;%0A%09%7D%0A%0A%09public void setBuyOrder(boolean isBuyOrder) %7B%0A%09%09this.isBuyOrder = isBuyOrder;%0A%09%7D%0A%0A%09public long getIssued() %7B%0A%09%09return issued;%0A%09%7D%0A%0A%09public void setIssued(long issued) %7B%0A%09%09this.issued = issued;%0A%09%7D%0A%0A%09public double getPrice() %7B%0A%09%09return price;%0A%09%7D%0A%0A%09public void setPrice(double price) %7B%0A%09%09this.price = price;%0A%09%7D%0A%0A%09public long getVolumeEntered() %7B%0A%09%09return volumeEntered;%0A%09%7D%0A%0A%09public void setVolumeEntered(long volumeEntered) %7B%0A%09%09this.volumeEntered = volumeEntered;%0A%09%7D%0A%0A%09public long getStationID() %7B%0A%09%09return stationID;%0A%09%7D%0A%0A%09public void setStationID(long stationID) %7B%0A%09%09this.stationID = stationID;%0A%09%7D%0A%0A%09public long getVolume() %7B%0A%09%09return volume;%0A%09%7D%0A%0A%09public void setVolume(long volume) %7B%0A%09%09this.volume = volume;%0A%09%7D%0A%0A%09public String getRange() %7B%0A%09%09return range;%0A%09%7D%0A%0A%09public void setRange(String range) %7B%0A%09%09this.range = range;%0A%09%7D%0A%0A%09public long getMinVolume() %7B%0A%09%09return minVolume;%0A%09%7D%0A%0A%09public void setMinVolume(long minVolume) %7B%0A%09%09this.minVolume = minVolume;%0A%09%7D%0A%0A%09public long getDuration() %7B%0A%09%09return duration;%0A%09%7D%0A%0A%09public void setDuration(long duration) %7B%0A%09%09this.duration = duration;%0A%09%7D
+%0Apublic class CrestMarketBulkOrder extends CrestMarketOrder %7B%0A    @JsonProperty%0A    private long type;
 %0A%0A%09p
@@ -211,18 +211,24 @@
 ype() %7B%0A
-%09%09
+        
 return t
@@ -274,10 +274,16 @@
 ) %7B%0A
-%09%09
+        
 this

Extend CrestMarketOrder to override type?