AreaRegion.java 3.79 KB
Newer Older
1
package pwc.taxtech.atms.entity;
eddie.woo's avatar
eddie.woo committed
2 3 4 5 6

import java.io.Serializable;

/**
 * This class was generated by MyBatis Generator.
neo's avatar
neo committed
7
 * This class corresponds to the database table AREA_REGION
eddie.woo's avatar
eddie.woo committed
8 9 10
 *
 * @mbg.generated do_not_delete_during_merge
 */
neo's avatar
neo committed
11
public class AreaRegion extends BaseEntity implements Serializable {
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
    private Area area;

    private Region region;

    public Area getArea() {
        return area;
    }

    public void setArea(Area area) {
        this.area = area;
    }

    public Region getRegion() {
        return region;
    }

    public void setRegion(Region region) {
        this.region = region;
    }

eddie.woo's avatar
eddie.woo committed
32 33
    /**
     * This field was generated by MyBatis Generator.
34 35
     * This field corresponds to the database column AREA_REGION.id

eddie.woo's avatar
eddie.woo committed
36 37 38
     *
     * @mbg.generated
     */
neo's avatar
neo committed
39
    private String id;
eddie.woo's avatar
eddie.woo committed
40 41 42

    /**
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
43
     * This field corresponds to the database column AREA_REGION.AREA_ID
eddie.woo's avatar
eddie.woo committed
44 45 46
     *
     * @mbg.generated
     */
neo's avatar
neo committed
47
    private String areaId;
eddie.woo's avatar
eddie.woo committed
48 49 50

    /**
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
51
     * This field corresponds to the database column AREA_REGION.REGION_ID
eddie.woo's avatar
eddie.woo committed
52 53 54
     *
     * @mbg.generated
     */
neo's avatar
neo committed
55
    private String regionId;
eddie.woo's avatar
eddie.woo committed
56 57 58

    /**
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
59
     * This field corresponds to the database table AREA_REGION
eddie.woo's avatar
eddie.woo committed
60 61 62 63 64 65 66
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
67
     * This method returns the value of the database column AREA_REGION.id
eddie.woo's avatar
eddie.woo committed
68
     *
69
     * @return the value of AREA_REGION.id
eddie.woo's avatar
eddie.woo committed
70 71
     * @mbg.generated
     */
neo's avatar
neo committed
72 73
    public String getId() {
        return id;
eddie.woo's avatar
eddie.woo committed
74 75 76 77
    }

    /**
     * This method was generated by MyBatis Generator.
78
     * This method sets the value of the database column AREA_REGION.id
eddie.woo's avatar
eddie.woo committed
79
     *
80
     * @param id the value for AREA_REGION.id
eddie.woo's avatar
eddie.woo committed
81 82
     * @mbg.generated
     */
neo's avatar
neo committed
83 84
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
eddie.woo's avatar
eddie.woo committed
85 86 87 88
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
89
     * This method returns the value of the database column AREA_REGION.AREA_ID
eddie.woo's avatar
eddie.woo committed
90
     *
neo's avatar
neo committed
91
     * @return the value of AREA_REGION.AREA_ID
eddie.woo's avatar
eddie.woo committed
92 93
     * @mbg.generated
     */
neo's avatar
neo committed
94 95
    public String getAreaId() {
        return areaId;
eddie.woo's avatar
eddie.woo committed
96 97 98 99
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
100
     * This method sets the value of the database column AREA_REGION.AREA_ID
eddie.woo's avatar
eddie.woo committed
101
     *
neo's avatar
neo committed
102
     * @param areaId the value for AREA_REGION.AREA_ID
eddie.woo's avatar
eddie.woo committed
103 104
     * @mbg.generated
     */
neo's avatar
neo committed
105 106
    public void setAreaId(String areaId) {
        this.areaId = areaId == null ? null : areaId.trim();
eddie.woo's avatar
eddie.woo committed
107 108 109 110
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
111
     * This method returns the value of the database column AREA_REGION.REGION_ID
eddie.woo's avatar
eddie.woo committed
112
     *
neo's avatar
neo committed
113
     * @return the value of AREA_REGION.REGION_ID
eddie.woo's avatar
eddie.woo committed
114 115
     * @mbg.generated
     */
neo's avatar
neo committed
116 117
    public String getRegionId() {
        return regionId;
eddie.woo's avatar
eddie.woo committed
118 119 120 121
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
122
     * This method sets the value of the database column AREA_REGION.REGION_ID
eddie.woo's avatar
eddie.woo committed
123
     *
neo's avatar
neo committed
124
     * @param regionId the value for AREA_REGION.REGION_ID
eddie.woo's avatar
eddie.woo committed
125 126
     * @mbg.generated
     */
neo's avatar
neo committed
127 128
    public void setRegionId(String regionId) {
        this.regionId = regionId == null ? null : regionId.trim();
eddie.woo's avatar
eddie.woo committed
129 130 131 132
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
133
     * This method corresponds to the database table AREA_REGION
eddie.woo's avatar
eddie.woo committed
134 135 136 137 138 139 140 141 142
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
neo's avatar
neo committed
143 144 145
        sb.append(", id=").append(id);
        sb.append(", areaId=").append(areaId);
        sb.append(", regionId=").append(regionId);
eddie.woo's avatar
eddie.woo committed
146 147 148 149
        sb.append("]");
        return sb.toString();
    }
}