InvoiceMapping.java 7.89 KB
Newer Older
frank.xa.zhang's avatar
frank.xa.zhang committed
1
package pwc.taxtech.atms.vat.entity;
2 3 4 5 6 7 8

import java.io.Serializable;
import java.util.Date;

/**
 *
 * This class was generated by MyBatis Generator.
neo's avatar
neo committed
9
 * This class corresponds to the database table TAX_PROJECT.INVOICE_MAPPING
10 11 12 13 14 15 16
 *
 * @mbg.generated do_not_delete_during_merge
 */
public class InvoiceMapping implements Serializable {
    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
17
     * This field corresponds to the database column TAX_PROJECT.INVOICE_MAPPING.ID
18 19 20
     *
     * @mbg.generated
     */
neo's avatar
neo committed
21
    private String id;
22 23 24 25

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
26
     * This field corresponds to the database column TAX_PROJECT.INVOICE_MAPPING.TRAN_CODE
27 28 29 30 31 32 33 34
     *
     * @mbg.generated
     */
    private String tranCode;

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
35
     * This field corresponds to the database column TAX_PROJECT.INVOICE_MAPPING.INVOICE_CODE
36 37 38 39 40 41 42 43
     *
     * @mbg.generated
     */
    private String invoiceCode;

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
44
     * This field corresponds to the database column TAX_PROJECT.INVOICE_MAPPING.INVOICE_NUMBER
45 46 47 48 49 50 51 52
     *
     * @mbg.generated
     */
    private String invoiceNumber;

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
53
     * This field corresponds to the database column TAX_PROJECT.INVOICE_MAPPING.PERIOD
54 55 56 57 58 59 60 61
     *
     * @mbg.generated
     */
    private Integer period;

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
62
     * This field corresponds to the database column TAX_PROJECT.INVOICE_MAPPING.CREATOR_ID
63 64 65
     *
     * @mbg.generated
     */
neo's avatar
neo committed
66
    private String creatorId;
67 68 69 70

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
71
     * This field corresponds to the database column TAX_PROJECT.INVOICE_MAPPING.CREATE_TIME
72 73 74 75 76 77 78
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
79
     * This field corresponds to the database table TAX_PROJECT.INVOICE_MAPPING
80 81 82 83 84 85 86
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
87
     * This method returns the value of the database column TAX_PROJECT.INVOICE_MAPPING.ID
88
     *
neo's avatar
neo committed
89
     * @return the value of TAX_PROJECT.INVOICE_MAPPING.ID
90 91 92
     *
     * @mbg.generated
     */
neo's avatar
neo committed
93 94
    public String getId() {
        return id;
95 96 97 98
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
99
     * This method sets the value of the database column TAX_PROJECT.INVOICE_MAPPING.ID
100
     *
neo's avatar
neo committed
101
     * @param id the value for TAX_PROJECT.INVOICE_MAPPING.ID
102 103 104
     *
     * @mbg.generated
     */
neo's avatar
neo committed
105 106
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
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 TAX_PROJECT.INVOICE_MAPPING.TRAN_CODE
112
     *
neo's avatar
neo committed
113
     * @return the value of TAX_PROJECT.INVOICE_MAPPING.TRAN_CODE
114 115 116 117 118 119 120 121 122
     *
     * @mbg.generated
     */
    public String getTranCode() {
        return tranCode;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
123
     * This method sets the value of the database column TAX_PROJECT.INVOICE_MAPPING.TRAN_CODE
124
     *
neo's avatar
neo committed
125
     * @param tranCode the value for TAX_PROJECT.INVOICE_MAPPING.TRAN_CODE
126 127 128 129 130 131 132 133 134
     *
     * @mbg.generated
     */
    public void setTranCode(String tranCode) {
        this.tranCode = tranCode == null ? null : tranCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
135
     * This method returns the value of the database column TAX_PROJECT.INVOICE_MAPPING.INVOICE_CODE
136
     *
neo's avatar
neo committed
137
     * @return the value of TAX_PROJECT.INVOICE_MAPPING.INVOICE_CODE
138 139 140 141 142 143 144 145 146
     *
     * @mbg.generated
     */
    public String getInvoiceCode() {
        return invoiceCode;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
147
     * This method sets the value of the database column TAX_PROJECT.INVOICE_MAPPING.INVOICE_CODE
148
     *
neo's avatar
neo committed
149
     * @param invoiceCode the value for TAX_PROJECT.INVOICE_MAPPING.INVOICE_CODE
150 151 152 153 154 155 156 157 158
     *
     * @mbg.generated
     */
    public void setInvoiceCode(String invoiceCode) {
        this.invoiceCode = invoiceCode == null ? null : invoiceCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
159
     * This method returns the value of the database column TAX_PROJECT.INVOICE_MAPPING.INVOICE_NUMBER
160
     *
neo's avatar
neo committed
161
     * @return the value of TAX_PROJECT.INVOICE_MAPPING.INVOICE_NUMBER
162 163 164 165 166 167 168 169 170
     *
     * @mbg.generated
     */
    public String getInvoiceNumber() {
        return invoiceNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
171
     * This method sets the value of the database column TAX_PROJECT.INVOICE_MAPPING.INVOICE_NUMBER
172
     *
neo's avatar
neo committed
173
     * @param invoiceNumber the value for TAX_PROJECT.INVOICE_MAPPING.INVOICE_NUMBER
174 175 176 177 178 179 180 181 182
     *
     * @mbg.generated
     */
    public void setInvoiceNumber(String invoiceNumber) {
        this.invoiceNumber = invoiceNumber == null ? null : invoiceNumber.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
183
     * This method returns the value of the database column TAX_PROJECT.INVOICE_MAPPING.PERIOD
184
     *
neo's avatar
neo committed
185
     * @return the value of TAX_PROJECT.INVOICE_MAPPING.PERIOD
186 187 188 189 190 191 192 193 194
     *
     * @mbg.generated
     */
    public Integer getPeriod() {
        return period;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
195
     * This method sets the value of the database column TAX_PROJECT.INVOICE_MAPPING.PERIOD
196
     *
neo's avatar
neo committed
197
     * @param period the value for TAX_PROJECT.INVOICE_MAPPING.PERIOD
198 199 200 201 202 203 204 205 206
     *
     * @mbg.generated
     */
    public void setPeriod(Integer period) {
        this.period = period;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
207
     * This method returns the value of the database column TAX_PROJECT.INVOICE_MAPPING.CREATOR_ID
208
     *
neo's avatar
neo committed
209
     * @return the value of TAX_PROJECT.INVOICE_MAPPING.CREATOR_ID
210 211 212
     *
     * @mbg.generated
     */
neo's avatar
neo committed
213 214
    public String getCreatorId() {
        return creatorId;
215 216 217 218
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
219
     * This method sets the value of the database column TAX_PROJECT.INVOICE_MAPPING.CREATOR_ID
220
     *
neo's avatar
neo committed
221
     * @param creatorId the value for TAX_PROJECT.INVOICE_MAPPING.CREATOR_ID
222 223 224
     *
     * @mbg.generated
     */
neo's avatar
neo committed
225 226
    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId == null ? null : creatorId.trim();
227 228 229 230
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
231
     * This method returns the value of the database column TAX_PROJECT.INVOICE_MAPPING.CREATE_TIME
232
     *
neo's avatar
neo committed
233
     * @return the value of TAX_PROJECT.INVOICE_MAPPING.CREATE_TIME
234 235 236 237 238 239 240 241 242
     *
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
243
     * This method sets the value of the database column TAX_PROJECT.INVOICE_MAPPING.CREATE_TIME
244
     *
neo's avatar
neo committed
245
     * @param createTime the value for TAX_PROJECT.INVOICE_MAPPING.CREATE_TIME
246 247 248 249 250 251 252 253 254
     *
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
255
     * This method corresponds to the database table TAX_PROJECT.INVOICE_MAPPING
256 257 258 259 260 261 262 263 264
     *
     * @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
265
        sb.append(", id=").append(id);
266 267 268 269
        sb.append(", tranCode=").append(tranCode);
        sb.append(", invoiceCode=").append(invoiceCode);
        sb.append(", invoiceNumber=").append(invoiceNumber);
        sb.append(", period=").append(period);
neo's avatar
neo committed
270
        sb.append(", creatorId=").append(creatorId);
271 272 273 274 275
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}