package com.cyosp.mpa.api.rest.homebank.v1dot2.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by CYOSP on 2017-07-23.
 */
@Getter
@Setter
@XStreamAlias(value = "account")
public class Account {

    @XStreamAsAttribute
    @XStreamAlias("name")
    private String name;

    @XStreamAsAttribute
    @XStreamAlias("key")
    private int key;
}

@@ -215,16 +215,46 @@
 etter;%0A%0A
+import java.math.BigDecimal;%0A%0A
 /**%0A * C
@@ -308,41 +308,8 @@
 ter%0A
-@XStreamAlias(value = %22account%22)%0A
 publ
@@ -375,109 +375,759 @@
 as(%22
-name%22)%0A    private String name;%0A%0A    @XStreamAsAttribute%0A    @XStreamAlias(%22key%22)%0A    private int key
+key%22)%0A    private int key;%0A%0A    @XStreamAsAttribute%0A    @XStreamAlias(%22flags%22)%0A    private int flags;%0A%0A    @XStreamAsAttribute%0A    @XStreamAlias(%22pos%22)%0A    private int position;%0A%0A    @XStreamAsAttribute%0A    @XStreamAlias(%22type%22)%0A    private int type;%0A%0A    @XStreamAsAttribute%0A    @XStreamAlias(%22curr%22)%0A    private int currencyRef;%0A%0A    @XStreamAsAttribute%0A    @XStreamAlias(%22name%22)%0A    private String name;%0A%0A    @XStreamAsAttribute%0A    @XStreamAlias(%22initial%22)%0A    private BigDecimal initialBalance;%0A%0A    @XStreamAsAttribute%0A    @XStreamAlias(%22minimum%22)%0A    private BigDecimal minimumBalance;%0A%0A    @XStreamAsAttribute%0A    @XStreamAlias(%22cheque1%22)%0A    private long cheque1;%0A%0A    @XStreamAsAttribute%0A    @XStreamAlias(%22cheque2%22)%0A    private long cheque2
 ;%0A%7D%0A

Complete account tag loading