package us.nineworlds.iadata.deployment;

import com.fasterxml.jackson.annotation.JsonProperty;

import us.nineworlds.iadata.enums.AbilityAffect;
import us.nineworlds.iadata.enums.AbilityType;

public class Ability {

	@JsonProperty("type")
	private AbilityType type;
	
	@JsonProperty("affect")
	private AbilityAffect affect;
	
	@JsonProperty("affectAmount")
	private int affectAmount;

	public AbilityType getType() {
		return type;
	}

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

	public AbilityAffect getAffect() {
		return affect;
	}

	public void setAffect(AbilityAffect affect) {
		this.affect = affect;
	}

	public int getAffectAmount() {
		return affectAmount;
	}

	public void setAffectAmount(int affectAmount) {
		this.affectAmount = affectAmount;
	}
		
}

@@ -88,16 +88,81 @@
 roperty;
+%0Aimport com.fasterxml.jackson.annotation.JsonPropertyDescription;
 %0A%0Aimport
@@ -295,131 +295,482 @@
 rty(
-%22type%22)%0A%09private AbilityType type;%0A%09%0A%09@JsonProperty(%22affect%22)%0A%09private AbilityAffect affect;%0A%09%0A%09@JsonProperty(%22affectAmount
+required=true, value=%22type%22)%0A%09@JsonPropertyDescription(%22A required field describing the type of ability%22)%0A%09private AbilityType type;%0A%09%0A%09@JsonProperty(required=true, value=%22affect%22)%0A%09@JsonPropertyDescription(%22A required field describing the affect that is applied by the type.%22)%0A%09private AbilityAffect affect;%0A%09%0A%09@JsonProperty(required=true, value=%22affectAmount%22)%0A%09@JsonPropertyDescription(%22A required field that specifies how much is applied.  This can be a negative number.
 %22)%0A%09

Add Description to fields