package sk.tuke.fei.tukevian.domain.actions;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.tostring.RooToString;
import javax.persistence.OneToOne;
import sk.tuke.fei.tukevian.domain.village.Village;

@RooJavaBean
@RooToString
@RooJpaActiveRecord
public class AttackAction {

    /**
     */
    @OneToOne
    private Village attackerVillage;

    /**
     */
    @OneToOne
    private Village attackedVillage;

    /**
     */
    private Integer clubMen;

    /**
     */
    private Integer knights;

    /**
     */
    private Integer onHorses;

    /**
     */
    private Integer archers;

    /**
     */
    private Integer catapults;

    /**
     */
    private Long duration;

    /**
     */
    private Long startMillis;
}
