CityInfo.java 1.06 KB
Newer Older
eddie.woo's avatar
eddie.woo committed
1 2 3 4 5 6 7 8
package pwc.taxtech.atms.dto.arearegion;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;

public class CityInfo {

    //The identifier.
9
    @JsonProperty("ID")
10
    private String id;
11

eddie.woo's avatar
eddie.woo committed
12 13
    //The name
    private String name;
14

eddie.woo's avatar
eddie.woo committed
15
    //The parent identifier
16
    @JSONField(name = "parentId")
eddie.woo's avatar
eddie.woo committed
17
    @JsonProperty("parentId")
18
    private String parentId;
eddie.woo's avatar
eddie.woo committed
19 20 21 22

    /**
     * @return the id
     */
23 24
    public String getId() {
        return id;
eddie.woo's avatar
eddie.woo committed
25 26 27 28 29
    }

    /**
     * @param id the id to set
     */
30 31
    public void setId(String id) {
        this.id = id;
eddie.woo's avatar
eddie.woo committed
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the parentId
     */
    public String getParentId() {
52
        return parentId;
eddie.woo's avatar
eddie.woo committed
53 54 55 56 57 58
    }

    /**
     * @param parentId the parentId to set
     */
    public void setParentId(String parentId) {
59
        this.parentId = parentId;
eddie.woo's avatar
eddie.woo committed
60
    }
61 62


eddie.woo's avatar
eddie.woo committed
63
}