package us.nineworlds.iadata.deployment;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

import us.nineworlds.iadata.enums.AttackDice;
import us.nineworlds.iadata.enums.AttackType;

public class Attack {
	
	@JsonProperty("type")
	private AttackType attackType;
	
	@JsonProperty("dice")
	private List<AttackDice> dicePool;

	public AttackType getAttackType() {
		return attackType;
	}

	public void setAttackType(AttackType attackType) {
		this.attackType = attackType;
	}

	public List<AttackDice> getDicePool() {
		return dicePool;
	}

	public void setDicePool(List<AttackDice> dicePool) {
		this.dicePool = dicePool;
	}

}

@@ -112,16 +112,81 @@
 roperty;
+%0Aimport com.fasterxml.jackson.annotation.JsonPropertyDescription;
 %0A%0Aimport
@@ -315,70 +315,302 @@
 rty(
-%22type%22)%0A%09private AttackType attackType;%0A%09%0A%09@JsonProperty(%22dice
+required=true, value=%22type%22)%0A%09@JsonPropertyDescription(%22A required enumerated value that describes the attack type.  melee or range%22)%0A%09private AttackType attackType;%0A%09%0A%09@JsonProperty(required=true, value=%22dice%22)%0A%09@JsonPropertyDescription(%22A list of attack dice used to make up the attack pool. 
 %22)%0A%09

Add Description to fields